MindFormal v1.0.0One Mind

MindFormal.Example.A630GameLearning.ReadBounds

theorem MindFormal.A630GameLearning.Source.action_score (a : Fin 2) (epsilon : ℝ) (s : State) (hp : PhysicalMindState s) (i : Fin 4) :
((mind a epsilon).reads.scores false) (physicalRetract s) i = epsilon * mindActivity s i + mindValue s i 0 () - mindValue s i 1 ()
theorem MindFormal.A630GameLearning.Source.action_guard (a : Fin 2) (epsilon : ℝ) (s : State) (hp : PhysicalMindState s) (i : Fin 4) :
((mind a epsilon).reads.guards false) (physicalRetract s) i = if i = 0 ∨ i = 1 then epsilon * mindActivity s i + mindValue s i 0 () - mindValue s i 1 () - 1 / 25 else -1
theorem MindFormal.A630GameLearning.Source.focus_guard (a : Fin 2) (epsilon : ℝ) (s : State) (hp : PhysicalMindState s) (i : Fin 4) :
((mind a epsilon).reads.guards true) (physicalRetract s) i = min (mindActivity s i - 1 / 20) (mindActivity s i + epsilon * (mindValue s i 0 () - mindValue s i 1 ()) - 1 / 20)
noncomputable def MindFormal.A630GameLearning.Source.armZ (reminder : Bool) :
Equations
Instances For
    theorem MindFormal.A630GameLearning.Source.comparison_winner (arm : Bool) :
    21 / 100 < Comparison.bank (armZ arm) 1 (nextLabel arm) 0 - Comparison.bank (armZ arm) 1 (nextLabel arm) 1 ∧ ∀ (j : Fin 4), j = 0 ∨ j = 1 → j ≠ nextLabel arm → 9 / 100 < Comparison.bank (armZ arm) 1 (nextLabel arm) 0 - Comparison.bank (armZ arm) 1 (nextLabel arm) 1 - (Comparison.bank (armZ arm) 1 j 0 - Comparison.bank (armZ arm) 1 j 1)
    theorem MindFormal.A630GameLearning.Source.output_enclosure (G : CountableContinuationRepair.SharpPath 4 2 Unit Unit) {epsilon z : ℝ} (he : epsilon ∈ Set.Ioc 0 (1 / 10000000)) (hz : z ∈ Set.Icc (-(1 / 10)) (1 / 10)) (hd : G.data = nativeData epsilon) (hs : G.state 0 = start z) (hξ : ∀ t ∈ Set.Icc 0 1, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |G.driver t.toNNReal c| ≤ epsilon) (hu : ∀ t ∈ Set.Icc 0 1, ∀ (i : Fin 4), G.input t i ≤ 13 / 40) (hheld : ∀ t ∈ Set.Ioo 0 1, G.input t = heldInput z) {t : ℝ} (ht : t ∈ Set.Icc 0 1) (a : Fin 2) (i : Fin 4) :
    |((mind a epsilon).reads.scores false) (physicalRetract (G.state t)) i - (Comparison.bank z t i 0 - Comparison.bank z t i 1)| ≤ 10001 * epsilon
    theorem MindFormal.A630GameLearning.Source.focus_qualified (G : CountableContinuationRepair.SharpPath 4 2 Unit Unit) {epsilon z : ℝ} (he : epsilon ∈ Set.Ioc 0 (1 / 10000000)) (hz : z ∈ Set.Icc (-(1 / 10)) (1 / 10)) (hd : G.data = nativeData epsilon) (hs : G.state 0 = start z) (hξ : ∀ t ∈ Set.Icc 0 1, ∀ (c : CoordinateIndex (Fin 4) 2 Unit Unit), |G.driver t.toNNReal c| ≤ epsilon) (hu : ∀ t ∈ Set.Icc 0 1, ∀ (i : Fin 4), G.input t i ≤ 13 / 40) (hheld : ∀ t ∈ Set.Ioo 0 1, G.input t = heldInput z) {t : ℝ} (ht : t ∈ Set.Icc 0 1) (a : Fin 2) (i : Fin 4) :
    0 < ((mind a epsilon).reads.guards true) (physicalRetract (G.state t)) i