A linear proof language for second-order intuitionistic linear logic
Alejandro Díaz-Caro, Gilles Dowek, Malena Ivnisky, Octavio Malherbe
TL;DR
This work extends the ${\mathcal{L}}^{\mathcal{S}}$-calculus to a second-order, polymorphic linear language ${\mathcal{L}}_2^{\mathcal{S}}$ for intuitionistic linear logic by adding the exponential connective and universal quantification. It proves key correctness properties—Subject Reduction, Confluence, Strong Normalisation, and Introduction Property—using Girard's ultra-reduction and reducibility candidates, while preserving existing encodings for vectors and matrices. The paper then demonstrates that vectors and matrices can be faithfully represented as proof-terms and extends this with a matrix-iterator to simulate iterative matrix applications, enabling a natural encoding of numerical linear algebra within the logic. A central result is the Linearity theorem: for closed terms $t:A\to B$ and $u_1,u_2:A$, the term behaves linearly in its argument up to observational equivalence, supporting a rigorous algebraic treatment of linear maps in the proof-language and paving the way for second-order, linear-semantics frameworks applicable to quantum and probabilistic programming.
Abstract
We present a polymorphic linear lambda-calculus as a proof language for second-order intuitionistic linear logic. The calculus includes addition and scalar multiplication, enabling the proof of a linearity result at the syntactic level.
