theorem
MindFormal.MarketLearning.curriculum_native_prefix
{Ω : 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)
{H : NNReal}
(hH : H ≤ E.horizon)
(y : Ω → C(NNReal, MindState (Fin N) n T Λ))
(hadapt : MeasureTheory.StronglyAdapted E.ground.filtration fun (t : NNReal) (z : Ω) => (y z) t)
(g : Ω → ℝ → MindState (Fin N) n T Λ)
(hg : ∀ (z : Ω), IntervalIntegrable (g z) MeasureTheory.volume 0 ↑H)
(v defect : Ω → C(↑(HorizonTime ↑H), MindState (Fin N) n T Λ))
(f :
CoordinateIndex (Fin N) n T Λ →
J → ↥(MeasureTheory.Lp ℝ 2 (ItoFiltration.predMeasure E.ground.filtration E.ground.μ E.horizon)))
(clearance : NNReal)
(b Q : CoordinateIndex (Fin N) n T Λ → ℝ)
{L entering mode comparison epsilon : ℝ}
(hL : 0 ≤ L)
(he : 0 ≤ entering)
(hm : 0 ≤ mode)
(hc : 0 ≤ comparison)
(hQ : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ Q c)
(hb : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ b c)
(hpos : ∀ (c : CoordinateIndex (Fin N) n T Λ), Q c ≠ 0 → 0 < b c)
(cap : Set Ω)
(hcapm : MeasurableSet cap)
(hcap : 1 - epsilon ≤ E.ground.μ.real cap)
(budget :
∀ z ∈ cap,
∀ (c : CoordinateIndex (Fin N) n T Λ),
Transactions.comparisonBracket E (Transactions.coordinateRead c) (f c) (Transactions.comparisonExit E y clearance)
H z ≤ ENNReal.ofReal (Q c))
(href : ∀ z ∈ cap, reflectedForcing ⋯ mindFloor (g z) ⋯ ((y z) 0) (v z) = Transactions.referenceRestriction H (y z))
(hrefdriver :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)) (c : CoordinateIndex (Fin N) n T Λ),
(v z) t c = ItoFiltration.itoVecCont E.ground.brownian E.horizon (f c) ⟨↑t, ⋯⟩ z + (defect z) t c)
(hdefect : ∀ z ∈ cap, ∀ (t : ↑(HorizonTime ↑H)), ‖(defect z) t‖ ≤ comparison)
(hstart : ∀ z ∈ cap, ‖↑(E.supportHistory z).start - (y z) 0‖ ≤ entering)
(hmodes :
∀ z ∈ cap,
IntervalIntegrable
(fun (s : ℝ) =>
‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput s)
(((E.supportHistory z).toFinite H).coupledMode s)
((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction H (y z))) s) - g z s‖)
MeasureTheory.volume 0 ↑H)
(hmode :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)),
∫ (s : ℝ) in 0..↑t, ‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput s)
(((E.supportHistory z).toFinite H).coupledMode s)
((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction H (y z))) s) - g z s‖ ≤ mode)
(hlip :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)) (x : MindState (Fin N) n T Λ),
PhysicalMindState x →
‖x - (Transactions.referenceRestriction H (y z)) t‖ ≤ ↑clearance →
‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput ↑t)
(((E.supportHistory z).toFinite H).coupledMode ↑t) x - assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput ↑t)
(((E.supportHistory z).toFinite H).coupledMode ↑t) ((Transactions.referenceRestriction H (y z)) t)‖ ≤ L * ‖x - (Transactions.referenceRestriction H (y z)) t‖)
(hclose : Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < ↑clearance)
(hyphys : ∀ (z : Ω) (t : NNReal), PhysicalMindState ((y z) t))
(c : Bool)
(K : ℕ)
(guardMod scoreMod : Fin N → ℝ)
(hgm : ∀ (j : Fin N), 0 ≤ guardMod j)
(hsm : ∀ (j : Fin N), 0 ≤ scoreMod j)
(guardLip :
∀ z ∈ cap,
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - (y z) t.toNNReal‖ ≤ ↑clearance →
∀ (j : Fin N),
|((E.supportHistory z).reads.guards c) x j - ((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ j| ≤ guardMod j * ‖↑x - (y z) t.toNNReal‖)
(scoreLip :
∀ z ∈ cap,
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - (y z) t.toNNReal‖ ≤ ↑clearance →
∀ (j : Fin N),
|((E.supportHistory z).reads.scores c) x j - ((E.supportHistory z).reads.scores c) ⟨(y z) t.toNNReal, ⋯⟩ j| ≤ scoreMod j * ‖↑x - (y z) t.toNNReal‖)
(lo hi : Ω → ℕ → ℝ)
(winner : Ω → ℕ → Fin N)
(htimes : ∀ z ∈ cap, ∀ k ≤ K, 0 ≤ lo z k ∧ lo z k ≤ hi z k ∧ hi z k ≤ ↑H)
(hreleases : ∀ z ∈ cap, ∀ k ≤ K, Transactions.windowRelease (hi z) ((E.supportHistory z).pause c) k ≤ hi z k)
(before :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Ico (Transactions.windowRelease (lo z) ((E.supportHistory z).pause c) k) (lo z k),
∀ (j : Fin N),
((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ j + guardMod j * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < 0)
(qualifies :
∀ z ∈ cap,
∀ k ≤ K,
guardMod (winner z k) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison ≤ ((E.supportHistory z).reads.guards c) ⟨(y z) (hi z k).toNNReal, ⋯⟩ (winner z k))
(tau amplitude coefficient attenuation rp rm training gp gm : ℝ)
(benefit cost : Ω → ℕ → Fin N → ℝ)
(offset : Ω → ℕ → ℝ → ℝ)
(onWindow :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Icc (lo z k) (hi z k),
guardMod (winner z k) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison ≤ ((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ (winner z k))
(calibrated :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Icc (lo z k) (hi z k),
∀ (j : Fin N),
((E.supportHistory z).reads.scores c) ⟨(y z) t.toNNReal, ⋯⟩ j = offset z k t + (fun (z : Ω) (k : ℕ) (j : Fin N) =>
gp * contrastGain tau amplitude coefficient attenuation rp training * benefit z k j - gm * contrastGain tau amplitude coefficient attenuation rm training * cost z k j)
z k j)
(gap :
∀ z ∈ cap,
∀ k ≤ K,
∀ (j : Fin N),
j ≠ winner z k →
(scoreMod j + scoreMod (winner z k)) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < (fun (z : Ω) (k : ℕ) (j : Fin N) =>
gp * contrastGain tau amplitude coefficient attenuation rp training * benefit z k j - gm * contrastGain tau amplitude coefficient attenuation rm training * cost z k j)
z k (winner z k) - (fun (z : Ω) (k : ℕ) (j : Fin N) =>
gp * contrastGain tau amplitude coefficient attenuation rp training * benefit z k j - gm * contrastGain tau amplitude coefficient attenuation rm training * cost z k j)
z k j)
:
The complete finite learned - query reference is transported through every continuing write and native return. Only reference calibration and full local margins are supplied; every actual first mark and its probability are derived.
theorem
MindFormal.MarketLearning.search_native_prefix
{Ω : 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)
{H : NNReal}
(hH : H ≤ E.horizon)
(y : Ω → C(NNReal, MindState (Fin N) n T Λ))
(hadapt : MeasureTheory.StronglyAdapted E.ground.filtration fun (t : NNReal) (z : Ω) => (y z) t)
(g : Ω → ℝ → MindState (Fin N) n T Λ)
(hg : ∀ (z : Ω), IntervalIntegrable (g z) MeasureTheory.volume 0 ↑H)
(v defect : Ω → C(↑(HorizonTime ↑H), MindState (Fin N) n T Λ))
(f :
CoordinateIndex (Fin N) n T Λ →
J → ↥(MeasureTheory.Lp ℝ 2 (ItoFiltration.predMeasure E.ground.filtration E.ground.μ E.horizon)))
(clearance : NNReal)
(b Q : CoordinateIndex (Fin N) n T Λ → ℝ)
{L entering mode comparison epsilon : ℝ}
(hL : 0 ≤ L)
(he : 0 ≤ entering)
(hm : 0 ≤ mode)
(hc : 0 ≤ comparison)
(hQ : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ Q c)
(hb : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ b c)
(hpos : ∀ (c : CoordinateIndex (Fin N) n T Λ), Q c ≠ 0 → 0 < b c)
(cap : Set Ω)
(hcapm : MeasurableSet cap)
(hcap : 1 - epsilon ≤ E.ground.μ.real cap)
(budget :
∀ z ∈ cap,
∀ (c : CoordinateIndex (Fin N) n T Λ),
Transactions.comparisonBracket E (Transactions.coordinateRead c) (f c) (Transactions.comparisonExit E y clearance)
H z ≤ ENNReal.ofReal (Q c))
(href : ∀ z ∈ cap, reflectedForcing ⋯ mindFloor (g z) ⋯ ((y z) 0) (v z) = Transactions.referenceRestriction H (y z))
(hrefdriver :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)) (c : CoordinateIndex (Fin N) n T Λ),
(v z) t c = ItoFiltration.itoVecCont E.ground.brownian E.horizon (f c) ⟨↑t, ⋯⟩ z + (defect z) t c)
(hdefect : ∀ z ∈ cap, ∀ (t : ↑(HorizonTime ↑H)), ‖(defect z) t‖ ≤ comparison)
(hstart : ∀ z ∈ cap, ‖↑(E.supportHistory z).start - (y z) 0‖ ≤ entering)
(hmodes :
∀ z ∈ cap,
IntervalIntegrable
(fun (s : ℝ) =>
‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput s)
(((E.supportHistory z).toFinite H).coupledMode s)
((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction H (y z))) s) - g z s‖)
MeasureTheory.volume 0 ↑H)
(hmode :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)),
∫ (s : ℝ) in 0..↑t, ‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput s)
(((E.supportHistory z).toFinite H).coupledMode s)
((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction H (y z))) s) - g z s‖ ≤ mode)
(hlip :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)) (x : MindState (Fin N) n T Λ),
PhysicalMindState x →
‖x - (Transactions.referenceRestriction H (y z)) t‖ ≤ ↑clearance →
‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput ↑t)
(((E.supportHistory z).toFinite H).coupledMode ↑t) x - assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput ↑t)
(((E.supportHistory z).toFinite H).coupledMode ↑t) ((Transactions.referenceRestriction H (y z)) t)‖ ≤ L * ‖x - (Transactions.referenceRestriction H (y z)) t‖)
(hclose : Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < ↑clearance)
(hyphys : ∀ (z : Ω) (t : NNReal), PhysicalMindState ((y z) t))
(c : Bool)
(K : ℕ)
(guardMod scoreMod : Fin N → ℝ)
(hgm : ∀ (j : Fin N), 0 ≤ guardMod j)
(hsm : ∀ (j : Fin N), 0 ≤ scoreMod j)
(guardLip :
∀ z ∈ cap,
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - (y z) t.toNNReal‖ ≤ ↑clearance →
∀ (j : Fin N),
|((E.supportHistory z).reads.guards c) x j - ((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ j| ≤ guardMod j * ‖↑x - (y z) t.toNNReal‖)
(scoreLip :
∀ z ∈ cap,
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - (y z) t.toNNReal‖ ≤ ↑clearance →
∀ (j : Fin N),
|((E.supportHistory z).reads.scores c) x j - ((E.supportHistory z).reads.scores c) ⟨(y z) t.toNNReal, ⋯⟩ j| ≤ scoreMod j * ‖↑x - (y z) t.toNNReal‖)
(lo hi : Ω → ℕ → ℝ)
(winner : Ω → ℕ → Fin N)
(htimes : ∀ z ∈ cap, ∀ k ≤ K, 0 ≤ lo z k ∧ lo z k ≤ hi z k ∧ hi z k ≤ ↑H)
(hreleases : ∀ z ∈ cap, ∀ k ≤ K, Transactions.windowRelease (hi z) ((E.supportHistory z).pause c) k ≤ hi z k)
(before :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Ico (Transactions.windowRelease (lo z) ((E.supportHistory z).pause c) k) (lo z k),
∀ (j : Fin N),
((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ j + guardMod j * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < 0)
(qualifies :
∀ z ∈ cap,
∀ k ≤ K,
guardMod (winner z k) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison ≤ ((E.supportHistory z).reads.guards c) ⟨(y z) (hi z k).toNNReal, ⋯⟩ (winner z k))
{Quotes : Type u_5}
[Fintype Quotes]
(prob quote : Ω → ℕ → Quotes → ℝ)
(price fee : Ω → ℕ → ℝ)
(searchCode : Fin N → Bool)
(paidQuote : Ω → ℕ → Fin N → ℝ)
(scale : ℝ)
(hscale : 0 < scale)
(offset : Ω → ℕ → ℝ → ℝ)
(onWindow :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Icc (lo z k) (hi z k),
guardMod (winner z k) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison ≤ ((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ (winner z k))
(calibrated :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Icc (lo z k) (hi z k),
∀ (j : Fin N),
((E.supportHistory z).reads.scores c) ⟨(y z) t.toNNReal, ⋯⟩ j = offset z k t + (fun (z : Ω) (k : ℕ) (j : Fin N) =>
if k = 0 then
if searchCode j = true then scale * (searchSaving (prob z k) (quote z k) (price z k) - fee z k)
else 0
else -scale * paidQuote z k j)
z k j)
(gap :
∀ z ∈ cap,
∀ k ≤ K,
∀ (j : Fin N),
j ≠ winner z k →
(scoreMod j + scoreMod (winner z k)) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < (fun (z : Ω) (k : ℕ) (j : Fin N) =>
if k = 0 then
if searchCode j = true then scale * (searchSaving (prob z k) (quote z k) (price z k) - fee z k)
else 0
else -scale * paidQuote z k j)
z k (winner z k) - (fun (z : Ω) (k : ℕ) (j : Fin N) =>
if k = 0 then
if searchCode j = true then scale * (searchSaving (prob z k) (quote z k) (price z k) - fee z k)
else 0
else -scale * paidQuote z k j)
z k j)
:
(∀ z ∈ cap,
∀ (s t : Fin N),
searchCode s = true →
searchCode t = false →
(fee z 0 < searchSaving (prob z 0) (quote z 0) (price z 0) → searchCode (winner z 0) = true) ∧ (searchSaving (prob z 0) (quote z 0) (price z 0) < fee z 0 → searchCode (winner z 0) = false)) ∧ (∀ z ∈ cap, ∀ k ≤ K, 0 < k → ∀ (j : Fin N), j ≠ winner z k → paidQuote z k (winner z k) < paidQuote z k j) ∧ ∃ (good : Set Ω),
MeasurableSet good ∧ good ⊆ cap ∧ 1 - min 1 (epsilon + ∑ j : CoordinateIndex (Fin N) n T Λ, Transactions.bracketPrice (b j) (Q j)) ≤ E.ground.μ.real good ∧ ∀ z ∈ good, ∀ k ≤ K, ∃ t ∈ Set.Icc (lo z k) (hi z k), E.supportRecord H c k z = (t, Sum.inl (winner z k))
The complete finite learned - query reference is transported through every continuing write and native return. Only reference calibration and full local margins are supplied; every actual first mark and its probability are derived.
theorem
MindFormal.MarketLearning.trade_native_prefix
{Ω : 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)
{H : NNReal}
(hH : H ≤ E.horizon)
(y : Ω → C(NNReal, MindState (Fin N) n T Λ))
(hadapt : MeasureTheory.StronglyAdapted E.ground.filtration fun (t : NNReal) (z : Ω) => (y z) t)
(g : Ω → ℝ → MindState (Fin N) n T Λ)
(hg : ∀ (z : Ω), IntervalIntegrable (g z) MeasureTheory.volume 0 ↑H)
(v defect : Ω → C(↑(HorizonTime ↑H), MindState (Fin N) n T Λ))
(f :
CoordinateIndex (Fin N) n T Λ →
J → ↥(MeasureTheory.Lp ℝ 2 (ItoFiltration.predMeasure E.ground.filtration E.ground.μ E.horizon)))
(clearance : NNReal)
(b Q : CoordinateIndex (Fin N) n T Λ → ℝ)
{L entering mode comparison epsilon : ℝ}
(hL : 0 ≤ L)
(he : 0 ≤ entering)
(hm : 0 ≤ mode)
(hc : 0 ≤ comparison)
(hQ : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ Q c)
(hb : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 ≤ b c)
(hpos : ∀ (c : CoordinateIndex (Fin N) n T Λ), Q c ≠ 0 → 0 < b c)
(cap : Set Ω)
(hcapm : MeasurableSet cap)
(hcap : 1 - epsilon ≤ E.ground.μ.real cap)
(budget :
∀ z ∈ cap,
∀ (c : CoordinateIndex (Fin N) n T Λ),
Transactions.comparisonBracket E (Transactions.coordinateRead c) (f c) (Transactions.comparisonExit E y clearance)
H z ≤ ENNReal.ofReal (Q c))
(href : ∀ z ∈ cap, reflectedForcing ⋯ mindFloor (g z) ⋯ ((y z) 0) (v z) = Transactions.referenceRestriction H (y z))
(hrefdriver :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)) (c : CoordinateIndex (Fin N) n T Λ),
(v z) t c = ItoFiltration.itoVecCont E.ground.brownian E.horizon (f c) ⟨↑t, ⋯⟩ z + (defect z) t c)
(hdefect : ∀ z ∈ cap, ∀ (t : ↑(HorizonTime ↑H)), ‖(defect z) t‖ ≤ comparison)
(hstart : ∀ z ∈ cap, ‖↑(E.supportHistory z).start - (y z) 0‖ ≤ entering)
(hmodes :
∀ z ∈ cap,
IntervalIntegrable
(fun (s : ℝ) =>
‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput s)
(((E.supportHistory z).toFinite H).coupledMode s)
((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction H (y z))) s) - g z s‖)
MeasureTheory.volume 0 ↑H)
(hmode :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)),
∫ (s : ℝ) in 0..↑t, ‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput s)
(((E.supportHistory z).toFinite H).coupledMode s)
((ContinuousMap.IccExtend ⋯ (Transactions.referenceRestriction H (y z))) s) - g z s‖ ≤ mode)
(hlip :
∀ z ∈ cap,
∀ (t : ↑(HorizonTime ↑H)) (x : MindState (Fin N) n T Λ),
PhysicalMindState x →
‖x - (Transactions.referenceRestriction H (y z)) t‖ ≤ ↑clearance →
‖assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput ↑t)
(((E.supportHistory z).toFinite H).coupledMode ↑t) x - assembledDrift (E.supportHistory z).data (((E.supportHistory z).toFinite H).coupledInput ↑t)
(((E.supportHistory z).toFinite H).coupledMode ↑t) ((Transactions.referenceRestriction H (y z)) t)‖ ≤ L * ‖x - (Transactions.referenceRestriction H (y z)) t‖)
(hclose : Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < ↑clearance)
(hyphys : ∀ (z : Ω) (t : NNReal), PhysicalMindState ((y z) t))
(c : Bool)
(K : ℕ)
(guardMod scoreMod : Fin N → ℝ)
(hgm : ∀ (j : Fin N), 0 ≤ guardMod j)
(hsm : ∀ (j : Fin N), 0 ≤ scoreMod j)
(guardLip :
∀ z ∈ cap,
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - (y z) t.toNNReal‖ ≤ ↑clearance →
∀ (j : Fin N),
|((E.supportHistory z).reads.guards c) x j - ((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ j| ≤ guardMod j * ‖↑x - (y z) t.toNNReal‖)
(scoreLip :
∀ z ∈ cap,
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - (y z) t.toNNReal‖ ≤ ↑clearance →
∀ (j : Fin N),
|((E.supportHistory z).reads.scores c) x j - ((E.supportHistory z).reads.scores c) ⟨(y z) t.toNNReal, ⋯⟩ j| ≤ scoreMod j * ‖↑x - (y z) t.toNNReal‖)
(lo hi : Ω → ℕ → ℝ)
(winner : Ω → ℕ → Fin N)
(htimes : ∀ z ∈ cap, ∀ k ≤ K, 0 ≤ lo z k ∧ lo z k ≤ hi z k ∧ hi z k ≤ ↑H)
(hreleases : ∀ z ∈ cap, ∀ k ≤ K, Transactions.windowRelease (hi z) ((E.supportHistory z).pause c) k ≤ hi z k)
(before :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Ico (Transactions.windowRelease (lo z) ((E.supportHistory z).pause c) k) (lo z k),
∀ (j : Fin N),
((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ j + guardMod j * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < 0)
(qualifies :
∀ z ∈ cap,
∀ k ≤ K,
guardMod (winner z k) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison ≤ ((E.supportHistory z).reads.guards c) ⟨(y z) (hi z k).toNNReal, ⋯⟩ (winner z k))
(mean price : Ω → ℕ → ℝ)
(tradeCode : Fin N → Fin 3)
(scale : ℝ)
(offset : Ω → ℕ → ℝ → ℝ)
(onWindow :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Icc (lo z k) (hi z k),
guardMod (winner z k) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison ≤ ((E.supportHistory z).reads.guards c) ⟨(y z) t.toNNReal, ⋯⟩ (winner z k))
(calibrated :
∀ z ∈ cap,
∀ k ≤ K,
∀ t ∈ Set.Icc (lo z k) (hi z k),
∀ (j : Fin N),
((E.supportHistory z).reads.scores c) ⟨(y z) t.toNNReal, ⋯⟩ j = offset z k t + (fun (z : Ω) (k : ℕ) (j : Fin N) =>
if tradeCode j = 0 then scale * (mean z k - price z k)
else if tradeCode j = 1 then -scale * (mean z k - price z k) else 0)
z k j)
(gap :
∀ z ∈ cap,
∀ k ≤ K,
∀ (j : Fin N),
j ≠ winner z k →
(scoreMod j + scoreMod (winner z k)) * Transactions.transactionError (↑H) L entering ‖b‖ mode comparison < (fun (z : Ω) (k : ℕ) (j : Fin N) =>
if tradeCode j = 0 then scale * (mean z k - price z k)
else if tradeCode j = 1 then -scale * (mean z k - price z k) else 0)
z k (winner z k) - (fun (z : Ω) (k : ℕ) (j : Fin N) =>
if tradeCode j = 0 then scale * (mean z k - price z k)
else if tradeCode j = 1 then -scale * (mean z k - price z k) else 0)
z k j)
:
The complete finite learned - query reference is transported through every continuing write and native return. Only reference calibration and full local margins are supplied; every actual first mark and its probability are derived.