MindFormal v1.0.0One Mind

MindFormal.Example.ResponsiveSearch.Primitives

11.17 paragraph 7: the exact SR15 drive and sum-of-saturations gain. The absolute-value extension of the gain agrees with SR15 on its domain.

@[reducible, inline]
Equations
Instances For
    theorem MindFormal.ResponsiveSearch.drive_bounds {u q : ℝ} (hu : 0 ≤ u) (hq : q ∈ {0, 1}) (v : Values) :
    u ≤ drive u q v ∧ drive u q v ≤ 102 / 100 * u + 1 / 50

    SR15: both value elements remain in the drive, bounded uniformly in their signs.

    SR15: the full drive is locally Lipschitz, including either value's zero corner.

    The fixed native mode does not freeze values; its branch retains both.

    theorem MindFormal.ResponsiveSearch.gain_bounds (z : Unit → Fin 2 → ℝ) :
    1 / 10000 ≤ gain z ∧ gain z < 3 / 10000

    SR15: its finite gain bound uses both surprise coordinates separately.

    The gain extension is globally locally Lipschitz and agrees on its physical domain.

    The declared gain increases coordinatewise on nonnegative magnitudes.

    theorem MindFormal.ResponsiveSearch.gain_strict {z w : Unit → Fin 2 → ℝ} (b : Fin 2) (hb : |z () b| < |w () b|) (ho : ∀ (a : Fin 2), a ≠ b → |z () a| = |w () a|) :
    gain z < gain w

    Both elements contribute: changing either magnitude alone changes the gain strictly.