def
MindFormal.CompanionPrivatePrices.fitGap
{Θ : Type u_1}
{K : Type u_2}
[Fintype Θ]
[Fintype K]
(weight : Θ → ℝ)
(law : Θ → K → ℝ)
(price : K → ℝ)
(pooled rival : Θ → ℝ)
:
The declared squared-price-loss advantage over one rival. Positive is better fit for the pooled benchmark. State and component weights are external scoring conventions, not a pooling computation performed by a trader.
Equations
Instances For
theorem
MindFormal.CompanionPrivatePrices.fitGap_margin
{Θ : Type u_1}
{K : Type u_2}
[Fintype Θ]
[Fintype K]
(weight : Θ → ℝ)
(P Q : Θ → K → ℝ)
(price : K → ℝ)
(pooled rival : Θ → ℝ)
(totalP : ∀ (θ : Θ), ∑ k : K, P θ k = 1)
(totalQ : ∀ (θ : Θ), ∑ k : K, Q θ k = 1)
(hw : ∀ (θ : Θ), 0 ≤ weight θ)
(width error : Θ → ℝ)
(meanBound :
∀ (θ : Θ),
|MarketComparisonMath.priceMean (P θ) price - MarketComparisonMath.priceMean (Q θ) price| ≤ width θ * error θ)
:
IM4.6 from the actual conditional mean bounds. No inference from an unmeasured belief, no replacement of a ratio by its expected numerator.
theorem
MindFormal.CompanionPrivatePrices.fitGap_tv_margin
{Θ : Type u_1}
{K : Type u_2}
[Fintype Θ]
[Fintype K]
(weight : Θ → ℝ)
(P Q : Θ → K → ℝ)
(price : K → ℝ)
(pooled rival : Θ → ℝ)
(totalP : ∀ (θ : Θ), ∑ k : K, P θ k = 1)
(totalQ : ∀ (θ : Θ), ∑ k : K, Q θ k = 1)
(hw : ∀ (θ : Θ), 0 ≤ weight θ)
(lo hi : ℝ)
(range : ∀ (k : K), lo ≤ price k ∧ price k ≤ hi)
:
theorem
MindFormal.CompanionPrivatePrices.robust_sign_iff
(reference allowance : ℝ)
(nonnegative : 0 ≤ allowance)
:
A strict fit sign is guaranteed by a symmetric allowance exactly when the signed reference gap exceeds it. A thin interval permits zero.
theorem
MindFormal.CompanionPrivatePrices.finite_separation
{K : Type u_2}
[Fintype K]
{P Q P' Q' : K → ℝ}
{e e' : ℝ}
(first : A617Market.tv P Q ≤ e)
(second : A617Market.tv P' Q' ≤ e')
(gap : e + e' < A617Market.tv Q Q')
:
Separation survives the sum of both conditional allowances, rather than a pointwise error for one unconditioned mean.