Two displayed conditional controls, with their actual normalization and CDF.
theorem
MindFormal.MarketResponseCalculus.two_price_variance
(low high h : ℝ)
:
MarketComparisonMath.priceVariance (MarketComparisonMath.acceptedProbability (twoMass h)) (twoPrice low high) = (high - low) ^ 2 * h * (1 - h)
theorem
MindFormal.MarketResponseCalculus.two_price_variance_derivative
(low high h : ℝ)
:
HasDerivAt
(fun (y : ℝ) =>
MarketComparisonMath.priceVariance (MarketComparisonMath.acceptedProbability (twoMass y)) (twoPrice low high))
((high - low) ^ 2 * (1 - 2 * h)) h
Equations
Instances For
Equations
- MindFormal.MarketResponseCalculus.cutoffAcceptance cutoff price scale = MindFormal.MarketResponseCalculus.standardCDF ((cutoff - price) / scale)
Instances For
theorem
MindFormal.MarketResponseCalculus.cutoff_derivative
(cutoff price scale : ℝ)
(hs : 0 < scale)
:
HasDerivAt (fun (s : ℝ) => cutoffAcceptance cutoff price s)
(-(cutoff - price) * ProbabilityTheory.gaussianPDFReal 0 1 ((cutoff - price) / scale) / scale ^ 2) scale