Documentation

Linglib.Core.Question.PrecisionProjection

Precision Projection for Numeric QUDs #

A PrecisionProjection N rounds/approximates values of type N. Composing it with a numeric projection yields a QUD that distinguishes meanings only up to that precision — the formal device behind granularity-coarsened questions ("about a hundred" vs. "exactly 103").

structure PrecisionProjection (N : Type) :

Precision projection for numeric meanings (approximate vs exact).

  • round : NN

    Round/approximate the value

  • name : String

    Name

Instances For

    Exact precision: no rounding

    Equations
    Instances For

      Round to nearest multiple of k

      Equations
      Instances For
        @[reducible]
        def PrecisionProjection.applyToQUD {M N : Type} [BEq N] [LawfulBEq N] (prec : PrecisionProjection N) (proj : MN) :
        QUD M

        Compose precision with a QUD. Delegates to QUD.ofProject.

        Equations
        Instances For