theorem
MindFormal.Transactions.ExperienceNativeWrites_groundProbability
{Ω : 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)
:
theorem
MindFormal.Transactions.experience_full_native_writes
{Ω : Type u_1}
[_inst : MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[_inst_1 : Fintype T]
[_inst_2 : Fintype Λ]
[_inst_3 : Fintype J]
(E : Bool × Bool → StateExperiment Ω N n T Λ J)
{H : Bool × Bool → NNReal}
(_hH : ∀ (caseArg : Bool × Bool), H caseArg ≤ (E caseArg).horizon)
(y : Bool × Bool → Ω → C(NNReal, MindState (Fin N) n T Λ))
(_hadapt :
∀ (caseArg : Bool × Bool),
MeasureTheory.StronglyAdapted (E caseArg).ground.filtration fun (t : NNReal) (z : Ω) => (y caseArg z) t)
(g : Bool × Bool → Ω → ℝ → MindState (Fin N) n T Λ)
(hg : ∀ (caseArg : Bool × Bool) (z : Ω), IntervalIntegrable (g caseArg z) MeasureTheory.volume 0 ↑(H caseArg))
(v defect : (caseArg : Bool × Bool) → Ω → C(↑(HorizonTime ↑(H caseArg)), MindState (Fin N) n T Λ))
(f :
(caseArg : Bool × Bool) →
CoordinateIndex (Fin N) n T Λ →
J →
↥(MeasureTheory.Lp ℝ 2
(ItoFiltration.predMeasure (E caseArg).ground.filtration (E caseArg).ground.μ (E caseArg).horizon)))
(clearance : Bool × Bool → NNReal)
(b Q : Bool × Bool → CoordinateIndex (Fin N) n T Λ → ℝ)
{L entering mode comparison epsilon : Bool × Bool → ℝ}
(_hL : ∀ (caseArg : Bool × Bool), 0 ≤ L caseArg)
(_he : ∀ (caseArg : Bool × Bool), 0 ≤ entering caseArg)
(_hm : ∀ (caseArg : Bool × Bool), 0 ≤ mode caseArg)
(_hc : ∀ (caseArg : Bool × Bool), 0 ≤ comparison caseArg)
(_hQ : ∀ (caseArg : Bool × Bool) (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ Q caseArg c)
(_hb : ∀ (caseArg : Bool × Bool) (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ b caseArg c)
(_hpos : ∀ (caseArg : Bool × Bool) (c : CoordinateIndex (Fin N) n T Λ), Q caseArg c ≠ 0 → 0 < b caseArg c)
(cap : Bool × Bool → Set Ω)
(_hcapm : ∀ (caseArg : Bool × Bool), MeasurableSet (cap caseArg))
(_hcap : ∀ (caseArg : Bool × Bool), 1 - epsilon caseArg ≤ (E caseArg).ground.μ.real (cap caseArg))
(_budget :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ (c : CoordinateIndex (Fin N) n T Λ),
comparisonBracket (E caseArg) (coordinateRead c) (f caseArg c)
(comparisonExit (E caseArg) (y caseArg) (clearance caseArg)) (H caseArg) z ≤ ENNReal.ofReal (Q caseArg c))
(_href :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
reflectedForcing ⋯ mindFloor (g caseArg z) ⋯ ((y caseArg z) 0) (v caseArg z) = referenceRestriction (H caseArg) (y caseArg z))
(_hrefdriver :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ (t : ↑(HorizonTime ↑(H caseArg))) (c : CoordinateIndex (Fin N) n T Λ),
(v caseArg z) t c = ItoFiltration.itoVecCont (E caseArg).ground.brownian (E caseArg).horizon (f caseArg c) ⟨↑t, ⋯⟩ z + (defect caseArg z) t c)
(_hdefect :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg, ∀ (t : ↑(HorizonTime ↑(H caseArg))), ‖(defect caseArg z) t‖ ≤ comparison caseArg)
(_hstart :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg, ‖↑((E caseArg).supportHistory z).start - (y caseArg z) 0‖ ≤ entering caseArg)
(_hmodes :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
IntervalIntegrable
(fun (s : ℝ) =>
‖assembledDrift ((E caseArg).supportHistory z).data
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput s)
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode s)
((ContinuousMap.IccExtend ⋯ (referenceRestriction (H caseArg) (y caseArg z))) s) - g caseArg z s‖)
MeasureTheory.volume 0 ↑(H caseArg))
(_hmode :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ (t : ↑(HorizonTime ↑(H caseArg))),
∫ (s : ℝ) in 0..↑t, ‖assembledDrift ((E caseArg).supportHistory z).data
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput s)
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode s)
((ContinuousMap.IccExtend ⋯ (referenceRestriction (H caseArg) (y caseArg z))) s) - g caseArg z s‖ ≤ mode caseArg)
(_hlip :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ (t : ↑(HorizonTime ↑(H caseArg))) (x : MindState (Fin N) n T Λ),
PhysicalMindState x →
‖x - (referenceRestriction (H caseArg) (y caseArg z)) t‖ ≤ ↑(clearance caseArg) →
‖assembledDrift ((E caseArg).supportHistory z).data
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput ↑t)
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode ↑t) x - assembledDrift ((E caseArg).supportHistory z).data
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledInput ↑t)
((((E caseArg).supportHistory z).toFinite (H caseArg)).coupledMode ↑t)
((referenceRestriction (H caseArg) (y caseArg z)) t)‖ ≤ L caseArg * ‖x - (referenceRestriction (H caseArg) (y caseArg z)) t‖)
(_hclose :
∀ (caseArg : Bool × Bool),
transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg) (comparison caseArg) < ↑(clearance caseArg))
(hyphys : ∀ (caseArg : Bool × Bool) (z : Ω) (t : NNReal), PhysicalMindState ((y caseArg z) t))
(c : Bool × Bool → Bool)
(K : Bool × Bool → ℕ)
(guardMod scoreMod : Bool × Bool → Fin N → ℝ)
(_hgm : ∀ (caseArg : Bool × Bool) (j : Fin N), 0 ≤ guardMod caseArg j)
(_hsm : ∀ (caseArg : Bool × Bool) (j : Fin N), 0 ≤ scoreMod caseArg j)
(_guardLip :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ t ∈ Set.Icc 0 ↑(H caseArg),
∀ (x : PhysicalState N n T Λ),
‖↑x - (y caseArg z) t.toNNReal‖ ≤ ↑(clearance caseArg) →
∀ (j : Fin N),
|(((E caseArg).supportHistory z).reads.guards (c caseArg)) x j - (((E caseArg).supportHistory z).reads.guards (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩ j| ≤ guardMod caseArg j * ‖↑x - (y caseArg z) t.toNNReal‖)
(_scoreLip :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ t ∈ Set.Icc 0 ↑(H caseArg),
∀ (x : PhysicalState N n T Λ),
‖↑x - (y caseArg z) t.toNNReal‖ ≤ ↑(clearance caseArg) →
∀ (j : Fin N),
|(((E caseArg).supportHistory z).reads.scores (c caseArg)) x j - (((E caseArg).supportHistory z).reads.scores (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩ j| ≤ scoreMod caseArg j * ‖↑x - (y caseArg z) t.toNNReal‖)
(lo hi : Bool × Bool → Ω → ℕ → ℝ)
(winner : Bool × Bool → Ω → ℕ → Fin N)
(_htimes :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ k ≤ K caseArg, 0 ≤ lo caseArg z k ∧ lo caseArg z k ≤ hi caseArg z k ∧ hi caseArg z k ≤ ↑(H caseArg))
(_hreleases :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ k ≤ K caseArg,
windowRelease (hi caseArg z) (((E caseArg).supportHistory z).pause (c caseArg)) k ≤ hi caseArg z k)
(_before :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ k ≤ K caseArg,
∀
t ∈
Set.Ico (windowRelease (lo caseArg z) (((E caseArg).supportHistory z).pause (c caseArg)) k)
(lo caseArg z k),
∀ (j : Fin N),
(((E caseArg).supportHistory z).reads.guards (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩ j + guardMod caseArg j * transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg)
(comparison caseArg) < 0)
(_qualifies :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ k ≤ K caseArg,
guardMod caseArg (winner caseArg z k) * transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg)
(comparison caseArg) ≤ (((E caseArg).supportHistory z).reads.guards (c caseArg)) ⟨(y caseArg z) (hi caseArg z k).toNNReal, ⋯⟩
(winner caseArg z k))
(_dominates :
∀ (caseArg : Bool × Bool),
∀ z ∈ cap caseArg,
∀ k ≤ K caseArg,
∀ t ∈ Set.Icc (lo caseArg z k) (hi caseArg z k),
∀ (j : Fin N),
j ≠ winner caseArg z k →
guardMod caseArg (winner caseArg z k) * transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg)
(comparison caseArg) ≤ (((E caseArg).supportHistory z).reads.guards (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩
(winner caseArg z k) ∧ (((E caseArg).supportHistory z).reads.scores (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩ j + scoreMod caseArg j * transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg)
(comparison caseArg) < (((E caseArg).supportHistory z).reads.scores (c caseArg)) ⟨(y caseArg z) t.toNNReal, ⋯⟩
(winner caseArg z k) - scoreMod caseArg (winner caseArg z k) * transactionError (↑(H caseArg)) (L caseArg) (entering caseArg) ‖b caseArg‖ (mode caseArg)
(comparison caseArg))
(ell : T → Fin n → ℝ)
(target alternative : Fin N)
(slope : Bool → ℝ)
(_hslope : ∀ (level : Bool), 0 < slope level)
:
have G := fun (q : Bool × Bool) (z : Ω) => (E q).supportHistory z;
have score := fun (q : Bool × Bool) (z : Ω) => ownershipScore (G q z) ell target alternative ↑(H q);
have sum := fun (level : Bool) (z : Ω) =>
(G (level, true) z).x (↑(H (level, true))) target - (G (level, true) z).x (↑(H (level, true))) alternative - ((G (level, false) z).x (↑(H (level, false))) target - (G (level, false) z).x (↑(H (level, false))) alternative) + (enteringContrast (G (level, true) z) ell target alternative - enteringContrast (G (level, false) z) ell target alternative) + (ownershipWrite (G (level, true) z) ell target alternative ↑(H (level, true)) - ownershipWrite (G (level, false) z) ell target alternative ↑(H (level, false)));
have prob := fun (q : Bool × Bool) =>
(E q).ground.μ.real {z : Ω | ((E q).supportRecord (H q) (c q) (K q) z).2 = Sum.inl target};
have ref := fun (q : Bool × Bool) => (E q).ground.μ.real {z : Ω | winner q z (K q) = target};
have failure := fun (q : Bool × Bool) =>
min 1 (epsilon q + ∑ j : CoordinateIndex (Fin N) n T Λ, bracketPrice (b q j) (Q q j));
(∀ (level : Bool) (z : Ω),
score (level, true) z - score (level, false) z = sum level z + (ownershipNoise (G (level, true) z) ell target alternative ↑(H (level, true)) - ownershipNoise (G (level, false) z) ell target alternative ↑(H (level, false)))) ∧ (∀ (z : Ω),
sum true z / slope true - sum false z / slope false = (slope false * (sum true z - sum false z) - sum false z * (slope true - slope false)) / (slope false * slope true)) ∧ (∀ (z : Ω),
slope false * (sum true z - sum false z) - sum false z * (slope true - slope false) < 0 →
sum true z / slope true < sum false z / slope false) ∧ (∀ (level : Bool),
|prob (level, true) - prob (level, false) - (ref (level, true) - ref (level, false))| ≤ failure (level, true) + failure (level, false)) ∧ (failure (false, true) + failure (false, false) + failure (true, true) + failure (true, false) < ref (false, true) - ref (false, false) - (ref (true, true) - ref (true, false)) →
prob (true, true) - prob (true, false) < prob (false, true) - prob (false, false))
Four complete histories, their separate durations and money slopes, and native window bills.