MindFormal v1.0.0One Mind

MindFormal.Example.A640SharedReports.NativeReads

theorem MindFormal.A640SharedReports.Source.mind_action_score {A : Type} [Fintype A] (a : A) (floor flip fanout : Bool) (epsilon noise : ℝ) (z : PhysicalState 3 2 Unit Unit) (i : Fin 3) :
((mind a floor flip fanout epsilon noise).reads.scores false) z i = mindActivity (↑z) i + epsilon * (mindValue (↑z) i 0 () - mindValue (↑z) i 1 ())
theorem MindFormal.A640SharedReports.Source.mind_action_guard {A : Type} [Fintype A] (a : A) (floor flip fanout : Bool) (epsilon noise : ℝ) (z : PhysicalState 3 2 Unit Unit) (i : Fin 3) :
((mind a floor flip fanout epsilon noise).reads.guards false) z i = if i ≠ 2 then mindActivity (↑z) i + epsilon * (mindValue (↑z) i 0 () - mindValue (↑z) i 1 ()) - if fanout = true then 1 / 20 else 9 / 50 else -1
theorem MindFormal.A640SharedReports.Source.action_output_error {epsilon : ℝ} (he : 0 ≤ epsilon) (he1 : epsilon ≤ 1 / 1000000000000) (z y : State) (hy : ∀ (i : Fin 3) (b : Fin 2), mindValue y i b () = 0) (hd : ‖z - y‖ ≤ 1 / 200000000) (i : Fin 3) :
|mindActivity z i + epsilon * (mindValue z i 0 () - mindValue z i 1 ()) - mindActivity y i| ≤ 6 / 1000000000

Value-sensitive native action reads inherit the full-state corridor. The score's reward and cost terms remain present.

theorem MindFormal.A640SharedReports.Source.native_action_guard {Ω : Type u_1} {A : Type} [mΩ : MeasurableSpace Ω] [Fintype A] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : A × Sources → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) (floor flip fanout : Bool) (epsilon noise : ℝ) (hm : E.observed.member a = mind a floor flip fanout epsilon noise) (H : NNReal) (ω : Ω) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑H) (hp : PhysicalMindState (E.observed.path a t.toNNReal ω)) (i : Fin 3) :
E.observed.nativeGuard H ω a false t i = if i ≠ 2 then mindActivity (E.observed.path a t.toNNReal ω) i + epsilon * (mindValue (E.observed.path a t.toNNReal ω) i 0 () - mindValue (E.observed.path a t.toNNReal ω) i 1 ()) - if fanout = true then 1 / 20 else 9 / 50 else -1