Finite laws including the rejected/no-trade mass. None of these identities prescribes the outcome of an encounter.
theorem
MindFormal.A617Market.variance_range
{K : Type u_1}
[Fintype K]
(P Q price : K → ℝ)
(hP : ∀ (k : K), 0 ≤ P k)
(hQ : ∀ (k : K), 0 ≤ Q k)
(sP : ∑ k : K, P k = 1)
(sQ : ∑ k : K, Q k = 1)
(lo hi : ℝ)
(hlh : lo ≤ hi)
(hp : ∀ (k : K), lo ≤ price k ∧ price k ≤ hi)
:
|MarketComparisonMath.priceVariance P price - MarketComparisonMath.priceVariance Q price| ≤ (hi - lo) ^ 2 * tv P Q
theorem
MindFormal.A617Market.conditional_tv
{K : Type u_1}
[Fintype K]
(f g : K → ℝ)
(hf : ∀ (k : K), 0 ≤ f k)
(hg : ∀ (k : K), 0 ≤ g k)
(eps : ℝ)
(he : markedTV f g ≤ eps)
(reserve : eps < ∑ k : K, g k)
:
0 < ∑ k : K, f k ∧ tv (MarketComparisonMath.acceptedProbability f) (MarketComparisonMath.acceptedProbability g) ≤ min 1 (2 * eps / (∑ k : K, g k - eps))
theorem
MindFormal.A617Market.variance_zero_iff_one_price
{K : Type u_1}
[Fintype K]
(mass price : K → ℝ)
(hm : ∀ (k : K), 0 ≤ mass k)
(ha : 0 < ∑ k : K, mass k)
:
MarketComparisonMath.priceVariance (MarketComparisonMath.acceptedProbability mass) price = 0 ↔ ∃ (c : ℝ), ∀ (k : K), 0 < mass k → price k = c