An agda prototype formalization of the CaTT type theory.
The theory is presented in a cut-free style, without axiom K, introducing a pre-syntax and inference rules on it. All lemmas usually admitted are checked formally by induction on derivation trees.
The development was compiled with Agda version 2.6.3
CaTT is the dependent type theory that describes coherences for weak omega-categories. The theory is described in a less formal way in this short article or in this longer article. The formalization in this repository is presented in the following article. The exact state of the project corresponding to the above article is kept in the branch TYPES2021.
A general framework for studying type theories over globular sets. These type theories all share in common their type constructors and type introduction rules, but term constructors can be arbitrarily complex. The initial globular type theory is GSeTT, it has just variables and no term constructors. This theory is defined and studied first independently, and general notion of globular type theory is then defined, as a theory whose term constructors can be arbitrary, and whose term introduction rules are parametrized by judgments in the theory GSeTT.
GSeTT/
- The type theory for globular setsSyntax.agda
: untyped syntax (type constructors and variables, contexts, substitutions)Rules.agda
: Typing rules - introduction rules for types and variables, formation of contexts and substitutionsCwF-Structure.agda
: Structure of Category with families carried by the theoryDec-Type-Checking
: Decidability of type checking for this theoryUniqueness-Derivations
: Uniqueness of derivation for a derivable judgmentTyped-Syntax
: Types for pairs of the form (Syntax, Derivation) where the derivation ensures that the syntactic object is valid in the theory.Disks
: Disk and sphere context and proof that they classify terms and types in other contexts.
Globular-TT/
- A globular type theory, the term constructors and introduction rules are parametrized over judgments in GSeTTSyntax.agda
: untyped syntax (type constructors and variables, contexts, substitutions)Rules.agda
: Typing rules - introduction rules for types and variables, formation of contexts and substitutionsCwF-Structure.agda
: Structure of Category with families carried by the theoryDec-Type-Checking
: Decidability of type checking for this theoryUniqueness-Derivations
: Uniqueness of derivation for a derivable judgmentTyped-Syntax
: Types for pairs of the form (Syntax, Derivation) where the derivation ensures that the syntactic object is valid in the theory.Disks
: Disk and sphere context and proof that they classify terms and types in other contexts.
CaTT/
- The type theory CaTT as a particular case of a globular type theory. It is defined by chosing an appropriate parametrization of the judgments over GSeTT.Ps-contexts.agda
: the ps-contexts are globular contexts that represent pasting schemes for weak omega-categories.Relation.agda
: a relation on variables of a context that characterize ps-contexts when it is linear (see this article by Mimram and Finster)Decidability-ps.agda
: Decidability of the judgment characterizing ps-contextsUniqueness-derivations-ps.agda
: Uniqueness of derivations for the judgments characterizing ps-contextsFullness.agda
a characterization of the terms that appropriately use the variables of the context like dexcribed in the papers.