| 1 | module |
| 2 | |
| 3 | public import E424.LowBand.Chain |
| 4 | public import E424.LowBand.L39Aux |
| 5 | |
| 6 | @[expose] public section |
| 7 | |
| 8 | /-! |
| 9 | # Section 9 of the outline: L39 |
| 10 | |
| 11 | On `[0, L]`, `ρ(0, ·)` is at most `C √v`. `chain_core` gives the bound from a packing of translates |
| 12 | of `U`, and `rhoq_le_dq` gives the step bound `ρ ≤ 4√v + 164 (L + 1) / |X|` between translates. |
| 13 | `N0` depends on `τ` and `v`; `L ≥ 2` makes `U ⊆ [a, a + 2L]` hold for `a = ell - 1`. |
| 14 | -/ |
| 15 | |
| 16 | set_option linter.style.header false |
| 17 | open Finset MeasureTheory |
| 18 | |
| 19 | namespace E424 |
| 20 | |
| 21 | set_option maxHeartbeats 800000 in |
| 22 | /-- **Lemma 39.** The edge `L/|X| ≤ C τ/η` is controlled by the explicit hypothesis `τ ≤ η √v`. -/ |
| 23 | theorem L39 (c1 : ℝ) (hc : 0 < c1) : ∃ C > 0, ∀ η τ v : ℝ, 0 < η → η ≤ 1 / 1000 → 0 < τ → |
| 24 | τ ≤ η / 4 → 0 < v → v ≤ 1 / 4 → τ ≤ η * Real.sqrt v → ∃ N0 : ℝ, ∀ W : Win, W.Adm η N0 → |
| 25 | IsCompact (Uset W τ v) → c1 * Lt W τ ≤ (volume (Uset W τ v)).toReal → |
| 26 | ∀ x ∈ Set.Icc 0 (Lt W τ), rhoq W τ 0 x ≤ C * Real.sqrt v := by |
| 27 | refine ⟨140 * (12 / c1 + 4), by positivity, fun η τ v hη hη1 hτ hτη hv hv1 hτv => ?_⟩ |
| 28 | have hsv : 0 < Real.sqrt v := Real.sqrt_pos.2 hv |
| 29 | refine ⟨Real.exp (300 + 5 / τ + 20 / η + 328 / (η * Real.sqrt v)), fun W hW hU hvol x hx => ?_⟩ |
| 30 | have hlo3 : 3 ≤ W.lo := hW.three_le |
| 31 | have hlo0 : 0 < W.lo := by linarith |
| 32 | have hhi : W.lo < W.hi := hW.lo_lt |
| 33 | -- `T = log lo` is large: every constant the proof needs is absorbed here |
| 34 | have hT : 300 + 5 / τ + 20 / η + 328 / (η * Real.sqrt v) ≤ Real.log W.lo := by |
| 35 | have := Real.log_le_log (Real.exp_pos _) hW.le_lo |
| 36 | rwa [Real.log_exp] at this |
| 37 | have h5 : 0 ≤ 20 / η := by positivity |
| 38 | have h6 : 0 ≤ 328 / (η * Real.sqrt v) := by positivity |
| 39 | have h7 : 0 ≤ 5 / τ := by positivity |
| 40 | have hT0 : 0 ≤ Real.log W.lo := by linarith |
| 41 | have hτT : 5 ≤ Real.log W.lo * τ := (div_le_iff₀ hτ).1 (by linarith) |
| 42 | have hηT : 20 ≤ Real.log W.lo * η := (div_le_iff₀ hη).1 (by linarith) |
| 43 | have hAT : 328 ≤ Real.log W.lo * (η * Real.sqrt v) := (div_le_iff₀ (mul_pos hη hsv)).1 (by linarith) |
| 44 | have hηsmall : η * Real.log W.lo ≤ Real.log W.lo / 1000 := by |
| 45 | have := mul_le_mul_of_nonneg_right hη1 hT0; linarith |
| 46 | -- `L = τ ell`, `ell = 0.4 log lo` |
| 47 | have hell : ell W = 0.4 * Real.log W.lo := rfl |
| 48 | have hL : Lt W τ = 0.4 * (τ * Real.log W.lo) := by unfold Lt; rw [hell]; ring |
| 49 | have hL2 : 2 ≤ Lt W τ := by rw [hL]; nlinarith |
| 50 | have hL0 : 0 ≤ Lt W τ := by linarith |
| 51 | have hLpos : 0 < Lt W τ := by linarith |
| 52 | have hLsmall : Lt W τ ≤ 0.1 * (η * Real.log W.lo) := by |
| 53 | have := mul_le_mul_of_nonneg_right hτη hT0 |
| 54 | rw [hL]; nlinarith |
| 55 | have hXl : Xlen W τ = W.len - 6 - 2 * Lt W τ := rfl |
| 56 | have hXlb : 0.5 * (η * Real.log W.lo) ≤ Xlen W τ := by |
| 57 | have := hW.le_len |
| 58 | rw [hXl]; linarith |
| 59 | have hXpos : 0 < Xlen W τ := by nlinarith |
| 60 | -- domains of `F̄` at the two scales |
| 61 | have hQ : 100 ≤ Qs W.lo := by |
| 62 | unfold Qs |
| 63 | rw [Real.rpow_def_of_pos hlo0] |
| 64 | refine (Real.log_le_iff_le_exp (by norm_num)).1 ?_ |
| 65 | have := Real.log_le_sub_one_of_pos (by norm_num : (0 : ℝ) < 100) |
| 66 | nlinarith |
| 67 | have hlogWy : Real.log (Wy W).lo = 0.6 * Real.log W.lo := by |
| 68 | show Real.log (W.lo / Y5 W) = _ |
| 69 | unfold Y5 |
| 70 | rw [Real.log_div hlo0.ne' (Real.rpow_pos_of_pos hlo0 _).ne', Real.log_rpow hlo0] |
| 71 | ring |
| 72 | have hWypos : 0 < (Wy W).lo := by |
| 73 | show 0 < W.lo / Y5 W |
| 74 | exact div_pos hlo0 (Real.rpow_pos_of_pos hlo0 _) |
| 75 | have hQ' : 100 ≤ Qs (Wy W).lo := by |
| 76 | unfold Qs |
| 77 | rw [Real.rpow_def_of_pos hWypos] |
| 78 | refine (Real.log_le_iff_le_exp (by norm_num)).1 ?_ |
| 79 | have := Real.log_le_sub_one_of_pos (by norm_num : (0 : ℝ) < 100) |
| 80 | rw [hlogWy]; nlinarith |
| 81 | have hG : 40 * Qs W.lo ≤ Real.exp (Real.log W.lo + 1 - Lt W τ) := by |
| 82 | unfold Qs |
| 83 | rw [Real.rpow_def_of_pos hlo0] |
| 84 | have h40 : 40 * Real.exp (Real.log W.lo * 0.59) = Real.exp (Real.log 40 + Real.log W.lo * 0.59) := by |
| 85 | rw [Real.exp_add, Real.exp_log (by norm_num)] |
| 86 | rw [h40] |
| 87 | apply Real.exp_le_exp.2 |
| 88 | have := Real.log_le_sub_one_of_pos (by norm_num : (0 : ℝ) < 40) |
| 89 | linarith |
| 90 | have hH : 40 * Qs (Wy W).lo ≤ Real.exp (Real.log W.lo - ell W + 2 - Lt W τ) := by |
| 91 | unfold Qs |
| 92 | rw [Real.rpow_def_of_pos hWypos, hlogWy] |
| 93 | have h40 : 40 * Real.exp (0.6 * Real.log W.lo * 0.59) |
| 94 | = Real.exp (Real.log 40 + 0.6 * Real.log W.lo * 0.59) := by |
| 95 | rw [Real.exp_add, Real.exp_log (by norm_num)] |
| 96 | rw [h40, hell] |
| 97 | apply Real.exp_le_exp.2 |
| 98 | have := Real.log_le_sub_one_of_pos (by norm_num : (0 : ℝ) < 40) |
| 99 | linarith |
| 100 | -- the estimate of the edge term |
| 101 | have hE : 164 * (Lt W τ + 1) / Xlen W τ ≤ 133 * Real.sqrt v := by |
| 102 | rw [div_le_iff₀ hXpos] |
| 103 | have hm1 : Lt W τ ≤ 0.4 * (η * Real.sqrt v * Real.log W.lo) := by |
| 104 | have := mul_le_mul_of_nonneg_right hτv hT0 |
| 105 | rw [hL]; nlinarith |
| 106 | have hm2 : Real.sqrt v * (0.5 * (η * Real.log W.lo)) ≤ Real.sqrt v * Xlen W τ := |
| 107 | mul_le_mul_of_nonneg_left hXlb hsv.le |
| 108 | nlinarith |
| 109 | have hD : ∀ a ∈ Set.Icc (0 : ℝ) (Lt W τ), ∀ b ∈ Set.Icc (0 : ℝ) (Lt W τ), ∀ u ∈ Uset W τ v, |
| 110 | ∀ u' ∈ Uset W τ v, a - b = u - u' → |
| 111 | rhoq W τ a b ≤ 4 * Real.sqrt v + 164 * (Lt W τ + 1) / Xlen W τ := by |
| 112 | intro a ha b hb u hu u' hu' hab |
| 113 | have := rhoq_le_dq W τ a b u u' hlo3 hhi hL0 hQ hQ' hG hH hXpos ha.1 hb.1 hb.2 hab |
| 114 | ⟨hu.1.1, hu.1.2⟩ ⟨hu'.1.1, hu'.1.2⟩ |
| 115 | linarith [hu.2, hu'.2] |
| 116 | have hUa : Uset W τ v ⊆ Set.Icc (ell W - 1) (ell W - 1 + 2 * Lt W τ) := |
| 117 | fun u hu => ⟨hu.1.1, by linarith [hu.1.2]⟩ |
| 118 | have chain := chain_core (Lt W τ) c1 (4 * Real.sqrt v + 164 * (Lt W τ + 1) / Xlen W τ) |
| 119 | (ell W - 1) hLpos hc (Uset W τ v) hU hUa hvol (rhoq W τ) |
| 120 | (fun a _ b _ => rhoq_symm W τ a b) |
| 121 | (fun a ha b hb c hc' => rhoq_tri W τ a b c hlo3 hhi hL0 hQ hXpos ha.1 hb.1 hc'.1 hG) hD |
| 122 | have hD' : 4 * Real.sqrt v + 164 * (Lt W τ + 1) / Xlen W τ ≤ 137 * Real.sqrt v := by linarith |
| 123 | have hpos : 0 < 12 / c1 + 4 := by positivity |
| 124 | calc rhoq W τ 0 x ≤ (12 / c1 + 4) * (4 * Real.sqrt v + 164 * (Lt W τ + 1) / Xlen W τ) := chain x hx |
| 125 | _ ≤ (12 / c1 + 4) * (137 * Real.sqrt v) := mul_le_mul_of_nonneg_left hD' hpos.le |
| 126 | _ ≤ 140 * (12 / c1 + 4) * Real.sqrt v := by nlinarith |
| 127 | |
| 128 | end E424 |
| 129 | |