Pablo Arrighi, Alejandro Diaz-Caro
2009.3.22Logical Methods in Computer Science
tlooto Summary
A fine-grained, System F -like type system for the linear-algebraic �-calculus (Lineal), and it is shown that this scalar type system enjoys both the subject-reduction property and the strong-normalisation property, which constitute the main technical results.
Abstract
The algebraic �-calculus (40) and the linear-algebraic �-calculus (3) extend the �-calculus with the possibility of making arbitrary linear combinations of �-calculus terms (preserving Pi:ti). In this paper we provide a fine-grained, System F -like type system for the linear-algebraic �-calculus (Lineal). We show that this scalar type system enjoys both the subject-reduction property and the strong-normalisation property, which constitute our main technical results. The latter yields a significant simplification of the linear-algebraic �-calculus itself, by removing the need for some restrictions in its reduction rules - and thus leaving it more intuitive. But the more important, original feature of this scalar type system is that it keeps track of 'the amount of a type' that this present in each term. As an example, we show how to use this type system in order to guarantee the well-definiteness of probabilistic functions ( Pi = 1) - thereby specializing Lineal into a probabilistic, higher-order �-calculus. Finally we begin to investigate the logic induced by the scalar type system, and prove a no-cloning theorem expressed solely in terms of the possible proof methods in this logic. We discuss the potential connections with Linear Logic and Quantum Computation.
Citation format
ARRIGHI, Pablo; DIAZ-CARO, Alejandro. A system f accounting for scalars [preprint]. arXiv, 2009. arXiv:0903.3741.