MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch15.SettlementRead

theorem MindFormal.Transactions.sole_qualified_release {N : ℕ} {guard score : ℝ → Fin N → ℝ} {r H : ℝ} (search : NativeSearch guard score r H) (hr : r ≤ H) (assent : Fin N) (hq : 0 ≤ guard r assent) (others : ∀ (j : Fin N), j ≠ assent → guard r j < 0) :
search.event = some (r, assent)
theorem MindFormal.Transactions.gaussian_release_chance {Ω : Type u_1} [MeasurableSpace Ω] {mu : MeasureTheory.Measure Ω} {N : ℕ} {X : Ω → ℝ} {m : ℝ} {v : NNReal} (hX : ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal m v) mu) (hv : v ≠ 0) (guard score : Ω → ℝ → Fin N → ℝ) (r H : ℝ) (search : (z : Ω) → NativeSearch (guard z) (score z) r H) (hr : r ≤ H) (good money : Fin N) (hg : ∀ (z : Ω), 0 ≤ guard z r good) (hm : ∀ (z : Ω), 0 ≤ guard z r money) (others : ∀ (z : Ω) (j : Fin N), j ≠ good → j ≠ money → guard z r j < 0) (calibrated : ∀ (z : Ω), score z r good - score z r money = X z) :
mu.real {z : Ω | (search z).event = some (r, good)} = normalCDF (m / √↑v)

An identified Gaussian score at a native qualified release. Ties have zero mass, so the fixed priority remains arbitrary.

