English

A Categorical Model for the Lambda Calculus with Constructors

Logic in Computer Science 2012-03-06 v2

Abstract

The lambda calculus with constructors is an extension of the lambda calculus with variadic constructors. It decomposes the pattern-matching a la ML into a case analysis on constants and a commutation rule between case and application constructs. Although this commutation rule does not match with the usual computing intuitions, it makes the calculus expressive and confluent, with a rather simple syntax. In this paper we define a sound notion of categorical model for the lambda calculus with constructors. We then prove that this definition is complete for the fragment of the calculus with no match-failure, using the model of partial equivalence relations.

Keywords

Cite

@article{arxiv.1202.4678,
  title  = {A Categorical Model for the Lambda Calculus with Constructors},
  author = {Barbara Petit},
  journal= {arXiv preprint arXiv:1202.4678},
  year   = {2012}
}

Comments

21 pages

R2 v1 2026-06-21T20:22:56.723Z