Large category of modules over monads on top of UniMath. Signatures for higher order syntax.
Preliminaries are in the subfolder Modules/Prelims 1-Signature related proofs are in the subfolder Modules/Signatures 2-Signature related proofs are in the subfolder Modules/SoftEquations
Requirement: the UniMath library (installed with $ make install)
To compile (Coq 8.9.0): $ make
The file SoftEquations/Summary gives a summary of main formalized propositions and definitions
for 2-signatures and elementary equations.
For the rest:
Definition of signatures and their actions :
Signatures/SignatureRepresentability of presentable signatures :
Signatures/PresentableSignatureRepresentability of the codomain epimorphic morphism of signature :
Signatures/EpiSigRepresentabilityAdjunction in the category of modules over a specific monad R on Set Hom(M x R', N) ~ Hom(M , N') :
Prelims/derivadjA coproduct of presentable signatures is presentable :
Signatures/PresentableSignatureCoproductsThe binproduct of a presentable signature with the tautological signature is presentable :
Signatures/PresentableSignatureBinProdRpointwise limits and colimits of modules :
Prelims/LModuleColimspointwise limits and colimits of signatures :
Signatures/SignaturesColimsquotient monad :
Prelims/quotientmonadEpimorphisms of signatures are pointwise epimorphisms :
Signatures/EpiArePointwiseModularity in the context of a fibration :
Prelims/FibrationInitialPushoutModularity in the specific context of signatures and their models :
Signatures/Modularity
The fact that algebraic signatures are effective is already proved in
a different setting in the Heterogeneous Substitution System package of UniMath.
The adaptation to our setting is carried out in the files : Signatures/SigWithStrengthToSignature,
Signatures/HssInitialModel and Signatures/BindingSig.
By folder
quotientmonad,quotientmonadslice: the quotient monad constructionFibrationInitialPushout: modularity in the context of a fibrationDerivationIsFunctorial: Proof that derivation of modules is functorialderivadj: Adjunction in the category of modules over a specific monad R on Set Hom(M x R', N) ~ Hom(M , N')LModulesFibration: fibration of left modules over monadsLModulesColims: limits and colimits of modulesLModulesBinProducts,LModulesCoproducts: direct definition of some particular colimits/limits of modulesPushoutsFromCoeqBinCoproducts: Pushouts from coequalizers and binary coproductsFaithfulFibrationEqualizer: Faithful fibrations lift coequalizersOpfibration: definition of opfibrations (adapted from the definition of fibrations in UniMath)BinCoproductComplements,BinProductComplements,CoproductsComplements,EpiComplementsLModulesComplements,SetCatComplements,lib: various complements
Everything here is about 1-signatures
Signature: definition of signatures and the displayed category of modelsModelCat: direct definition of the category of models of a signatureEpiSigRepresentability: proof of the technical lemma : epimorphisms of signatures preserves representabilityPresentableSignatures: presentable signatures are effective.Modularity: Modularity in the specific context of signatures and their modelsquotientrep: quotient model constructionHssInitialModel,BindingSig: adaptation of the proof in UniMath of initiality for strengthened signatures (in particular, for binding or algebraic signatures)PreservesEpi: Epi-signaturesEpiArePointwise: epimorphisms of signatures are pointwise epimorphismsPresentableSignatureCoproducts: a coproduct of presentable signatures is presentable.PresentableSignatureBinProdR: ifais presentable, then so is the product ofawith the tautological signatureSignaturesColims: colimits of signaturesSignatureBinproducts: direct definition of bin products of signaturesSignatureCoproduct: direct definition of coproducts of signaturesSignatureDerivation: derivation of signaturesSigWithStrengthToSignature: Functor between signatures with strength and our signatures.HssSignatureCommutation: Somme commutation rules between colimits/limits and the functor between signatures with strength and our signatures
This folder is about 2-signatures and elementary equations
Summary: summary of main propositions and definitionsSignatureOver: category of Σ-modulesCatOfTwoSignatures: category of 2-signatures, fibration of 2-models over itEquation: equations, and category of models satisfying those equationsquotientequation: quotient model satisfying the equationsquotientrepslice: more general quotient model constructionAdjunctionEquationRep: algebraic 2-signatures are effective and related proofsModularity: modularity in the specific context of 2-signatures and their modelsExamples/LCBetaEta: example of the lambda calculus modulo beta etaSignatureOverAsFiber: (unused) alternative definition of Σ-modules as a displayed category over the category of 1-signaturesSignatureOverBinproducts: binary products of Σ-modulesSignatureOverDerivation: derivative of a Σ-moduleBindingSig: complements about algebraic 1-signatures