Documentation

CategorialAlgebras.Omega.Cells

Cells identified along dimensional identities #

The quotient of the disjoint union of dimensional carriers identifies cells with their identities. Equality can be checked in every common higher dimension. The quotient has the inductive universal property in sets, including empty carriers.

Raise a cell by the identity between weakly increasing dimensions.

Equations
Instances For
    @[simp]

    Raising within a single dimension is the identity.

    @[simp]
    theorem CategorialAlgebras.Omega.inclusion_trans {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) {i j k : ℕ} (h : i ≤ j) (q : j ≤ k) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier B (i, s)) :
    inclusion B q s (inclusion B h s x) = inclusion B ⋯ s x

    Successive identity inclusions compose to the direct inclusion.

    Every dimensional identity inclusion is injective.

    instance CategorialAlgebras.Omega.inclusionDirected {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) (s : S) :
    DirectedSystem (fun (k : ℕ) => Heterogeneous.CategorialAlgebra.carrier B (k, s)) fun {x x_1 : ℕ} (h : x ≤ x_1) => inclusion B h s

    The dimensional identity inclusions form a directed system.

    The injective map between two dimensional carriers.

    Equations
    Instances For
      instance CategorialAlgebras.Omega.embeddingDirected {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) (s : S) :
      DirectedSystem (fun (k : ℕ) => Heterogeneous.CategorialAlgebra.carrier B (k, s)) fun {x x_1 : ℕ} (h : x ≤ x_1) => ⇑(inclusionEmbedding B h s)

      The bundled inclusions form the same directed system.

      Representatives are equivalent when they agree in a common higher dimension.

      Equations
      Instances For

        The cells obtained by identifying every cell with its dimensional identities.

        Equations
        Instances For

          Insert a dimensional cell into the quotient.

          Equations
          Instances For
            theorem CategorialAlgebras.Omega.cellIn_eq_iff {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) (j k : ℕ) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier B (j, s)) (y : Heterogeneous.CategorialAlgebra.carrier B (k, s)) :
            cellIn B j s x = cellIn B k s y ↔ ∃ (p : ℕ) (hj : j ≤ p) (hk : k ≤ p), inclusion B hj s x = inclusion B hk s y

            Equality of classes is equality in some common higher dimension.

            @[simp]
            theorem CategorialAlgebras.Omega.cellIn_inclusion {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) {j k : ℕ} (h : j ≤ k) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier B (j, s)) :
            cellIn B k s (inclusion B h s x) = cellIn B j s x

            Inserting an identity gives the original class.

            Every dimensional carrier embeds in the quotient.

            theorem CategorialAlgebras.Omega.cellIn_eq_at {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) {j k p : ℕ} (hj : j ≤ p) (hk : k ≤ p) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier B (j, s)) (y : Heterogeneous.CategorialAlgebra.carrier B (k, s)) (h : cellIn B j s x = cellIn B k s y) :
            inclusion B hj s x = inclusion B hk s y

            Equal classes agree in any common higher dimension.

            theorem CategorialAlgebras.Omega.cellIn_eq_iff_comparable {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) (j k : ℕ) (s : S) (x : Heterogeneous.CategorialAlgebra.carrier B (j, s)) (y : Heterogeneous.CategorialAlgebra.carrier B (k, s)) :
            cellIn B j s x = cellIn B k s y ↔ (∃ (h : j ≤ k), inclusion B h s x = y) ∨ ∃ (h : k ≤ j), x = inclusion B h s y

            The equivalence relation is precisely identification along identities in either direction.

            Every quotient cell has a representative in some dimension.

            A selected representative of a quotient cell.

            Equations
            Instances For

              Insertion of the selected representative recovers the cell.

              theorem CategorialAlgebras.Omega.cell_cover {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) {ι : Type u_1} [Fintype ι] (sorts : ι → S) (x : (i : ι) → Cell B (sorts i)) (bound : ℕ) :
              ∃ (p : ℕ), bound ≤ p ∧ ∃ (y : (i : ι) → Heterogeneous.CategorialAlgebra.carrier B (p, sorts i)), ∀ (i : ι), cellIn B p (sorts i) (y i) = x i

              A finite family of cells has common representatives above every prescribed bound.

              noncomputable def CategorialAlgebras.Omega.cellDesc {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) {s : S} {L : Type x} (f : (k : ℕ) → Heterogeneous.CategorialAlgebra.carrier B (k, s) → L) (hf : ∀ {j k : ℕ} (h : j ≤ k) (x : Heterogeneous.CategorialAlgebra.carrier B (j, s)), f k (inclusion B h s x) = f j x) :
              Cell B s → L

              Descend a compatible family of set maps to the quotient.

              Equations
              Instances For
                @[simp]
                theorem CategorialAlgebras.Omega.cellDesc_in {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) {s : S} {L : Type x} (f : (k : ℕ) → Heterogeneous.CategorialAlgebra.carrier B (k, s) → L) (hf : ∀ {j k : ℕ} (h : j ≤ k) (x : Heterogeneous.CategorialAlgebra.carrier B (j, s)), f k (inclusion B h s x) = f j x) (k : ℕ) (x : Heterogeneous.CategorialAlgebra.carrier B (k, s)) :
                cellDesc B f ⋯ (cellIn B k s x) = f k x

                The descended set map has the specified value on every representative.

                theorem CategorialAlgebras.Omega.cell_inductive_limit {S : Type u} {sig : Signature S} (B : Heterogeneous.OmegaCategorialAlgebra sig) {s : S} {L : Type x} (f : (k : ℕ) → Heterogeneous.CategorialAlgebra.carrier B (k, s) → L) (hf : ∀ {j k : ℕ} (h : j ≤ k) (x : Heterogeneous.CategorialAlgebra.carrier B (j, s)), f k (inclusion B h s x) = f j x) :
                ∃! g : Cell B s → L, ∀ (k : ℕ) (x : Heterogeneous.CategorialAlgebra.carrier B (k, s)), g (cellIn B k s x) = f k x

                The quotient and its dimensional injections have the inductive universal property in sets.