MindFormal v1.0.0One Mind

MindFormal.Tools.CalibrationScale.Intervals

Finite one-scale calibration, with zero adjoined to every maximum.

A finite maximum with the specified value zero for an empty battery.

Equations
Instances For
    theorem MindFormal.CalibrationScale.finiteMax_le {B : Type u_1} [Fintype B] {f : B → ℝ} {r : ℝ} :
    finiteMax f ≤ r ↔ 0 ≤ r ∧ ∀ (b : B), f b ≤ r
    theorem MindFormal.CalibrationScale.le_finiteMax {B : Type u_1} [Fintype B] (f : B → ℝ) (b : B) :
    def MindFormal.CalibrationScale.scaleError {B : Type u_1} [Fintype B] (X p : B → ℝ) (ρ : ℝ) :

    Error of one reciprocal unit, shared by every query in the battery.

    Equations
    Instances For
      noncomputable def MindFormal.CalibrationScale.zeroBound {B : Type u_1} [Fintype B] (X p : B → ℝ) :

      Inactive-activity queries impose their target probabilities directly.

      Equations
      Instances For
        noncomputable def MindFormal.CalibrationScale.pairBound {B : Type u_1} [Fintype B] (X p : B → ℝ) :

        Every ordered pair is included; pairs with zero denominator contribute zero.

        Equations
        Instances For
          theorem MindFormal.CalibrationScale.scaleError_nonneg {B : Type u_1} [Fintype B] (X p : B → ℝ) (ρ : ℝ) :
          0 ≤ scaleError X p ρ
          theorem MindFormal.CalibrationScale.sharpError_le_iff {B : Type u_1} [Fintype B] (X p : B → ℝ) (hX : ∀ (b : B), 0 ≤ X b) (ε : ℝ) :
          sharpError X p ≤ ε ↔ 0 ≤ ε ∧ (∀ (b : B), X b = 0 → p b ≤ ε) ∧ ∀ (b c : B), |X c * p b - X b * p c| ≤ ε * (X b + X c)
          theorem MindFormal.CalibrationScale.coordinate_intervals {B : Type u_1} (X p : B → ℝ) (hX : ∀ (b : B), 0 ≤ X b) (hp : ∀ (b : B), 0 ≤ p b) (ρ ε : ℝ) :
          (0 ≤ ε ∧ ∀ (b : B), |ρ * X b - p b| ≤ ε) ↔ 0 ≤ ε ∧ (∀ (b : B), X b = 0 → p b ≤ ε) ∧ ∀ (b : B), 0 < X b → (p b - ε) / X b ≤ ρ ∧ ρ ≤ (p b + ε) / X 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.

          theorem MindFormal.CalibrationScale.nonnegative_scale_feasible {B : Type u_1} [Fintype B] (X p : B → ℝ) (hX : ∀ (b : B), 0 ≤ X b) (hp : ∀ (b : B), 0 ≤ p b) (ε : ℝ) :
          (∃ (ρ : ℝ), 0 ≤ ρ ∧ scaleError X p ρ ≤ ε) ↔ sharpError X p ≤ ε

          Pairwise endpoint comparisons suffice in one dimension. Taking the maximum of all lower endpoints and zero constructs a common scale.