MindFormal v1.0.0One Mind

MindFormal.Tools.A695LearningValue.PricePool

theorem MindFormal.A695LearningValue.PriceStatistics.clipped_share_difference {P J dP dJ g : ℝ} (hP : 0 < P) (hP' : 0 < P + dP) :
max ((J + dJ) / (P + dP) - g) 0 - max (J / P - g) 0 = if 0 < J / P - g then if 0 < (J + dJ) / (P + dP) - g then (P * dJ - J * dP) / (P * (P + dP)) else -(J / P - g) else max ((J + dJ) / (P + dP) - g) 0

All clipping branches are explicit. Only the branch with two positive targets uses the complete useful-support versus pool-load numerator.

theorem MindFormal.A695LearningValue.PriceStatistics.positive_share_rises_iff {P J dP dJ g : ℝ} (hP : 0 < P) (hP' : 0 < P + dP) (h₀ : 0 < J / P - g) (h₁ : 0 < (J + dJ) / (P + dP) - g) :
max (J / P - g) 0 < max ((J + dJ) / (P + dP) - g) 0 ↔ J * dP < P * dJ
theorem MindFormal.A695LearningValue.PriceStatistics.evaluated_pool_changes :
1 / 5 - 1 / 10 = 1 / 10 ∧ (1 / 5 + 1 / 5) / (1 + 3 / 10) - 1 / 10 = 27 / 130 ∧ 1 / 5 / (1 + 3 / 10) - 1 / 10 = 7 / 130