Documentation

Linglib.Theories.Semantics.Lexical.Numeral.Precision

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.

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
            def Semantics.Lexical.Numeral.Precision.matchesPrecision (mode : PrecisionMode) (stated actual : ) (base : := 10) :

            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
                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.