Finite one-scale calibration, with zero adjoined to every maximum.
A finite maximum with the specified value zero for an empty battery.
Equations
- MindFormal.CalibrationScale.finiteMax f = Finset.univ.sup' ⋯ fun (b : Option B) => b.elim 0 f
Instances For
Error of one reciprocal unit, shared by every query in the battery.
Equations
- MindFormal.CalibrationScale.scaleError X p ρ = MindFormal.CalibrationScale.finiteMax fun (b : B) => |ρ * X b - p b|
Instances For
Inactive-activity queries impose their target probabilities directly.
Equations
- MindFormal.CalibrationScale.zeroBound X p = MindFormal.CalibrationScale.finiteMax fun (b : B) => if X b = 0 then p b else 0
Instances For
Every ordered pair is included; pairs with zero denominator contribute zero.
Equations
Instances For
Equations
Instances For
theorem
MindFormal.CalibrationScale.scaleError_nonneg
{B : Type u_1}
[Fintype B]
(X p : B → ℝ)
(ρ : ℝ)
:
theorem
MindFormal.CalibrationScale.coordinate_intervals
{B : Type u_1}
(X p : B → ℝ)
(hX : ∀ (b : B), 0 ≤ X b)
(hp : ∀ (b : B), 0 ≤ p b)
(ρ ε : ℝ)
:
Each positive activity gives a closed interval, while zero activity requires its target to lie below the tolerance. The nonnegative half-line is retained explicitly, including an empty battery.