MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.ResponseRecovery

Full moving-state recovery and separate response probability margins. The source's product contribution does not replace the complete score test.

def MindFormal.ResponseRecovery.response {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (C : StateLearning Ω N n T Λ J) (i : Fin N) (L : ℝ) :
Set Ω
Equations
Instances For
    theorem MindFormal.ResponseRecovery.response_measurable {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (C : StateLearning Ω N n T Λ J) (i : Fin N) (L : ℝ) :
    theorem MindFormal.ResponseRecovery.absent {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (C : StateLearning Ω N n T Λ J) (i : Fin N) {L : ℝ} (hL : 0 ≤ L) (upper : ∀ z ∈ C.run.good, ∀ t ∈ Set.Icc L ↑C.horizon, C.run.score z i t + C.run.error < C.run.data.reads.actionBar) :
    theorem MindFormal.ResponseRecovery.recovery {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (R E : StateLearning Ω N n T Λ J) (hR : R.Contained) (huR : R.control.εu = 0) (hE : E.Contained) (huE : E.control.εu = 0) (hmu : R.run.data.μ = E.run.data.μ) {K : ℕ} (label : Ω → Fin K → Fin N) (center : Ω → Fin K → ℝ) (radius phase : Fin K → ℝ) (hr : ∀ (q : Fin K), 0 ≤ radius q) (hp : ∀ (q : Fin K), 0 ≤ phase q) (hl : ∀ (z : Ω) (q : Fin K), 0 ≤ center z q - radius q) (hH : ∀ (z : Ω) (q : Fin K), center z q + radius q ≤ ↑R.horizon) (hout : ∀ (z : Ω) (q : Fin K), R.run.data.reads.outputs (label z q) = true) (before : ∀ z ∈ R.run.good, ∀ (q : Fin K) (j : Fin N), R.run.data.reads.outputs j = true → ∀ t ∈ Set.Ico (phase q) (center z q - radius q), R.run.score z j t + R.run.error < R.run.data.reads.actionBar) (winner : ∀ z ∈ R.run.good, ∀ (q : Fin K), R.run.data.reads.actionBar + R.run.error ≤ R.run.score z (label z q) (center z q + radius q)) (rivals : ∀ z ∈ R.run.good, ∀ (q : Fin K) (j : Fin N), j ≠ label z q → R.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc (center z q - radius q) (center z q + radius q), R.run.score z j t + R.run.error < R.run.score z (label z q) t - R.run.error) (initial : ∀ (h : 0 < K), phase ⟨0, h⟩ ≤ 0) (next : ∀ (z : Ω) (q : Fin K) (h : ↑q + 1 < K), phase ⟨↑q + 1, h⟩ ≤ center z q - radius q + R.run.data.pause false ∧ center z q + radius q + R.run.data.pause false ≤ center z ⟨↑q + 1, h⟩ + radius ⟨↑q + 1, h⟩) (qtest : Fin K) (i cue context outcome : Fin N) {unpairedFrom L tR tE : ℝ} (hL : 0 ≤ L) (hU : unpairedFrom ≤ L) (test : ∀ (z : Ω), L ≤ center z qtest - radius qtest) (mapped : ∀ (z : Ω), label z qtest = i) (upper : ∀ z ∈ E.run.good, ∀ t ∈ Set.Icc L ↑E.horizon, E.run.score z i t + E.run.error < E.run.data.reads.actionBar) (htR : tR ∈ Set.Icc 0 ↑R.horizon) (htE : tE ∈ Set.Icc 0 ↑E.horizon) (opponentR : ∀ (z : Ω), mindRelation (↑((R.reference z).realPath tR)) i context < -R.run.control.error) (opponentE : ∀ (z : Ω), mindRelation (↑((E.reference z).realPath tE)) i context < -E.run.control.error) (surviving : ∀ (z : Ω), R.run.control.error < mindRelation (↑((R.reference z).realPath tR)) i cue) (sender : ∀ (z : Ω), mindActivity (↑((R.reference z).realPath tR)) context + R.run.control.error < mindActivity (↑((E.reference z).realPath tE)) context - E.run.control.error) (unreinforced : ∀ (z : Ω), ∀ t ∈ Set.Icc unpairedFrom ↑R.horizon, (R.run.data.toPhysicalNoiseData.globalData z).input t cue * (R.run.data.toPhysicalNoiseData.globalData z).input t outcome = 0) :
    MeasurableSet (R.run.good ∩ E.run.good) ∧ 1 - R.run.control.failure - E.run.control.failure ≤ R.run.data.μ.real (R.run.good ∩ E.run.good) ∧ (∀ᵐ (z : Ω) ∂ R.run.data.μ, z ∈ R.run.good → R.experiment.OnOwnNoise z R.horizon) ∧ (∀ᵐ (z : Ω) ∂E.run.data.μ, z ∈ E.run.good → E.experiment.OnOwnNoise z E.horizon) ∧ (∀ z ∈ R.run.good ∩ E.run.good, z ∈ response R i L ∧ z ∉ response E i L ∧ have sR := (R.run.data.toPhysicalNoiseData.globalData z).state tR; have sE := (E.run.data.toPhysicalNoiseData.globalData z).state tE; mindRelation sR i context < 0 ∧ mindRelation sE i context < 0 ∧ 0 < mindRelation sR i cue ∧ mindActivity sR context < mindActivity sE context ∧ 0 < mindRelation sR i context * (mindActivity sR context - mindActivity sE context) ∧ mindRelation sR i context * mindActivity sR context - mindRelation sE i context * mindActivity sE context = mindActivity sE context * (mindRelation sR i context - mindRelation sE i context) + mindRelation sR i context * (mindActivity sR context - mindActivity sE context) ∧ (∀ t ∈ Set.Icc L ↑R.horizon, (R.run.data.toPhysicalNoiseData.globalData z).input t cue * (R.run.data.toPhysicalNoiseData.globalData z).input t outcome = 0) ∧ ∀ t ∈ Set.Icc unpairedFrom ↑R.horizon, (R.run.data.toPhysicalNoiseData.globalData z).input t cue * (R.run.data.toPhysicalNoiseData.globalData z).input t outcome = 0) ∧ 1 - R.run.control.failure - E.run.control.failure ≤ R.run.data.μ.real (response R i L) - E.run.data.μ.real (response E i L)