Finite accepted masses: normalization, signed response and finite ordering. The masses are those of the chosen encounter instrument, before conditioning.
Equations
- MindFormal.MarketResponseCalculus.covariance P f g = ∑ i : K, P i * f i * g i - MindFormal.MarketComparisonMath.priceMean P f * MindFormal.MarketComparisonMath.priceMean P g
Instances For
Equations
- MindFormal.MarketResponseCalculus.CoOrdered price score = ∀ (i j : K), price i ≤ price j → score i ≤ score j
Instances For
theorem
MindFormal.MarketResponseCalculus.weighted_ordered_product
{K : Type u_1}
{P price f g : K → ℝ}
(hn : ∀ (i : K), 0 ≤ P i)
(hf : SupportOrdered P price f)
(hg : SupportOrdered P price g)
(i j : K)
:
theorem
MindFormal.MarketResponseCalculus.covariance_nonnegative
{K : Type u_1}
[Fintype K]
(P price f g : K → ℝ)
(hP : ∑ i : K, P i = 1)
(hn : ∀ (i : K), 0 ≤ P i)
(hf : SupportOrdered P price f)
(hg : SupportOrdered P price g)
:
theorem
MindFormal.MarketResponseCalculus.accepted_derivative
{K : Type u_1}
[Fintype K]
(F : ℝ → K → ℝ)
(dot : K → ℝ)
(x : ℝ)
(hd : ∀ (i : K), HasDerivAt (fun (y : ℝ) => F y i) (dot i) x)
(ha : 0 < ∑ i : K, F x i)
(i : K)
:
HasDerivAt (fun (y : ℝ) => MarketComparisonMath.acceptedProbability (F y) i)
((dot i - MarketComparisonMath.acceptedProbability (F x) i * ∑ j : K, dot j) / ∑ j : K, F x j) x
theorem
MindFormal.MarketResponseCalculus.accepted_elasticity_derivative
{K : Type u_1}
[Fintype K]
(F : ℝ → K → ℝ)
(dot : K → ℝ)
(x : ℝ)
(hd : ∀ (i : K), HasDerivAt (fun (y : ℝ) => F y i) (dot i) x)
(ha : 0 < ∑ i : K, F x i)
(hz : ∀ (i : K), F x i = 0 → dot i = 0)
(i : K)
:
HasDerivAt (fun (y : ℝ) => MarketComparisonMath.acceptedProbability (F y) i)
(MarketComparisonMath.acceptedProbability (F x) i * (elasticity F dot x i - MarketComparisonMath.priceMean (MarketComparisonMath.acceptedProbability (F x)) (elasticity F dot x)))
x
theorem
MindFormal.MarketResponseCalculus.mean_covariance_derivative
{K : Type u_1}
[Fintype K]
(F : ℝ → K → ℝ)
(dot price : K → ℝ)
(x : ℝ)
(hd : ∀ (i : K), HasDerivAt (fun (y : ℝ) => F y i) (dot i) x)
(ha : 0 < ∑ i : K, F x i)
(hz : ∀ (i : K), F x i = 0 → dot i = 0)
:
HasDerivAt (fun (y : ℝ) => MarketComparisonMath.priceMean (MarketComparisonMath.acceptedProbability (F y)) price)
(covariance (MarketComparisonMath.acceptedProbability (F x)) price (elasticity F dot x)) x
theorem
MindFormal.MarketResponseCalculus.accepted_stochastic_order
{K : Type u_1}
[Fintype K]
(a b price : K → ℝ)
(hA : 0 < ∑ i : K, a i)
(hB : 0 < ∑ i : K, b i)
(hr : ∀ (i j : K), price i ≤ price j → b i * a j ≤ b j * a i)
(f : K → ℝ)
(hf : CoOrdered price f)
:
Cross-products are the zero-safe form of an increasing likelihood ratio. They also allow new mass at a previously zero-mass endpoint.