Symbolical Index Reduction and Completion Rules for Importing Tensor Index Notation into Programming Languages
Satoshi Egi

TL;DR
This paper introduces a programming language framework that supports symbolical tensor index notation, enabling flexible and concise tensor operations with user-defined functions, including differential forms, through index reduction and completion rules.
Contribution
It proposes a novel set of tensor index rules compatible with scalar and tensor parameters, allowing user-defined tensor operators and index notation in programming languages.
Findings
Supports arbitrary user-defined tensor functions with index notation
Enables concise definition of differential form operators
Allows tensor operators to be passed as high-order function arguments
Abstract
In mathematics, many notations have been invented for the concise representation of mathematical formulae. Tensor index notation is one of such notations and has been playing a crucial role in describing formulae in mathematical physics. This paper shows a programming language that can deal with symbolical tensor indices by introducing a set of tensor index rules that is compatible with two types of parameters, i.e., scalar and tensor parameters. When a tensor parameter obtains a tensor as an argument, the function treats the tensor argument as a whole. In contrast, when a scalar parameter obtains a tensor as an argument, the function is applied to each component of the tensor. On a language with scalar and tensor parameters, we can design a set of index reduction rules that allows users to use tensor index notation for arbitrary user-defined functions without requiring additional…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Tensor decomposition and applications · Distributed and Parallel Computing Systems
