Morphisms of unstructured models, and Russell-universe embeddings.
Equations
- One or more equations did not get rendered due to their size.
Instances For
- pb : CategoryTheory.IsPullback self.mapTm M.tp N.tp self.mapTy
Instances For
Equations
- Model.UnstructuredUniverse.Hom.id M = { mapTm := CategoryTheory.CategoryStruct.id M.Tm, mapTy := CategoryTheory.CategoryStruct.id M.Ty, pb := ⋯ }
Instances For
Equations
- α.comp β = { mapTm := CategoryTheory.CategoryStruct.comp α.mapTm β.mapTm, mapTy := CategoryTheory.CategoryStruct.comp α.mapTy β.mapTy, pb := ⋯ }
Instances For
Equations
- ⋯ = ⋯
Instances For
Morphism into the representable natural transformation M
from the pullback of M along a type.
Equations
- M.pullbackHom A = { mapTm := M.var A, mapTy := A, pb := ⋯ }
Instances For
Given M : Universe, a semantic type A : (Γ) ⟶ M.Ty,
and a substitution σ : Δ ⟶ Γ, construct a Hom for the substitution A[σ].
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- h.extIsoExt A = CategoryTheory.IsPullback.isoIsPullback N.Tm Γ ⋯ ⋯
Instances For
A Russell universe embedding is a hom of natural models M ⟶ N
such that types in M correspond to terms of a universe U in N.
These don't form a category since UHom.id M is essentially Type : Type in M.
Note this doesn't need to extend Hom as none of its fields are used;
it's just convenient to pack up the data.
- U_pb : CategoryTheory.IsPullback self.asTm (CategoryTheory.ChosenTerminal.isTerminal.from M.Ty) N.tp self.U
Instances For
Equations
- Model.UnstructuredUniverse.UHom.ofTyIsoExt H i = { toHom := H, U := U, asTm := CategoryTheory.CategoryStruct.comp i.hom (N.var U), U_pb := ⋯ }
Instances For
Equations
Instances For
Equations
- ⋯ = ⋯
Instances For
Equations
Instances For
Equations
- Model.UnstructuredUniverse.UHom.ofTarskiU M U El = { toHom := M.pullbackHom El, U := U, asTm := M.var U, U_pb := ⋯ }
Instances For
Universe embeddings #
A sequence of Russell universe embeddings.
- length : ℕ
Number of embeddings in the sequence, or one less than the number of models in the sequence.
Instances For
Equations
- Model.UnstructuredUniverse.UHomSeq.instGetElemNatLtHAddLengthOfNat = { getElem := fun (s : Model.UnstructuredUniverse.UHomSeq Ctx) (i : ℕ) (h : i < s.length + 1) => s.objs i h }
Composition of embeddings between i and j in the chain.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
For i ≤ j and a term t at level j,
if the type of t is lifted from level i,
then t is a lift of a term at level i.
Instances For
Equations
Instances For
TODO: Consider generalising to just UHom?
Convert a map into the ith type classifier into a a term of the
i+1th term classifier, that is a term of the ith universe.
It is defined by composition with the first projection of the pullback square
v
s[i].Ty ----> s[i+1].Tm
^ | |
A / | p.b. |
/ | |
/ V V
(Γ) ---> 1 -----> s[i+1].Ty
U_i
Equations
- s.code ilen A = CategoryTheory.CategoryStruct.comp A (s.homSucc i ilen).asTm
Instances For
TODO: Consider generalising to just UHom?
Convert a a term of the ith universe (it is a i+1 level term) into
a map into the ith type classifier.
It is the unique map into the pullback
a
(Γ) -----------------¬
‖ --> v V
‖ s[i].Ty ----> s[i+1].Tm
‖ | |
‖ | p.b. |
‖ | |
‖ V V
(Γ) ---> 1 -----> s[i+1].Ty
U_i
Equations
- s.el ilen a a_tp = ⋯.lift a (CategoryTheory.ChosenTerminal.isTerminal.from Γ) ⋯