theorem MindFormal.Transactions.gaussian_price_median {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {mu : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure mu] {filtration : MeasureTheory.Filtration NNReal inferInstance} {B : J → NNReal → Ω → ℝ} (hB : BrownianFiltration mu filtration B) (H : NNReal) (f : J → ↥(MeasureTheory.Lp ℝ 2 (MeasureTheory.volume.restrict (Set.Ioc 0 ↑H)))) (hv : 0 < ∑ j : J, ‖f j‖ ^ 2) (p0 intercept : ℝ) {slope : ℝ} (hs : 0 < slope) {K : ℕ} (price : Fin K → ℝ) {N : ℕ} (good money : Fin N) (guard score : Fin K → Ω → ℝ → Fin N → ℝ) (r deadline : Fin K → ℝ) (search : (p : Fin K) → (z : Ω) → NativeSearch (guard p z) (score p z) (r p) (deadline p)) (hr : ∀ (p : Fin K), r p ≤ deadline p) (hg : ∀ (p : Fin K) (z : Ω), 0 ≤ guard p z (r p) good) (hm : ∀ (p : Fin K) (z : Ω), 0 ≤ guard p z (r p) money) (others : ∀ (p : Fin K) (z : Ω) (j : Fin N), j ≠ good → j ≠ money → guard p z (r p) j < 0) (calibrated : ∀ (p : Fin K) (z : Ω), score p z (r p) good - score p z (r p) money = intercept - slope * (price p - p0) + ↑↑(ItoFiltration.itoVec hB H fun (j : J) => (ItoFiltration.deterministicLp H) (f j)) z) :
(∀ (p : Fin K), mu.real {z : Ω | (search p z).event = some (r p, good)} = normalCDF ((intercept - slope * (price p - p0)) / √(∑ j : J, ‖f j‖ ^ 2))) ∧ ∀ (p : Fin K), mu.real {z : Ω | (search p z).event = some (r p, good)} = 1 / 2 ↔ price p = affinePriceZero p0 intercept slope

The qualified native Gaussian price read has its half-probability crossing at the constructed affine zero. Neither a median nor a Gaussian law is supplied: the law comes from the declared deterministic loadings.

theorem MindFormal.Transactions.paired_gaussian_medians {Ω : Type u_1} {J : Type u_2} {A : Type u_3} [MeasurableSpace Ω] [Fintype J] [Fintype A] {mu : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure mu] {filtration : MeasureTheory.Filtration NNReal inferInstance} {B : J → NNReal → Ω → ℝ} (hB : BrownianFiltration mu filtration B) (H : NNReal) (f : Bool → J → ↥(MeasureTheory.Lp ℝ 2 (MeasureTheory.volume.restrict (Set.Ioc 0 ↑H)))) (hv : ∀ (o : Bool), 0 < ∑ j : J, ‖f o j‖ ^ 2) (p0 : ℝ) (dx : Bool → ℝ) (ell : A → ℝ) (forecast : Bool → A → ℝ) {slope : ℝ} (hs : 0 < slope) {K : ℕ} (price : Fin K → ℝ) {N : ℕ} (good money : Fin N) (guard score : Bool → Fin K → Ω → ℝ → Fin N → ℝ) (r deadline : Bool → Fin K → ℝ) (search : (o : Bool) → (p : Fin K) → (z : Ω) → NativeSearch (guard o p z) (score o p z) (r o p) (deadline o p)) (hr : ∀ (o : Bool) (p : Fin K), r o p ≤ deadline o p) (hg : ∀ (o : Bool) (p : Fin K) (z : Ω), 0 ≤ guard o p z (r o p) good) (hm : ∀ (o : Bool) (p : Fin K) (z : Ω), 0 ≤ guard o p z (r o p) money) (others : ∀ (o : Bool) (p : Fin K) (z : Ω) (j : Fin N), j ≠ good → j ≠ money → guard o p z (r o p) j < 0) (calibrated : ∀ (o : Bool) (p : Fin K) (z : Ω), score o p z (r o p) good - score o p z (r o p) money = dx o + ∑ a : A, ell a * forecast o a - slope * (price p - p0) + ↑↑(ItoFiltration.itoVec hB H fun (j : J) => (ItoFiltration.deterministicLp H) (f o j)) z) :
have cutoff := fun (o : Bool) => affinePriceZero p0 (dx o + ∑ a : A, ell a * forecast o a) slope; have signed := dx true - dx false + ∑ a : A, ell a * (forecast true a - forecast false a); (∀ (o : Bool) (p : Fin K), mu.real {z : Ω | (search o p z).event = some (r o p, good)} = 1 / 2 ↔ price p = cutoff o) ∧ cutoff true - cutoff false = signed / slope ∧ (cutoff true - cutoff false = 0 ↔ signed = 0) ∧ (0 < cutoff true - cutoff false ↔ 0 < signed) ∧ (cutoff true - cutoff false < 0 ↔ signed < 0)

Both native Gaussian median crossings are derived on the same ground; cancellation and reversal follow from their complete signed intercept sum.

theorem MindFormal.Transactions.implemented_two_price_mean {Ω : Type u_1} [MeasurableSpace Ω] {mu : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure mu] {A : Set Ω} (hA : MeasureTheory.NullMeasurableSet A mu) (low high : ℝ) :
∫ (z : Ω), if z ∈ A then high else low ∂mu = low * (1 - mu.real A) + high * mu.real A

Integration of the implemented two-price mark, including null-measurable native events. This is scalar integration, not another settlement interface.

theorem MindFormal.Transactions.gaussian_settlement_difference {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {mu : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure mu] {filtration : MeasureTheory.Filtration NNReal inferInstance} {B : J → NNReal → Ω → ℝ} (hB : BrownianFiltration mu filtration B) (H : NNReal) (f : Bool → J → ↥(MeasureTheory.Lp ℝ 2 (MeasureTheory.volume.restrict (Set.Ioc 0 ↑H)))) (m : Bool → ℝ) (hv : ∀ (o : Bool), 0 < ∑ j : J, ‖f o j‖ ^ 2) {N : ℕ} (good money assent : Fin N) (low high : ℝ) (guard score : Bool → Ω → ℝ → Fin N → ℝ) (r deadline : Bool → ℝ) (search : (o : Bool) → (z : Ω) → NativeSearch (guard o z) (score o z) (r o) (deadline o)) (hr : ∀ (o : Bool), r o ≤ deadline o) (hg : ∀ (o : Bool) (z : Ω), 0 ≤ guard o z (r o) good) (hm : ∀ (o : Bool) (z : Ω), 0 ≤ guard o z (r o) money) (others : ∀ (o : Bool) (z : Ω) (j : Fin N), j ≠ good → j ≠ money → guard o z (r o) j < 0) (calibrated : ∀ (o : Bool) (z : Ω), score o z (r o) good - score o z (r o) money = m o + ↑↑(ItoFiltration.itoVec hB H fun (j : J) => (ItoFiltration.deterministicLp H) (f o j)) z) (ag ascore : Bool → Bool → Ω → ℝ → Fin N → ℝ) (ar ah : Bool → Bool → ℝ) (asearch : (o quote : Bool) → (z : Ω) → NativeSearch (ag o quote z) (ascore o quote z) (ar o quote) (ah o quote)) (ahr : ∀ (o quote : Bool), ar o quote ≤ ah o quote) (aq : ∀ (o quote : Bool) (z : Ω), 0 ≤ ag o quote z (ar o quote) assent) (ao : ∀ (o quote : Bool) (z : Ω) (j : Fin N), j ≠ assent → ag o quote z (ar o quote) j < 0) :
have chance := fun (o : Bool) => mu.real {z : Ω | (search o z).event = some (r o, good)}; have meanPrice := fun (o : Bool) => low * (1 - chance o) + high * chance o; (∀ (o : Bool) (z : Ω), (search o z).event = some (r o, good) ∨ (search o z).event = some (r o, money)) ∧ (∀ (o quote : Bool) (z : Ω), (asearch o quote z).event = some (ar o quote, assent)) ∧ (∀ (o : Bool), chance o = normalCDF (m o / √(∑ j : J, ‖f o j‖ ^ 2))) ∧ (∀ (o : Bool), ∫ (z : Ω), if (search o z).event = some (r o, good) then high else low ∂mu = meanPrice o) ∧ (∀ (o : Bool), meanPrice o = low + (high - low) * normalCDF (m o / √(∑ j : J, ‖f o j‖ ^ 2))) ∧ meanPrice true - meanPrice false = (high - low) * (normalCDF (m true / √(∑ j : J, ‖f true j‖ ^ 2)) - normalCDF (m false / √(∑ j : J, ‖f false j‖ ^ 2)))

IX2.3. Both opening comparisons use their own deterministic Gaussian loadings on the joint ground. Uniform native assent margins are the named common continuation: its marks, and both counteroffer chances, are derived.