structure
MindFormal.A617Market.Auction.QueueCertificate
{Ω : Type u_1}
{J : Type u_2}
[mΩ : MeasurableSpace Ω]
{N : ℕ}
{M n : Fin N → ℕ}
{V : Fin N → Type u_3}
{Λ : Fin N → Type u_4}
[(a : Fin N) → Fintype (V a)]
[(a : Fin N) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J)
(H : NNReal)
(ω : Ω)
(ref : A595Trade.Histories M)
:
- priority (s t : Slot N (fullCap ref)) (u : ℝ) : u ∈ Set.Icc (self.slot s.1 ↑s.2).lo (self.slot s.1 ↑s.2).hi → ∀ v ∈ Set.Icc (self.slot t.1 ↑t.2).lo (self.slot t.1 ↑t.2).hi, u < v ∨ u = v ∧ ordinal s ≤ ordinal t ↔ (↑(ref s.1) ↑s.2).1 < (↑(ref t.1) ↑t.2).1 ∨ (↑(ref s.1) ↑s.2).1 = (↑(ref t.1) ↑t.2).1 ∧ ordinal s ≤ ordinal t
Instances For
theorem
MindFormal.A617Market.Auction.native_book_tv
{Ω : Type u_1}
{J : Type u_2}
[mΩ : MeasurableSpace Ω]
{N : ℕ}
{M n : Fin N → ℕ}
{V : Fin N → Type u_3}
{Λ : Fin N → Type u_4}
[(a : Fin N) → Fintype (V a)]
[(a : Fin N) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{K : Type u_5}
{R : Type u_6}
[Fintype R]
[MeasurableSpace R]
[MeasurableSingletonClass R]
[MeasureTheory.IsProbabilityMeasure μ]
(r : GroupsWorld.ObservedContinuation μ ℱ (Fin N) M n V Λ J)
(H : NNReal)
(ref : Ω → A595Trade.Histories M)
(hr : Measurable ref)
(price : K → ℝ)
(meaning : (a : Fin N) → Fin (M a) → Message K)
(initial : Book (Fin N) K)
(read : Book (Fin N) K × List (Option (Fill (Fin N) K)) → R)
(good : Set Ω)
(cert : ∀ ω ∈ good, Nonempty (QueueCertificate r H ω (ref ω)))
(eps : ℝ)
(hbad : μ.real goodᶜ ≤ eps)
:
tv
(MarkedMass.ofLaw μ (fun (ω : Ω) => read (fullSnapshot price meaning initial (A595Trade.nativeHistories r H ω)))
⋯).mass
(MarkedMass.ofLaw μ (fun (ω : Ω) => read (fullSnapshot price meaning initial (ref ω))) ⋯).mass ≤ eps
The finite read can be the complete capped mark vector, a sampled opportunity, or a uniformly chosen fill slot padded by no trade. The same one-event price includes every practice, cancellation and queue failure.
theorem
MindFormal.A617Market.Auction.native_book_conditional
{Ω : Type u_1}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
{K : Type u_5}
[Fintype K]
[MeasureTheory.IsProbabilityMeasure μ]
(P Q : MarkedMass (Option K))
(eps : ℝ)
(he : tv P.mass Q.mass ≤ eps)
(reserve : eps < ∑ k : K, Q.mass (some k))
:
PM1.11 for this full public book, including the positive acceptance reserve. No bilateral-template ledger is substituted for the book.