Documentation

CategorialAlgebras.Presentations.Realization

Recognizing induced transformations #

An ep-algebra on the selected carriers coincides with a transformation once its operations preserve the interpreting term values. Hierarchy supplies reflection.

theorem CategorialAlgebras.Presentations.transformed_eq_of_realization {S : Type u} {T : Type u'} {sig : HepSignature S} {tau : HepSignature T} (c : GeneralizedHepDerivor sig tau) (B : PartialAlgebra tau.symbol) (op : PartialAlgebraStructure sig.symbol (c.Cell B)) (hA : sig.IsEPAlgebra { carrier := c.Cell B, op := fun {a : List S} {s : S} => op }) (hv : ∀ {a : List S} {s : S} (σ : sig.symbol a s) (x : Word.Family (c.Cell B) a) {q : c.Cell B s}, q ∈ op σ x → ↑q ∈ c.imageValue B σ x) :
c.transformed B = { carrier := c.Cell B, op := fun {a : List S} {s : S} => op }

An ep-algebra on the exact cell carriers realizes the induced transformation if its operations have the prescribed interpreting values.

theorem CategorialAlgebras.Presentations.valid_of_iso {S : Type u} {sig : Signature S} {A B : PartialAlgebra sig} (e : A ≅ B) {X : S → Type u'} {a : List S} {s : S} (q : QEEquation sig X a s) (hA : QEEquation.Valid A q) :

Quasi-existence validity is invariant under partial-algebra isomorphisms.

theorem CategorialAlgebras.Presentations.model_of_iso {S : Type u} {sig : EPSignature S} (E : EPSpecification sig) {A B : PartialAlgebra sig.symbol} (e : A ≅ B) (hA : E.IsModel A) :

An ep-specification's model condition is invariant under isomorphisms.

noncomputable def CategorialAlgebras.Presentations.realizationIso {S : Type u} {T : Type u'} {sig : HepSignature S} {tau : HepSignature T} (c : GeneralizedHepDerivor sig tau) (B : PartialAlgebra tau.symbol) (A : PartialAlgebra sig.symbol) (hA : sig.IsEPAlgebra A) (f : SortedSet.Map A.carrier (c.Cell B)) (hf : ∀ (s : S), Function.Bijective (f s)) (hv : ∀ {a : List S} {s : S} (σ : sig.symbol a s) (x : Word.Family A.carrier a) {q : A.carrier s}, q ∈ A.op σ x → ↑(f s q) ∈ c.imageValue B σ fun (j : Fin a.length) => f (a.get j) (x j)) :

A bijective realization gives an isomorphism to the induced transformation.

Equations
Instances For

    Translation of a sorted singleton equation set is satisfied exactly when its translated pair is satisfied. The source context is a single variable.

    theorem CategorialAlgebras.Presentations.transformed_transport_val {S : Type u} {T : Type u'} {sig : HepSignature S} {tau : HepSignature T} {c d : GeneralizedHepDerivor sig tau} (h : c = d) (A : PartialAlgebra tau.symbol) (s : S) (x : c.Cell A s) (p : c.transformed A = d.transformed A) :
    ↑((CategoryTheory.eqToHom p).toMap s x) ≍ ↑x

    Equality transport between transformations retains the underlying element.

    def CategorialAlgebras.Presentations.modelIso {S : Type u} {sig : EPSignature S} {E : EPSpecification sig} (A B : E.Models) (e : A.obj.obj ≅ B.obj.obj) :
    A ≅ B

    An isomorphism of underlying partial algebras lifts to the double full category of models.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem CategorialAlgebras.Presentations.partial_eqToHom_toMap {S : Type u} {sig : Signature S} {A B : PartialAlgebra sig} (h : A = B) (s : S) (x : A.carrier s) :

      The underlying function of equality transport is transport in the carrier.

      theorem CategorialAlgebras.Presentations.op_eq_of_same_carrier {S : Type u} {sig : Signature S} {C : S → Type w} {op op' : PartialAlgebraStructure sig C} (h : { carrier := C, op := fun {a : List S} {s : S} => op } = { carrier := C, op := fun {a : List S} {s : S} => op' }) :
      op = op'

      Equality of partial algebras on a fixed carrier is equality of their operation structures.