Directed measurement primitive #
[Ken07] [Ken15] [LG17] [KLST71]
A DirectedMeasure D E packages a degree type, entity type, measure function,
boundedness classification, and direction. The common algebraic core of the
degree-domain constructors and epistemic threshold semantics.
Main declarations #
DirectedMeasure: the bundled measure structure.DirectedMeasure.IsLicensed: endpoint-based licensing viaBoundedness.IsLicensed.DirectedMeasure.degreeProperty: the degree property derived fromdirection(Comparison.ge.overpositive,Comparison.le.overnegative); its maximal informativity is characterized inSemantics/Entailment/Extremum.lean.DirectedMeasure.numeral,DirectedMeasure.adjective: Kennedy-style numeral and gradable-adjective domains.
Scale types as Mathlib typeclass combinations #
For theorems about concrete scales — proving facts about a particular type — use Mathlib typeclasses directly:
- Measurement scale:
[LinearOrder α] - Dense measurement scale ([FH06b] UDM):
[LinearOrder α] [DenselyOrdered α] - Upper-bounded scale:
[LinearOrder α] [OrderTop α] - Lower-bounded scale:
[LinearOrder α] [OrderBot α] - Open scale:
[LinearOrder α] [NoMaxOrder α] [NoMinOrder α]
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.
DirectedMeasure #
A directed measurement on a bounded scale: a degree type D (the scale),
an entity type E, a measure function μ : E → D, boundedness
(from ComparativeScale), and a direction.
Common algebraic core of the numeral/adjective domain constructors and
epistemic thresholds (epistemicAsDirectedMeasure, on
DirectedMeasure ℚ (E × (W → Bool))). The degree property
(Comparison.ge.over for positive, Comparison.le.over for negative) is
derived from direction, not stored — per [LG17], the
binary direction choice is the fundamental parameter.
- μ : E → D
Measure function: maps entities to degrees on the scale
- direction : Core.Order.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
Licensing: licensed iff the bounded scale admits an optimum.
See Boundedness.IsLicensed for the caveat — this checks
"any endpoint exists", not [Ken07]'s full
modifier-class licensing matrix.
Equations
- dm.IsLicensed = dm.boundedness.IsLicensed
Instances For
The degree property derived from the measure's direction: Comparison.ge.over
for positive scales (tall, likely), Comparison.le.over for negative ones
(short, unlikely). The derivation the structure docstring promises:
direction is the stored parameter, the property follows.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Numeral and adjective domains #
Constructors for [Ken15]'s numeral domains (de-Fregean type-shift
over cardinality) and [Ken07]'s gradable-adjective domains. The
licensing theorems below only pin the Boundedness → licensed map; the
substantive maximal-informativity results (exactness of the maximally
informative degree) live in Semantics/Entailment/Extremum.lean
(isMaxInf_atLeast_iff_eq, isMaxInf_atMost_iff_eq) and are discharged
over real numeral meanings in Studies/FoxHackl2006Numerals.lean.
[Ken15] numeral domain: "at least n" over cardinality.
Closed scale (ℕ well-ordered) → always licensed.
Type-shift to exact = MIP applied to Comparison.ge.over.
Equations
- Degree.DirectedMeasure.numeral μ = { boundedness := Core.Order.Boundedness.closed, μ := μ }
Instances For
[Ken07] gradable adjective domain. Boundedness varies by adjective class (tall: open, full: closed).
Equations
- Degree.DirectedMeasure.adjective μ b = { boundedness := b, μ := μ }
Instances For
Licensing theorems #
Numeral domains are always licensed (closed scale).
Class B adjectives (closed scale) are licensed.
Class A adjectives (open scale) are blocked.