General transfer uses the admitted original aggregate driver, not a finite list of sources. All coefficient/target comparisons are on arbitrary box states; only the paid primitive innovation event is supplied probabilistically.
def
MindFormal.RedundantPrice.scoreError
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{R : PhysicalGlobalData N n T Λ}
{H : ℝ}
{B : AggregateBox R H}
(C : AggregateComparison R H B)
(w : Fin n → T → ℝ)
(Ev0 : ℝ)
:
Equations
- MindFormal.RedundantPrice.scoreError C w Ev0 = C.activityError + Ev0 + MindFormal.RedundantPrice.valueWeight w * (B.Kv * H + B.dv)
Instances For
noncomputable def
MindFormal.RedundantPrice.referenceScore
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{R : PhysicalGlobalData N n T Λ}
{H : ℝ}
{B : AggregateBox R H}
(C : AggregateComparison R H B)
(V : Fin N → ℝ)
(t : ℝ)
(i : Fin N)
:
Equations
- MindFormal.RedundantPrice.referenceScore C V t i = C.reference i t + V i
Instances For
theorem
MindFormal.RedundantPrice.certified_window
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{R : PhysicalGlobalData N n T Λ}
{H : ℝ}
{B : AggregateBox R H}
(C : AggregateComparison R H B)
(hn : B.Innovations)
(w : Fin n → T → ℝ)
(V : Fin N → ℝ)
(Ev0 : ℝ)
(initial : ∀ (i : Fin N), |valueRead w (R.state 0) i - V i| ≤ Ev0)
(read :
∀ t ∈ Set.Icc 0 H,
∀ (i : Fin N), (R.reads.scores false) (R.realPath t) i = mindActivity (R.state t) i + valueRead w (R.state t) i)
(k : ℕ)
(winner : Fin N)
(L U : ℝ)
(hL : 0 ≤ L)
(hLU : L ≤ U)
(hU : U ≤ H)
(release0 : 0 ≤ (R.native H false).release k)
(release : (R.native H false).release k ≤ U)
(out : R.reads.outputs winner = true)
(before :
∀ (t : ℝ),
(R.native H false).release k ≤ t →
t < L → ∀ (j : Fin N), R.reads.outputs j = true → referenceScore C V t j + scoreError C w Ev0 < R.reads.actionBar)
(qualifies : R.reads.actionBar ≤ referenceScore C V U winner - scoreError C w Ev0)
(rivals :
∀ t ∈ Set.Icc L U,
∀ (j : Fin N),
j ≠ winner →
R.reads.outputs j = true →
referenceScore C V t j + scoreError C w Ev0 < referenceScore C V t winner - scoreError C w Ev0)
:
Whole first-eligible windows: the primitive box pays every score error, including all earlier releases and all qualified competitors.
theorem
MindFormal.RedundantPrice.certified_probability
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{Ω : Type u_3}
[MeasurableSpace Ω]
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(R : Ω → PhysicalGlobalData N n T Λ)
(H : ℝ)
(B : (ω : Ω) → AggregateBox (R ω) H)
(C : (ω : Ω) → AggregateComparison (R ω) H (B ω))
(w : Ω → Fin n → T → ℝ)
(V : Ω → Fin N → ℝ)
(Ev0 : Ω → ℝ)
(k : ℕ)
(a d : Fin N)
(r : Ω → ℝ)
(good : Set Ω)
(failure : ℝ)
(hgood : MeasurableSet good)
(mass : 1 - failure ≤ μ.real good)
(noise : ∀ ω ∈ good, (B ω).Innovations)
(initial : ∀ ω ∈ good, ∀ (i : Fin N), |valueRead (w ω) ((R ω).state 0) i - V ω i| ≤ Ev0 ω)
(read :
∀ ω ∈ good,
∀ t ∈ Set.Icc 0 H,
∀ (i : Fin N),
((R ω).reads.scores false) ((R ω).realPath t) i = mindActivity ((R ω).state t) i + valueRead (w ω) ((R ω).state t) i)
(release : ∀ ω ∈ good, ((R ω).native H false).release k = r ω ∧ r ω ∈ Set.Icc 0 H)
(outputs : ∀ ω ∈ good, (R ω).reads.outputs a = true ∧ (R ω).reads.outputs d = true)
(qualifies :
∀ ω ∈ good,
(R ω).reads.actionBar ≤ max (referenceScore (C ω) (V ω) (r ω) a - scoreError (C ω) (w ω) (Ev0 ω))
(referenceScore (C ω) (V ω) (r ω) d - scoreError (C ω) (w ω) (Ev0 ω)))
(rivals :
∀ ω ∈ good,
∀ (j : Fin N),
j ≠ a →
j ≠ d →
(R ω).reads.outputs j = true →
referenceScore (C ω) (V ω) (r ω) j + scoreError (C ω) (w ω) (Ev0 ω) < max (referenceScore (C ω) (V ω) (r ω) a - scoreError (C ω) (w ω) (Ev0 ω))
(referenceScore (C ω) (V ω) (r ω) d - scoreError (C ω) (w ω) (Ev0 ω)))
(hD : Measurable fun (ω : Ω) => referenceScore (C ω) (V ω) (r ω) a - referenceScore (C ω) (V ω) (r ω) d)
(hED : Measurable fun (ω : Ω) => 2 * scoreError (C ω) (w ω) (Ev0 ω))
(hact : MeasurableSet {ω : Ω | record (R ω) H k = some (r ω, a)})
:
max 0
(μ.real
{ω : Ω | 2 * scoreError (C ω) (w ω) (Ev0 ω) < referenceScore (C ω) (V ω) (r ω) a - referenceScore (C ω) (V ω) (r ω) d} - failure) ≤ μ.real {ω : Ω | record (R ω) H k = some (r ω, a)} ∧ μ.real {ω : Ω | record (R ω) H k = some (r ω, a)} ≤ min 1
(μ.real
{ω : Ω | -(2 * scoreError (C ω) (w ω) (Ev0 ω)) ≤ referenceScore (C ω) (V ω) (r ω) a - referenceScore (C ω) (V ω) (r ω) d} + failure)
Random-reference thin-strip enclosure. Its only stochastic premise is the measurable original-innovation event and its one failure bill. Qualified reference margins, primitive coefficients, initial residuals and the actual release certify all successful-state and native-event conclusions rather than assuming them.