MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch15.A595Trade.CommonPrice

In One Mind, clause 4 of result 15.2: One price called out to everyone puts the units with the traders who value them most · all its clauses in Lean
theorem MindFormal.A595Trade.result_18_12_4_L596 {Ω : 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} (P : Protocol r) {K : ℕ} (hK : 0 < K) (hKN : K < N) (ω : Ω) (hc : (P.initial ω).holders.card = K) (c b : ℕ → ℝ) (hcpos : ∀ i < N, 0 < c i) (hb : StrictMonoOn b (Set.Iio N)) (price : ℝ) (hprice : b (N - K - 1) < price ∧ price < b (N - K)) (hp : ∀ m < missing (top N K) (P.initial ω).holders, ∀ o ∈ P.book m ω, o.price = price) (hcomparison : ∀ m < missing (top N K) (P.initial ω).holders, ∀ o ∈ P.book m ω, ∀ (z : Ledger N), o.Legal (P.histories m ω) z → bundleUtility (c ↑o.seller) (b ↑o.seller) true (z.cash o.seller) < bundleUtility (c ↑o.seller) (b ↑o.seller) false (z.cash o.seller + o.price) ∧ bundleUtility (c ↑o.buyer) (b ↑o.buyer) false (z.cash o.buyer) < bundleUtility (c ↑o.buyer) (b ↑o.buyer) true (z.cash o.buyer - o.price)) (hcover : ∀ m < missing (top N K) (P.initial ω).holders, P.PairCoverage m ω) :
have Q := missing (top N K) (P.initial ω).holders; P.holdings Q ω = top N K ∧ P.gross Q ω = Q ∧ P.prices Q ω = List.replicate Q price ∧ (∀ (i : Fin N), (P.state Q ω).cash i - (P.initial ω).cash i = price * (unitHolding (P.initial ω).holders ↑i - unitHolding (top N K) ↑i)) ∧ (0 < Q → empiricalPrice (P.prices Q ω) = MeasureTheory.Measure.dirac price) ∧ (Q = 0 → P.prices Q ω = [])

18.12.4, L596. P: the native legal settlement protocol and a separately asserted positive-scale learned quasilinear bundle order, 0<K<N. H: one actually offered price strictly inside the clearing interval, each actual execution preserves its strict seller and buyer bundle comparisons, and strict affordable native pair coverage lasts only through Q* sweeps. The price is supplied as an offered public ticket, never computed by a world reading private ranks. C: every executed sale goes directly from an excess lower holder to a missing top holder, holdings finish by Q*, gross executions equal Q*, the literal paid-price list is exactly Q* repetitions of that price, and each individual cash change is price times initial-minus-final unit holding. Thus the empirical price law is Dirac when Q*>0 and the record is empty when Q*=0. Comparisons on merely tested menus remain conditional on those tests.