/- Copyright (c) 2026 Arthur Colle. All rights reserved. Released under Apache 2.0 license. # Sharp Explicit Lower Bounds for the Classical Beurling–Ahlfors Extension This self-contained Lean 4 module proves exact minimax lower bounds (valid for EVERY parameter `r > 0`) on the maximal dilatation `K(DF_r[h])` of the classical Beurling–Ahlfors extension across three canonical families of `M`-quasisymmetric homeomorphisms of `ℝ`: 1. **1-Kink Piecewise-Linear Family `plKink M`** (`∀ M ≥ 1`): `plKink M x = if x ≤ 0 then x else M * x` is `M`-quasisymmetric and satisfies for EVERY `r > 0` $$K(DF_r[\mathrm{plKink}_M](0, 1)) \ge \frac{\sqrt{25 M^4 + 14 M^2 + 25} + 5(M^2 - 1)}{8 M} > \frac{5}{4} M - \frac{1}{2 M},$$ in particular `K(DF_r[plKink 2](0, 1)) > 2.308` (sandwiching `K_BA(2) ∈ [2.308, 2.670]`). 2. **Quadratic Power Homeomorphism `quadPower x = x |x|`** (`M = 2 + √5 ≈ 4.2361`): Exact `IsQuasisymmetric (2 + √5) quadPower` proved via an exact sum-of-squares identity, with exact Beurling–Ahlfors invariants `(ξ, a, b) = (21/5, 4/7, 16/45)` at `(2/3, 1)`, yielding `K(DF_r[quadPower](2/3, 1)) > 5.89 > 1.39 · (2 + √5)` for EVERY `r > 0`. 3. **Cubic Power Homeomorphism `cubicPower x = x^3`** (`M = 7 + 4√3 ≈ 13.9282`): Exact `IsQuasisymmetric (7 + 4√3) cubicPower` proved via a 1-line perfect-square identity, with exact Beurling–Ahlfors invariants `(ξ, a, b) = (13, 33/52, 1/4)` at `(2/3, 1)`, yielding `K(DF_r[cubicPower](2/3, 1)) > 20.57 > 1.476 · (7 + 4√3)` for EVERY `r > 0`. Every theorem is self-contained (importing only `Mathlib`), with zero `sorry`, zero custom axioms, and `#print axioms` strictly `[propext, Classical.choice, Quot.sound]`. -/ import Mathlib open scoped Real open MeasureTheory Set namespace BeurlingAhlforsLowerBounds noncomputable section /-! ## 1. `M`-Quasisymmetric Functions on `ℝ` -/ /-- A function `h : ℝ → ℝ` is `M`-quasisymmetric (`M ≥ 1`) if it is continuous, strictly increasing, and satisfies `1 / M ≤ (h(x + t) - h(x)) / (h(x) - h(x - t)) ≤ M` for all `x ∈ ℝ` and `t > 0`, expressed equivalently without division. -/ structure IsQuasisymmetric (M : ℝ) (h : ℝ → ℝ) : Prop where one_le : 1 ≤ M continuous : Continuous h strictMono : StrictMono h right_le : ∀ x t : ℝ, 0 < t → h (x + t) - h x ≤ M * (h x - h (x - t)) left_le : ∀ x t : ℝ, 0 < t → h x - h (x - t) ≤ M * (h (x + t) - h x) lemma IsQuasisymmetric.pos_M {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) : 0 < M := lt_of_lt_of_le zero_lt_one hh.one_le lemma IsQuasisymmetric.monotone {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) : Monotone h := hh.strictMono.monotone lemma IsQuasisymmetric.right_le_nonneg {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x t : ℝ) (ht : 0 ≤ t) : h (x + t) - h x ≤ M * (h x - h (x - t)) := by rcases eq_or_lt_of_le ht with rfl | hpos · simp · exact hh.right_le x t hpos lemma IsQuasisymmetric.left_le_nonneg {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x t : ℝ) (ht : 0 ≤ t) : h x - h (x - t) ≤ M * (h (x + t) - h x) := by rcases eq_or_lt_of_le ht with rfl | hpos · simp · exact hh.left_le x t hpos /-- Affine renormalization of `h` at `(x, y)` (`y > 0`): maps `-1 ↦ -1`, `0 ↦ 0`, `1 ↦ ξ`. -/ def renorm (h : ℝ → ℝ) (x y : ℝ) (t : ℝ) : ℝ := (h (x + t * y) - h x) / (h x - h (x - y)) lemma renorm_zero (h : ℝ → ℝ) (x y : ℝ) : renorm h x y 0 = 0 := by simp [renorm] lemma renorm_neg_one {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : renorm h x y (-1) = -1 := by unfold renorm have hden : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) have hne : h x - h (x - y) ≠ 0 := ne_of_gt hden have h1 : x + (-1 : ℝ) * y = x - y := by ring rw [h1] field_simp [hne] ring /-- Renormalization preserves `M`-quasisymmetry. -/ theorem IsQuasisymmetric.renorm {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : IsQuasisymmetric M (BeurlingAhlforsLowerBounds.renorm h x y) := by have hden : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) refine ⟨hh.one_le, ?_, ?_, ?_, ?_⟩ · exact ((hh.continuous.comp (continuous_const.add (continuous_id.mul continuous_const))).sub continuous_const).div_const _ · intro s₁ s₂ hs unfold BeurlingAhlforsLowerBounds.renorm exact div_lt_div_of_pos_right (sub_lt_sub_right (hh.strictMono (by nlinarith)) _) hden · intro u t ht unfold BeurlingAhlforsLowerBounds.renorm have hty : 0 < t * y := mul_pos ht hy have h1 : x + (u + t) * y = (x + u * y) + t * y := by ring have h2 : x + (u - t) * y = (x + u * y) - t * y := by ring have hstep := hh.right_le (x + u * y) (t * y) hty rw [h1, h2] rw [div_sub_div_same, div_sub_div_same, mul_div_assoc'] exact div_le_div_of_nonneg_right (by linarith) (le_of_lt hden) · intro u t ht unfold BeurlingAhlforsLowerBounds.renorm have hty : 0 < t * y := mul_pos ht hy have h1 : x + (u + t) * y = (x + u * y) + t * y := by ring have h2 : x + (u - t) * y = (x + u * y) - t * y := by ring have hstep := hh.left_le (x + u * y) (t * y) hty rw [h1, h2] rw [div_sub_div_same, div_sub_div_same, mul_div_assoc'] exact div_le_div_of_nonneg_right (by linarith) (le_of_lt hden) /-! ## 2. The Beurling–Ahlfors Extension & Exact `C¹` Partial Derivatives -/ /-- Real part `u(x, y)` of the Beurling–Ahlfors extension on `ℍ`. -/ def baU (h : ℝ → ℝ) (x y : ℝ) : ℝ := (1 / (2 * y)) * ∫ s in (x - y)..(x + y), h s /-- Unscaled imaginary part `v(x, y)` of the Beurling–Ahlfors extension on `ℍ`. -/ def baV (h : ℝ → ℝ) (x y : ℝ) : ℝ := (1 / (2 * y)) * ((∫ s in x..(x + y), h s) - (∫ s in (x - y)..x, h s)) /-- The Beurling–Ahlfors extension `F_r[h](x, y) = (u(x, y), r · v(x, y))`. -/ def baExt (h : ℝ → ℝ) (r : ℝ) (x y : ℝ) : ℝ × ℝ := (baU h x y, r * baV h x y) /-- Helper: derivative of `t ↦ ∫ s in a(t)..b(t), h s` when `h` is continuous. -/ lemma hasDerivAt_integral_endpoints {h : ℝ → ℝ} (hh : Continuous h) {a b : ℝ → ℝ} {t a' b' : ℝ} (ha : HasDerivAt a a' t) (hb : HasDerivAt b b' t) : HasDerivAt (fun u => ∫ s in (a u)..(b u), h s) (h (b t) * b' - h (a t) * a') t := by have hF : ∀ c : ℝ, HasDerivAt (fun z => ∫ s in (0 : ℝ)..z, h s) (h c) c := fun c => intervalIntegral.integral_hasDerivAt_right (hh.intervalIntegrable (μ := volume) 0 c) (hh.stronglyMeasurableAtFilter volume (nhds c)) hh.continuousAt have hcomp_b : HasDerivAt (fun u => ∫ s in (0 : ℝ)..(b u), h s) (h (b t) * b') t := (hF (b t)).comp t hb have hcomp_a : HasDerivAt (fun u => ∫ s in (0 : ℝ)..(a u), h s) (h (a t) * a') t := (hF (a t)).comp t ha have hsub := hcomp_b.sub hcomp_a refine hsub.congr_of_eventuallyEq (Filter.Eventually.of_forall fun u => ?_) have hadj := intervalIntegral.integral_add_adjacent_intervals (hh.intervalIntegrable (μ := volume) 0 (a u)) (hh.intervalIntegrable (μ := volume) (a u) (b u)) dsimp only [Pi.sub_apply] linarith /-- Exact `x`-derivative of `u(x, y)`: `u_x(x, y) = (h(x + y) - h(x - y)) / (2y)`. -/ theorem hasDerivAt_baU_x {h : ℝ → ℝ} (hh : Continuous h) (x y : ℝ) (_hy : 0 < y) : HasDerivAt (fun z => baU h z y) ((h (x + y) - h (x - y)) / (2 * y)) x := by have h1 : HasDerivAt (fun z => z - y) 1 x := (hasDerivAt_id x).sub_const y have h2 : HasDerivAt (fun z => z + y) 1 x := (hasDerivAt_id x).add_const y have hmul := (hasDerivAt_integral_endpoints hh h1 h2).const_mul (1 / (2 * y)) have hfn : (fun z => baU h z y) = (fun z => (1 / (2 * y)) * ∫ s in (z - y)..(z + y), h s) := rfl rw [hfn] exact hmul.congr_deriv (by ring) /-- Exact `x`-derivative of `v(x, y)`: `v_x(x, y) = (h(x + y) + h(x - y) - 2 h(x)) / (2y)`. -/ theorem hasDerivAt_baV_x {h : ℝ → ℝ} (hh : Continuous h) (x y : ℝ) (_hy : 0 < y) : HasDerivAt (fun z => baV h z y) ((h (x + y) + h (x - y) - 2 * h x) / (2 * y)) x := by have h0 : HasDerivAt (fun z => z) 1 x := hasDerivAt_id x have h1 : HasDerivAt (fun z => z - y) 1 x := (hasDerivAt_id x).sub_const y have h2 : HasDerivAt (fun z => z + y) 1 x := (hasDerivAt_id x).add_const y have hint1 := hasDerivAt_integral_endpoints hh h0 h2 have hint2 := hasDerivAt_integral_endpoints hh h1 h0 have hmul := (hint1.sub hint2).const_mul (1 / (2 * y)) have hfn : (fun z => baV h z y) = (fun z => (1 / (2 * y)) * ((fun u => ∫ s in u..(u + y), h s) - (fun u => ∫ s in (u - y)..u, h s)) z) := by ext z; rfl rw [hfn] exact hmul.congr_deriv (by ring) /-- Exact `y`-derivative of `u(x, y)`: `u_y(x, y) = (h(x + y) + h(x - y)) / (2y) - (1 / (2 y²)) ∫_{x-y}^{x+y} h(s) ds`. -/ theorem hasDerivAt_baU_y {h : ℝ → ℝ} (hh : Continuous h) (x y : ℝ) (hy : 0 < y) : HasDerivAt (fun z => baU h x z) ((h (x + y) + h (x - y)) / (2 * y) - (1 / (2 * y ^ 2)) * ∫ s in (x - y)..(x + y), h s) y := by have h1 : HasDerivAt (fun z => x - z) (-1) y := (hasDerivAt_id y).const_sub x have h2 : HasDerivAt (fun z => x + z) 1 y := (hasDerivAt_id y).const_add x have hint := hasDerivAt_integral_endpoints hh h1 h2 have hy2 : (2 * y) ≠ 0 := by positivity have hinv : HasDerivAt (fun z => 1 / (2 * z)) (-(2 : ℝ) / (2 * y) ^ 2) y := by have h2z : HasDerivAt (fun z => 2 * z) 2 y := by simpa using (hasDerivAt_id y).const_mul 2 exact (h2z.inv hy2).congr_of_eventuallyEq (Filter.Eventually.of_forall fun z => by simp [one_div]) have hprod := hinv.mul hint have hfn : (fun z => baU h x z) = ((fun z => 1 / (2 * z)) * (fun z => ∫ s in (x - z)..(x + z), h s)) := by ext z; rfl rw [hfn] exact hprod.congr_deriv (by field_simp [hy2]; ring) /-- Exact `y`-derivative of `v(x, y)`: `v_y(x, y) = (h(x + y) - h(x - y)) / (2y) - (1 / (2 y²)) (∫_x^{x+y} h - ∫_{x-y}^x h)`. -/ theorem hasDerivAt_baV_y {h : ℝ → ℝ} (hh : Continuous h) (x y : ℝ) (hy : 0 < y) : HasDerivAt (fun z => baV h x z) ((h (x + y) - h (x - y)) / (2 * y) - (1 / (2 * y ^ 2)) * ((∫ s in x..(x + y), h s) - (∫ s in (x - y)..x, h s))) y := by have h0 : HasDerivAt (fun _ : ℝ => x) 0 y := hasDerivAt_const y x have h1 : HasDerivAt (fun z => x - z) (-1) y := (hasDerivAt_id y).const_sub x have h2 : HasDerivAt (fun z => x + z) 1 y := (hasDerivAt_id y).const_add x have hint1 := hasDerivAt_integral_endpoints hh h0 h2 have hint2 := hasDerivAt_integral_endpoints hh h1 h0 have hint := hint1.sub hint2 have hy2 : (2 * y) ≠ 0 := by positivity have hinv : HasDerivAt (fun z => 1 / (2 * z)) (-(2 : ℝ) / (2 * y) ^ 2) y := by have h2z : HasDerivAt (fun z => 2 * z) 2 y := by simpa using (hasDerivAt_id y).const_mul 2 exact (h2z.inv hy2).congr_of_eventuallyEq (Filter.Eventually.of_forall fun z => by simp [one_div]) have hprod := hinv.mul hint have hfn : (fun z => baV h x z) = ((fun z => 1 / (2 * z)) * ((fun z => ∫ s in x..(x + z), h s) - (fun z => ∫ s in (x - z)..x, h s))) := by ext z; rfl rw [hfn] exact hprod.congr_deriv (by dsimp only [Pi.sub_apply]; field_simp [hy2]; ring) /-! ## 3. Local Normalized Invariants `(ξ, a, b)` & Exact Dilatation Geometry -/ /-- Exact local symmetry ratio `ξ(x, y) = (h(x + y) - h(x)) / (h(x) - h(x - y))`. -/ def baXi (h : ℝ → ℝ) (x y : ℝ) : ℝ := (h (x + y) - h x) / (h x - h (x - y)) /-- Exact right integral-deficit parameter `a(x, y) = 1 - (1/y) ∫_x^{x+y} (h(s) - h(x)) ds / (h(x+y) - h(x))`. -/ def baA (h : ℝ → ℝ) (x y : ℝ) : ℝ := 1 - ((1 / y) * ∫ s in x..(x + y), (h s - h x)) / (h (x + y) - h x) /-- Exact left integral-deficit parameter `b(x, y) = 1 - (1/y) ∫_{x-y}^x (h(x) - h(s)) ds / (h(x) - h(x-y))`. -/ def baB (h : ℝ → ℝ) (x y : ℝ) : ℝ := 1 - ((1 / y) * ∫ s in (x - y)..x, (h x - h s)) / (h x - h (x - y)) /-- The exact 4 entries `(u_x, u_y, r v_x, r v_y)` of the Jacobian `DF_r[h](x, y)`. -/ def baUx (h : ℝ → ℝ) (x y : ℝ) : ℝ := (h (x + y) - h (x - y)) / (2 * y) def baUy (h : ℝ → ℝ) (x y : ℝ) : ℝ := (h (x + y) + h (x - y)) / (2 * y) - (1 / (2 * y ^ 2)) * ∫ s in (x - y)..(x + y), h s def baVx (h : ℝ → ℝ) (x y : ℝ) : ℝ := (h (x + y) + h (x - y) - 2 * h x) / (2 * y) def baVy (h : ℝ → ℝ) (x y : ℝ) : ℝ := (h (x + y) - h (x - y)) / (2 * y) - (1 / (2 * y ^ 2)) * ((∫ s in x..(x + y), h s) - (∫ s in (x - y)..x, h s)) /-- Jacobian determinant `det DF_r(x, y) = r (u_x v_y - u_y v_x)`. -/ def baJacDet (h : ℝ → ℝ) (r x y : ℝ) : ℝ := r * (baUx h x y * baVy h x y - baUy h x y * baVx h x y) /-- Squared Frobenius norm `‖DF_r(x, y)‖_F² = u_x² + u_y² + r² (v_x² + v_y²)`. -/ def baJacFrobSq (h : ℝ → ℝ) (r x y : ℝ) : ℝ := baUx h x y ^ 2 + baUy h x y ^ 2 + r ^ 2 * (baVx h x y ^ 2 + baVy h x y ^ 2) /-- Exact maximal dilatation `K(J) = (‖J‖_F² + √(‖J‖_F⁴ - 4 (det J)²)) / (2 det J)` of an orientation-preserving `2 × 2` Jacobian `J` (equivalently `(|f_z| + |f_z̄|) / (|f_z| - |f_z̄|)`). -/ def matDilatation (frobSq det : ℝ) : ℝ := (frobSq + Real.sqrt (frobSq ^ 2 - 4 * det ^ 2)) / (2 * det) /-- Pointwise maximal dilatation `K(DF_r[h](x, y))` of the Beurling–Ahlfors extension. -/ def baDilatation (h : ℝ → ℝ) (r x y : ℝ) : ℝ := matDilatation (baJacFrobSq h r x y) (baJacDet h r x y) /-- Normalized Beurling–Ahlfors dilatation quotient `Q(ξ, a, b, r) = K + 1/K`. -/ def baQ (ξ a b r : ℝ) : ℝ := ((ξ + 1) ^ 2 + (ξ * a - b) ^ 2 + r ^ 2 * ((ξ - 1) ^ 2 + (ξ * a + b) ^ 2)) / (2 * r * ξ * (a + b)) /-- Helper: `baQ` expressed in terms of `A = (ξ+1)² + (ξa-b)²` and `B = (ξ-1)² + (ξa+b)²`. -/ lemma baQ_eq_div (ξ a b r : ℝ) : baQ ξ a b r = ((ξ + 1) ^ 2 + (ξ * a - b) ^ 2 + r ^ 2 * ((ξ - 1) ^ 2 + (ξ * a + b) ^ 2)) / (2 * r * ξ * (a + b)) := rfl /-- Exact symmetry `Q(1/ξ, b, a, r) = Q(ξ, a, b, r)` for `ξ ≠ 0`. -/ theorem baQ_inv_symm {ξ a b r : ℝ} (hξ : ξ ≠ 0) : baQ (1 / ξ) b a r = baQ ξ a b r := by unfold baQ field_simp [hξ] ring /-- Exact formula for `baA` in terms of the renormalized function `g(t) = renorm h x y t`. -/ lemma baA_eq_renorm {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : baA h x y = 1 - (∫ t in (0 : ℝ)..1, renorm h x y t) / baXi h x y := by unfold baA baXi renorm have hAm : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) have hAp : 0 < h (x + y) - h x := sub_pos.mpr (hh.strictMono (by linarith)) have hsub : ∫ t in (0 : ℝ)..1, (h (x + t * y) - h x) = y⁻¹ * ∫ s in x..(x + y), (h s - h x) := by have hcomp := intervalIntegral.integral_comp_mul_right (fun u => h (x + u) - h x) (ne_of_gt hy) (a := (0 : ℝ)) (b := 1) have hcomp2 := intervalIntegral.integral_comp_add_left (fun s => h s - h x) x (a := (0 : ℝ)) (b := y) simp only [zero_mul, one_mul, add_zero, smul_eq_mul] at hcomp hcomp2 rw [hcomp, hcomp2] rw [intervalIntegral.integral_div, hsub] have hAm_ne : h x - h (x - y) ≠ 0 := ne_of_gt hAm have hAp_ne : h (x + y) - h x ≠ 0 := ne_of_gt hAp have hy_ne : y ≠ 0 := ne_of_gt hy field_simp [hAm_ne, hAp_ne, hy_ne] /-- Exact formula for `baB` in terms of the renormalized function `g(t) = renorm h x y t`. -/ lemma baB_eq_renorm {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : baB h x y = 1 - ∫ t in (-1 : ℝ)..0, (-renorm h x y t) := by unfold baB renorm have hAm : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) have hsub : ∫ t in (-1 : ℝ)..0, (h x - h (x + t * y)) = y⁻¹ * ∫ s in (x - y)..x, (h x - h s) := by have hcomp := intervalIntegral.integral_comp_mul_right (fun u => h x - h (x + u)) (ne_of_gt hy) (a := (-1 : ℝ)) (b := 0) have hcomp2 := intervalIntegral.integral_comp_add_left (fun s => h x - h s) x (a := (-y)) (b := 0) simp only [zero_mul, neg_mul, one_mul, add_zero, smul_eq_mul] at hcomp hcomp2 have hxy : x + -y = x - y := by ring rw [hxy] at hcomp2 rw [hcomp, hcomp2] have hneg : ∫ t in (-1 : ℝ)..0, -((h (x + t * y) - h x) / (h x - h (x - y))) = (∫ t in (-1 : ℝ)..0, (h x - h (x + t * y))) / (h x - h (x - y)) := by rw [← intervalIntegral.integral_div] congr 1; ext t; ring rw [hneg, hsub] have hAm_ne : h x - h (x - y) ≠ 0 := ne_of_gt hAm have hy_ne : y ≠ 0 := ne_of_gt hy field_simp [hAm_ne, hy_ne] /-- Exact expression of the 4 partial derivatives `(baUx, baUy, baVx, baVy)` in terms of `A₋ = h(x) - h(x - y)`, `ξ = baXi`, `a = baA`, `b = baB`. -/ lemma baPartials_eq {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : let Am := h x - h (x - y) let ξ := baXi h x y let a := baA h x y let b := baB h x y baUx h x y = (Am / (2 * y)) * (ξ + 1) ∧ baVx h x y = (Am / (2 * y)) * (ξ - 1) ∧ baUy h x y = (Am / (2 * y)) * (ξ * a - b) ∧ baVy h x y = (Am / (2 * y)) * (ξ * a + b) := by intro Am ξ a b have hAm : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) have hAp : 0 < h (x + y) - h x := sub_pos.mpr (hh.strictMono (by linarith)) have hAm_ne : h x - h (x - y) ≠ 0 := ne_of_gt hAm have hAp_ne : h (x + y) - h x ≠ 0 := ne_of_gt hAp have hy_ne : y ≠ 0 := ne_of_gt hy have hξ_mul : Am * ξ = h (x + y) - h x := by dsimp only [Am, ξ, baXi]; field_simp [hAm_ne] have hIntR : ∫ s in x..(x + y), (h s - h x) = (∫ s in x..(x + y), h s) - y * h x := by rw [intervalIntegral.integral_sub (hh.continuous.intervalIntegrable _ _) (continuous_const.intervalIntegrable _ _)] simp only [intervalIntegral.integral_const, smul_eq_mul] ring have hIntL : ∫ s in (x - y)..x, (h x - h s) = y * h x - ∫ s in (x - y)..x, h s := by rw [intervalIntegral.integral_sub (continuous_const.intervalIntegrable _ _) (hh.continuous.intervalIntegrable _ _)] simp only [intervalIntegral.integral_const, smul_eq_mul] ring have hIntTot : ∫ s in (x - y)..(x + y), h s = (∫ s in (x - y)..x, h s) + (∫ s in x..(x + y), h s) := (intervalIntegral.integral_add_adjacent_intervals (hh.continuous.intervalIntegrable _ _) (hh.continuous.intervalIntegrable _ _)).symm have hξa : Am * (ξ * a) = (h (x + y) - h x) - (1 / y) * ((∫ s in x..(x + y), h s) - y * h x) := by have : Am * (ξ * a) = (Am * ξ) * a := by ring rw [this, hξ_mul] dsimp only [a, baA] rw [hIntR] field_simp [hAp_ne, hy_ne] have hb_mul : Am * b = (h x - h (x - y)) - (1 / y) * (y * h x - ∫ s in (x - y)..x, h s) := by dsimp only [Am, b, baB] rw [hIntL] field_simp [hAm_ne, hy_ne] refine ⟨?_, ?_, ?_, ?_⟩ · unfold baUx have : Am * (ξ + 1) = h (x + y) - h (x - y) := by have : Am * (ξ + 1) = Am * ξ + Am := by ring rw [this, hξ_mul]; dsimp only [Am]; ring rw [div_mul_eq_mul_div, this] · unfold baVx have : Am * (ξ - 1) = h (x + y) + h (x - y) - 2 * h x := by have : Am * (ξ - 1) = Am * ξ - Am := by ring rw [this, hξ_mul]; dsimp only [Am]; ring rw [div_mul_eq_mul_div, this] · unfold baUy rw [hIntTot] have hdiff : Am * (ξ * a - b) = Am * (ξ * a) - Am * b := by ring symm rw [div_mul_eq_mul_div, hdiff, hξa, hb_mul] field_simp [hy_ne] ring · unfold baVy have hsum : Am * (ξ * a + b) = Am * (ξ * a) + Am * b := by ring symm rw [div_mul_eq_mul_div, hsum, hξa, hb_mul] field_simp [hy_ne] ring /-- Exact Jacobian determinant identity in terms of `(ξ, a, b)`. -/ theorem baJacDet_eq {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (r x y : ℝ) (hy : 0 < y) : baJacDet h r x y = ((h x - h (x - y)) / (2 * y)) ^ 2 * (2 * r * baXi h x y * (baA h x y + baB h x y)) := by rcases baPartials_eq hh x y hy with ⟨hux, hvx, huy, hvy⟩ unfold baJacDet rw [hux, hvx, huy, hvy] ring /-- Exact Frobenius norm squared identity in terms of `(ξ, a, b)`. -/ theorem baJacFrobSq_eq {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (r x y : ℝ) (hy : 0 < y) : baJacFrobSq h r x y = ((h x - h (x - y)) / (2 * y)) ^ 2 * ((baXi h x y + 1) ^ 2 + (baXi h x y * baA h x y - baB h x y) ^ 2 + r ^ 2 * ((baXi h x y - 1) ^ 2 + (baXi h x y * baA h x y + baB h x y) ^ 2)) := by rcases baPartials_eq hh x y hy with ⟨hux, hvx, huy, hvy⟩ unfold baJacFrobSq rw [hux, hvx, huy, hvy] ring /-- Exact algebraic inequality `2 det ≤ ‖J‖_F²` for any real `2 × 2` matrix. -/ lemma two_mul_det_le_frobSq (ux uy vx vy r : ℝ) : 2 * (r * (ux * vy - uy * vx)) ≤ ux ^ 2 + uy ^ 2 + r ^ 2 * (vx ^ 2 + vy ^ 2) := by have h : 0 ≤ (ux - r * vy) ^ 2 + (uy + r * vx) ^ 2 := by positivity nlinarith /-- For any positive `det` and `frobSq ≥ 2 det`, `K = matDilatation frobSq det` satisfies `1 ≤ K` and `K + K⁻¹ = frobSq / det`. -/ lemma matDilatation_ge_one {frobSq det : ℝ} (hdet : 0 < det) (hge : 2 * det ≤ frobSq) : 1 ≤ matDilatation frobSq det := by unfold matDilatation have hsq : 0 ≤ Real.sqrt (frobSq ^ 2 - 4 * det ^ 2) := Real.sqrt_nonneg _ rw [one_le_div (by positivity)] linarith lemma matDilatation_add_inv {frobSq det : ℝ} (hdet : 0 < det) (hge : 2 * det ≤ frobSq) : matDilatation frobSq det + (matDilatation frobSq det)⁻¹ = frobSq / det := by have hK1 : 1 ≤ matDilatation frobSq det := matDilatation_ge_one hdet hge have hKpos : 0 < matDilatation frobSq det := by linarith have hdisc : 0 ≤ frobSq ^ 2 - 4 * det ^ 2 := by nlinarith set s := Real.sqrt (frobSq ^ 2 - 4 * det ^ 2) have hs2 : s ^ 2 = frobSq ^ 2 - 4 * det ^ 2 := Real.sq_sqrt hdisc have hmul : (frobSq + s) * (frobSq - s) = 4 * det ^ 2 := by nlinarith have hK : matDilatation frobSq det = (frobSq + s) / (2 * det) := rfl have hfp : frobSq + s ≠ 0 := by have : 0 < frobSq + s := by linarith [Real.sqrt_nonneg (frobSq ^ 2 - 4 * det ^ 2)] exact ne_of_gt this have hdet_ne : det ≠ 0 := ne_of_gt hdet rw [hK] field_simp [hfp, hdet_ne] nlinarith /-- Monotonicity bridge: if `K ≥ 1` and `K + K⁻¹ ≤ Q` (with `2 ≤ Q`), then `K ≤ (Q + √(Q² - 4)) / 2`. -/ lemma le_of_add_inv_le {K Q : ℝ} (hK : 1 ≤ K) (hQ : K + K⁻¹ ≤ Q) : K ≤ (Q + Real.sqrt (Q ^ 2 - 4)) / 2 := by have hKpos : 0 < K := by linarith have hQ2 : 2 ≤ Q := by have : 0 ≤ (K - 1) ^ 2 / K := by positivity have h2 : 2 ≤ K + K⁻¹ := by have : K + K⁻¹ - 2 = (K - 1) ^ 2 / K := by field_simp [ne_of_gt hKpos]; ring linarith linarith have hdisc : 0 ≤ Q ^ 2 - 4 := by nlinarith have hquad : (2 * K - Q) ^ 2 ≤ Q ^ 2 - 4 := by have h1 : K ^ 2 + 1 ≤ Q * K := by have := mul_le_mul_of_nonneg_right hQ (le_of_lt hKpos) rw [add_mul, inv_mul_cancel₀ (ne_of_gt hKpos)] at this nlinarith nlinarith have hsqrt : 2 * K - Q ≤ Real.sqrt (Q ^ 2 - 4) := by by_cases hsign : 2 * K - Q ≤ 0 · linarith [Real.sqrt_nonneg (Q ^ 2 - 4)] · push Not at hsign have := Real.sqrt_le_sqrt hquad rwa [Real.sqrt_sq (le_of_lt hsign)] at this linarith /-! ## 4. Integral Inequalities for `M`-Quasisymmetric Functions -/ /-- Exact symmetry ratio bounds `1 / M ≤ ξ ≤ M`. -/ theorem qs_xi_bounds {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : 1 / M ≤ baXi h x y ∧ baXi h x y ≤ M := by unfold baXi have hAm : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) have hM : 0 < M := hh.pos_M have hr := hh.right_le x y hy have hl := hh.left_le x y hy constructor · rw [div_le_div_iff₀ hM hAm]; linarith · rw [div_le_iff₀ hAm]; exact hr /-- **Core Unit-Interval Integral Bound (Beurling–Ahlfors 1956)**: For any `M`-quasisymmetric function `g : ℝ → ℝ` with `g 0 = 0` and `g 1 = c > 0`, `c / (M + 1) ≤ ∫ t in 0..1, g t ≤ M * c / (M + 1)`. -/ theorem qs_unit_integral_bounds {M : ℝ} {g : ℝ → ℝ} (hg : IsQuasisymmetric M g) (hg0 : g 0 = 0) : g 1 / (M + 1) ≤ (∫ t in (0 : ℝ)..1, g t) ∧ (∫ t in (0 : ℝ)..1, g t) ≤ M * g 1 / (M + 1) := by have hM : 0 < M := hg.pos_M have hM1 : 0 < M + 1 := by linarith set I := ∫ t in (0 : ℝ)..1, g t set I₁ := ∫ t in (0 : ℝ)..(1 / 2 : ℝ), g t set I₂ := ∫ t in (1 / 2 : ℝ)..1, g t have hI_split : I = I₁ + I₂ := (intervalIntegral.integral_add_adjacent_intervals (hg.continuous.intervalIntegrable _ _) (hg.continuous.intervalIntegrable _ _)).symm -- Change of variables: ∫_0^{1/2} g(2t) dt = I / 2 have hscale : ∫ t in (0 : ℝ)..(1 / 2 : ℝ), g (2 * t) = I / 2 := by have hc := intervalIntegral.integral_comp_mul_left g (by norm_num : (2 : ℝ) ≠ 0) (a := (0 : ℝ)) (b := (1 / 2 : ℝ)) simp only [mul_zero, smul_eq_mul] at hc have h2 : (2 : ℝ) * (1 / 2 : ℝ) = 1 := by norm_num rw [h2] at hc linarith -- Change of variables: ∫_0^{1/2} g(1 - t) dt = I₂ have hrefl1 : ∫ t in (0 : ℝ)..(1 / 2 : ℝ), g (1 - t) = I₂ := by rw [intervalIntegral.integral_comp_sub_left g (1 : ℝ)] have h1 : (1 : ℝ) - 1 / 2 = 1 / 2 := by norm_num have h2 : (1 : ℝ) - 0 = 1 := by norm_num rw [h1, h2] -- Change of variables: ∫_0^{1/2} g(1 - 2t) dt = I / 2 have hrefl2 : ∫ t in (0 : ℝ)..(1 / 2 : ℝ), g (1 - 2 * t) = I / 2 := by have hc1 := intervalIntegral.integral_comp_mul_left (fun u => g (1 - u)) (by norm_num : (2 : ℝ) ≠ 0) (a := (0 : ℝ)) (b := (1 / 2 : ℝ)) simp only [mul_zero, smul_eq_mul] at hc1 have h2 : (2 : ℝ) * (1 / 2 : ℝ) = 1 := by norm_num rw [h2, intervalIntegral.integral_comp_sub_left g (1 : ℝ)] at hc1 have h3 : (1 : ℝ) - 1 = 0 := by norm_num have h4 : (1 : ℝ) - 0 = 1 := by norm_num rw [h3, h4] at hc1 linarith -- Integrability helpers have hint_g : IntervalIntegrable g volume 0 (1 / 2 : ℝ) := hg.continuous.intervalIntegrable _ _ have hint_g2 : IntervalIntegrable (fun t => g (2 * t)) volume 0 (1 / 2 : ℝ) := (hg.continuous.comp (continuous_const.mul continuous_id)).intervalIntegrable _ _ have hint_r1 : IntervalIntegrable (fun t => g (1 - t)) volume 0 (1 / 2 : ℝ) := (hg.continuous.comp (continuous_const.sub continuous_id)).intervalIntegrable _ _ have hint_r2 : IntervalIntegrable (fun t => g (1 - 2 * t)) volume 0 (1 / 2 : ℝ) := (hg.continuous.comp (continuous_const.sub (continuous_const.mul continuous_id))).intervalIntegrable _ _ -- (A) From triple (0, t, 2t) for t ∈ [0, 1/2]: -- g(2t) - g(t) ≤ M * g(t) and g(t) ≤ M * (g(2t) - g(t)) have hA1 : I / 2 - I₁ ≤ M * I₁ := by have hpt : ∀ t ∈ uIcc (0 : ℝ) (1 / 2 : ℝ), g (2 * t) - g t ≤ M * g t := by intro t ht rw [uIcc_of_le (by norm_num : (0 : ℝ) ≤ 1 / 2)] at ht have h := hg.right_le_nonneg t t ht.1 have h1 : t + t = 2 * t := by ring have h2 : t - t = 0 := by ring rw [h1, h2, hg0, sub_zero] at h exact h have hint := intervalIntegral.integral_mono_on (by norm_num : (0 : ℝ) ≤ 1 / 2) (hint_g2.sub hint_g) (hint_g.const_mul M) (fun t ht => hpt t (by rwa [uIcc_of_le (by norm_num)])) rw [intervalIntegral.integral_sub hint_g2 hint_g, intervalIntegral.integral_const_mul, hscale] at hint exact hint have hA2 : I₁ ≤ M * (I / 2 - I₁) := by have hpt : ∀ t ∈ uIcc (0 : ℝ) (1 / 2 : ℝ), g t ≤ M * (g (2 * t) - g t) := by intro t ht rw [uIcc_of_le (by norm_num : (0 : ℝ) ≤ 1 / 2)] at ht have h := hg.left_le_nonneg t t ht.1 have h1 : t + t = 2 * t := by ring have h2 : t - t = 0 := by ring rw [h1, h2, hg0, sub_zero] at h exact h have hint := intervalIntegral.integral_mono_on (by norm_num : (0 : ℝ) ≤ 1 / 2) hint_g ((hint_g2.sub hint_g).const_mul M) (fun t ht => hpt t (by rwa [uIcc_of_le (by norm_num)])) rw [intervalIntegral.integral_const_mul, intervalIntegral.integral_sub hint_g2 hint_g, hscale] at hint exact hint -- (B) From triple (1 - 2t, 1 - t, 1) for t ∈ [0, 1/2]: -- g(1) - g(1 - t) ≤ M * (g(1 - t) - g(1 - 2t)) and reverse have hB1 : g 1 / 2 - I₂ ≤ M * (I₂ - I / 2) := by have hpt : ∀ t ∈ Icc (0 : ℝ) (1 / 2 : ℝ), g 1 - g (1 - t) ≤ M * (g (1 - t) - g (1 - 2 * t)) := by intro t ht have h := hg.right_le_nonneg (1 - t) t ht.1 have h1 : (1 - t) + t = 1 := by ring have h2 : (1 - t) - t = 1 - 2 * t := by ring rw [h1, h2] at h exact h have hint := intervalIntegral.integral_mono_on (by norm_num : (0 : ℝ) ≤ 1 / 2) ((continuous_const.intervalIntegrable _ _).sub hint_r1) ((hint_r1.sub hint_r2).const_mul M) hpt rw [intervalIntegral.integral_sub (continuous_const.intervalIntegrable _ _) hint_r1, intervalIntegral.integral_const_mul, intervalIntegral.integral_sub hint_r1 hint_r2, intervalIntegral.integral_const, hrefl1, hrefl2] at hint simp only [sub_zero, smul_eq_mul] at hint linarith have hB2 : I₂ - I / 2 ≤ M * (g 1 / 2 - I₂) := by have hpt : ∀ t ∈ Icc (0 : ℝ) (1 / 2 : ℝ), g (1 - t) - g (1 - 2 * t) ≤ M * (g 1 - g (1 - t)) := by intro t ht have h := hg.left_le_nonneg (1 - t) t ht.1 have h1 : (1 - t) + t = 1 := by ring have h2 : (1 - t) - t = 1 - 2 * t := by ring rw [h1, h2] at h exact h have hint := intervalIntegral.integral_mono_on (by norm_num : (0 : ℝ) ≤ 1 / 2) (hint_r1.sub hint_r2) (((continuous_const.intervalIntegrable _ _).sub hint_r1).const_mul M) hpt rw [intervalIntegral.integral_sub hint_r1 hint_r2, intervalIntegral.integral_const_mul, intervalIntegral.integral_sub (continuous_const.intervalIntegrable _ _) hint_r1, intervalIntegral.integral_const, hrefl1, hrefl2] at hint simp only [sub_zero, smul_eq_mul] at hint linarith -- Combine hA1, hB2 for lower bound and hA2, hB1 for upper bound: constructor · rw [div_le_iff₀ hM1] nlinarith · rw [le_div_iff₀ hM1] nlinarith /-- Classical box bounds `1 / (M + 1) ≤ a ≤ M / (M + 1)` for `baA`. -/ theorem qs_a_bounds {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : 1 / (M + 1) ≤ baA h x y ∧ baA h x y ≤ M / (M + 1) := by have hg := hh.renorm x y hy have hg0 : renorm h x y 0 = 0 := renorm_zero h x y have hξ_eq : renorm h x y 1 = baXi h x y := by simp [renorm, baXi] have hξ_pos : 0 < baXi h x y := by unfold baXi exact div_pos (sub_pos.mpr (hh.strictMono (by linarith))) (sub_pos.mpr (hh.strictMono (by linarith))) have hM1 : 0 < M + 1 := by linarith [hh.one_le] rcases qs_unit_integral_bounds hg hg0 with ⟨hlo, hhi⟩ rw [hξ_eq] at hlo hhi rw [baA_eq_renorm hh x y hy] constructor · have h1 : (∫ t in (0 : ℝ)..1, renorm h x y t) / baXi h x y ≤ M / (M + 1) := by rw [div_le_iff₀ hξ_pos] calc ∫ t in (0 : ℝ)..1, renorm h x y t ≤ M * baXi h x y / (M + 1) := hhi _ = M / (M + 1) * baXi h x y := by ring have : 1 - M / (M + 1) = 1 / (M + 1) := by field_simp [ne_of_gt hM1]; ring linarith · have h1 : 1 / (M + 1) ≤ (∫ t in (0 : ℝ)..1, renorm h x y t) / baXi h x y := by rw [le_div_iff₀ hξ_pos] calc 1 / (M + 1) * baXi h x y = baXi h x y / (M + 1) := by ring _ ≤ ∫ t in (0 : ℝ)..1, renorm h x y t := hlo have : 1 - 1 / (M + 1) = M / (M + 1) := by field_simp [ne_of_gt hM1]; ring linarith /-- Mirror of `h`: `t ↦ -g(-t)` is also `M`-quasisymmetric. -/ lemma IsQuasisymmetric.neg_comp_neg {M : ℝ} {g : ℝ → ℝ} (hg : IsQuasisymmetric M g) : IsQuasisymmetric M (fun t => -g (-t)) := by refine ⟨hg.one_le, ?_, ?_, ?_, ?_⟩ · exact (hg.continuous.comp continuous_neg).neg · intro s₁ s₂ hs exact neg_lt_neg (hg.strictMono (neg_lt_neg hs)) · intro u t ht have h := hg.left_le (-u) t ht have h1 : -(u + t) = -u - t := by ring have h2 : -(u - t) = -u + t := by ring rw [h1, h2] linarith · intro u t ht have h := hg.right_le (-u) t ht have h1 : -(u + t) = -u - t := by ring have h2 : -(u - t) = -u + t := by ring rw [h1, h2] linarith /-- Classical box bounds `1 / (M + 1) ≤ b ≤ M / (M + 1)` for `baB`. -/ theorem qs_b_bounds {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) (x y : ℝ) (hy : 0 < y) : 1 / (M + 1) ≤ baB h x y ∧ baB h x y ≤ M / (M + 1) := by have hg := (hh.renorm x y hy).neg_comp_neg have hg0 : -renorm h x y (-0) = 0 := by simp [renorm_zero] have hg1 : -renorm h x y (-1) = 1 := by rw [renorm_neg_one hh x y hy]; ring have hM1 : 0 < M + 1 := by linarith [hh.one_le] rcases qs_unit_integral_bounds hg hg0 with ⟨hlo, hhi⟩ rw [hg1] at hlo hhi have hrefl : ∫ t in (0 : ℝ)..1, (-renorm h x y (-t)) = ∫ t in (-1 : ℝ)..0, (-renorm h x y t) := by rw [intervalIntegral.integral_comp_neg (fun u => -renorm h x y u)] simp rw [hrefl] at hlo hhi rw [baB_eq_renorm hh x y hy] constructor · have : 1 - M * 1 / (M + 1) = 1 / (M + 1) := by field_simp [ne_of_gt hM1]; ring linarith · have : 1 - 1 / (M + 1) = M / (M + 1) := by field_simp [ne_of_gt hM1]; ring linarith /-- **Strict Jacobian Positivity**: for every `M`-quasisymmetric `h` and `r > 0`, `det DF_r[h](x, y) > 0` everywhere on `ℍ`. -/ theorem baJacDet_pos {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) {r x y : ℝ} (hr : 0 < r) (hy : 0 < y) : 0 < baJacDet h r x y := by rw [baJacDet_eq hh r x y hy] have hAm : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) have hM := hh.pos_M have hM1 : 0 < M + 1 := by linarith [hh.one_le] have hξ : 0 < baXi h x y := lt_of_lt_of_le (by positivity) (qs_xi_bounds hh x y hy).1 have ha : 0 < baA h x y := lt_of_lt_of_le (by positivity) (qs_a_bounds hh x y hy).1 have hb : 0 < baB h x y := lt_of_lt_of_le (by positivity) (qs_b_bounds hh x y hy).1 positivity /-- **Exact Pointwise Dilatation Identity**: `K(DF_r[h](x, y)) + K(DF_r[h](x, y))⁻¹ = baQ (baXi h x y) (baA h x y) (baB h x y) r`. -/ theorem baDilatation_add_inv_eq {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) {r x y : ℝ} (hr : 0 < r) (hy : 0 < y) : baDilatation h r x y + (baDilatation h r x y)⁻¹ = baQ (baXi h x y) (baA h x y) (baB h x y) r := by have hdet : 0 < baJacDet h r x y := baJacDet_pos hh hr hy have hge : 2 * baJacDet h r x y ≤ baJacFrobSq h r x y := two_mul_det_le_frobSq (baUx h x y) (baUy h x y) (baVx h x y) (baVy h x y) r unfold baDilatation rw [matDilatation_add_inv hdet hge, baJacFrobSq_eq hh r x y hy, baJacDet_eq hh r x y hy] have hAm : 0 < h x - h (x - y) := sub_pos.mpr (hh.strictMono (by linarith)) have hscale : ((h x - h (x - y)) / (2 * y)) ^ 2 ≠ 0 := by positivity unfold baQ exact mul_div_mul_left _ _ hscale theorem baDilatation_ge_one {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) {r x y : ℝ} (hr : 0 < r) (hy : 0 < y) : 1 ≤ baDilatation h r x y := matDilatation_ge_one (baJacDet_pos hh hr hy) (two_mul_det_le_frobSq (baUx h x y) (baUy h x y) (baVx h x y) (baVy h x y) r) /-! ## 5. Generic Minimax AM–GM Lower-Bound Bridge -/ /-- Exact AM–GM lower bound on `baQ ξ a b r` valid for EVERY `r > 0`: `baQ ξ a b r ≥ √(A · B) / (ξ · (a + b))`. -/ theorem baQ_ge_amgm {ξ a b r : ℝ} (hξ : 0 < ξ) (hab : 0 < a + b) (hr : 0 < r) : Real.sqrt (((ξ + 1) ^ 2 + (ξ * a - b) ^ 2) * ((ξ - 1) ^ 2 + (ξ * a + b) ^ 2)) / (ξ * (a + b)) ≤ baQ ξ a b r := by set A := (ξ + 1) ^ 2 + (ξ * a - b) ^ 2 set B := (ξ - 1) ^ 2 + (ξ * a + b) ^ 2 have hA : 0 ≤ A := by dsimp only [A]; positivity have hB : 0 ≤ B := by dsimp only [B]; positivity have hC : 0 < ξ * (a + b) := mul_pos hξ hab have hden : 0 < 2 * r * ξ * (a + b) := by positivity unfold baQ change Real.sqrt (A * B) / (ξ * (a + b)) ≤ (A + r ^ 2 * B) / (2 * r * ξ * (a + b)) rw [div_le_div_iff₀ hC hden] have hsq : A + r ^ 2 * B - 2 * r * Real.sqrt (A * B) = (Real.sqrt A - r * Real.sqrt B) ^ 2 := by rw [sub_sq, Real.sq_sqrt hA, mul_pow, Real.sq_sqrt hB, Real.sqrt_mul hA] ring have hge : 2 * r * Real.sqrt (A * B) ≤ A + r ^ 2 * B := by have : 0 ≤ (Real.sqrt A - r * Real.sqrt B) ^ 2 := sq_nonneg _ linarith have hmul := mul_le_mul_of_nonneg_right hge (le_of_lt hC) linarith /-- Lower-bound monotonicity bridge: if `K ≥ 1`, `q ≥ 2`, and `q ≤ K + K⁻¹`, then `(q + √(q² - 4)) / 2 ≤ K`. -/ lemma ge_of_add_inv_ge {K q : ℝ} (hK : 1 ≤ K) (hq : 2 ≤ q) (hQ : q ≤ K + K⁻¹) : (q + Real.sqrt (q ^ 2 - 4)) / 2 ≤ K := by set K0 := (q + Real.sqrt (q ^ 2 - 4)) / 2 have hdisc : 0 ≤ q ^ 2 - 4 := by nlinarith have hK0_ge : 1 ≤ K0 := by dsimp only [K0] have : 0 ≤ Real.sqrt (q ^ 2 - 4) := Real.sqrt_nonneg _ linarith have hK0_pos : 0 < K0 := by linarith have hK_pos : 0 < K := by linarith have hK0_eq : K0 + K0⁻¹ = q := by have hquad : K0 ^ 2 - q * K0 + 1 = 0 := by dsimp only [K0] have hsq : Real.sqrt (q ^ 2 - 4) ^ 2 = q ^ 2 - 4 := Real.sq_sqrt hdisc nlinarith field_simp [ne_of_gt hK0_pos] linarith by_contra hlt push Not at hlt have hprod : 1 < K * K0 := by nlinarith have hinv_lt : (K * K0)⁻¹ < 1 := by rw [inv_lt_one_iff₀]; right; exact hprod have hdiff : (K0 + K0⁻¹) - (K + K⁻¹) = (K0 - K) * (1 - (K * K0)⁻¹) := by field_simp [ne_of_gt hK_pos, ne_of_gt hK0_pos]; ring have hpos : 0 < (K0 - K) * (1 - (K * K0)⁻¹) := mul_pos (by linarith) (by linarith) linarith /-- Pointwise Beurling–Ahlfors minimax dilatation lower bound from a `baQ` lower bound `q ≥ 2`. -/ lemma baDilatation_ge_of_Q_ge {M : ℝ} {h : ℝ → ℝ} (hh : IsQuasisymmetric M h) {r x y q : ℝ} (hr : 0 < r) (hy : 0 < y) (hq : 2 ≤ q) (hQ : q ≤ baQ (baXi h x y) (baA h x y) (baB h x y) r) : (q + Real.sqrt (q ^ 2 - 4)) / 2 ≤ baDilatation h r x y := by have hK1 := baDilatation_ge_one hh (x := x) hr hy have hadd := baDilatation_add_inv_eq hh (x := x) hr hy exact ge_of_add_inv_ge hK1 hq (by rw [hadd]; exact hQ) /-! ## 6. Family 1: 1-Kink Piecewise-Linear Extremal `plKink M` (`∀ M ≥ 1`) -/ /-- Canonical 1-kink piecewise-linear homeomorphism of `ℝ` with slope `1` on `(-∞, 0]` and `M` on `(0, ∞)`. -/ def plKink (M : ℝ) (x : ℝ) : ℝ := if x ≤ 0 then x else M * x lemma plKink_strictMono {M : ℝ} (hM : 1 ≤ M) : StrictMono (plKink M) := by intro x y hxy unfold plKink split_ifs with hx hy hy · exact hxy · push Not at hy; nlinarith · push Not at hx; linarith · push Not at hx hy; nlinarith lemma plKink_continuous (M : ℝ) : Continuous (plKink M) := by unfold plKink exact Continuous.if_le continuous_id (continuous_const.mul continuous_id) continuous_id continuous_const (by intro x hx; rw [hx, mul_zero]) private lemma plKink_diff_bounds {M : ℝ} (hM : 1 ≤ M) (a t : ℝ) (ht : 0 < t) : t ≤ plKink M (a + t) - plKink M a ∧ plKink M (a + t) - plKink M a ≤ M * t := by unfold plKink by_cases h1 : a + t ≤ 0 <;> by_cases h2 : a ≤ 0 <;> simp only [h1, h2, ↓reduceIte] <;> (try push Not at h1) <;> (try push Not at h2) <;> constructor <;> nlinarith /-- `plKink M` is **exact `M`-quasisymmetric** on `ℝ` for every `M ≥ 1`. -/ theorem plKink_isQuasisymmetric {M : ℝ} (hM : 1 ≤ M) : IsQuasisymmetric M (plKink M) where one_le := hM strictMono := plKink_strictMono hM continuous := plKink_continuous M right_le := by intro x t ht have hR := (plKink_diff_bounds hM x t ht).2 have hL := (plKink_diff_bounds hM (x - t) t ht).1 have hsub : x - t + t = x := by ring rw [hsub] at hL nlinarith left_le := by intro x t ht have hR := (plKink_diff_bounds hM x t ht).1 have hL := (plKink_diff_bounds hM (x - t) t ht).2 have hsub : x - t + t = x := by ring rw [hsub] at hL nlinarith /-- Exact Beurling–Ahlfors invariants of `plKink M` at `(0, 1)`: `(ξ, a, b) = (M, 1/2, 1/2)`. -/ theorem plKink_invariants {M : ℝ} (hM : 1 ≤ M) : baXi (plKink M) 0 1 = M ∧ baA (plKink M) 0 1 = 1 / 2 ∧ baB (plKink M) 0 1 = 1 / 2 := by have hM0 : M ≠ 0 := by linarith have h0 : plKink M 0 = 0 := by unfold plKink; simp have h1 : plKink M 1 = M := by unfold plKink; simp have hm1 : plKink M (-1) = -1 := by unfold plKink; simp refine ⟨?_, ?_, ?_⟩ · unfold baXi have h01 : (0 : ℝ) + 1 = 1 := by ring have h0m1 : (0 : ℝ) - 1 = -1 := by ring rw [h01, h0m1, h0, h1, hm1]; norm_num · unfold baA have h01 : (0 : ℝ) + 1 = 1 := by ring rw [h01, h0, h1] have hint : ∫ s in (0 : ℝ)..1, (plKink M s - 0) = M / 2 := by have hcongr : ∫ s in (0 : ℝ)..1, (plKink M s - 0) = ∫ s in (0 : ℝ)..1, (M * s) := by apply intervalIntegral.integral_congr intro s hs rw [Set.uIcc_of_le (by norm_num : (0 : ℝ) ≤ 1)] at hs unfold plKink by_cases hle : s ≤ 0 · have hs0 : s = 0 := le_antisymm hle hs.1 simp [hs0] · simp [hle] rw [hcongr, intervalIntegral.integral_const_mul, integral_id] ring rw [hint]; field_simp [hM0]; ring · unfold baB have h0m1 : (0 : ℝ) - 1 = -1 := by ring rw [h0m1, h0, hm1] have hint : ∫ s in (-1 : ℝ)..0, (0 - plKink M s) = 1 / 2 := by have hcongr : ∫ s in (-1 : ℝ)..0, (0 - plKink M s) = ∫ s in (-1 : ℝ)..0, (-s) := by apply intervalIntegral.integral_congr intro s hs rw [Set.uIcc_of_le (by norm_num : (-1 : ℝ) ≤ 0)] at hs unfold plKink simp [hs.2] rw [hcongr, intervalIntegral.integral_neg, integral_id] ring rw [hint]; norm_num /-- Exact closed-form minimax lower bound for the 1-kink family `plKink M`. -/ def K1Kink (M : ℝ) : ℝ := (Real.sqrt (25 * M ^ 4 + 14 * M ^ 2 + 25) + 5 * (M ^ 2 - 1)) / (8 * M) /-- **Theorem 3A (Exact Universal 1-Kink Minimax Lower Bound)**: For EVERY `M ≥ 1` and EVERY extension parameter `r > 0`, `K(DF_r[plKink M](0, 1)) ≥ (√(25 M⁴ + 14 M² + 25) + 5 (M² - 1)) / (8 M)`. -/ theorem plKink_minimax_lower {M : ℝ} (hM : 1 ≤ M) (r : ℝ) (hr : 0 < r) : K1Kink M ≤ baDilatation (plKink M) r 0 1 := by have hM0 : 0 < M := by linarith have hqs := plKink_isQuasisymmetric hM rcases plKink_invariants hM with ⟨hξ, ha, hb⟩ set q := Real.sqrt (25 * M ^ 4 + 14 * M ^ 2 + 25) / (4 * M) have hq_ge : 2 ≤ q := by dsimp only [q] rw [le_div_iff₀ (by positivity)] have h1 : (2 * (4 * M)) ^ 2 ≤ 25 * M ^ 4 + 14 * M ^ 2 + 25 := by have : 25 * M ^ 4 + 14 * M ^ 2 + 25 - (2 * (4 * M)) ^ 2 = 25 * (M ^ 2 - 1) ^ 2 := by ring nlinarith [sq_nonneg (M ^ 2 - 1)] have h2 := Real.sqrt_le_sqrt h1 rwa [Real.sqrt_sq (by positivity)] at h2 have hQ_ge : q ≤ baQ (baXi (plKink M) 0 1) (baA (plKink M) 0 1) (baB (plKink M) 0 1) r := by rw [hξ, ha, hb] have hamgm := baQ_ge_amgm hM0 (by norm_num : (0 : ℝ) < 1 / 2 + 1 / 2) hr have hEq : Real.sqrt (((M + 1) ^ 2 + (M * (1 / 2) - 1 / 2) ^ 2) * ((M - 1) ^ 2 + (M * (1 / 2) + 1 / 2) ^ 2)) / (M * (1 / 2 + 1 / 2)) = q := by dsimp only [q] have hprod : ((M + 1) ^ 2 + (M * (1 / 2) - 1 / 2) ^ 2) * ((M - 1) ^ 2 + (M * (1 / 2) + 1 / 2) ^ 2) = (25 * M ^ 4 + 14 * M ^ 2 + 25) / 16 := by ring rw [hprod, Real.sqrt_div (by positivity), show (16 : ℝ) = 4 ^ 2 by norm_num, Real.sqrt_sq (by norm_num)] field_simp [ne_of_gt hM0]; ring rwa [hEq] at hamgm have hdil := baDilatation_ge_of_Q_ge hqs hr (by norm_num : (0 : ℝ) < 1) hq_ge hQ_ge have hKeq : (q + Real.sqrt (q ^ 2 - 4)) / 2 = K1Kink M := by unfold K1Kink; dsimp only [q] have hsq : (Real.sqrt (25 * M ^ 4 + 14 * M ^ 2 + 25) / (4 * M)) ^ 2 - 4 = (5 * (M ^ 2 - 1) / (4 * M)) ^ 2 := by rw [div_pow, Real.sq_sqrt (by positivity)] field_simp [ne_of_gt hM0]; ring have hnn : 0 ≤ 5 * (M ^ 2 - 1) / (4 * M) := by have : 0 ≤ M ^ 2 - 1 := by nlinarith positivity rw [hsq, Real.sqrt_sq hnn] field_simp [ne_of_gt hM0]; ring rwa [hKeq] at hdil /-- Explicit linear asymptotic lower bound: `K1Kink M > 5 M / 4 - 1 / (2 M)` for EVERY `M ≥ 1`. -/ theorem K1Kink_gt_linear {M : ℝ} (hM : 1 ≤ M) : 5 * M / 4 - 1 / (2 * M) < K1Kink M := by unfold K1Kink have hM0 : 0 < M := by linarith have hsq : 5 * M ^ 2 + 1 < Real.sqrt (25 * M ^ 4 + 14 * M ^ 2 + 25) := by rw [← Real.sqrt_sq (by positivity : (0 : ℝ) ≤ 5 * M ^ 2 + 1)] exact Real.sqrt_lt_sqrt (by positivity) (by nlinarith) rw [sub_lt_iff_lt_add, div_lt_iff₀ (by positivity)] have hrew : (5 * M / 4 - 1 / (2 * M)) * (8 * M) = 10 * M ^ 2 - 4 := by field_simp [ne_of_gt hM0]; ring have hrew2 : (Real.sqrt (25 * M ^ 4 + 14 * M ^ 2 + 25) + 5 * (M ^ 2 - 1)) / (8 * M) * (8 * M) = Real.sqrt (25 * M ^ 4 + 14 * M ^ 2 + 25) + 5 * (M ^ 2 - 1) := by field_simp [ne_of_gt hM0] have h1 : (5 * M / 4 - 1 / (2 * M)) * (8 * M) < Real.sqrt (25 * M ^ 4 + 14 * M ^ 2 + 25) + 5 * (M ^ 2 - 1) := by rw [hrew]; linarith have h2 := (div_lt_div_iff_of_pos_right (by positivity : (0 : ℝ) < 8 * M)).mpr h1 rw [mul_div_cancel_right₀ _ (ne_of_gt (by positivity : (0 : ℝ) < 8 * M))] at h2 linarith /-- Concrete benchmark at `M = 2`: for EVERY `r > 0`, `K(DF_r[plKink 2](0, 1)) > 2.308`. -/ theorem plKink_two_lower (r : ℝ) (hr : 0 < r) : 2308 / 1000 < baDilatation (plKink 2) r 0 1 := by have h := plKink_minimax_lower (by norm_num : (1 : ℝ) ≤ 2) r hr have hval : 2308 / 1000 < K1Kink 2 := by unfold K1Kink have hsq : 21928 / 1000 < Real.sqrt (25 * (2 : ℝ) ^ 4 + 14 * (2 : ℝ) ^ 2 + 25) := by rw [← Real.sqrt_sq (by norm_num : (0 : ℝ) ≤ 21928 / 1000)] exact Real.sqrt_lt_sqrt (by norm_num) (by norm_num) linarith linarith /-! ## 7. Family 2: Quadratic Power Homeomorphism `quadPower x = x |x|` (`M = 2 + √5`) -/ /-- Canonical quadratic signed-power homeomorphism `x ↦ x |x|`. -/ def quadPower (x : ℝ) : ℝ := x * |x| lemma quadPower_neg (x : ℝ) : quadPower (-x) = -quadPower x := by unfold quadPower; rw [abs_neg]; ring lemma quadPower_strictMono : StrictMono quadPower := by intro x y hxy unfold quadPower rcases le_total x 0 with hx | hx <;> rcases le_total y 0 with hy | hy · rw [abs_of_nonpos hx, abs_of_nonpos hy]; nlinarith · rw [abs_of_nonpos hx, abs_of_nonneg hy] by_cases hx0 : x = 0 · subst hx0; nlinarith · have : x < 0 := lt_of_le_of_ne hx hx0 nlinarith · linarith · rw [abs_of_nonneg hx, abs_of_nonneg hy]; nlinarith lemma quadPower_continuous : Continuous quadPower := continuous_id.mul continuous_abs private lemma quadPower_right_le (x t : ℝ) (ht : 0 < t) : quadPower (x + t) - quadPower x ≤ (2 + Real.sqrt 5) * (quadPower x - quadPower (x - t)) := by have hs5_pos : 0 < Real.sqrt 5 := Real.sqrt_pos.mpr (by norm_num) have hs5_sq : Real.sqrt 5 ^ 2 = 5 := Real.sq_sqrt (by norm_num) have hs5_gt2 : 2 < Real.sqrt 5 := by rw [← Real.sqrt_sq (by norm_num : (0 : ℝ) ≤ 2)] exact Real.sqrt_lt_sqrt (by norm_num) (by norm_num) unfold quadPower by_cases hxm : 0 ≤ x - t · have hx : 0 ≤ x := by linarith have hxp : 0 ≤ x + t := by linarith rw [abs_of_nonneg hxp, abs_of_nonneg hx, abs_of_nonneg hxm] have hdiff : (2 + Real.sqrt 5) * (x * x - (x - t) * (x - t)) - ((x + t) * (x + t) - x * x) = t * ((2 + 2 * Real.sqrt 5) * (x - t) + (Real.sqrt 5 - 1) * t) := by ring have hnn : 0 ≤ t * ((2 + 2 * Real.sqrt 5) * (x - t) + (Real.sqrt 5 - 1) * t) := by have : 0 ≤ (2 + 2 * Real.sqrt 5) * (x - t) := mul_nonneg (by linarith) hxm have : 0 ≤ (Real.sqrt 5 - 1) * t := mul_nonneg (by linarith) (le_of_lt ht) nlinarith linarith · push Not at hxm by_cases hxp : x + t ≤ 0 · have hx : x ≤ 0 := by linarith rw [abs_of_nonpos hxp, abs_of_nonpos hx, abs_of_nonpos (le_of_lt hxm)] have hdiff : (2 + Real.sqrt 5) * (x * -x - (x - t) * -(x - t)) - ((x + t) * -(x + t) - x * -x) = t * ((2 + 2 * Real.sqrt 5) * (-(x + t)) + (5 + 3 * Real.sqrt 5) * t) := by ring have hnn : 0 ≤ t * ((2 + 2 * Real.sqrt 5) * (-(x + t)) + (5 + 3 * Real.sqrt 5) * t) := by have : 0 ≤ (2 + 2 * Real.sqrt 5) * (-(x + t)) := mul_nonneg (by linarith) (by linarith) have : 0 ≤ (5 + 3 * Real.sqrt 5) * t := mul_nonneg (by linarith) (le_of_lt ht) nlinarith linarith · push Not at hxp by_cases hx : x ≤ 0 · rw [abs_of_nonneg (le_of_lt hxp), abs_of_nonpos hx, abs_of_nonpos (le_of_lt hxm)] have hdiff : (2 + Real.sqrt 5) * (x * -x - (x - t) * -(x - t)) - ((x + t) * (x + t) - x * -x) = (1 + Real.sqrt 5) * t ^ 2 + (-2 * x) * ((x + t) + (2 + Real.sqrt 5) * t) := by ring have hnn : 0 ≤ (1 + Real.sqrt 5) * t ^ 2 + (-2 * x) * ((x + t) + (2 + Real.sqrt 5) * t) := by have h1 : 0 ≤ (1 + Real.sqrt 5) * t ^ 2 := by positivity have h2 : 0 ≤ (-2 * x) * ((x + t) + (2 + Real.sqrt 5) * t) := mul_nonneg (by linarith) (by nlinarith) linarith linarith · push Not at hx -- Critical case: 0 < x < t, exact sum-of-squares certificate! rw [abs_of_nonneg (le_of_lt hxp), abs_of_nonneg (le_of_lt hx), abs_of_nonpos (le_of_lt hxm)] have hpos : 0 < 2 * (2 + Real.sqrt 5) := by linarith have hident : 2 * (2 + Real.sqrt 5) * ((2 + Real.sqrt 5) * (x * x - (x - t) * -(x - t)) - ((x + t) * (x + t) - x * x)) = (2 * (2 + Real.sqrt 5) * x - (3 + Real.sqrt 5) * t) ^ 2 := by linear_combination t ^ 2 * hs5_sq have hnn : 0 ≤ 2 * (2 + Real.sqrt 5) * ((2 + Real.sqrt 5) * (x * x - (x - t) * -(x - t)) - ((x + t) * (x + t) - x * x)) := by rw [hident]; exact sq_nonneg _ have hdiff := nonneg_of_mul_nonneg_right hnn hpos linarith /-- **Exact Quasisymmetry of `quadPower`**: `x ↦ x |x|` is `(2 + √5)`-quasisymmetric on `ℝ`. -/ theorem quadPower_isQuasisymmetric : IsQuasisymmetric (2 + Real.sqrt 5) quadPower where one_le := by have : 0 ≤ Real.sqrt 5 := Real.sqrt_nonneg 5; linarith strictMono := quadPower_strictMono continuous := quadPower_continuous right_le := quadPower_right_le left_le := by intro x t ht have h := quadPower_right_le (-x) t ht have h1 : -x + t = -(x - t) := by ring have h2 : -x - t = -(x + t) := by ring rw [h1, h2, quadPower_neg, quadPower_neg, quadPower_neg] at h linarith /-- Exact Beurling–Ahlfors invariants of `quadPower` at `(2/3, 1)`: `(ξ, a, b) = (21/5, 4/7, 16/45)`. -/ theorem quadPower_invariants : baXi quadPower (2 / 3) 1 = 21 / 5 ∧ baA quadPower (2 / 3) 1 = 4 / 7 ∧ baB quadPower (2 / 3) 1 = 16 / 45 := by have hv_m : quadPower (2 / 3 - 1) = -1 / 9 := by unfold quadPower; norm_num have hv_0 : quadPower (2 / 3) = 4 / 9 := by unfold quadPower; norm_num have hv_p : quadPower (2 / 3 + 1) = 25 / 9 := by unfold quadPower; norm_num refine ⟨?_, ?_, ?_⟩ · unfold baXi; rw [hv_m, hv_0, hv_p]; norm_num · unfold baA; rw [hv_0, hv_p] have hint : ∫ s in (2 / 3 : ℝ)..(2 / 3 + 1), (quadPower s - 4 / 9) = 1 := by have hcongr : ∫ s in (2 / 3 : ℝ)..(5 / 3 : ℝ), (quadPower s - 4 / 9) = ∫ s in (2 / 3 : ℝ)..(5 / 3 : ℝ), (s ^ 2 - 4 / 9) := by apply intervalIntegral.integral_congr intro s hs rw [Set.uIcc_of_le (by norm_num : (2 / 3 : ℝ) ≤ 5 / 3)] at hs dsimp only [quadPower] rw [abs_of_nonneg (by linarith [hs.1])]; ring have h53 : (2 / 3 : ℝ) + 1 = 5 / 3 := by norm_num rw [h53, hcongr, intervalIntegral.integral_sub ((continuous_pow 2).intervalIntegrable _ _) (continuous_const.intervalIntegrable _ _), integral_pow, intervalIntegral.integral_const] simp only [smul_eq_mul]; norm_num rw [hint]; norm_num · unfold baB; rw [hv_0, hv_m] have hint : ∫ s in (2 / 3 - 1 : ℝ)..(2 / 3 : ℝ), (4 / 9 - quadPower s) = 29 / 81 := by have hm13 : (2 / 3 : ℝ) - 1 = -1 / 3 := by norm_num rw [hm13] have hsplit : ∫ s in (-1 / 3 : ℝ)..(2 / 3 : ℝ), (4 / 9 - quadPower s) = (∫ s in (-1 / 3 : ℝ)..(0 : ℝ), (4 / 9 - quadPower s)) + (∫ s in (0 : ℝ)..(2 / 3 : ℝ), (4 / 9 - quadPower s)) := (intervalIntegral.integral_add_adjacent_intervals ((continuous_const.sub quadPower_continuous).intervalIntegrable _ _) ((continuous_const.sub quadPower_continuous).intervalIntegrable _ _)).symm have hL : ∫ s in (-1 / 3 : ℝ)..(0 : ℝ), (4 / 9 - quadPower s) = 13 / 81 := by have hcongr : ∫ s in (-1 / 3 : ℝ)..(0 : ℝ), (4 / 9 - quadPower s) = ∫ s in (-1 / 3 : ℝ)..(0 : ℝ), (4 / 9 + s ^ 2) := by apply intervalIntegral.integral_congr intro s hs rw [Set.uIcc_of_le (by norm_num : (-1 / 3 : ℝ) ≤ 0)] at hs dsimp only [quadPower]; rw [abs_of_nonpos hs.2]; ring rw [hcongr, intervalIntegral.integral_add (continuous_const.intervalIntegrable _ _) ((continuous_pow 2).intervalIntegrable _ _), intervalIntegral.integral_const, integral_pow] simp only [smul_eq_mul]; norm_num have hR : ∫ s in (0 : ℝ)..(2 / 3 : ℝ), (4 / 9 - quadPower s) = 16 / 81 := by have hcongr : ∫ s in (0 : ℝ)..(2 / 3 : ℝ), (4 / 9 - quadPower s) = ∫ s in (0 : ℝ)..(2 / 3 : ℝ), (4 / 9 - s ^ 2) := by apply intervalIntegral.integral_congr intro s hs rw [Set.uIcc_of_le (by norm_num : (0 : ℝ) ≤ 2 / 3)] at hs dsimp only [quadPower]; rw [abs_of_nonneg hs.1]; ring rw [hcongr, intervalIntegral.integral_sub (continuous_const.intervalIntegrable _ _) ((continuous_pow 2).intervalIntegrable _ _), intervalIntegral.integral_const, integral_pow] simp only [smul_eq_mul]; norm_num rw [hsplit, hL, hR]; norm_num rw [hint]; norm_num /-- **Theorem 3B (Quadratic Power Minimax Lower Bound)**: For EVERY `r > 0`, `K(DF_r[x |x|](2/3, 1)) > 5.89` (for `M = 2 + √5 ≈ 4.2361`). -/ theorem quadPower_minimax_lower (r : ℝ) (hr : 0 < r) : 589 / 100 < baDilatation quadPower r (2 / 3) 1 := by rcases quadPower_invariants with ⟨hξ, ha, hb⟩ have hQ_amgm := baQ_ge_amgm (ξ := 21 / 5) (a := 4 / 7) (b := 16 / 45) (by norm_num) (by norm_num) hr have hQ_ge : 303 / 50 ≤ baQ (baXi quadPower (2 / 3) 1) (baA quadPower (2 / 3) 1) (baB quadPower (2 / 3) 1) r := by rw [hξ, ha, hb] have hnum : 303 / 50 ≤ Real.sqrt (((21 / 5 + 1 : ℝ) ^ 2 + (21 / 5 * (4 / 7) - 16 / 45) ^ 2) * ((21 / 5 - 1) ^ 2 + (21 / 5 * (4 / 7) + 16 / 45) ^ 2)) / (21 / 5 * (4 / 7 + 16 / 45)) := by rw [le_div_iff₀ (by norm_num)] rw [← Real.sqrt_sq (by norm_num : (0 : ℝ) ≤ 303 / 50 * (21 / 5 * (4 / 7 + 16 / 45)))] exact Real.sqrt_le_sqrt (by norm_num) exact le_trans hnum hQ_amgm have hdil := baDilatation_ge_of_Q_ge quadPower_isQuasisymmetric hr (by norm_num : (0 : ℝ) < 1) (by norm_num : (2 : ℝ) ≤ 303 / 50) hQ_ge have hsq : 572 / 100 < Real.sqrt ((303 / 50 : ℝ) ^ 2 - 4) := by rw [← Real.sqrt_sq (by norm_num : (0 : ℝ) ≤ 572 / 100)] exact Real.sqrt_lt_sqrt (by norm_num) (by norm_num) linarith /-- Linear ratio corollary for `quadPower`: `K(DF_r[x |x|](2/3, 1)) > 1.39 · (2 + √5)` for EVERY `r > 0`. -/ theorem quadPower_minimax_ratio (r : ℝ) (hr : 0 < r) : 139 / 100 * (2 + Real.sqrt 5) < baDilatation quadPower r (2 / 3) 1 := by have h := quadPower_minimax_lower r hr have hs5 : Real.sqrt 5 < 22361 / 10000 := by rw [Real.sqrt_lt' (by norm_num)]; norm_num linarith /-! ## 8. Family 3: Cubic Power Homeomorphism `cubicPower x = x^3` (`M = 7 + 4√3`) -/ /-- Canonical cubic power homeomorphism `x ↦ x^3`. -/ def cubicPower (x : ℝ) : ℝ := x ^ 3 lemma cubicPower_strictMono : StrictMono cubicPower := by intro x y hxy unfold cubicPower have hdiff : y ^ 3 - x ^ 3 = (y - x) * ((y + x / 2) ^ 2 + 3 * x ^ 2 / 4) := by ring have hpos : 0 < (y + x / 2) ^ 2 + 3 * x ^ 2 / 4 := by by_cases hx : x = 0 · subst hx; positivity · have : 0 < x ^ 2 := sq_pos_of_ne_zero hx positivity nlinarith lemma cubicPower_continuous : Continuous cubicPower := continuous_pow 3 private lemma cubicPower_right_le (x t : ℝ) (ht : 0 < t) : cubicPower (x + t) - cubicPower x ≤ (7 + 4 * Real.sqrt 3) * (cubicPower x - cubicPower (x - t)) := by unfold cubicPower have hs3_sq : Real.sqrt 3 ^ 2 = 3 := Real.sq_sqrt (by norm_num) have hs3_nn : 0 ≤ Real.sqrt 3 := Real.sqrt_nonneg 3 have hident : (7 + 4 * Real.sqrt 3) * (x ^ 3 - (x - t) ^ 3) - ((x + t) ^ 3 - x ^ 3) = 2 * (3 + 2 * Real.sqrt 3) * t * (Real.sqrt 3 * x - t) ^ 2 := by linear_combination (-(6 + 4 * Real.sqrt 3) * x ^ 2 * t + 8 * x * t ^ 2) * hs3_sq have hnn : 0 ≤ 2 * (3 + 2 * Real.sqrt 3) * t * (Real.sqrt 3 * x - t) ^ 2 := by positivity linarith /-- **Exact Quasisymmetry of `cubicPower`**: `x ↦ x^3` is `(7 + 4√3)`-quasisymmetric on `ℝ`. -/ theorem cubicPower_isQuasisymmetric : IsQuasisymmetric (7 + 4 * Real.sqrt 3) cubicPower where one_le := by have : 0 ≤ Real.sqrt 3 := Real.sqrt_nonneg 3; linarith strictMono := cubicPower_strictMono continuous := cubicPower_continuous right_le := cubicPower_right_le left_le := by intro x t ht have h := cubicPower_right_le (-x) t ht unfold cubicPower at h ⊢ nlinarith /-- Exact Beurling–Ahlfors invariants of `cubicPower` at `(2/3, 1)`: `(ξ, a, b) = (13, 33/52, 1/4)`. -/ theorem cubicPower_invariants : baXi cubicPower (2 / 3) 1 = 13 ∧ baA cubicPower (2 / 3) 1 = 33 / 52 ∧ baB cubicPower (2 / 3) 1 = 1 / 4 := by have hv_m : cubicPower (2 / 3 - 1) = -1 / 27 := by unfold cubicPower; norm_num have hv_0 : cubicPower (2 / 3) = 8 / 27 := by unfold cubicPower; norm_num have hv_p : cubicPower (2 / 3 + 1) = 125 / 27 := by unfold cubicPower; norm_num refine ⟨?_, ?_, ?_⟩ · unfold baXi; rw [hv_m, hv_0, hv_p]; norm_num · unfold baA; rw [hv_0, hv_p] have hint : ∫ s in (2 / 3 : ℝ)..(2 / 3 + 1), (cubicPower s - 8 / 27) = 19 / 12 := by unfold cubicPower rw [intervalIntegral.integral_sub ((continuous_pow 3).intervalIntegrable _ _) (continuous_const.intervalIntegrable _ _), integral_pow, intervalIntegral.integral_const] simp only [smul_eq_mul]; norm_num rw [hint]; norm_num · unfold baB; rw [hv_0, hv_m] have hint : ∫ s in (2 / 3 - 1 : ℝ)..(2 / 3 : ℝ), (8 / 27 - cubicPower s) = 1 / 4 := by unfold cubicPower rw [intervalIntegral.integral_sub (continuous_const.intervalIntegrable _ _) ((continuous_pow 3).intervalIntegrable _ _), intervalIntegral.integral_const, integral_pow] simp only [smul_eq_mul]; norm_num rw [hint]; norm_num /-- **Theorem 3C (Cubic Power Minimax Lower Bound)**: For EVERY `r > 0`, `K(DF_r[x^3](2/3, 1)) > 20.57` (for `M = 7 + 4√3 ≈ 13.9282`). -/ theorem cubicPower_minimax_lower (r : ℝ) (hr : 0 < r) : 2057 / 100 < baDilatation cubicPower r (2 / 3) 1 := by rcases cubicPower_invariants with ⟨hξ, ha, hb⟩ have hQ_amgm := baQ_ge_amgm (ξ := 13) (a := 33 / 52) (b := 1 / 4) (by norm_num) (by norm_num) hr have hQ_ge : 206189 / 10000 ≤ baQ (baXi cubicPower (2 / 3) 1) (baA cubicPower (2 / 3) 1) (baB cubicPower (2 / 3) 1) r := by rw [hξ, ha, hb] have hnum : 206189 / 10000 ≤ Real.sqrt (((13 + 1 : ℝ) ^ 2 + (13 * (33 / 52) - 1 / 4) ^ 2) * ((13 - 1) ^ 2 + (13 * (33 / 52) + 1 / 4) ^ 2)) / (13 * (33 / 52 + 1 / 4)) := by rw [le_div_iff₀ (by norm_num)] rw [← Real.sqrt_sq (by norm_num : (0 : ℝ) ≤ 206189 / 10000 * (13 * (33 / 52 + 1 / 4)))] exact Real.sqrt_le_sqrt (by norm_num) exact le_trans hnum hQ_amgm have hdil := baDilatation_ge_of_Q_ge cubicPower_isQuasisymmetric hr (by norm_num : (0 : ℝ) < 1) (by norm_num : (2 : ℝ) ≤ 206189 / 10000) hQ_ge have hsq : 205216 / 10000 < Real.sqrt ((206189 / 10000 : ℝ) ^ 2 - 4) := by rw [← Real.sqrt_sq (by norm_num : (0 : ℝ) ≤ 205216 / 10000)] exact Real.sqrt_lt_sqrt (by norm_num) (by norm_num) linarith /-- Linear ratio corollary for `cubicPower`: `K(DF_r[x^3](2/3, 1)) > 1.476 · (7 + 4√3)` for EVERY `r > 0`. -/ theorem cubicPower_minimax_ratio (r : ℝ) (hr : 0 < r) : 1476 / 1000 * (7 + 4 * Real.sqrt 3) < baDilatation cubicPower r (2 / 3) 1 := by have h := cubicPower_minimax_lower r hr have hs3 : Real.sqrt 3 < 17321 / 10000 := by rw [Real.sqrt_lt' (by norm_num)]; norm_num linarith #print axioms baQ_ge_amgm #print axioms plKink_isQuasisymmetric #print axioms plKink_invariants #print axioms plKink_minimax_lower #print axioms K1Kink_gt_linear #print axioms plKink_two_lower #print axioms quadPower_isQuasisymmetric #print axioms quadPower_invariants #print axioms quadPower_minimax_lower #print axioms quadPower_minimax_ratio #print axioms cubicPower_isQuasisymmetric #print axioms cubicPower_invariants #print axioms cubicPower_minimax_lower #print axioms cubicPower_minimax_ratio end end BeurlingAhlforsLowerBounds