Pragmatic Halo and Precision Modes #
@cite{krifka-2007} @cite{lasersohn-1999} @cite{woodin-etal-2023} @cite{kao-etal-2014-hyperbole}
Rounding semantics for numeral imprecision. Round numbers (100, 1000) are interpreted imprecisely; sharp numbers (103, 1001) are interpreted precisely. This is the "pragmatic halo" effect.
Precision mode for numeral interpretation.
- exact : PrecisionMode
- approximate : PrecisionMode
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Round a rational number to the nearest multiple of base.
Equations
Instances For
Check if a number is "round" (divisible by base).
Equations
Instances For
Rounding equivalence: two values are equivalent if they round to the same number.
Equations
Instances For
Project a value according to precision mode.
Equations
- Semantics.Lexical.Numeral.Precision.projectPrecision Semantics.Lexical.Numeral.Precision.PrecisionMode.exact n base = n
- Semantics.Lexical.Numeral.Precision.projectPrecision Semantics.Lexical.Numeral.Precision.PrecisionMode.approximate n base = Semantics.Lexical.Numeral.Precision.roundToNearest n base
Instances For
Check if stated and actual values match under a given precision mode.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adaptive rounding base: rounder numbers get a coarser base.
Uses RoundnessGrade to avoid duplicating score-binning logic.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Adaptive tolerance: scales a base tolerance by the roundness score.
Equations
- Semantics.Lexical.Numeral.Precision.adaptiveTolerance n baseTol = baseTol * (1 + ↑(Core.Roundness.roundnessScore n) / 6)
Instances For
Pragmatic halo width as a function of roundness score.
Equations
Instances For
Infer precision mode from k-ness score.
roundnessScore ≥ 2 → .approximate; roundnessScore < 2 → .exact.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Multiples of 10 have adaptive base ≥ 5.