Categories with Families: Unityped, Simply Typed, and Dependently Typed
Book chapter, 2021

We show how the categorical logic of the untyped, simply typed and dependently typed lambda calculus can be structured around the notion of category with families (cwf). To this end we introduce subcategories of simply typed cwfs (scwfs), where types do not depend on variables, and unityped cwfs (ucwfs), where there is only one type. We prove several equivalence and biequivalence theorems between cwf-based notions and basic notions of categorical logic, such as cartesian operads, Lawvere theories, categories with finite products and limits, cartesian closed categories, and locally cartesian closed categories. Some of these theorems depend on the restrictions of contextuality (in the sense of Cartmell) or democracy (in the sense of Clairambault and Dybjer). Some theorems are equivalences between notions with strict preservation of chosen structure. Others are biequivalences involving notions without chosen structure, and where properties are (necessarily) only preserved up to isomorphism. The cwf-based notions play the role of an abstract syntax of formal systems, and we discuss various constructions of initial ucwfs, scwfs, and cwfs with extra structure. As a corollary of our results we show that equality in the free locally cartesian closed category is undecidable.

Univalent

Axiom of Choice

Type theory

Author

Simon Castellan

University of Rennes 1

P. Clairambault

Ecole Normale Superieure de Lyon

Peter Dybjer

Chalmers, Computer Science and Engineering (Chalmers), Computing Science (Chalmers)

Outstanding Contributions to Logic

135-180

Proof theory and higher categorical semantics of homotopy type theory

Swedish Research Council (VR) (2019-03765), 2020-01-01 -- 2023-12-31.

Subject Categories

Algebra and Logic

Computer and Information Science

Areas of Advance

Information and Communication Technology

Roots

Basic sciences

DOI

10.1007/978-3-030-66545-6_5

More information

Latest update

10/18/2021