MindFormal v1.0.0One Mind

MindFormal.Run.A617Market.AuctionTransfer

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) :
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)) :
    0 < ∑ k : K, P.mass (some k) ∧ tv (MarketComparisonMath.acceptedProbability fun (k : K) => P.mass (some k)) (MarketComparisonMath.acceptedProbability fun (k : K) => Q.mass (some k)) ≤ min 1 (2 * eps / (∑ k : K, Q.mass (some k) - eps))

    PM1.11 for this full public book, including the positive acceptance reserve. No bilateral-template ledger is substituted for the book.