Documentation

CategorialAlgebras.Dimensions.UnificationDerivors

Discretization and unification derivors #

Clamping the top dimension gives the top dimension of the smaller algebra. Unification and discretization therefore commute as complete generalized hep-derivors, including their empty cell domains.

@[simp]

Clamping the uppermost dimension gives the uppermost retained dimension.

theorem CategorialAlgebras.Dimensions.derivor_ext_heq {S : Type u_1} {T : Type u_2} {σ : Signature S} {τ : Signature T} {c d : Derivor σ τ} (h : c.sortMap = d.sortMap) (hi : ∀ (a : List S) (s : S) (f : σ a s), c.image f ≍ d.image f) :
c = d

Pointwise heterogeneous equality of images suffices to compare derivors.

def CategorialAlgebras.Dimensions.selectedBase {S : Type u} (sig : Signature S) {m : ℕ} (k : Fin (m + 1)) {a : List S} {s : S} (σ : sig a s) :
Term (Heterogeneous.Symbol (Fin (m + 1)) sig) (Word.MappedVariables (fun (s : S) => (k, s)) a) (k, s)

A base-operation term in an arbitrary selected cell dimension.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def CategorialAlgebras.Dimensions.selectedBoundary {S : Type u} (sig : Signature S) {m : ℕ} {j k : Fin (m + 1)} (h : j < k) (s : S) (b : Bool) :
    Term (Heterogeneous.Symbol (Fin (m + 1)) sig) (Word.MappedVariables (fun (s : S) => (k, s)) [s]) (k, s)

    A homogeneous boundary encoded between a selected top and a lower dimension.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def CategorialAlgebras.Dimensions.selectedComp {S : Type u} (sig : Signature S) {m : ℕ} {j k : Fin (m + 1)} (h : j < k) (s : S) :
      Term (Heterogeneous.Symbol (Fin (m + 1)) sig) (Word.MappedVariables (fun (s : S) => (k, s)) [s, s]) (k, s)

      A homogeneous composition encoded on a selected top carrier.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem CategorialAlgebras.Dimensions.selectedComp_heq {S : Type u} (sig : Signature S) {m : ℕ} {j k j' k' : Fin (m + 1)} (h : j < k) (h' : j' < k') (hj : j = j') (hk : k = k') (s : S) :
        selectedComp sig h s ≍ selectedComp sig h' s

        Encoded compositions respect equality of both dimensions.

        theorem CategorialAlgebras.Dimensions.selectedBoundary_heq {S : Type u} (sig : Signature S) {m : ℕ} {j k j' k' : Fin (m + 1)} (h : j < k) (h' : j' < k') (hj : j = j') (hk : k = k') (s : S) (b : Bool) :

        Encoded homogeneous boundaries respect equality of both dimensions.

        theorem CategorialAlgebras.Dimensions.dependent_heq {A : Sort u_1} {B : A → Sort u_2} (f : (a : A) → B a) {a b : A} (h : a = b) :
        f a ≍ f b

        Evaluation at equal indices gives heterogeneous equality for any dependent family.

        theorem CategorialAlgebras.Dimensions.positionalTerm_maps_heq {A : Type u_1} {B : Type u_2} {τ : Signature B} (φ ψ : A → B) (h : φ = ψ) (a : List A) {s t : B} (x : Word.MappedVariables φ a s) (y : Word.MappedVariables ψ a t) (hp : ↑x = ↑y) :

        Equal sort maps and positions give heterogeneous equality of positional terms.

        Discretization and unification have equal composite underlying derivors.

        theorem CategorialAlgebras.Dimensions.hep_ext_empty {A : Type u_1} {B : Type u_2} {σ : HepSignature A} {τ : HepSignature B} {c d : GeneralizedHepDerivor σ τ} (h : c.toDerivor = d.toDerivor) (hc : ∀ (s : A), c.domain s = ⊥) (hd : ∀ (s : A), d.domain s = ⊥) :
        c = d

        Empty-domain generalized derivors are equal when their underlying derivors are equal.

        Discretization and unification commute as complete generalized hep-derivors.