Documentation

Linglib.Semantics.Quantification.Numerals.Precision

Pragmatic halo and precision modes #

Rounding semantics for numeral imprecision: round numbers (100, 1000) admit imprecise construals; sharp numbers (103, 1001) do not — [Las99]'s pragmatic halo, [Kri07a]'s approximate interpretation.

Main definitions #

Precision mode for numeral interpretation: which of [KWBG14]'s two meaning projections applies.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[implicit_reducible]
      Equations
      def Semantics.Numerals.Precision.roundToNearest (n : ) (base : := 10) :

      Round a rational to the nearest multiple of base[KWBG14]'s Round at the default base = 10, the nearest-representative map of the width-base bucket partition (Core/Algebra/Order/ToIntervalMod.lean).

      Equations
      Instances For

        Rounding moves a value by at most half the grain: the imprecision introduced by f_a at base 10 is bounded by 5 (abs_sub_round_div_zsmul_le).

        def Semantics.Numerals.Precision.projectPrecision (mode : PrecisionMode) (n : ) (base : := 10) :

        Project a value according to precision mode: f_e is the identity, f_a rounds to the nearest multiple of base.

        Equations
        Instances For

          Halo width and precision-mode inference #

          Stipulated operationalisations over the k-ness score. Making the mode a function of the numeral alone idealises away the contextual choice of granularity ([Kri07a]) and joint probabilistic inference ([KWBG14]); see the caveat on inferPrecisionMode.

          Pragmatic halo width, increasing in the roundness score. The magnitude factors are stipulated, not paper-derived.

          Equations
          Instances For

            Infer precision mode from the k-ness score: roundnessScore ≥ 2 yields .approximate. Known idealisation: score-1 numerals (5, 15, 45, …) come out .exact even though imprecise uses of them are attested.

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

              PrecisionMode is the two-point instance of the QUD-layer PrecisionProjection family: f_e is PrecisionProjection.exact; f_a at grain g rounds within the width-g grain (the lower representative on the ℕ scale — [KWBG14]'s Round picks the nearest; same partition, different canonical representative).

              Equations
              Instances For