MindFormal v1.0.0One Mind

MindFormal.Example.ResponsiveSearch.Gain

The two strict gain directions use the source's nonconstant two-coordinate saturation. No gain is replaced by a scalar constant in either writer.

theorem MindFormal.ResponsiveSearch.pre_residual_lt_two (χ : ℝ) (a : ℚ) (s : MindState (Fin 3) 2 Unit Unit) (hx : ∀ (i : Fin 3), mindActivity s i ∈ Set.Icc 0 1) (hr : ∀ (i : Fin 3), mindTrace s i () ∈ Set.Icc 0 1) (hv : ∀ (i : Fin 3) (b : Fin 2), |mindValue s i b ()| ≤ 223 / 1000) (b : Fin 2) :

The pre-return residual is strictly inside (-2,2), on the refined source box.

theorem MindFormal.ResponsiveSearch.additive_residual (χ : ℝ) (a : ℚ) (s : MindState (Fin 3) 2 Unit Unit) (hs : PhysicalMindState s) (useful : Bool) (b : Fin 2) :
assembledResidual (mind χ a).drift (presentation (if useful = true then 1 else 2)) s () b = assembledResidual (mind χ a).drift (presentation 0) s () b + if b = if useful = true then 0 else 1 then 4 else 0

The additive return changes exactly one delivery coordinate by four.

theorem MindFormal.ResponsiveSearch.abs_add_four {z : ℝ} (hz : |z| < 2) :
|z| < |z + 4|

Four added to a number of magnitude below two strictly increases its magnitude.

theorem MindFormal.ResponsiveSearch.additive_gain (χ : ℝ) (a : ℚ) (s : MindState (Fin 3) 2 Unit Unit) (hx : ∀ (i : Fin 3), mindActivity s i ∈ Set.Icc 0 1) (hr : ∀ (i : Fin 3), mindTrace s i () ∈ Set.Icc 0 1) (hv : ∀ (i : Fin 3) (b : Fin 2), |mindValue s i b ()| ≤ 223 / 1000) (useful : Bool) :
((mind χ a).gain fun (t : Unit) (b : Fin 2) => |assembledResidual (mind χ a).drift (presentation 0) s t b|) < (mind χ a).gain fun (t : Unit) (b : Fin 2) => |assembledResidual (mind χ a).drift (presentation (if useful = true then 1 else 2)) s t b|

SR15, additive-return gain sign at the continuous switch state, for either returned port.

Difference of the two source saturations; it is strictly increasing on [0,.49].

Equations
Instances For
    theorem MindFormal.ResponsiveSearch.loss_gain_of_offsets {c0 c1 : ℝ} (h0 : 0 < c0) (h01 : c0 < c1) (h1 : c1 < 49 / 100) :
    (gain fun (x : Unit) => ![-c0, 4 - c1]) < gain fun (x : Unit) => ![4 - c0, -c1]

    The source loss switch decreases the SAME two-coordinate gain when its strict offset order is proved. These are local algebra premises, not path certificates.