This folder has been tested with Agda 2.6.0.1. Newer Agda versions likely work as well. An Agda standard library is also needed. Instructions how to set up the standard library can be found here, the library itself can be downloaded from here.
We construct a morphism from the syntax of the type theory of signatures to an arbitrary model, and prove its uniqueness.
Files in the order of dependency with a short description:
EqLib.agda
: definitions and lemmas taking from the HoTT library (removing the univalence axiom).Lib.agda
: some useful lemmas, some of them requiring UIPSyntax.agda
: syntax of the theory of signaturesModel.agda
: definition of modelsSyntaxIsModel.agda
: syntax as a modelModelRew.agda
: postulated model with rewrite rulesRelation.agda
: definition of the relation between the syntax and the postulated modelRelationWeakening.agda
: stability of the relation under weakeningRelationSubstitution.agda
: stability of the relation under substitutionRelationInhabit.agda
: construction of a related semantic counterpart for each part of the syntaxModelMorphism.agda
: definition of model morphismsModelMorphismRew.agda
: postulated model morphism from the syntax to the postulated modelSyntaxIsInitial.agda
: construction of a morphism from the syntax to the postulated model, and proof that the postulated morphism is pointwise equal to it.