Prototype meaning for quantity words #
A quantity word's meaning as a non-negative gradient over the proportion scale, peaking at a
per-word prototype and falling off with distance at a per-word spread.
The bump kernel is a rational-arithmetic approximation of a Gaussian
exp(-x²) — specifically, a piecewise-linear-in-|x| tent that is
genuinely non-negative, monotone-decreasing in |x|, and continuous
at the breakpoints. See bumpKernel.
Paper-specific models (Studies/VanTielEtAl2021.lean) supply the prototype and spread
parameters.
References #
Tent kernel: max 0 (1 - |x|). Non-negative, monotone-decreasing
in |x|, continuous, peak 1 at x = 0, vanishes for |x| ≥ 1.
Approximates a Gaussian bump in rational arithmetic without the
discontinuities and negative excursions of the previous piecewise
quadratic.
Equations
- Quantification.Prototype.bumpKernel x = if (if x < 0 then -x else x) ≥ 1 then 0 else 1 - if x < 0 then -x else x
Instances For
PT meaning at intersection-count t for a word with prototype p
and spread d > 0 over a domain of size n.
Distance from the prototype is normalized by spread, then passed through the bump kernel.
Equations
- Quantification.Prototype.ptMeaning n p d t = Quantification.Prototype.bumpKernel ((↑↑t - ↑p) / d)