Scientific Annals of Computer Science (Dec 2014)

Modeling Simply-Typed Lambda Calculi in the Category of Finite Vector Spaces

  • B. Valiron,
  • S. Zdancewic

DOI
https://doi.org/10.7561/SACS.2014.2.325
Journal volume & issue
Vol. XXIV, no. 2
pp. 325 – 368

Abstract

Read online

In this paper we use finite vector spaces (finite dimension, over finite fields) as a non-standard computational model of linear logic. We first define a simple, finite PCF-like lambda-calculus with booleans, and then we discuss two finite models, one based on finite sets and the other on finite vector spaces. The first model is shown to be fully complete with respect to the operational semantics of the language, while the second model is not. We then develop an algebraic extension of the finite lambda calculus and study two operational semantics: a call-by-name and a call-by-value. These operational semantics are matched with their corresponding natural denotational semantics based on finite vector spaces. The relationship between the various semantics is analyzed, and several examples based on Church numerals are presented.