English

The Vectorial $\lambda$-Calculus

Logic in Computer Science 2017-05-12 v4

Abstract

We describe a type system for the linear-algebraic λ\lambda-calculus. The type system accounts for the linear-algebraic aspects of this extension of λ\lambda-calculus: it is able to statically describe the linear combinations of terms that will be obtained when reducing the programs. This gives rise to an original type theory where types, in the same way as terms, can be superposed into linear combinations. We prove that the resulting typed λ\lambda-calculus is strongly normalising and features weak subject reduction. Finally, we show how to naturally encode matrices and vectors in this typed calculus.

Keywords

Cite

@article{arxiv.1308.1138,
  title  = {The Vectorial $\lambda$-Calculus},
  author = {Pablo Arrighi and Alejandro Díaz-Caro and Benoît Valiron},
  journal= {arXiv preprint arXiv:1308.1138},
  year   = {2017}
}

Comments

Long and corrected version of arXiv:1012.4032 (EPTCS 88:1-15), to appear in Information and Computation

R2 v1 2026-06-22T01:04:24.809Z