Categories with Families: Unityped, Simply Typed, and Dependently Typed

04/01/2019
by   Simon Castellan, et al.
0

We show how the categorical logic of untyped, simply typed and dependently typed lambda calculus can be structured around the notion of category with family (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 (used by Clairambault and Dybjer for their biequivalence theorems). Some theorems are equivalences between notions with strict preservation of chosen structure. Others are biequivalences between notions where properties are only preserved up to isomorphism. In addition to this we discuss various constructions of initial ucwfs, scwfs, and cwfs with extra structure.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/06/2020

An interpretation of dependent type theory in a model category of locally cartesian closed categories

Locally cartesian closed (lcc) categories are natural categorical models...
research
07/28/2021

Type theories in category theory

We introduce basic notions in category theory to type theorists, includi...
research
03/31/2023

Teaching Gödel's incompleteness theorems

The basic notions of logic-predicate logic, Peano arithmetic, incomplete...
research
07/11/2018

Relating Idioms, Arrows and Monads from Monoidal Adjunctions

We revisit once again the connection between three notions of computatio...
research
07/15/2020

Preservation Theorems Through the Lens of Topology

In this paper, we introduce a family of topological spaces that captures...
research
05/03/2021

What's Decidable about (Atomic) Polymorphism

Due to the undecidability of most type-related properties of System F li...
research
04/25/2023

Finitely accessible arboreal adjunctions and Hintikka formulae

Arboreal categories provide an axiomatic framework in which abstract not...

Please sign up or login with your details

Forgot password? Click here to reset