| 1 | module |
| 2 | |
| 3 | public import E424.HighBand |
| 4 | |
| 5 | @[expose] public section |
| 6 | |
| 7 | /-! |
| 8 | # Proposition G, proved from Lemmas 10, 11, 29, 30, 34, 35 |
| 9 | -/ |
| 10 | |
| 11 | set_option linter.style.header false |
| 12 | open Finset MeasureTheory Filter |
| 13 | |
| 14 | namespace E424 |
| 15 | |
| 16 | theorem isCompact_Band (lo N : ℝ) : IsCompact (Band lo N) := by |
| 17 | refine Metric.isCompact_of_isClosed_isBounded ?_ ?_ |
| 18 | · exact (isClosed_le continuous_const continuous_abs).inter |
| 19 | (isClosed_le continuous_abs continuous_const) |
| 20 | · refine (Metric.isBounded_Icc (-(N / H1 lo)) (N / H1 lo)).subset fun t ht => ?_ |
| 21 | exact abs_le.mp ht.2 |
| 22 | |
| 23 | theorem Band_split (lo N : ℝ) (S : Finset ℕ) : |
| 24 | ∫ t in Band lo N, ‖Fp N t‖ ^ 2 ≤ |
| 25 | (∫ t in Low lo N \ Ubad lo S, ‖Fp N t‖ ^ 2) + ∫ t in Ubad lo S ∩ Band lo N, ‖Fp N t‖ ^ 2 := by |
| 26 | have hcont : Continuous fun t => ‖Fp N t‖ ^ 2 := ((continuous_Fp N).norm).pow 2 |
| 27 | have hU : MeasurableSet (Ubad lo S) := (isOpen_Ubad lo S).measurableSet |
| 28 | have hB : MeasurableSet (Band lo N) := (isCompact_Band lo N).isClosed.measurableSet |
| 29 | have hintB : IntegrableOn (fun t => ‖Fp N t‖ ^ 2) (Band lo N) := |
| 30 | hcont.continuousOn.integrableOn_compact (isCompact_Band lo N) |
| 31 | have hintL : IntegrableOn (fun t => ‖Fp N t‖ ^ 2) (Low lo N) := |
| 32 | hcont.continuousOn.integrableOn_compact isCompact_Icc |
| 33 | have hsplit := integral_inter_add_sdiff (μ := volume) (f := fun t => ‖Fp N t‖ ^ 2) hU hintB |
| 34 | rw [← hsplit, add_comm, Set.inter_comm (Ubad lo S)] |
| 35 | refine add_le_add ?_ le_rfl |
| 36 | refine setIntegral_mono_set (hintL.mono_set Set.sdiff_subset) ?_ ?_ |
| 37 | · exact ae_of_all _ fun t => by positivity |
| 38 | · refine Filter.Eventually.of_forall fun t ht => ?_ |
| 39 | exact ⟨abs_le.mp ht.1.2, ht.2⟩ |
| 40 | |
| 41 | /-- **Proposition G.** -/ |
| 42 | theorem PropG (η : ℝ) (hη : 0 < η) (hη1 : η ≤ 1 / 1000) : ∃ C > 0, ∀ e > 0, ∃ N0 : ℝ, |
| 43 | ∀ (β ε ε' Nε : ℝ), 0 ≤ ε → 0 ≤ ε' → Ext η β ε Nε → |
| 44 | ∀ W : Win, W.Adm η N0 → W.len ≤ 4 * η * Real.log W.lo → β - ε' ≤ W.E F → |
| 45 | Nε ≤ W.lo ^ (1 / 2 : ℝ) → L2err W ≤ (C * (ε + ε') + e) * W.len := by |
| 46 | obtain ⟨c10, hc10, h10⟩ := L10 |
| 47 | obtain ⟨Y0, h10⟩ := h10 (1 / 100) (by norm_num) (by norm_num) |
| 48 | obtain ⟨c11, hc11, z0, h11⟩ := L11 |
| 49 | set cS := min c10 c11 with hcS |
| 50 | have hcS0 : 0 < cS := lt_min hc10 hc11 |
| 51 | obtain ⟨Cb, hCb, h29b⟩ := L29b η cS hη hη1 hcS0 |
| 52 | obtain ⟨C35, hC35, h35⟩ := L35 η hη hη1 |
| 53 | refine ⟨2 * C35 * Cb, by positivity, fun e he => ?_⟩ |
| 54 | set e1 := e / (2 * (1 + 8 * C35)) with he1 |
| 55 | have he10 : 0 < e1 := by positivity |
| 56 | obtain ⟨N1, h29a⟩ := L29a η cS e1 hη hη1 hcS0 he10 |
| 57 | obtain ⟨N2, h29b⟩ := h29b e1 he10 |
| 58 | obtain ⟨N3, h30⟩ := L30 η cS e1 hη hη1 hcS0 he10 |
| 59 | obtain ⟨N4, h34⟩ := L34 η cS e1 hη hη1 hcS0 he10 |
| 60 | obtain ⟨N5, h35⟩ := h35 e1 he10 |
| 61 | -- existence of the two families for large `lo` |
| 62 | have evS3 : ∀ᶠ lo : ℝ in atTop, Y0 ≤ lo ^ (0.45 : ℝ) := |
| 63 | (tendsto_rpow_atTop (by norm_num)).eventually_ge_atTop Y0 |
| 64 | have evS2 : ∀ᶠ lo : ℝ in atTop, z0 ≤ K2 lo := |
| 65 | ((tendsto_pow_atTop (by unfold C2; norm_num)).comp Real.tendsto_log_atTop).eventually_ge_atTop z0 |
| 66 | obtain ⟨Nv, hNv⟩ := eventually_atTop.mp (evS3.and evS2) |
| 67 | refine ⟨max Nv (max N1 (max N2 (max N3 (max N4 N5)))), ?_⟩ |
| 68 | intro β ε ε' Nε hε hε' hext W hW hlen hβ hNε |
| 69 | obtain ⟨hY, hz⟩ := hNv W.lo ((le_max_left _ _).trans hW.le_lo) |
| 70 | have hL := hW.len_pos hη |
| 71 | obtain ⟨S3, hS3⟩ := h10 _ hY 53 (Or.inl rfl) |
| 72 | obtain ⟨S2, hS2⟩ := h11 _ hz 53 (Or.inl rfl) |
| 73 | have hS3' : MacroFam cS (1 / 100) (W.lo ^ (0.45 : ℝ)) 53 S3 := |
| 74 | ⟨hS3.mem, le_trans (by rw [hcS]; gcongr; exact min_le_left _ _) hS3.mass⟩ |
| 75 | have hS2' : BlockFam cS (K2 W.lo) 53 S2 := |
| 76 | ⟨hS2.fam, hS2.mem, (min_le_right _ _).trans hS2.mass⟩ |
| 77 | have b2 := h29a W (hW.mono (by simp)) 53 S2 (Or.inl rfl) hS2' |
| 78 | have b3 := h29b β ε ε' Nε hε hε' hext W (hW.mono (by simp)) hlen hβ hNε 53 S3 (Or.inl rfl) hS3' |
| 79 | have b30 := h30 W (hW.mono (by simp)) 53 S2 (Or.inl rfl) hS2' |
| 80 | have b34 := h34 W (hW.mono (by simp)) hlen 53 S2 S3 (Or.inl rfl) hS2' hS3' |
| 81 | have b35 := h35 W (hW.mono (by simp)) |
| 82 | have hsum : ∑ k ∈ W.dy, ∫ t in Band W.lo (2 ^ k), ‖Fp (2 ^ k) t‖ ^ 2 ≤ |
| 83 | (∑ k ∈ W.dy, ∫ t in Low W.lo (2 ^ k) \ Ubad W.lo S2, ‖Fp (2 ^ k) t‖ ^ 2) + |
| 84 | ∑ k ∈ W.dy, ∫ t in Ubad W.lo S2 ∩ Band W.lo (2 ^ k), ‖Fp (2 ^ k) t‖ ^ 2 := by |
| 85 | rw [← sum_add_distrib] |
| 86 | exact sum_le_sum fun k _ => Band_split W.lo (2 ^ k) S2 |
| 87 | have htot : ∑ k ∈ W.dy, ∫ t in Band W.lo (2 ^ k), ‖Fp (2 ^ k) t‖ ^ 2 ≤ |
| 88 | (2 * Cb * (ε + ε') + 7 * e1) * W.len := by nlinarith |
| 89 | calc L2err W ≤ C35 * ((2 * Cb * (ε + ε') + 7 * e1) * W.len) + e1 * W.len := by |
| 90 | refine b35.trans ?_ |
| 91 | gcongr |
| 92 | _ = (2 * C35 * Cb * (ε + ε') + (1 + 7 * C35) * e1) * W.len := by ring |
| 93 | _ ≤ (2 * C35 * Cb * (ε + ε') + e) * W.len := by |
| 94 | gcongr |
| 95 | rw [he1, mul_div_assoc', div_le_iff₀ (by positivity)] |
| 96 | nlinarith |
| 97 | |
| 98 | end E424 |
| 99 | |