theorem
MindFormal.StateExperiment.rethinking_on_own_noise
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
(E : StateExperiment Ω N n T Λ J)
{Ht : NNReal}
(B : OwnBox E Ht)
(P : Set Ω)
(ratingSlot : ℕ)
(delay : NNReal)
(past : CoordinateIndex (Fin N) n T Λ → ℝ)
(hprep :
∀ ω ∈ P,
E.own.data.toPhysicalNoiseData.Good ω ∧ ω ∈ B.stream ∧ E.nativePromptValue ratingSlot delay ω ≤ Ht ∧ ∀ s ≤ E.nativePromptValue ratingSlot delay ω,
∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver s c| ≤ past c)
(hpast : ∀ (c : CoordinateIndex (Fin N) n T Λ), past c ≤ B.allowance c)
(A : Fin N)
(rivals : Finset (Fin N))
(hne : rivals.Nonempty)
(Z d : Ω → Fin N → ℝ)
(d0 dT e : Ω → ℝ)
(h : ℝ)
(hZ : ∀ ω ∈ P, ∀ (i : Fin N), 0 ≤ Z ω i)
(hout : E.mind.reads.outputs A = true)
(hparam :
∀ ω ∈ P,
0 ≤ d0 ω ∧ 0 ≤ dT ω ∧ 0 < e ω ∧ e ω < h ∧ h + e ω < normalizedTarget E.mind.activity.σ E.mind.activity.g (Z ω) A)
(htime :
∀ ω ∈ P,
passageTime E.mind.activity.ν (normalizedTarget E.mind.activity.σ E.mind.activity.g (Z ω) A) 0 (h + e ω) ≤ ↑(E.nativePromptValue ratingSlot delay ω))
(hstart : ∀ ω ∈ P, ∀ s0 ∈ B.starts, ∀ (i : Fin N), |mindActivity (↑s0) i| ≤ d0 ω)
(phaseInputs : Ω → Set (Fin N → ℝ))
(hphaseInputs :
∀ ω ∈ P,
∀ (hist : FiniteActionHistory (Fin N)),
ChronologicalHistory hist →
∀ t ∈ Set.Icc 0 ↑(E.nativePromptValue ratingSlot delay ω),
strictPastInput E.world.world t hist ω ∈ phaseInputs ω)
(hcoeff :
∀ ω ∈ P,
∀ s0 ∈ B.starts,
∀ (s : MindState (Fin N) n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s →
∀ (u q : Fin N → ℝ),
0 ≤ u →
u ∈ phaseInputs ω →
(∀ (i : Fin N), q i ∈ {0, 1}) → ∀ (i : Fin N), |assembledInputs E.mind.drift u q s i - Z ω i| ≤ d ω i)
(htargetBill : ∀ ω ∈ P, ∀ (i : Fin N), comparisonTargetError E.mind.activity.σ (Z ω) (d ω) i ≤ dT ω)
(hbudget : ∀ ω ∈ P, ∀ (i : Fin N), d0 ω + dT ω + 2 * past (Sum.inr (Sum.inl i)) ≤ e ω)
(hread :
∀ s0 ∈ B.starts,
∀ (s : PhysicalState N n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv ↑s →
∀ (i : Fin N), 0 ≤ (E.mind.reads.guards false) s i ↔ E.mind.reads.outputs i = true ∧ h ≤ mindActivity (↑s) i)
(hother :
∀ ω ∈ P,
∀
t ∈
Set.Icc 0
(passageTime E.mind.activity.ν (normalizedTarget E.mind.activity.σ E.mind.activity.g (Z ω) A) 0 (h + e ω)),
∀ (j : Fin N),
j ≠ A →
E.mind.reads.outputs j = true →
referenceActivity E.mind.activity.ν (normalizedTarget E.mind.activity.σ E.mind.activity.g (Z ω) j) 0 t + e ω < h)
(family : Ω → Bool)
(label : Bool → Fin N)
(F : ℝ → ℝ)
(hF : Monotone F)
(lo hi : Bool → ℝ)
(hcategory :
∀ ω ∈ P,
have a := normalizedTarget E.mind.activity.σ E.mind.activity.g (Z ω) A;
have b := rivals.sup' hne (normalizedTarget E.mind.activity.σ E.mind.activity.g (Z ω));
lo (family ω) ≤ h * (1 - b / a) - e ω * (1 + b / a) ∧ h * (1 - b / a) + e ω * (1 + b / a) ≤ hi (family ω))
(hpreserve :
∀ ω ∈ P,
∀ (t : ℝ),
(E.supportHistory ω).event false 0 = some (t, A) →
F
(mindActivity ((E.supportHistory ω).state t) A - rivals.sup' hne fun (j : Fin N) => mindActivity ((E.supportHistory ω).state t) j) ∈ Set.Icc (F (lo (family ω))) (F (hi (family ω))) →
Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label (family ω)))
{K : Type u_5}
[Fintype K]
(Φ : MindState (Fin N) n T Λ → K → ℝ)
(hΦ : Continuous Φ)
(R : NNReal)
(futureH : Bool → NNReal)
(hfutureH : ∀ (g : Bool), 0 < futureH g)
(hHt : Ht ≤ E.horizon)
(hPm : MeasurableSet P)
(εpre : ℝ)
(hεpre : 0 ≤ εpre)
(hpreFailure : E.ground.μ.real Pᶜ ≤ εpre)
(hgroup :
∀ (g : Bool),
MeasurableSet {ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)})
(hgroupPos :
∀ (g : Bool),
0 < E.ground.μ.real {ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)})
(hknown :
∀ (g : Bool),
MeasurableSet ({ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)} ∩ P))
(hlabel : Function.Injective label)
(future Gload : Bool → CoordinateIndex (Fin N) n T Λ → ℝ)
(hfuture : ∀ (g : Bool) (c : CoordinateIndex (Fin N) n T Λ), 0 < future g c)
(hfinish : ∀ ω ∈ P, ∀ (g : Bool), E.nativePromptValue ratingSlot delay ω + futureH g ≤ Ht)
(hallow : ∀ (g : Bool) (c : CoordinateIndex (Fin N) n T Λ), past c + future g c < B.allowance c)
(hinside : ∀ s0 ∈ B.starts, ∀ (s : MindState (Fin N) n T Λ), InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s → ‖Φ s‖ < ↑R)
(hcap :
∀ (g : Bool),
∀ ω ∈ {ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)} ∩ P,
∀ (hist : FiniteActionHistory (Fin N)),
ChronologicalHistory hist →
∀ s ∈ Set.Ioc 0 E.horizon,
E.nativePrompt ratingSlot delay ω < ↑s →
↑s ≤ E.nativePrompt ratingSlot delay ω + ↑(futureH g) →
∀ (x : PhysicalState N n T Λ),
‖Φ ↑x‖ ≤ ↑R →
∀ (q : Fin N → ℝ),
(∀ (i : Fin N), q i ∈ {0, 1}) →
∀ (c : CoordinateIndex (Fin N) n T Λ),
∑ j : J, E.mind.amplitude (↑x, strictPastInput E.world.world (↑s) hist ω, q) c j ^ 2 ≤ Gload g c ^ 2)
(alternative : Fin N)
(hneAlt : alternative ≠ A)
(fZ fd fz : Ω → Fin N → ℝ)
(fD0 fDT : Ω → ℝ)
(aMinus aPlus zMinus zPlus : Bool → Fin N → ℝ)
(fe rminus rplus : Bool → ℝ)
(hfZ : ∀ ω ∈ P, 0 ≤ fZ ω)
(hfz : ∀ ω ∈ P, 0 ≤ fz ω)
(hfpar : ∀ (g : Bool), 0 < fe g ∧ 0 ≤ rminus g)
(hfD : ∀ ω ∈ P, 0 ≤ fD0 ω ∧ 0 ≤ fDT ω)
(hfout : ∀ (g : Bool), E.mind.reads.outputs (if g = true then A else alternative) = true)
(hfstart :
∀ ω ∈ P,
∀ (i : Fin N),
|mindActivity ((E.supportHistory ω).state ↑(E.nativePromptValue ratingSlot delay ω)) i - fz ω i| ≤ fD0 ω)
(fInputs : Ω → Set (Fin N → ℝ))
(hfInputs :
∀ ω ∈ P,
∀ (hist : FiniteActionHistory (Fin N)),
ChronologicalHistory hist →
∀
t ∈
Set.Icc ↑(E.nativePromptValue ratingSlot delay ω)
↑(E.nativePromptValue ratingSlot delay ω + futureH (family ω)),
strictPastInput E.world.world t hist ω ∈ fInputs ω)
(hfcoeff :
∀ ω ∈ P,
∀ s0 ∈ B.starts,
∀ (s : MindState (Fin N) n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s →
∀ (u q : Fin N → ℝ),
0 ≤ u →
u ∈ fInputs ω →
(∀ (i : Fin N), q i ∈ {0, 1}) → ∀ (i : Fin N), |assembledInputs E.mind.drift u q s i - fZ ω i| ≤ fd ω i)
(hfbill : ∀ ω ∈ P, ∀ (i : Fin N), comparisonTargetError E.mind.activity.σ (fZ ω) (fd ω) i ≤ fDT ω)
(hfbudget : ∀ ω ∈ P, ∀ (i : Fin N), fD0 ω + fDT ω + 2 * future (family ω) (Sum.inr (Sum.inl i)) ≤ fe (family ω))
(hfendpoints :
∀ ω ∈ P,
∀ (i : Fin N),
aMinus (family ω) i ≤ normalizedTarget E.mind.activity.σ E.mind.activity.g (fZ ω) i ∧ normalizedTarget E.mind.activity.σ E.mind.activity.g (fZ ω) i ≤ aPlus (family ω) i ∧ zMinus (family ω) i ≤ fz ω i ∧ fz ω i ≤ zPlus (family ω) i ∧ zPlus (family ω) i < h - fe (family ω))
(hfreach : ∀ (g : Bool), h + fe g < aMinus g (if g = true then A else alternative))
(hfU :
∀ (g : Bool),
max (rplus g)
(passageTime E.mind.activity.ν (aMinus g (if g = true then A else alternative))
(zMinus g (if g = true then A else alternative)) (h + fe g)) ≤ ↑(futureH g))
(hfrelease :
∀ ω ∈ P,
∀ (g : Bool),
↑(E.nativePromptValue ratingSlot delay ω) + rminus g ≤ ((E.supportHistory ω).native (↑(E.nativePromptValue ratingSlot delay ω) + ↑(futureH g)) false).release
(ratingSlot + 1) ∧ ((E.supportHistory ω).native (↑(E.nativePromptValue ratingSlot delay ω) + ↑(futureH g)) false).release
(ratingSlot + 1) ≤ ↑(E.nativePromptValue ratingSlot delay ω) + rplus g)
(hfrivals :
∀ (g : Bool) (j : Fin N),
(j ≠ if g = true then A else alternative) →
E.mind.reads.outputs j = true →
max ↑(rplus g)
↑(passageTime E.mind.activity.ν (aMinus g (if g = true then A else alternative))
(zMinus g (if g = true then A else alternative)) (h + fe g)) < extendedPassageTime E.mind.activity.ν (aPlus g j) (zPlus g j) (h - fe g))
(hgap :
0 < max (rminus false)
(passageTime E.mind.activity.ν (aPlus false (if false = true then A else alternative))
(zPlus false (if false = true then A else alternative)) (h - fe false)) - max (rplus true)
(passageTime E.mind.activity.ν (aMinus true (if true = true then A else alternative))
(zMinus true (if true = true then A else alternative)) (h + fe true)))
(hcompletion :
∀ (g : Bool),
∀ᵐ (ω :
Ω) ∂E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)}], ∃ (t : ℝ) (i : Fin N),
(E.supportHistory ω).event false (ratingSlot + 1) = some (t, i) ∧ ↑(E.nativePromptValue ratingSlot delay ω) ≤ t)
(hmeanL :
MeasureTheory.Integrable
(fun (ω : Ω) =>
((E.supportHistory ω).event false (ratingSlot + 1)).elim 0 Prod.fst - ↑(E.nativePromptValue ratingSlot delay ω))
E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}])
(hmeanH :
MeasureTheory.MemLp
(fun (ω : Ω) =>
((E.supportHistory ω).event false (ratingSlot + 1)).elim 0 Prod.fst - ↑(E.nativePromptValue ratingSlot delay ω))
2 E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}])
(M : ℝ)
(hM : 0 ≤ M)
(hsecond :
∫ (ω : Ω), (fun (ω : Ω) =>
((E.supportHistory ω).event false (ratingSlot + 1)).elim 0 Prod.fst - ↑(E.nativePromptValue ratingSlot delay ω))
ω ^ 2 ∂E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}] ≤ M ^ 2)
(htail :
M * √(min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future false c) (Gload false c) (futureH false))) + min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future true c) (Gload true c) (futureH true)))) < (1 - (min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future false c) (Gload false c) (futureH false))) + min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future true c) (Gload true c) (futureH true))))) * (max (rminus false)
(passageTime E.mind.activity.ν (aPlus false (if false = true then A else alternative))
(zPlus false (if false = true then A else alternative)) (h - fe false)) - max (rplus true)
(passageTime E.mind.activity.ν (aMinus true (if true = true then A else alternative))
(zMinus true (if true = true then A else alternative)) (h + fe true))))
:
(∀ ω ∈ P, Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label (family ω))) ∧ ∃ (good : Bool → Set Ω),
(∀ (g : Bool),
MeasurableSet (good g) ∧ good g ⊆ {ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)} ∩ P ∧ E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)}].real
(good g)ᶜ ≤ min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label g)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ, conditionalRowPrice (future g c) (Gload g c) (futureH g))) ∧ ∀ ω ∈ good g,
∃
t ∈
Set.Icc
(↑(E.nativePromptValue ratingSlot delay ω) + max (rminus g)
(passageTime E.mind.activity.ν (aPlus g (if g = true then A else alternative))
(zPlus g (if g = true then A else alternative)) (h - fe g)))
(↑(E.nativePromptValue ratingSlot delay ω) + max (rplus g)
(passageTime E.mind.activity.ν (aMinus g (if g = true then A else alternative))
(zMinus g (if g = true then A else alternative)) (h + fe g))),
(E.supportHistory ω).event false (ratingSlot + 1) = some (t, if g = true then A else alternative)) ∧ 1 - min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future false c) (Gload false c) (futureH false))) - min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future true c) (Gload true c) (futureH true))) ≤ E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}].real
{ω : Ω | ∃ (j : Fin N),
j ≠ A ∧ Option.map Prod.snd ((E.supportHistory ω).event false (ratingSlot + 1)) = some j} - E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}].real
{ω : Ω | ∃ (j : Fin N),
j ≠ A ∧ Option.map Prod.snd ((E.supportHistory ω).event false (ratingSlot + 1)) = some j} ∧ (1 - (min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future false c) (Gload false c) (futureH false))) + min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future true c) (Gload true c) (futureH true))))) * (max (rminus false)
(passageTime E.mind.activity.ν (aPlus false (if false = true then A else alternative))
(zPlus false (if false = true then A else alternative)) (h - fe false)) - max (rplus true)
(passageTime E.mind.activity.ν (aMinus true (if true = true then A else alternative))
(zMinus true (if true = true then A else alternative)) (h + fe true))) - M * √(min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future false c) (Gload false c) (futureH false))) + min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future true c) (Gload true c) (futureH true)))) ≤ ∫ (ω : Ω), (fun (ω : Ω) =>
((E.supportHistory ω).event false (ratingSlot + 1)).elim 0 Prod.fst - ↑(E.nativePromptValue ratingSlot delay ω))
ω ∂E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}] - ∫ (ω : Ω), (fun (ω : Ω) =>
((E.supportHistory ω).event false (ratingSlot + 1)).elim 0 Prod.fst - ↑(E.nativePromptValue ratingSlot delay ω))
ω ∂E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}] ∧ ∫ (ω : Ω), (fun (ω : Ω) =>
((E.supportHistory ω).event false (ratingSlot + 1)).elim 0 Prod.fst - ↑(E.nativePromptValue ratingSlot delay ω))
ω ∂E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}] < ∫ (ω : Ω), (fun (ω : Ω) =>
((E.supportHistory ω).event false (ratingSlot + 1)).elim 0 Prod.fst - ↑(E.nativePromptValue ratingSlot delay ω))
ω ∂E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}] ∧ 0 < 1 - min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future false c) (Gload false c) (futureH false))) - min 1
(min 1
(εpre / E.ground.μ.real
{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}) + min 1
(∑ c : CoordinateIndex (Fin N) n T Λ,
conditionalRowPrice (future true c) (Gload true c) (futureH true))) ∧ E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label true)}].real
{ω : Ω | ∃ (j : Fin N),
j ≠ A ∧ Option.map Prod.snd ((E.supportHistory ω).event false (ratingSlot + 1)) = some j} < E.ground.μ[|{ω : Ω | Option.map Prod.snd ((E.supportHistory ω).event false ratingSlot) = some (label false)}].real
{ω : Ω | ∃ (j : Fin N),
j ≠ A ∧ Option.map Prod.snd ((E.supportHistory ω).event false (ratingSlot + 1)) = some j}
FR1--FR12 on the original experiment. Initial category identification, conditional row prices, range closure, final acts, change gap and the uncensored mean bound are derived in sequence. Complete-pool references, retained starts and native remaining-release bounds are the entry's application conditions; no group identification or race certificate is supplied. The time read agrees with actual elapsed time on completed answers. FR11 requires their almost sure completion.