theorem
MindFormal.DescriptionWeightsAlgebra.endpoint_increments
(w : ℝ → ℝ)
{A B ε p : ℝ}
(hend : w 0 = 0 ∧ w 1 = 1)
(hint : ∀ (t : ℝ), 0 < t → t < 1 → w t = A + B * t)
(hA : 0 < A)
(hA1 : A < 1 - B)
(hε : 0 < ε)
(hp : 0 < p)
(hpε : p + ε < 1)
:
Endpoints are calibrated in their own cue protocol; the interior alone has the specified affine field. There is no continuity premise at the ends.
theorem
MindFormal.DescriptionWeightsAlgebra.outside_thresholds
{χ g P d H p : ℝ}
(hχ : 0 < χ)
(hg : 0 < g)
(hP : 0 < P)
(hd : 0 < d)
(hH : 0 ≤ H)
(hcap : 2 * g + χ < 1)
(ha : 0 ≤ intercept χ g P (2 * d + H) d + slope P (2 * d + H) * p)
(hb : 0 ≤ intercept χ g P (2 * d + H) d + slope P (2 * d + H) * (1 - p))
:
(max (intercept χ g P (2 * d + H) d + slope P (2 * d + H) * p) 0 + max (intercept χ g P (2 * d + H) d + slope P (2 * d + H) * (1 - p)) 0 < 1 ↔ 2 * d * (1 - 2 * g - χ) / (2 * g + χ) < H) ∧ (crossing χ g (2 * d + H) d < 1 / 3 ↔ d / (g + χ / 3) - 2 * d < H) ∧ (0 < intercept χ g P (2 * d + H) d ↔ H < d / g - 2 * d) ∧ d / (g + χ / 3) - 2 * d < d / g - 2 * d ∧ (∃ (H' : ℝ), 0 < H' ∧ d / (g + χ / 3) - 2 * d < H' ∧ H' < d / g - 2 * d) ∧ ∀ (q : ℝ),
0 ≤ intercept χ g P (2 * d) d + slope P (2 * d) * q →
0 ≤ intercept χ g P (2 * d) d + slope P (2 * d) * (1 - q) →
1 < max (intercept χ g P (2 * d) d + slope P (2 * d) * q) 0 + max (intercept χ g P (2 * d) d + slope P (2 * d) * (1 - q)) 0