Documentation

Linglib.Core.Categorical.MereoCat

Category of Mereological Domains #

Category with partially ordered types as objects and strictly monotone (MereoDim) maps as morphisms. StrictMono.id and StrictMono.comp from Mathlib provide the categorical identity and composition.

The DimensionChain.toMereoMor bridge connects the existing dimension chain infrastructure to categorical morphisms, enabling the coherence results in Events/DimensionCoherence.lean.

structure Core.Categorical.MereoObj :
Type (u + 1)

Bundled partially ordered type: an object of the mereological category.

Instances For

    A morphism in the mereological category: a bundled strictly monotone map. Corresponds to MereoDim in Core/MereoDim.lean.

    • toFun : A.αB.α

      The underlying function.

    • strict_mono' : StrictMono self.toFun

      Strict monotonicity witness.

    Instances For
      theorem Core.Categorical.MereoMor.ext {A B : MereoObj} {f g : MereoMor A B} (h : ∀ (x : A.α), f.toFun x = g.toFun x) :
      f = g
      theorem Core.Categorical.MereoMor.ext_iff {A B : MereoObj} {f g : MereoMor A B} :
      f = g ∀ (x : A.α), f.toFun x = g.toFun x

      Identity morphism: the identity function is strictly monotone.

      Equations
      Instances For
        def Core.Categorical.MereoMor.comp {A B C : MereoObj} (f : MereoMor A B) (g : MereoMor B C) :

        Composition of morphisms (diagrammatic order: f then g).

        Equations
        Instances For

          A MereoMor is monotone (forgetful map to the category of preorders).

          Equations
          • One or more equations did not get rendered due to their size.
          def Mereology.DimensionChain.toMereoMor {Source Inter Measure : Type u} [PartialOrder Source] [PartialOrder Inter] [PartialOrder Measure] {f : SourceInter} {μ : InterMeasure} (dc : DimensionChain f μ) :
          Core.Categorical.MereoMor { α := Source, ord := inst✝ } { α := Measure, ord := inst✝¹ }

          A DimensionChain yields a composite morphism in MereoObj.

          Given a chain Source →f Inter →μ Measure where both legs are MereoDim, the composition μ ∘ f is a morphism ⟨Source⟩ ⟶ ⟨Measure⟩ in the mereological category.

          Equations
          Instances For
            def Mereology.DimensionChain.leg₁ToMereoMor {Source Inter Measure : Type u} [PartialOrder Source] [PartialOrder Inter] [PartialOrder Measure] {f : SourceInter} {μ : InterMeasure} (dc : DimensionChain f μ) :
            Core.Categorical.MereoMor { α := Source, ord := inst✝ } { α := Inter, ord := inst✝¹ }

            Each leg of a DimensionChain is individually a MereoMor.

            Equations
            Instances For
              def Mereology.DimensionChain.leg₂ToMereoMor {Source Inter Measure : Type u} [PartialOrder Source] [PartialOrder Inter] [PartialOrder Measure] {f : SourceInter} {μ : InterMeasure} (dc : DimensionChain f μ) :
              Core.Categorical.MereoMor { α := Inter, ord := inst✝ } { α := Measure, ord := inst✝¹ }
              Equations
              Instances For
                theorem Mereology.DimensionChain.comp_eq {Source Inter Measure : Type u} [PartialOrder Source] [PartialOrder Inter] [PartialOrder Measure] {f : SourceInter} {μ : InterMeasure} (dc : DimensionChain f μ) :

                The composite morphism equals the categorical composition of the legs.