Documentation

CategorialAlgebras.Dimensions.HeterogeneousCounit

The heterogeneous counit #

Clamping and reinserting a dimension gives an endomap below identity. Its identity inclusions realize the counit of discretization and truncation.

def CategorialAlgebras.Dimensions.counitDimension {m n : ℕ} (h : m ≤ n) :
Fin (n + 1) →o Fin (n + 1)

Clamp a dimension and include it again in the original dimension type.

Equations
Instances For

    The reinserted clamping map is saturating.

    theorem CategorialAlgebras.Dimensions.counitDimension_le {m n : ℕ} (h : m ≤ n) (k : Fin (n + 1)) :

    Reinserted clamping lies below the identity dimension map.

    theorem CategorialAlgebras.Dimensions.counitDimension_shape {m n : ℕ} (h : m ≤ n) (j k : Fin (n + 1)) (hjk : j < k) :

    The lower dimension of a strict pair is retained unless both images coincide.

    The counit dimension map is exactly the composite underlying generalized derivor.

    Recover the heterogeneous categorial algebra of a model on its exact carriers.

    Equations
    Instances For

      The explicit counit source realizes the successive induced transformations.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        The heterogeneous counit realization retains the underlying cell.

        The inverse heterogeneous realization removes the two cell proofs.

        The heterogeneous counit on partial algebras underlying a model.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          The heterogeneous counit uses the identity from the clamped dimension into the original one.

          theorem CategorialAlgebras.Dimensions.recovered_identity_natural {S : Type u} {sig : Signature S} {n : ℕ} {B C : PartialAlgebra (Heterogeneous.Symbol (Fin (n + 1)) sig)} (f : B ⟶ C) (hB : (Heterogeneous.specification (Fin (n + 1)) sig).IsModel B) (hC : (Heterogeneous.specification (Fin (n + 1)) sig).IsModel C) {j k : Fin (n + 1)} (hjk : j ≤ k) (s : S) (x : B.carrier (j, s)) :

          Homomorphisms of models preserve recovered weak-pair identities.

          The heterogeneous identity inclusions are natural on models.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem CategorialAlgebras.Dimensions.heterogeneousCounitPartial_low {S : Type u} {sig : Signature S} {m n : ℕ} (h : m ≤ n) (B : PartialAlgebra (Heterogeneous.Symbol (Fin (n + 1)) sig)) (hB : (Heterogeneous.specification (Fin (n + 1)) sig).IsModel B) (k : Fin (n + 1)) (hk : ↑k ≤ m) (s : S) (x : (heterogeneousDiscretization sig h).Cell ((heterogeneousTruncation sig h).transformed B) (k, s)) :
            (heterogeneousCounitPartial h B hB).toMap (k, s) x ≍ ↑↑x

            Below the cutoff the heterogeneous counit is identity, up to sort transport.

            theorem CategorialAlgebras.Dimensions.counitDimension_high {m n : ℕ} (h : m ≤ n) (k : Fin (n + 1)) (hk : m < ↑k) :
            ↑((counitDimension h) k) = m

            Above the cutoff the clamped source dimension is exactly $m$.

            theorem CategorialAlgebras.Dimensions.heterogeneousCounitPartial_high {S : Type u} {sig : Signature S} {m n : ℕ} (h : m ≤ n) (B : PartialAlgebra (Heterogeneous.Symbol (Fin (n + 1)) sig)) (hB : (Heterogeneous.specification (Fin (n + 1)) sig).IsModel B) (k : Fin (n + 1)) (hk : m < ↑k) (s : S) (x : (heterogeneousDiscretization sig h).Cell ((heterogeneousTruncation sig h).transformed B) (k, s)) :

            Above the cutoff the counit is the original identity from dimension $m$ to $k$.

            theorem CategorialAlgebras.Dimensions.heterogeneousDiscretization_identity_val {S : Type u} {sig : Signature S} {m n : ℕ} (h : m ≤ n) (B : PartialAlgebra (Heterogeneous.Symbol (Fin (m + 1)) sig)) (hB : (Heterogeneous.specification (Fin (m + 1)) sig).IsModel B) {j k : Fin (n + 1)} (hjk : j ≤ k) (he : (clampDimension m) j = (clampDimension m) k) (s : S) (x : (heterogeneousDiscretization sig h).Cell B (j, s)) :

            Identities between dimensions collapsed by discretization retain their underlying value.