Documentation

Linglib.Semantics.Polarity.Strength

The Zwarts strength hierarchies #

[Zwa98] [Ica12] [Lad80]

The polarity-facing quotient of the natural-logic signature system: the DE hierarchy weak < antiAdditive < antiMorphic and its UE dual as linear orders, the bridge maps reading strength off an Signature's projection behavior, and DEStrength.HoldsFor, the semantic content of each level (weak = Antitone, antiAdditive = IsAntiAdditive, antiMorphic = IsAntiMorphic), downward closed along the chain (HoldsFor.of_le).

Main declarations #

The hierarchies #

The three levels of the DE hierarchy ([Zwa98]): weak is plain DE (licenses weak NPIs: ever, any), antiAdditive adds ∨→∧ distributivity (licenses strong NPIs: lift a finger), and antiMorphic adds ∧→∨ distributivity (= negation).

Instances For
    @[instance_reducible]
    Equations
    def Polarity.instReprDEStrength.repr :
    DEStrengthStd.Format
    Equations
    Instances For
      @[instance_reducible]

      The Zwarts DE hierarchy as the linear order weak < antiAdditive < antiMorphic — the carrier of the canonical zwartsScale (Semantics/Polarity/Licensing.lean); other theories of NPI strength supply other ordered carriers.

      Equations

      The three levels of the UE hierarchy (dual of DEStrength): weak is plain UE (monotone), multiplicative adds ∧-distributivity, additive ∨-distributivity (strongest).

      Instances For
        @[instance_reducible]
        Equations
        def Polarity.instReprUEStrength.repr :
        UEStrengthStd.Format
        Equations
        Instances For

          The Zwarts hierarchy semantically #

          def Polarity.DEStrength.HoldsFor {α : Type u_1} {β : Type u_2} [Lattice α] [Lattice β] (s : DEStrength) (f : αβ) :

          The semantic content of a DEStrength level for a context function ([Ica12] §4, after Zwarts): weak is antitonicity, antiAdditive the anti-additivity equation, antiMorphic the full anti-morphism — few is weak-only, no anti-additive, not anti-morphic.

          Equations
          Instances For
            theorem Polarity.DEStrength.HoldsFor.of_le {α : Type u_1} {β : Type u_2} [Lattice α] [Lattice β] {f : αβ} {s₁ s₂ : DEStrength} (h : s₁ s₂) (hf : s₂.HoldsFor f) :
            s₁.HoldsFor f

            Strength facts are downward closed along the Zwarts chain weak < antiAdditive < antiMorphic: a function holding a level holds every weaker one.

            Signature → strength bridge maps #

            The DE strength a signature realizes, derived from project: a signature is DE iff it reverses forward entailment; within the DE side, anti-additivity is detected by the ∨→∧ swap on cover and anti-morphism additionally by the ∧→∨ swap on alternation. none for UE-side signatures.

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

              The UE strength a signature realizes, derived from project: a signature is UE iff it preserves forward entailment; additivity is ∨-preservation on cover, multiplicativity ∧-preservation on alternation. none for DE-side signatures.

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

                Any DE-side signature licenses weak NPIs ([Lad80]): a signature whose context polarity is downward carries a DE strength.

                Anti-additive or stronger signatures sit on the DE side: the strong NPI licensors (antiAdd, antiAddMult) are downward contexts — but plain anti and antiMult only reach weak.