PathSignatures is a package for studying the signature of piecewise polynomial paths.
The package heavily simplifies the process of obtaining data related to signature varieties, e.g. as in [1]. See Computing Path Varieties.
A polynomial path is a path $X: [0,1] \to \mathbb R^d$ whose coordinate functions are given by polynomials. A piecewise polynomial path is a path $X: [0,1] \to \mathbb R^d$ which is polynomial on each interval in a partition of $[0,1]$.
Given such a path $X$, its signature is the linear form $\sigma: T((\mathbb{R}^d)^*)\rightarrow \mathbb{R}$ on the tensor algebra of the dual of $\mathbb{R}^d$, whose image on a decomposable tensor $\alpha_1\otimes \dots\otimes \alpha_k$ is the iterated integral $$ \alpha_1\otimes \dots\otimes \alpha_k\overset{\sigma}{\mapsto} \int_0^1\int_0^{t_k}\dots\int_0^{t_2}\partial(\alpha_1 X)\dots \partial (\alpha_k X) d t_1\dots dt_k. $$ This form is invariant under translation, reparametrization and tree-like equivalence of $X$ and characterizes $X$ uniquely up to these relations.
In this package, we identify $T((\mathbb{R}^d)^*)$ with the free associative algebra over the alphabet $\{\texttt{1},\dots,\texttt{d}\}$ via $\texttt{i} \mapsto e_i^*$ where $e_1^*, \dots, e_d^*$ is the dual of the canonical basis of $\mathbb{R}^d$. For example, the word $\texttt{12}$ corresponds to $e_1^* \otimes e_2^*$.
It is easy to create a polynomial path:
|
|
A piecewise polynomial path is obtained by concatenating polynomial paths:
|
Any NCPolynomialRing can serve as a tensor algebra. Use wordAlgebra to quickly create one in variables $\texttt{Lt}_i$. The package introduces a convenient notation for words in this algebra.
|
|
To evaluate the signature of $\mathtt{X}$ at a tensor $\mathtt{w}$, use sig. The following computes the signed volume of the path; also see sgnVolTensor.
|
sig can also be used to obtain the $k$-th level signature tensor. Use wordFormat or tensorArray to display the tensor in a nicer way.
|
|
|
The package allows for the computation of signatures for parametrized families of paths.
|
|
|
|
|
Améndola, C., Friz, P., & Sturmfels, B. (2019, January). Varieties of signature tensors. In Forum of Mathematics, Sigma (Vol. 7, p. e10). Cambridge University Press.
This documentation describes version 1.0 of PathSignatures.
If you have used this package in your research, please cite it as follows:
|
The object PathSignatures is a package, defined in PathSignatures.m2, with auxiliary files in PathSignatures/.
The source of this document is in PathSignatures.m2:337:0.