Documentation

Linglib.Core.Scales.DirectedMeasure

Core/Scales/DirectedMeasure.lean — directed measurement primitive #

@cite{kennedy-2007} @cite{lassiter-goodman-2017} @cite{rouillard-2026} @cite{krantz-1971} @cite{krifka-1989} @cite{zwarts-2005}

A DirectedMeasure D E packages a degree type, entity type, measure function, boundedness classification, and direction. The common algebraic core of GradablePredicate, MIP domain constructors, and epistemic threshold semantics.

The MIP domain framework operators (numeral, adjective, rouillardETIA, rouillardGTIA) currently live in this file. Per master plan v4 Phase B, these will move to Theories/Semantics/Gradability/{Kennedy,Rouillard}.lean.

This file is part of the Phase A decomposition of the legacy Core/Scales/Scale.lean dumping ground (master plan v4).

Scale types as Mathlib typeclass combinations #

For theorems about concrete scales — proving facts about a particular type — use Mathlib typeclasses directly:

For lexical-data tagging, use the Boundedness enum from Defs.lean. Mathlib typeclass instances cannot be stored in record fields; the enum and the typeclass system serve different roles and both are real.

structure Core.Scale.DirectedMeasure (D : Type u_1) [LinearOrder D] (E : Type u_2) extends Core.Scale.ComparativeScale D :
Type (max u_1 u_2)

A directed measurement on a bounded scale: the algebraic primitive underlying degree semantics, modal semantics, and epistemic scales.

A DirectedMeasure D E packages:

  • A degree type D with a linear order (the scale)
  • An entity type E (what gets measured)
  • A measure function μ : E → D (the measurement)
  • Boundedness classification (from ComparativeScale)
  • A direction/polarity (positive or negative)

This is the common algebraic core of GradablePredicate (degree semantics), MIP domain constructors (maximal informativity), and epistemicAsGradable (epistemic threshold semantics). Each of these extends or instantiates DirectedMeasure:

The degree property (atLeastDeg for positive, atMostDeg for negative) is derived from direction, not stored. This captures the insight from @cite{lassiter-goodman-2017} that the binary direction choice (which side of the threshold counts as "satisfying the predicate") is the fundamental parameter, and the degree property follows.

References:

  • Kennedy, C. (2007). Vagueness and grammar.
  • Lassiter, D. (2017). Graded modality. OUP.
  • Rouillard, V. (2026). Maximal informativity and temporal in-adverbials.
  • Krantz, D. et al. (1971). Foundations of measurement, Vol. 1.
  • μ : ED

    Measure function: maps entities to degrees on the scale

  • direction : ScalePolarity

    Scale direction: positive (μ(x) ≥ θ) or negative (μ(x) ≤ θ). Determines which side of a threshold counts as satisfying the predicate. Positive: tall, likely, full. Negative: short, unlikely, empty.

Instances For
    def Core.Scale.DirectedMeasure.licensed {D : Type u_1} [LinearOrder D] {E : Type u_2} (dm : DirectedMeasure D E) :
    Bool

    Licensing: licensed iff the bounded scale admits an optimum. See Boundedness.isLicensed for the caveat — this checks "any endpoint exists", not @cite{kennedy-2007}'s full modifier-class licensing matrix.

    Equations
    Instances For

      The Maximal Informativity Principle as a universal mechanism #

      @cite{kennedy-2015} proposes a de-Fregean type-shift that maps lower-bound numeral meanings to exact meanings for Class B items (closed scales). @cite{rouillard-2026} proposes the MIP as the licensing condition for temporal in-adverbials.

      These are the SAME mechanism: given a measure function μ and a monotone degree property P, the maximally informative value is always μ(w) — the true value. The MIP derives exactness from monotone degree properties regardless of domain:

      DomainμDegree propDirectionMIP result
      Kennedy numeralscardinalityatLeastDegdown monomax⊨ = μ(w)
      Kennedy adjectivesdegreeatLeastDegdown monomax⊨ = μ(w)
      Rouillard E-TIAsruntimeatMostDegup monomax⊨ = μ(w)

      The isMaxInf_atLeast_iff_eq and isMaxInf_atMost_iff_eq theorems prove this for both monotonicity directions. The Kennedy type-shift is not a separate mechanism — it IS the MIP applied to "at least n".

      Per master plan v4, these MIP-domain operators (numeral, adjective, rouillardETIA, rouillardGTIA) are scheduled to move to Theories/Semantics/Gradability/{Kennedy,Rouillard}.lean in Phase B.

      def Core.Scale.DirectedMeasure.numeral {α : Type u_1} [LinearOrder α] {W : Type u_2} (μ : Wα) :

      @cite{kennedy-2015} numeral domain: "at least n" over cardinality. Closed scale (ℕ well-ordered) → always licensed. Type-shift to exact = MIP applied to atLeastDeg.

      Equations
      Instances For
        def Core.Scale.DirectedMeasure.adjective {α : Type u_1} [LinearOrder α] {W : Type u_2} (μ : Wα) (b : Boundedness) :

        @cite{kennedy-2007} gradable adjective domain. Boundedness varies by adjective class (tall: open, full: closed).

        Equations
        Instances For
          theorem Core.Scale.DirectedMeasure.numeral_licensed {α : Type u_1} [LinearOrder α] {W : Type u_2} (μ : Wα) :
          (numeral μ).licensed = true

          Numeral domains are always licensed (closed scale).

          theorem Core.Scale.DirectedMeasure.classB_licensed {α : Type u_1} [LinearOrder α] {W : Type u_2} (μ : Wα) :

          Class B adjectives (closed scale) are licensed.

          theorem Core.Scale.DirectedMeasure.classA_blocked {α : Type u_1} [LinearOrder α] {W : Type u_2} (μ : Wα) :

          Class A adjectives (open scale) are blocked.

          Rouillard 2026's E-TIA / G-TIA MIP-domain operators (negative direction) have moved to Theories/Semantics/Gradability/MaximalInformativity.lean per master plan v4 Phase B (idea-named: etia/gtia). The cross-framework licensing equivalence theorems also live there.