Documentation

LeanPool.DomainTheory.Neighborhood.Proposition67

Lecture VI — Proposition 6.7 (Scott 1981, PRG-19): Lambek's lemma #

Proposition 6.7. If i : T(D) → D is an initial T-algebra, then so is T(i) : T²(D) → T(D) and i is the isomorphism from T(D) to D.

We formalise the second (and decisive) half: the structure map of an initial algebra is an isomorphism. Writing A = (D, i), the functor turns i into a new algebra (T(D), T(i)) (tStr), and i itself is a homomorphism (T(D), T(i)) → (D, i) (strHom). Initiality supplies a homomorphism j : (D,i) → (T(D),T(i)), and the composite i ∘ j : (D,i) → (D,i) must be the identity (str_comp_desc). Functoriality then gives T(i) ∘ T(j) = T(i ∘ j) = I, and the homomorphism square for j yields j ∘ i = I. Hence i and j are mutually inverse: i is an isomorphism (lambek).

This is exactly Scott's remark that "if we are going to have initial algebras at all we have to satisfy the domain equation D ≅ T(D)".

Choice-free (#print axioms ⊆ {propext, Quot.sound}).

def Domain.Neighborhood.tStr {Obj : Type u} [Category Obj] {T : Endofunctor Obj} (A : TAlgebra T) :

For an algebra A = (D, i), the functor turns the structure map into a new T-algebra (T(D), T(i)).

Equations
Instances For
    def Domain.Neighborhood.strHom {Obj : Type u} [Category Obj] {T : Endofunctor Obj} (A : TAlgebra T) :
    AlgHom (tStr A) A

    The structure map i : T(D) → D is itself a homomorphism (T(D), T(i)) → (D, i): the square i ∘ T(i) = i ∘ T(i) commutes trivially.

    Equations
    Instances For
      theorem Domain.Neighborhood.str_comp_desc {Obj : Type u} [Category Obj] {T : Endofunctor Obj} (A : TAlgebra T) (hA : IsInitial A) :

      The composite i ∘ j of i with the descent homomorphism j : (D,i) → (T(D),T(i)) is the identity on D.

      def Domain.Neighborhood.lambek {Obj : Type u} [Category Obj] {T : Endofunctor Obj} (A : TAlgebra T) (hA : IsInitial A) :

      Proposition 6.7 (Lambek's lemma; Scott 1981, PRG-19). The structure map i : T(D) → D of an initial T-algebra is an isomorphism T(D) ≅ D, with inverse the descent homomorphism j.

      Equations
      Instances For