Skip to main content
QUICK REVIEW

[Paper Review] Logic and linear algebra: an introduction

Daniel Murfet|arXiv (Cornell University)|Jul 9, 2014
Logic, programming, and type systemsComputer Science34 references4 citations
TL;DR

This paper introduces a vector space semantics for intuitionistic linear logic, interpreting proofs as linear maps between vector spaces via the cofree cocommutative coalgebra construction. It establishes a correspondence between proofs and morphisms in symmetric closed monoidal categories, with cut-elimination yielding canonical representations and tangent vectors at proofs defined via coalgebra morphisms, linking logic to differential structures in algebraic geometry.

ABSTRACT

We give an introduction to logic tailored for algebraists, explaining how proofs in linear logic can be viewed as algorithms for constructing morphisms in symmetric closed monoidal categories with additional structure. This is made explicit by showing how to represent proofs in linear logic as linear maps between vector spaces. The interesting part of this vector space semantics is based on the cofree cocommutative coalgebra of Sweedler.

Motivation & Objective

  • To reframe logic not as truth evaluation but as the study of proof structure, emphasizing symmetries and equivalences in proofs.
  • To demonstrate that proofs in linear logic can be interpreted as algorithms constructing morphisms in symmetric closed monoidal categories.
  • To develop a vector space semantics for linear logic using the cofree cocommutative coalgebra, providing a concrete algebraic representation of proofs.
  • To extend this semantics to tangent vectors at proofs, linking logical structure to differential geometry via coalgebra morphisms.
  • To explore connections between proof denotations and differential calculus, particularly through the differential lambda calculus and tangent maps.

Proposed method

  • Uses intuitionistic linear logic as a formal language to represent proofs as morphisms in symmetric closed monoidal categories.
  • Applies the $λ$-calculus as a foundation for formalizing algorithms and proof transformations.
  • Employs the cofree cocommutative coalgebra of Sweedler to construct a vector space semantics for formulas, enabling linear map representations of proofs.
  • Represents cut-elimination as a normalization process that removes redundant applications of the cut rule, yielding canonical proof forms.
  • Defines tangent vectors at proof denotations as coalgebra morphisms $θ: \mathcal{T} \to {!}\llbracket A\rrbracket$ satisfying $\theta(1) = |\emptyset\rangle_{\llbracket\pi\rrbracket}$, inducing linear maps on tangent spaces.
  • Establishes a bijection between $\llbracket A\rrbracket$ and the space of tangent vectors at a proof $\pi$, endowing the tangent space with a vector space structure.

Experimental results

Research questions

  • RQ1How can proofs in linear logic be systematically interpreted as linear maps between vector spaces in a structure-preserving way?
  • RQ2What is the role of cut-elimination in simplifying proof representations and revealing canonical forms in linear logic?
  • RQ3How can the concept of a tangent vector at a proof be formalized algebraically, and what structure does it inherit?
  • RQ4In what way do proof denotations induce maps on tangent spaces, and how do these relate to differential maps in smooth geometry?
  • RQ5What is the connection between the linear logic semantics presented and the differential $λ$-calculus?

Key findings

  • The vector space semantics for linear logic is constructed using the cofree cocommutative coalgebra, providing a concrete algebraic interpretation of logical formulas as vector spaces.
  • Cut-elimination in linear logic corresponds to the normalization of proofs, yielding a canonical, redundant-free form analogous to a compact moduli space of solutions.
  • Tangent vectors at proofs are defined as coalgebra morphisms $\theta: \mathcal{T} \to {!}\llbracket A\rrbracket$ with $\theta(1) = |\emptyset\rangle_{\llbracket\pi\rrbracket}$, forming a vector space isomorphic to $\llbracket A\rrbracket$.
  • The denotation of a proof $\rho$ of $!A \vdash B$ induces a linear map $T_\pi \to T_{\rho|\pi}$ given by $Q \mapsto \lambda|Q\rangle_{\llbracket\pi\rrbracket}$, mimicking the pushforward of tangent vectors.
  • For the proof $\underline{2}_A$, the induced tangent map on $M_n(\mathbb{C})$ is $\nu \mapsto \{\nu, \alpha\}$, matching the differential of the map $\alpha \mapsto \alpha^2$, confirming consistency with differential geometry.
  • The construction provides a natural bridge between proof theory and differential structures, suggesting deeper connections with the differential $\lambda$-calculus.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.