Documentation

CategorialAlgebras.Dimensions.Indices

Maps between finite dimensions #

Inclusions retain dimensions and clamping sends a cell dimension $k$ to $\min(k,m)$. Composition dimensions use Fin n, while cell dimensions use Fin (n + 1).

theorem CategorialAlgebras.Dimensions.hepDomain_heq {S : Type u_1} {T : Type u_2} {sig : HepSignature S} {tau : HepSignature T} {c d : GeneralizedHepDerivor sig tau} (h : c = d) :

Equality of generalized hep-derivors gives heterogeneous equality of their dependent domain families.

theorem CategorialAlgebras.Dimensions.positionalTerm_heq {S : Type u_1} {T : Type u_2} {sig : Signature T} (φ : S → T) (a : List S) {s t : T} (x : Word.MappedVariables φ a s) (y : Word.MappedVariables φ a t) (h : ↑x = ↑y) :

Positional variables with the same position give the same term up to sort transport.

theorem CategorialAlgebras.Dimensions.valuation_heq {S : Type u_1} {T : Type u_2} {φ : S → T} {a : List S} {A : T → Type u_3} (x : Word.Family (fun (s : S) => A (φ s)) a) {s : T} (p : Word.MappedVariables φ a s) :
Word.valuation x s p ≍ x ↑p

Evaluation of a positional variable changes only its sort by equality transport.

Inclusion of composition dimensions.

Equations
Instances For
    def CategorialAlgebras.Dimensions.cellInclusion {m n : ℕ} (h : m ≤ n) :
    Fin (m + 1) ↪o Fin (n + 1)

    Inclusion of cell dimensions, retaining the top cell dimension of the source.

    Equations
    Instances For

      Clamping a cell dimension to $\min(k,m)$.

      Equations
      Instances For
        @[simp]

        Clamping does not change a dimension already below the cutoff.

        @[simp]

        Successive clamping is clamping to the smaller cutoff.

        @[simp]

        Clamping in its own dimension is the identity.

        theorem CategorialAlgebras.Dimensions.clampDimension_lt {m n : ℕ} {j k : Fin (n + 1)} (h : j < k) :
        (clampDimension m) j < (clampDimension m) k ↔ ↑j < m

        A strictly increasing pair remains strict after clamping precisely below the cutoff.