Documentation

CategorialAlgebras.ChangeOfSignature.Derivors

The generalized hep-derivors of a change of signature #

A derivor $\mathbf{c}=(\varphi,c)$ from $\Sigma$ to $\Lambda$ determines, in every type of dimensions, a generalized hep-derivor $\mathbf{c}^{(n)}$ between the homogeneous categorial signatures and a generalized hep-derivor $\mathbf{c}^{\mathrm{htg}(n)}$ between the heterogeneous ones. Both have empty domains, translate the original operation symbols by means of $c$ and leave the categorial structure unchanged.

The terms of $\Lambda$ are regarded as terms of the categorial signatures by the inclusion derivors $\boldsymbol{\iota}$ and $\boldsymbol{\iota}_k$; the latter sends $P$ to $P_k$, replacing every operation symbol $\tau$ by its copy $\tau_k$. Translations along a derivor commute with these inclusions, and hence the assignments $\mathbf{c}\mapsto\mathbf{c}^{(n)}$ and $\mathbf{c}\mapsto\mathbf{c}^{\mathrm{htg}(n)}$ preserve compositions and identities: they are functors from many-sorted signatures and derivors to hierarchical signatures and generalized hep-derivors.

theorem CategorialAlgebras.Derivor.translate_heq {S : Type u} {T : Type u'} {sig : Signature S} {tau : Signature T} {c c' : Derivor sig tau} (h : c = c') {X : S → Type w} {Y : T → Type x} (f : (s : S) → X s → Term tau Y (c.sortMap s)) (f' : (s : S) → X s → Term tau Y (c'.sortMap s)) (hf : f ≍ f') {s : S} (P : Term sig X s) :
c.translate f P ≍ c'.translate f' P

Translations along equal derivors, with corresponding assignments of the variables, are equal. The equality is heterogeneous since the sort maps need not be definitionally equal.

The inclusions of the original terms #

The homogeneous inclusion derivor, which regards every operation symbol of $\Lambda$ as an operation symbol of the homogeneous categorial signature.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def CategorialAlgebras.ChangeOfSignature.dimensionPosition {T : Type u'} {I : Type i} (k : I) {R : Type u} (φ : R → T) (a : List R) (t : T) :
    Word.MappedVariables φ a t → Word.MappedVariables (fun (p : I × R) => (p.1, φ p.2)) (Heterogeneous.dimensionWord k a) (k, t)

    The variable at a position of a word, regarded as the variable at the same position of the word placed in dimension $k$.

    Equations
    Instances For

      The heterogeneous inclusion derivor at dimension $k$, which sends every operation symbol $\tau$ of $\Lambda$ to its copy $\tau_k$.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        @[reducible, inline]
        abbrev CategorialAlgebras.ChangeOfSignature.homogeneousTerm {T : Type u'} {tau : Signature T} (I : Type i) {R : Type u} {φ : R → T} {a : List R} {t : T} (P : Term tau (Word.MappedVariables φ a) t) :

        The term $P$ of $\Lambda$ regarded as a term of the homogeneous categorial signature.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[reducible, inline]
          abbrev CategorialAlgebras.ChangeOfSignature.heterogeneousTerm {T : Type u'} {tau : Signature T} (I : Type i) [Preorder I] (k : I) {R : Type u} {φ : R → T} {a : List R} {t : T} (P : Term tau (Word.MappedVariables φ a) t) :
          Term (Heterogeneous.Symbol I tau) (Word.MappedVariables (fun (p : I × R) => (p.1, φ p.2)) (Heterogeneous.dimensionWord k a)) (k, t)

          The term $P_k$ of the heterogeneous categorial signature, obtained from a term $P$ of $\Lambda$ by replacing every operation symbol $\tau$ by $\tau_k$.

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

            The derivors of a change of signature #

            The derivor underlying $\mathbf{c}^{(n)}$: original symbols are translated by $c$, and sources, targets and compositions are sent to those of the translated sort.

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

              The homogeneous categorial derivor $\mathbf{c}^{(n)}=(\varphi,c^{(n)},\varnothing)$ determined by a derivor, with empty domains.

              Equations
              Instances For
                def CategorialAlgebras.ChangeOfSignature.heterogeneousSortMap {S : Type u} {T : Type u'} {sig : Signature S} {tau : Signature T} {I : Type i} (c : Derivor sig tau) (p : I × S) :
                I × T

                The map of sorts $(k,s)\mapsto(k,\varphi(s))$ of the heterogeneous derivor.

                Equations
                Instances For

                  The derivor underlying $\mathbf{c}^{\mathrm{htg}(n)}$: every $\sigma_k$ is sent to $c(\sigma)_k$, and sources, targets, identities and compositions are sent to those of the translated sort.

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

                    The heterogeneous categorial derivor $\mathbf{c}^{\mathrm{htg}(n)}=(\varphi^{\mathrm{htg}(n)},c^{\mathrm{htg}(n)},\varnothing)$ determined by a derivor, with empty domains.

                    Equations
                    Instances For
                      @[simp]
                      theorem CategorialAlgebras.ChangeOfSignature.homogeneous_domain {S : Type u} {T : Type u'} {sig : Signature S} {tau : Signature T} (I : Type i) (c : Derivor sig tau) (s : S) :

                      The homogeneous derivor of a change of signature has empty domains.

                      @[simp]
                      theorem CategorialAlgebras.ChangeOfSignature.heterogeneous_domain {S : Type u} {T : Type u'} {sig : Signature S} {tau : Signature T} (I : Type i) [Preorder I] (c : Derivor sig tau) (p : I × S) :

                      The heterogeneous derivor of a change of signature has empty domains.

                      @[simp]
                      theorem CategorialAlgebras.ChangeOfSignature.homogeneous_sortMap {S : Type u} {T : Type u'} {sig : Signature S} {tau : Signature T} (I : Type i) (c : Derivor sig tau) :

                      The sort map of the homogeneous derivor of a change of signature.

                      @[simp]

                      The sort map of the heterogeneous derivor of a change of signature.

                      Translation commutes with the inclusions #

                      theorem CategorialAlgebras.ChangeOfSignature.homogeneousInclusion_comp_image {T : Type u'} {tau : Signature T} {I : Type i} {V : Type x} {sig' : Signature V} (X : Derivor (Homogeneous.Symbol I tau) sig') {a : List T} {t : T} (τ : tau a t) :

                      Translating the generic application of an original symbol along a composite with an inclusion gives the image of its copy.

                      The homogeneous inclusion commutes with the homogeneous derivor of a change of signature: translating $P$ along $\mathbf{d}^{(n)}$ is translating it along $\mathbf{d}$.

                      Compositions and identities #

                      theorem CategorialAlgebras.ChangeOfSignature.homogeneous_comp {S : Type u} {T : Type u'} {U : Type u''} {sig : Signature S} {tau : Signature T} {ups : Signature U} (I : Type i) (c : Derivor sig tau) (d : Derivor tau ups) :

                      The homogeneous derivor of a composite is the composite of the homogeneous derivors.

                      The homogeneous derivor of an identity derivor is the identity.

                      def CategorialAlgebras.ChangeOfSignature.dimensionUnposition {I : Type i} (k : I) {R : Type u} {V : Type x} (ψ : I × R → V) (a : List R) (p : V) :

                      The positions of a word placed in dimension $k$, regarded back as positions of the word.

                      Equations
                      Instances For
                        theorem CategorialAlgebras.ChangeOfSignature.heterogeneousInclusion_comp_image {T : Type u'} {tau : Signature T} {I : Type i} [Preorder I] (k : I) {V : Type x} {sig' : Signature V} (X : Derivor (Heterogeneous.Symbol I tau) sig') {a : List T} {t : T} (τ : tau a t) :

                        Translating the generic application of an original symbol along a composite with a heterogeneous inclusion gives the image of its copy, with the positions of the dimensional word regarded as positions of the original word.

                        theorem CategorialAlgebras.ChangeOfSignature.heterogeneousInclusion_comp {T : Type u'} {U : Type u''} {tau : Signature T} {ups : Signature U} (I : Type i) [Preorder I] (k : I) (d : Derivor tau ups) :

                        The heterogeneous inclusion at dimension $k$ commutes with the heterogeneous derivor of a change of signature: translating $P_k$ along $\mathbf{d}^{\mathrm{htg}(n)}$ gives $d^\sharp(P)_k$.

                        theorem CategorialAlgebras.ChangeOfSignature.heterogeneous_comp {S : Type u} {T : Type u'} {U : Type u''} {sig : Signature S} {tau : Signature T} {ups : Signature U} (I : Type i) [Preorder I] (c : Derivor sig tau) (d : Derivor tau ups) :

                        The heterogeneous derivor of a composite is the composite of the heterogeneous derivors.

                        theorem CategorialAlgebras.ChangeOfSignature.var_heq {V : Type x} {sig' : Signature V} {X : V → Type y} {t t' : V} (h : t = t') {y : X t} {y' : X t'} (hy : y ≍ y') :

                        Variables of possibly different sorts are heterogeneously equal when their generators are.

                        theorem CategorialAlgebras.ChangeOfSignature.position_heq {V : Type x} {R : Type u} {φ : R → V} {a : List R} {t t' : V} (h : t = t') (y : Word.MappedVariables φ a t) (y' : Word.MappedVariables φ a t') (hv : ↑y = ↑y') :
                        y ≍ y'

                        Positions of possibly different sorts are heterogeneously equal when they are the same position.

                        The heterogeneous derivor of an identity derivor is the identity.

                        Functoriality #

                        The assignment $\mathbf{c}\mapsto\mathbf{c}^{(n)}$ is a functor from many-sorted signatures and derivors to hierarchical signatures and generalized hep-derivors.

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

                          The assignment $\mathbf{c}\mapsto\mathbf{c}^{\mathrm{htg}(n)}$ is a functor from many-sorted signatures and derivors to hierarchical signatures and generalized hep-derivors.

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