Algebraic layer: HM-GM inequality #
Definitions for the Erdős–Gallai setting #
The tangential trapezoid: T = -2 f'(1) f'(-1) / (f'(1) - f'(-1)).
When f'(1) < 0 and f'(-1) > 0 (normal case), this equals 2·|f'(1)|·|f'(-1)| / (|f'(1)| + |f'(-1)|), the harmonic mean.
Equations
- erdos_gallai_T α β = -2 * erdos_gallai_deriv_at_one α β * erdos_gallai_deriv_at_neg_one α β / (erdos_gallai_deriv_at_one α β - erdos_gallai_deriv_at_neg_one α β)
Instances For
Integral layer: f(x), area A, and the bound A ≥ (4/3)C #
theorem
erdos_gallai_f_continuous
{m n : ℕ}
(α : Fin m → ℝ)
(β : Fin n → ℝ)
:
Continuous (erdos_gallai_f α β)
f is continuous (finite product of continuous functions).
theorem
erdos_gallai_f_integrable
{m n : ℕ}
(α : Fin m → ℝ)
(β : Fin n → ℝ)
:
IntervalIntegrable (erdos_gallai_f α β) MeasureTheory.volume (-1) 1
f is interval-integrable on [-1, 1].
theorem
erdos_gallai_integral_bound
{m n : ℕ}
(α : Fin m → ℝ)
(β : Fin n → ℝ)
(hα : ∀ (i : Fin m), 1 ≤ α i)
(hβ : ∀ (j : Fin n), 1 ≤ β j)
:
The area A ≥ (4/3) · √(C²). This is the integral layer of the Erdős–Gallai proof. By AM-GM, (f(x) + f(-x))/2 ≥ √(f(x)·f(-x)) ≥ (1-x²)·C. Integrating gives A ≥ (4/3)·C.