theorem
MindFormal.A617Market.Auction.twoQuoteTrial_eq
{low high : ℝ}
(hl : 0 ≤ low)
(hh : low < high)
(lowAsk highBid : Bool)
:
The ask arrives first, and is the paid price. Low fills on either bid; high fills only on the high bid. Both commitments are funded and reserved.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.A617Market.Auction.twoQuote_distribution
{low high l theta : ℝ}
(hl : 0 ≤ low)
(hh : low < high)
(ha : l + theta * (1 - l) ≠ 0)
:
MarketComparisonMath.acceptedProbability (twoQuoteMass low high l theta) = MarketResponseCalculus.twoMass (highFraction theta l)
theorem
MindFormal.A617Market.Auction.twoQuote_moments
{low high l theta : ℝ}
(hl : 0 ≤ low)
(hh : low < high)
(ha : l + theta * (1 - l) ≠ 0)
:
MarketComparisonMath.priceMean (MarketComparisonMath.acceptedProbability (twoQuoteMass low high l theta))
(MarketResponseCalculus.twoPrice low high) = low + (high - low) * highFraction theta l ∧ MarketComparisonMath.priceVariance (MarketComparisonMath.acceptedProbability (twoQuoteMass low high l theta))
(MarketResponseCalculus.twoPrice low high) = (high - low) ^ 2 * highFraction theta l * (1 - highFraction theta l)
theorem
MindFormal.A617Market.Auction.quote_experienced_returns
{low high : ℝ}
(hl : 0 ≤ low)
(hh : low < high)
(theta cost : ℝ)
:
(∑ b : Bool,
(if b = true then theta else 1 - theta) * match twoQuoteTrial low high true b with
| some p => MarketResponseCalculus.twoPrice low high p - cost
| none => 0) = low - cost ∧ (∑ b : Bool,
(if b = true then theta else 1 - theta) * match twoQuoteTrial low high false b with
| some p => MarketResponseCalculus.twoPrice low high p - cost
| none => 0) = theta * (high - cost)
theorem
MindFormal.A617Market.Auction.twoQuote_improvement
{low high l theta : ℝ}
(hl : 0 ≤ low)
(hh : low < high)
(ht : 0 < theta)
(ht1 : theta ≤ 1)
(hp : 1 / 2 < l)
(hp1 : l ≤ 1)
:
|MarketComparisonMath.priceMean (MarketComparisonMath.acceptedProbability (twoQuoteMass low high l theta))
(MarketResponseCalculus.twoPrice low high) - low| < |MarketComparisonMath.priceMean (MarketComparisonMath.acceptedProbability (twoQuoteMass low high (1 / 2) theta))
(MarketResponseCalculus.twoPrice low high) - low| ∧ MarketComparisonMath.priceVariance (MarketComparisonMath.acceptedProbability (twoQuoteMass low high l theta))
(MarketResponseCalculus.twoPrice low high) < MarketComparisonMath.priceVariance (MarketComparisonMath.acceptedProbability (twoQuoteMass low high (1 / 2) theta))
(MarketResponseCalculus.twoPrice low high)