Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

| 1 | import NavierStokes.FourierAlias |
| 2 | import NavierStokes.WeightedRadialPrimitive |
| 3 | import NavierStokes.RadialPullback |
| 4 | import NavierStokes.SmoothFamilyTorusInverse |
| 5 | |
| 6 | /-! |
| 7 | # Uniform seminorm bounds for families of exact Fourier aliases |
| 8 | |
| 9 | All constants are chosen before the source and the band. The estimates use |
| 10 | actual derivatives and actual translated integrals. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | open Set Function Filter MeasureTheory |
| 16 | open scoped ContDiff Interval Topology BigOperators |
| 17 | |
| 18 | namespace NavierStokes.UniformFourierAlias |
| 19 | |
| 20 | open TorusInverse JetBounds |
| 21 | |
| 22 | private theorem nat_le_smooth (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 23 | le_of_lt (WithTop.coe_lt_coe.mpr (ENat.natCast_lt_top n)) |
| 24 | |
| 25 | section JetOperations |
| 26 | |
| 27 | variable {D E F : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 28 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 30 | |
| 31 | theorem norm_iteratedFDeriv_map (L : E →L[ℝ] F) {f : D → E} |
| 32 | (hf : ContDiff ℝ ∞ f) (m : ℕ) (z : D) : |
| 33 | ‖iteratedFDeriv ℝ m (fun x => L (f x)) z‖ ≤ ‖L‖ * ‖iteratedFDeriv ℝ m f z‖ := by |
| 34 | have he := L.iteratedFDeriv_comp_left hf.contDiffAt (nat_le_smooth m) (x := z) |
| 35 | change iteratedFDeriv ℝ m (fun x => L (f x)) z = _ at he |
| 36 | rw [he] |
| 37 | exact L.norm_compContinuousMultilinearMap_le _ |
| 38 | |
| 39 | theorem finiteJetBound_fixedPartial {f : D → E} (hf : ContDiff ℝ ∞ f) |
| 40 | {s : Set D} {C : ℝ} {m : ℕ} (hb : FiniteJetBound (m + 1) f s C) |
| 41 | (v : D) (hv : ‖v‖ ≤ 1) : |
| 42 | FiniteJetBound m (fun x => fderiv ℝ f x v) s C := by |
| 43 | intro j hj z hz |
| 44 | have h := norm_iteratedFDeriv_clm_apply_const (𝕜 := ℝ) (c := v) |
| 45 | (hf.fderiv_right (by simp)).contDiffAt (nat_le_smooth j) (x := z) |
| 46 | rw [norm_iteratedFDeriv_fderiv] at h |
| 47 | exact h.trans ((mul_le_mul_of_nonneg_right hv (norm_nonneg _)).trans |
| 48 | (by simpa only [one_mul] using hb (j + 1) (Nat.add_le_add_right hj 1) z hz)) |
| 49 | |
| 50 | end JetOperations |
| 51 | |
| 52 | section IterationBounds |
| 53 | |
| 54 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 55 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 56 | |
| 57 | theorem sourceJet_mem (G : (ℝ × E → F) → Prop) (J : (ℝ × E → F) → ℝ × E → F) |
| 58 | (hclosed : ∀ f, G f → G (RadialAlias.slowDeriv (J f))) (p : ℕ) |
| 59 | {f : ℝ × E → F} (hf : G f) : G (RadialAlias.sourceJet J f p) := by |
| 60 | induction p with |
| 61 | | zero => exact hf |
| 62 | | succ p ih => |
| 63 | rw [RadialAlias.sourceJet_succ] |
| 64 | exact hclosed _ ih |
| 65 | |
| 66 | /-- A finite-loss estimate for an actual operator propagates through the |
| 67 | successive slow derivatives used in radial integration by parts. This lemma |
| 68 | is instantiated below with the constructed torus inverse. -/ |
| 69 | theorem sourceJet_uniform_finiteJets |
| 70 | (G : (ℝ × E → F) → Prop) (J : (ℝ × E → F) → ℝ × E → F) |
| 71 | (s : Set (ℝ × E)) (loss : ℕ) |
| 72 | (hclosed : ∀ f, G f → G (RadialAlias.slowDeriv (J f))) |
| 73 | (hsmooth : ∀ f, G f → ContDiff ℝ ∞ (J f)) |
| 74 | (htame : ∀ m : ℕ, ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 75 | FiniteJetBound (m + loss) f s C → FiniteJetBound m (J f) s (K * C)) |
| 76 | (p m : ℕ) : |
| 77 | ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 78 | FiniteJetBound (m + (loss + 1) * p) f s C → |
| 79 | FiniteJetBound m (RadialAlias.sourceJet J f p) s (K * C) := by |
| 80 | have hgood : ∀ p : ℕ, ∀ f, G f → G (RadialAlias.sourceJet J f p) := by |
| 81 | intro p |
| 82 | induction p with |
| 83 | | zero => exact fun _ h => h |
| 84 | | succ p ih => |
| 85 | intro f hf |
| 86 | rw [RadialAlias.sourceJet_succ] |
| 87 | exact hclosed _ (ih f hf) |
| 88 | induction p generalizing m with |
| 89 | | zero => |
| 90 | refine ⟨1, zero_le_one, ?_⟩ |
| 91 | intro f _ C _ hb |
| 92 | simpa only [Nat.mul_zero, Nat.add_zero, RadialAlias.sourceJet_zero, one_mul] using hb |
| 93 | | succ p ih => |
| 94 | obtain ⟨A, hA, hAbound⟩ := ih (m + 1 + loss) |
| 95 | obtain ⟨B, hB, hBbound⟩ := htame (m + 1) |
| 96 | refine ⟨B * A, mul_nonneg hB hA, ?_⟩ |
| 97 | intro f hf C hC hb |
| 98 | have hsource : FiniteJetBound (m + 1 + loss + (loss + 1) * p) f s C := by |
| 99 | convert! hb using 1 |
| 100 | ring |
| 101 | have hprev := hAbound f hf C hC hsource |
| 102 | have hinverse := hBbound _ (hgood p f hf) (A * C) (mul_nonneg hA hC) hprev |
| 103 | have hderiv := finiteJetBound_fixedPartial (hsmooth _ (hgood p f hf)) hinverse |
| 104 | ((1 : ℝ), (0 : E)) (by simp) |
| 105 | rw [RadialAlias.sourceJet_succ] |
| 106 | unfold RadialAlias.slowDeriv |
| 107 | simpa only [mul_assoc] using hderiv |
| 108 | |
| 109 | end IterationBounds |
| 110 | |
| 111 | section Integrals |
| 112 | |
| 113 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 114 | [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] |
| 115 | |
| 116 | /-- The exact defect in the compact transport primitive, with all auxiliary |
| 117 | slow variables retained in `E`. -/ |
| 118 | noncomputable def exactAlias (χ : ℝ → ℝ) (M : ℝ) (v : E) |
| 119 | (f : ℝ × E → F) (z : ℝ × E) : F := |
| 120 | deriv χ z.1 • TransportPrimitive.totalIntegral M v f z |
| 121 | |
| 122 | theorem exactAlias_smooth {a b M : ℝ} {v : E} {χ : ℝ → ℝ} {f : ℝ × E → F} |
| 123 | (hχ : ContDiff ℝ ∞ χ) (hf : ContDiff ℝ ∞ f) |
| 124 | (hs : RadialAlias.RadiallySupported a b f) : |
| 125 | ContDiff ℝ ∞ (exactAlias χ M v f) := |
| 126 | (((contDiff_infty_iff_deriv.mp hχ).2).comp contDiff_fst).smul |
| 127 | (TransportPrimitive.totalIntegral_contDiff hf hs) |
| 128 | |
| 129 | omit [CompleteSpace F] in |
| 130 | theorem exactAlias_supported {a b M : ℝ} {v : E} {χ : ℝ → ℝ} {f : ℝ × E → F} |
| 131 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) : |
| 132 | RadialAlias.RadiallySupported a b (exactAlias χ M v f) := by |
| 133 | intro z hz |
| 134 | have hl : a ≤ z.1 := by |
| 135 | by_contra hn |
| 136 | have heq : χ =ᶠ[𝓝 z.1] (fun _ => 0) := |
| 137 | (eventually_lt_nhds (lt_of_not_ge hn)).mono (fun u hu => hleft u hu.le) |
| 138 | have hd : deriv χ z.1 = 0 := by simpa using heq.deriv_eq |
| 139 | exact hz (by simp only [exactAlias, hd, zero_smul]) |
| 140 | have hr : z.1 ≤ b := by |
| 141 | by_contra hn |
| 142 | have heq : χ =ᶠ[𝓝 z.1] (fun _ => 1) := |
| 143 | (eventually_gt_nhds (lt_of_not_ge hn)).mono (fun u hu => hright u hu.le) |
| 144 | have hd : deriv χ z.1 = 0 := by simpa using heq.deriv_eq |
| 145 | exact hz (by simp only [exactAlias, hd, zero_smul]) |
| 146 | exact ⟨hl, hr⟩ |
| 147 | |
| 148 | /-- Repeated integration by parts for full derivative tensors. The last |
| 149 | premise bounds genuine source jets, not the alias. -/ |
| 150 | theorem totalIntegral_sourceJet_bound {a b M C : ℝ} {v : E} |
| 151 | (J : (ℝ × E → F) → ℝ × E → F) (f : ℝ × E → F) (p m : ℕ) |
| 152 | (hab : a ≤ b) (hM : M ≠ 0) |
| 153 | (hf : ContDiff ℝ ∞ f) (hsf : RadialAlias.RadiallySupported a b f) |
| 154 | (hJ : ∀ n < p, ContDiff ℝ ∞ (J (RadialAlias.sourceJet J f n))) |
| 155 | (hsJ : ∀ n < p, RadialAlias.RadiallySupported a b (J (RadialAlias.sourceJet J f n))) |
| 156 | (hr : ∀ n < p, RadialAlias.directionalDeriv v (J (RadialAlias.sourceJet J f n)) = |
| 157 | RadialAlias.sourceJet J f n) |
| 158 | (hbound : FiniteJetBound m (RadialAlias.sourceJet J f p) (Prod.fst ⁻¹' Icc a b) C) |
| 159 | (j : ℕ) (hj : j ≤ m) (z : ℝ × E) : |
| 160 | ‖iteratedFDeriv ℝ j (TransportPrimitive.totalIntegral M v f) z‖ ≤ |
| 161 | (C * (b - a)) * (|M|⁻¹) ^ p := by |
| 162 | have hg : ContDiff ℝ ∞ (RadialAlias.sourceJet J f p) := by |
| 163 | cases p with |
| 164 | | zero => exact hf |
| 165 | | succ p => |
| 166 | rw [RadialAlias.sourceJet_succ] |
| 167 | exact TransportPrimitive.fixedDeriv_contDiff (hJ p (Nat.lt_succ_self p)) (1, 0) |
| 168 | have hsg := RadialAlias.sourceJet_radiallySupported J f p hsf hsJ |
| 169 | have heq : TransportPrimitive.totalIntegral M v f = fun z => |
| 170 | (-M⁻¹) ^ p • TransportPrimitive.totalIntegral M v (RadialAlias.sourceJet J f p) z := by |
| 171 | funext w |
| 172 | rw [TransportPrimitive.totalIntegral_eq_wholeAlias hf.continuous hsf, |
| 173 | TransportPrimitive.totalIntegral_eq_wholeAlias hg.continuous hsg] |
| 174 | exact RadialAlias.wholeAlias_sourceJet J f p hM |
| 175 | (fun n hn => (hJ n hn).of_le (by simp)) hsJ hr |
| 176 | rw [heq, iteratedFDeriv_const_smul_apply' |
| 177 | ((TransportPrimitive.totalIntegral_contDiff hg hsg).of_le (nat_le_smooth j)).contDiffAt] |
| 178 | have hn := norm_smul ((-M⁻¹) ^ p : ℝ) |
| 179 | (iteratedFDeriv ℝ j (TransportPrimitive.totalIntegral M v (RadialAlias.sourceJet J f p)) z) |
| 180 | rw [hn, Real.norm_eq_abs, abs_pow, abs_neg, abs_inv, mul_comm] |
| 181 | apply mul_le_mul_of_nonneg_right _ (by positivity) |
| 182 | exact TransportPrimitive.iteratedFDeriv_totalIntegral_norm_le hab hg hsg j |
| 183 | (fun u hu Y => hbound j hj (u, Y) hu) z |
| 184 | |
| 185 | /-- A source-independent constant for the compactification defect, retaining |
| 186 | the entire cutoff Leibniz expansion. -/ |
| 187 | theorem exactAlias_sourceJet_bound {a b : ℝ} {χ : ℝ → ℝ} |
| 188 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 189 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) (m : ℕ) : |
| 190 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (M : ℝ) (v : E) (J : (ℝ × E → F) → ℝ × E → F) |
| 191 | (f : ℝ × E → F) (p : ℕ) (C : ℝ), M ≠ 0 → 0 ≤ C → |
| 192 | ContDiff ℝ ∞ f → RadialAlias.RadiallySupported a b f → |
| 193 | (∀ n < p, ContDiff ℝ ∞ (J (RadialAlias.sourceJet J f n))) → |
| 194 | (∀ n < p, RadialAlias.RadiallySupported a b (J (RadialAlias.sourceJet J f n))) → |
| 195 | (∀ n < p, RadialAlias.directionalDeriv v (J (RadialAlias.sourceJet J f n)) = |
| 196 | RadialAlias.sourceJet J f n) → |
| 197 | FiniteJetBound m (RadialAlias.sourceJet J f p) (Prod.fst ⁻¹' Icc a b) C → |
| 198 | ∀ j ≤ m, ∀ z : ℝ × E, |
| 199 | ‖iteratedFDeriv ℝ j (exactAlias χ M v f) z‖ ≤ K * C * (|M|⁻¹) ^ p := by |
| 200 | obtain ⟨B, hB, hcut⟩ := RadialPullback.radial_multiplier_finiteJets_uniform (E := E) (V := F) |
| 201 | a b (contDiff_infty_iff_deriv.mp hχ).2 m |
| 202 | have hL : 0 ≤ b - a := sub_nonneg.mpr hab |
| 203 | refine ⟨B * (b - a), mul_nonneg hB hL, ?_⟩ |
| 204 | intro M v J f p C hM hC hf hs hJ hsJ hr hb j hj z |
| 205 | by_cases hz : z.1 ∈ Icc a b |
| 206 | · have h := hcut (TransportPrimitive.totalIntegral M v f) |
| 207 | (TransportPrimitive.totalIntegral_contDiff hf hs) z hz (C * (b - a) * (|M|⁻¹) ^ p) |
| 208 | (by positivity) |
| 209 | (fun i hi => totalIntegral_sourceJet_bound J f p m hab hM hf hs hJ hsJ hr hb i hi z) |
| 210 | j hj |
| 211 | convert! h using 1 |
| 212 | ring |
| 213 | · have hsj := TransportPrimitive.iteratedFDeriv_supported |
| 214 | (exactAlias_supported (M := M) (v := v) (f := f) hleft hright) j |
| 215 | have heq : iteratedFDeriv ℝ j (exactAlias χ M v f) z = 0 := by |
| 216 | by_contra hnonzero |
| 217 | exact hz (hsj hnonzero) |
| 218 | rw [heq, norm_zero] |
| 219 | positivity |
| 220 | |
| 221 | theorem exactAlias_uniform_of_inverse {a b : ℝ} {v : E} {χ : ℝ → ℝ} |
| 222 | (G : (ℝ × E → F) → Prop) (J : (ℝ × E → F) → ℝ × E → F) (loss : ℕ) |
| 223 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 224 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 225 | (hregular : ∀ f, G f → ContDiff ℝ ∞ f ∧ RadialAlias.RadiallySupported a b f) |
| 226 | (hsmooth : ∀ f, G f → ContDiff ℝ ∞ (J f)) |
| 227 | (hsupport : ∀ f, G f → RadialAlias.RadiallySupported a b (J f)) |
| 228 | (hsolve : ∀ f, G f → RadialAlias.directionalDeriv v (J f) = f) |
| 229 | (hclosed : ∀ f, G f → G (RadialAlias.slowDeriv (J f))) |
| 230 | (htame : ∀ m : ℕ, ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 231 | FiniteJetBound (m + loss) f (Prod.fst ⁻¹' Icc a b) C → |
| 232 | FiniteJetBound m (J f) (Prod.fst ⁻¹' Icc a b) (K * C)) (m p : ℕ) : |
| 233 | ∃ K : ℝ, 0 ≤ K ∧ ∀ f, G f → ∀ C : ℝ, 0 ≤ C → |
| 234 | FiniteJetBound (m + (loss + 1) * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 235 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × E, |
| 236 | ‖iteratedFDeriv ℝ j (exactAlias χ M v f) z‖ ≤ K * C * (|M|⁻¹) ^ p := by |
| 237 | obtain ⟨A, hA, hAbound⟩ := exactAlias_sourceJet_bound (E := E) (F := F) |
| 238 | hab hχ hleft hright m |
| 239 | obtain ⟨B, hB, hBbound⟩ := sourceJet_uniform_finiteJets G J (Prod.fst ⁻¹' Icc a b) |
| 240 | loss hclosed hsmooth htame p m |
| 241 | refine ⟨A * B, mul_nonneg hA hB, ?_⟩ |
| 242 | intro f hf C hC hb M hM j hj z |
| 243 | have h := hAbound M v J f p (B * C) hM (mul_nonneg hB hC) |
| 244 | (hregular f hf).1 (hregular f hf).2 |
| 245 | (fun n _ => hsmooth _ (sourceJet_mem G J hclosed n hf)) |
| 246 | (fun n _ => hsupport _ (sourceJet_mem G J hclosed n hf)) |
| 247 | (fun n _ => hsolve _ (sourceJet_mem G J hclosed n hf)) |
| 248 | (hBbound f hf C hC hb) j hj z |
| 249 | simpa only [mul_assoc] using h |
| 250 | |
| 251 | end Integrals |
| 252 | |
| 253 | section RealTransfer |
| 254 | |
| 255 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 256 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 257 | |
| 258 | noncomputable def complexify (f : D → ℝ) (z : D) : ℂ := f z |
| 259 | |
| 260 | theorem complexify_smooth {f : D → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 261 | ContDiff ℝ ∞ (complexify f) := Complex.ofRealCLM.contDiff.comp hf |
| 262 | |
| 263 | theorem norm_iteratedFDeriv_complexify {f : D → ℝ} (hf : ContDiff ℝ ∞ f) |
| 264 | (m : ℕ) (z : D) : |
| 265 | ‖iteratedFDeriv ℝ m (complexify f) z‖ = ‖iteratedFDeriv ℝ m f z‖ := |
| 266 | Complex.ofRealLI.norm_iteratedFDeriv_comp_left hf.contDiffAt (nat_le_smooth m) |
| 267 | |
| 268 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 269 | theorem complexify_supported {a b : ℝ} {f : ℝ × E → ℝ} |
| 270 | (hs : RadialAlias.RadiallySupported a b f) : |
| 271 | RadialAlias.RadiallySupported a b (complexify f) := by |
| 272 | intro z hz |
| 273 | apply hs |
| 274 | intro h |
| 275 | exact hz (by simp only [complexify, h, Complex.ofReal_zero]) |
| 276 | |
| 277 | theorem totalIntegral_complexify (M : ℝ) (v : E) (f : ℝ × E → ℝ) : |
| 278 | TransportPrimitive.totalIntegral M v (complexify f) = |
| 279 | complexify (TransportPrimitive.totalIntegral M v f) := by |
| 280 | funext z |
| 281 | exact Complex.ofRealLI.integral_comp_comm (fun u => f (TransportPrimitive.shift M v z u)) |
| 282 | |
| 283 | theorem norm_iteratedFDeriv_totalIntegral_complexify {a b M : ℝ} {v : E} |
| 284 | {f : ℝ × E → ℝ} (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) |
| 285 | (m : ℕ) (z : ℝ × E) : |
| 286 | ‖iteratedFDeriv ℝ m (TransportPrimitive.totalIntegral M v (complexify f)) z‖ = |
| 287 | ‖iteratedFDeriv ℝ m (TransportPrimitive.totalIntegral M v f) z‖ := by |
| 288 | rw [totalIntegral_complexify] |
| 289 | exact norm_iteratedFDeriv_complexify (TransportPrimitive.totalIntegral_contDiff hf hs) m z |
| 290 | |
| 291 | theorem exactAlias_complexify (χ : ℝ → ℝ) (M : ℝ) (v : E) (f : ℝ × E → ℝ) : |
| 292 | exactAlias χ M v (complexify f) = complexify (exactAlias χ M v f) := by |
| 293 | funext z |
| 294 | rw [exactAlias, totalIntegral_complexify] |
| 295 | exact (Complex.ofRealCLM.map_smul (deriv χ z.1) |
| 296 | (TransportPrimitive.totalIntegral M v f z)).symm |
| 297 | |
| 298 | theorem norm_iteratedFDeriv_exactAlias_complexify {a b M : ℝ} {v : E} |
| 299 | {χ : ℝ → ℝ} {f : ℝ × E → ℝ} (hχ : ContDiff ℝ ∞ χ) (hf : ContDiff ℝ ∞ f) |
| 300 | (hs : RadialAlias.RadiallySupported a b f) (m : ℕ) (z : ℝ × E) : |
| 301 | ‖iteratedFDeriv ℝ m (exactAlias χ M v (complexify f)) z‖ = |
| 302 | ‖iteratedFDeriv ℝ m (exactAlias χ M v f) z‖ := by |
| 303 | rw [exactAlias_complexify] |
| 304 | exact norm_iteratedFDeriv_complexify (exactAlias_smooth hχ hf hs) m z |
| 305 | |
| 306 | end RealTransfer |
| 307 | |
| 308 | section ParameterGeometry |
| 309 | |
| 310 | variable {S F : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 311 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 312 | |
| 313 | /-- Reassociate radial, slow, and torus variables without changing the norm. -/ |
| 314 | noncomputable def toProduct (f : ℝ × (S × Plane) → F) (z : (ℝ × S) × Plane) : F := |
| 315 | f (z.1.1, (z.1.2, z.2)) |
| 316 | |
| 317 | noncomputable def fromProduct (f : (ℝ × S) × Plane → F) (z : ℝ × (S × Plane)) : F := |
| 318 | f ((z.1, z.2.1), z.2.2) |
| 319 | |
| 320 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [NormedAddCommGroup F] [NormedSpace ℝ F] in |
| 321 | @[simp] theorem fromProduct_toProduct (f : ℝ × (S × Plane) → F) : |
| 322 | fromProduct (toProduct f) = f := rfl |
| 323 | |
| 324 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [NormedAddCommGroup F] [NormedSpace ℝ F] in |
| 325 | @[simp] theorem toProduct_fromProduct (f : (ℝ × S) × Plane → F) : |
| 326 | toProduct (fromProduct f) = f := rfl |
| 327 | |
| 328 | theorem toProduct_smooth {f : ℝ × (S × Plane) → F} (hf : ContDiff ℝ ∞ f) : |
| 329 | ContDiff ℝ ∞ (toProduct f) := |
| 330 | hf.comp (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).toContinuousLinearEquiv.contDiff |
| 331 | |
| 332 | theorem fromProduct_smooth {f : (ℝ × S) × Plane → F} (hf : ContDiff ℝ ∞ f) : |
| 333 | ContDiff ℝ ∞ (fromProduct f) := |
| 334 | hf.comp (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.toContinuousLinearEquiv.contDiff |
| 335 | |
| 336 | theorem norm_iteratedFDeriv_toProduct (f : ℝ × (S × Plane) → F) |
| 337 | (m : ℕ) (z : (ℝ × S) × Plane) : |
| 338 | ‖iteratedFDeriv ℝ m (toProduct f) z‖ = |
| 339 | ‖iteratedFDeriv ℝ m f (z.1.1, (z.1.2, z.2))‖ := |
| 340 | (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).norm_iteratedFDeriv_comp_right f z m |
| 341 | |
| 342 | theorem norm_iteratedFDeriv_fromProduct (f : (ℝ × S) × Plane → F) |
| 343 | (m : ℕ) (z : ℝ × (S × Plane)) : |
| 344 | ‖iteratedFDeriv ℝ m (fromProduct f) z‖ = |
| 345 | ‖iteratedFDeriv ℝ m f ((z.1, z.2.1), z.2.2)‖ := |
| 346 | (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.norm_iteratedFDeriv_comp_right f z m |
| 347 | |
| 348 | noncomputable def sourceMean (f : ℝ × (S × Plane) → F) (p : ℝ × S) : F := |
| 349 | FourierAlias.torusMean (fun Y => f (p.1, (p.2, Y))) |
| 350 | |
| 351 | noncomputable def SourcePeriodic (f : ℝ × (S × Plane) → F) : Prop := |
| 352 | ∀ U s, FourierAlias.TorusPeriodic (fun Y => f (U, (s, Y))) |
| 353 | |
| 354 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] in |
| 355 | theorem sourceMean_complexify (f : ℝ × (S × Plane) → ℝ) (p : ℝ × S) : |
| 356 | sourceMean (complexify f) p = ((sourceMean f p : ℝ) : ℂ) := by |
| 357 | simp only [sourceMean, FourierAlias.torusMean, complexify, intervalIntegral.integral_ofReal] |
| 358 | |
| 359 | end ParameterGeometry |
| 360 | |
| 361 | section RealInverse |
| 362 | |
| 363 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 364 | |
| 365 | noncomputable def ParameterPeriodic {F : Type} (f : P × Plane → F) : Prop := |
| 366 | ∀ p, FourierAlias.TorusPeriodic (fun Y => f (p, Y)) |
| 367 | |
| 368 | noncomputable def parameterMean {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 369 | (f : P × Plane → F) (p : P) : F := FourierAlias.torusMean (fun Y => f (p, Y)) |
| 370 | |
| 371 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 372 | theorem complexify_parameterPeriodic {f : P × Plane → ℝ} (hp : ParameterPeriodic f) : |
| 373 | SmoothFamilyTorusInverse.Periodic (complexify f) := by |
| 374 | intro p Y k |
| 375 | exact congrArg Complex.ofReal (hp p Y k) |
| 376 | |
| 377 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 378 | theorem parameterMean_complexify (f : P × Plane → ℝ) (p : P) : |
| 379 | parameterMean (complexify f) p = ((parameterMean f p : ℝ) : ℂ) := by |
| 380 | simp only [parameterMean, FourierAlias.torusMean, complexify, intervalIntegral.integral_ofReal] |
| 381 | |
| 382 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 383 | theorem familyMean_eq_parameterMean (f : P × Plane → ℂ) (p : P) : |
| 384 | SmoothFamilyTorusInverse.mean f p = parameterMean f p := |
| 385 | SmoothFamilyTorusInverse.mean_eq_integral f p |
| 386 | |
| 387 | /-- A genuine real directional inverse, obtained from the actual complex |
| 388 | Fourier inverse by real part. -/ |
| 389 | noncomputable def realInverse (d : Direction) (f : P × Plane → ℝ) (z : P × Plane) : ℝ := |
| 390 | Complex.re (SmoothFamilyTorusInverse.inverse d (complexify f) z) |
| 391 | |
| 392 | noncomputable def realCentered (f : P × Plane → ℝ) (z : P × Plane) : ℝ := |
| 393 | f z - parameterMean f z.1 |
| 394 | |
| 395 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 396 | theorem complexify_realCentered (f : P × Plane → ℝ) : |
| 397 | complexify (realCentered f) = SmoothFamilyTorusInverse.nonbarPart (complexify f) := by |
| 398 | funext z |
| 399 | change ((f z - parameterMean f z.1 : ℝ) : ℂ) = |
| 400 | (f z : ℂ) - SmoothFamilyTorusInverse.mean (complexify f) z.1 |
| 401 | rw [Complex.ofReal_sub, familyMean_eq_parameterMean, parameterMean_complexify] |
| 402 | |
| 403 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 404 | theorem realCentered_eq_re_nonbar (f : P × Plane → ℝ) : |
| 405 | realCentered f = fun z => Complex.re (SmoothFamilyTorusInverse.nonbarPart (complexify f) z) := by |
| 406 | funext z |
| 407 | have h := congrArg Complex.re (congrFun (complexify_realCentered f) z) |
| 408 | exact h |
| 409 | |
| 410 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 411 | theorem realCentered_periodic {f : P × Plane → ℝ} (hp : ParameterPeriodic f) : |
| 412 | ParameterPeriodic (realCentered f) := by |
| 413 | intro p Y k |
| 414 | exact congrArg (fun c => c - parameterMean f p) (hp p Y k) |
| 415 | |
| 416 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 417 | theorem realCentered_preserves_parameter_support (f : P × Plane → ℝ) |
| 418 | (S : Set P) (hs : ∀ p, p ∉ S → ∀ Y, f (p, Y) = 0) : |
| 419 | ∀ p, p ∉ S → ∀ Y, realCentered f (p, Y) = 0 := by |
| 420 | have hc := SmoothFamilyTorusInverse.nonbarPart_preserves_parameter_support (complexify f) S |
| 421 | (fun p hp Y => by simp only [complexify, hs p hp Y, Complex.ofReal_zero]) |
| 422 | intro p hp Y |
| 423 | rw [realCentered_eq_re_nonbar] |
| 424 | change Complex.re (SmoothFamilyTorusInverse.nonbarPart (complexify f) (p, Y)) = 0 |
| 425 | rw [hc p hp Y, Complex.zero_re] |
| 426 | |
| 427 | variable [FiniteDimensional ℝ P] |
| 428 | |
| 429 | theorem realCentered_smooth {f : P × Plane → ℝ} (hf : ContDiff ℝ ∞ f) |
| 430 | (hp : ParameterPeriodic f) : ContDiff ℝ ∞ (realCentered f) := by |
| 431 | rw [realCentered_eq_re_nonbar] |
| 432 | exact Complex.reCLM.contDiff.comp |
| 433 | (SmoothFamilyTorusInverse.nonbarPart_smooth (complexify_smooth hf) (complexify_parameterPeriodic hp)) |
| 434 | |
| 435 | omit [FiniteDimensional ℝ P] in |
| 436 | theorem realCentered_zeroMean {f : P × Plane → ℝ} (hf : ContDiff ℝ ∞ f) |
| 437 | (hp : ParameterPeriodic f) : ∀ p, parameterMean (realCentered f) p = 0 := by |
| 438 | intro p |
| 439 | have hc := SmoothFamilyTorusInverse.nonbarPart_zeroMean (complexify_smooth hf) |
| 440 | (complexify_parameterPeriodic hp) p |
| 441 | rw [familyMean_eq_parameterMean, ← complexify_realCentered, parameterMean_complexify] at hc |
| 442 | exact Complex.ofReal_eq_zero.mp hc |
| 443 | |
| 444 | theorem realInverse_smooth (d : Direction) {f : P × Plane → ℝ} |
| 445 | (hf : ContDiff ℝ ∞ f) (hp : ParameterPeriodic f) : ContDiff ℝ ∞ (realInverse d f) := |
| 446 | Complex.reCLM.contDiff.comp |
| 447 | (SmoothFamilyTorusInverse.inverse_smooth d (complexify_smooth hf) (complexify_parameterPeriodic hp)) |
| 448 | |
| 449 | theorem norm_iteratedFDeriv_realInverse_le (d : Direction) {f : P × Plane → ℝ} |
| 450 | (hf : ContDiff ℝ ∞ f) (hp : ParameterPeriodic f) (m : ℕ) (z : P × Plane) : |
| 451 | ‖iteratedFDeriv ℝ m (realInverse d f) z‖ ≤ |
| 452 | ‖iteratedFDeriv ℝ m (SmoothFamilyTorusInverse.inverse d (complexify f)) z‖ := by |
| 453 | have hi := SmoothFamilyTorusInverse.inverse_smooth d (complexify_smooth hf) |
| 454 | (complexify_parameterPeriodic hp) |
| 455 | have hnorm : ‖Complex.reCLM‖ ≤ 1 := by |
| 456 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 457 | intro c |
| 458 | simpa only [Complex.reCLM_apply, Real.norm_eq_abs, one_mul] using Complex.abs_re_le_norm c |
| 459 | exact (norm_iteratedFDeriv_map Complex.reCLM hi m z).trans |
| 460 | ((mul_le_mul_of_nonneg_right hnorm (norm_nonneg _)).trans_eq (one_mul _)) |
| 461 | |
| 462 | theorem realInverse_finiteJets (d : Direction) (m : ℕ) : |
| 463 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : P × Plane → ℝ) (A : Set P) (C : ℝ), |
| 464 | ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 465 | (∀ j ≤ m + 5, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 466 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (realInverse d f) (p, Y)‖ ≤ K * C := by |
| 467 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.inverse_finiteJets (P := P) d m |
| 468 | refine ⟨K, hK, ?_⟩ |
| 469 | intro f A C hf hp hC hsource j hj p hpA Y |
| 470 | apply (norm_iteratedFDeriv_realInverse_le d hf hp j (p, Y)).trans |
| 471 | apply hb (complexify f) A C (complexify_smooth hf) (complexify_parameterPeriodic hp) hC |
| 472 | _ j hj p hpA Y |
| 473 | intro i hi q hq Z |
| 474 | rw [norm_iteratedFDeriv_complexify hf] |
| 475 | exact hsource i hi q hq Z |
| 476 | |
| 477 | theorem realCentered_finiteJets (m : ℕ) : |
| 478 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : P × Plane → ℝ) (A : Set P) (C : ℝ), |
| 479 | ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 480 | (∀ j ≤ m + 4, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 481 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (realCentered f) (p, Y)‖ ≤ K * C := by |
| 482 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.nonbarPart_finiteJets (P := P) m |
| 483 | refine ⟨K, hK, ?_⟩ |
| 484 | intro f A C hf hp hC hsource j hj p hpA Y |
| 485 | rw [← norm_iteratedFDeriv_complexify (realCentered_smooth hf hp), complexify_realCentered] |
| 486 | apply hb (complexify f) A C (complexify_smooth hf) (complexify_parameterPeriodic hp) hC |
| 487 | _ j hj p hpA Y |
| 488 | intro i hi q hq Z |
| 489 | rw [norm_iteratedFDeriv_complexify hf] |
| 490 | exact hsource i hi q hq Z |
| 491 | |
| 492 | end RealInverse |
| 493 | |
| 494 | section TransportInverse |
| 495 | |
| 496 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 497 | |
| 498 | noncomputable def familyInverse (d : Direction) (f : ℝ × (S × Plane) → ℂ) : |
| 499 | ℝ × (S × Plane) → ℂ := fromProduct (SmoothFamilyTorusInverse.inverse d (toProduct f)) |
| 500 | |
| 501 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 502 | theorem mean_toProduct (f : ℝ × (S × Plane) → ℂ) (p : ℝ × S) : |
| 503 | SmoothFamilyTorusInverse.mean (toProduct f) p = sourceMean f p := |
| 504 | SmoothFamilyTorusInverse.mean_eq_integral _ _ |
| 505 | |
| 506 | noncomputable def realCenterSource (f : ℝ × (S × Plane) → ℝ) : ℝ × (S × Plane) → ℝ := |
| 507 | fromProduct (realCentered (toProduct f)) |
| 508 | |
| 509 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 510 | theorem realCenterSource_apply (f : ℝ × (S × Plane) → ℝ) (z : ℝ × (S × Plane)) : |
| 511 | realCenterSource f z = f z - sourceMean f (z.1, z.2.1) := rfl |
| 512 | |
| 513 | theorem realCenterSource_smooth {f : ℝ × (S × Plane) → ℝ} |
| 514 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) : ContDiff ℝ ∞ (realCenterSource f) := |
| 515 | fromProduct_smooth (realCentered_smooth (toProduct_smooth hf) (fun p => hp p.1 p.2)) |
| 516 | |
| 517 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 518 | theorem realCenterSource_periodic {f : ℝ × (S × Plane) → ℝ} (hp : SourcePeriodic f) : |
| 519 | SourcePeriodic (realCenterSource f) := by |
| 520 | intro U s Y k |
| 521 | exact realCentered_periodic (fun p => hp p.1 p.2) (U, s) Y k |
| 522 | |
| 523 | omit [FiniteDimensional ℝ S] in |
| 524 | theorem realCenterSource_zeroMean {f : ℝ × (S × Plane) → ℝ} |
| 525 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) : ∀ p, sourceMean (realCenterSource f) p = 0 := |
| 526 | realCentered_zeroMean (toProduct_smooth hf) (fun p => hp p.1 p.2) |
| 527 | |
| 528 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 529 | theorem realCenterSource_supported {a b : ℝ} {f : ℝ × (S × Plane) → ℝ} |
| 530 | (hs : RadialAlias.RadiallySupported a b f) : |
| 531 | RadialAlias.RadiallySupported a b (realCenterSource f) := by |
| 532 | have hh : ∀ p : ℝ × S, p ∉ (Prod.fst ⁻¹' Icc a b) → ∀ Y : Plane, |
| 533 | toProduct f (p, Y) = 0 := by |
| 534 | intro p hp Y |
| 535 | by_contra hn |
| 536 | exact hp (@hs (p.1, (p.2, Y)) hn) |
| 537 | have hi := realCentered_preserves_parameter_support (toProduct f) (Prod.fst ⁻¹' Icc a b) hh |
| 538 | intro z hz |
| 539 | by_contra hn |
| 540 | exact hz (hi (z.1, z.2.1) hn z.2.2) |
| 541 | |
| 542 | theorem totalIntegral_realCenterSource {a b M : ℝ} {v : Plane} |
| 543 | {f : ℝ × (S × Plane) → ℝ} (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) |
| 544 | (hs : RadialAlias.RadiallySupported a b f) |
| 545 | (hm : ∀ s, (∫ U in a..b, sourceMean f (U, s)) = 0) (z : ℝ × (S × Plane)) : |
| 546 | TransportPrimitive.totalIntegral M ((0 : S), v) (realCenterSource f) z = |
| 547 | TransportPrimitive.totalIntegral M ((0 : S), v) f z := by |
| 548 | rw [TransportPrimitive.totalIntegral_eq_radialInterval (realCenterSource_smooth hf hp).continuous |
| 549 | (realCenterSource_supported hs), |
| 550 | TransportPrimitive.totalIntegral_eq_radialInterval hf.continuous hs] |
| 551 | have hshift (U : ℝ) : z.2 + (M * (U - z.1)) • ((0 : S), v) = |
| 552 | (z.2.1, z.2.2 + (M * (U - z.1)) • v) := by |
| 553 | apply Prod.ext <;> simp |
| 554 | simp_rw [hshift, realCenterSource_apply] |
| 555 | have hc : Continuous (fun U => f (U, (z.2.1, z.2.2 + (M * (U - z.1)) • v))) := |
| 556 | hf.continuous.comp (continuous_id.prodMk (continuous_const.prodMk |
| 557 | (continuous_const.add ((continuous_const.mul (continuous_id.sub continuous_const)).smul |
| 558 | continuous_const)))) |
| 559 | have ht : Continuous (fun U => Complex.re |
| 560 | (SmoothFamilyTorusInverse.mean (toProduct (complexify f)) (U, z.2.1))) := |
| 561 | Complex.continuous_re.comp |
| 562 | ((SmoothFamilyTorusInverse.coefficient_smooth (toProduct_smooth (complexify_smooth hf)) 0).continuous.comp |
| 563 | (continuous_id.prodMk continuous_const)) |
| 564 | have hmc : Continuous (fun U => sourceMean f (U, z.2.1)) := by |
| 565 | simpa only [mean_toProduct, sourceMean_complexify, Complex.ofReal_re] using ht |
| 566 | rw [intervalIntegral.integral_sub |
| 567 | (f := fun U => f (U, (z.2.1, z.2.2 + (M * (U - z.1)) • v))) |
| 568 | (g := fun U => sourceMean f (U, z.2.1)) (hc.intervalIntegrable _ _) (hmc.intervalIntegrable _ _), |
| 569 | hm z.2.1, sub_zero] |
| 570 | |
| 571 | theorem familyInverse_smooth (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 572 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) : |
| 573 | ContDiff ℝ ∞ (familyInverse d f) := |
| 574 | fromProduct_smooth (SmoothFamilyTorusInverse.inverse_smooth d (toProduct_smooth hf) hp) |
| 575 | |
| 576 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 577 | theorem familyInverse_periodic (d : Direction) (f : ℝ × (S × Plane) → ℂ) : |
| 578 | SmoothFamilyTorusInverse.Periodic (toProduct (familyInverse d f)) := |
| 579 | SmoothFamilyTorusInverse.inverse_periodic d _ |
| 580 | |
| 581 | omit [FiniteDimensional ℝ S] in |
| 582 | theorem familyInverse_zeroMean (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 583 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) : |
| 584 | SmoothFamilyTorusInverse.ZeroMean (toProduct (familyInverse d f)) := |
| 585 | SmoothFamilyTorusInverse.inverse_zeroMean d (toProduct_smooth hf) hp |
| 586 | |
| 587 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 588 | theorem familyInverse_supported (d : Direction) {a b : ℝ} {f : ℝ × (S × Plane) → ℂ} |
| 589 | (hs : RadialAlias.RadiallySupported a b f) : |
| 590 | RadialAlias.RadiallySupported a b (familyInverse d f) := by |
| 591 | have hh : ∀ p : ℝ × S, p ∉ (Prod.fst ⁻¹' Icc a b) → ∀ Y : Plane, |
| 592 | toProduct f (p, Y) = 0 := by |
| 593 | intro p hp Y |
| 594 | by_contra hn |
| 595 | exact hp (@hs (p.1, (p.2, Y)) hn) |
| 596 | have hi := SmoothFamilyTorusInverse.inverse_preserves_parameter_support d (toProduct f) |
| 597 | (Prod.fst ⁻¹' Icc a b) hh |
| 598 | intro z hz |
| 599 | by_contra hn |
| 600 | exact hz (hi (z.1, z.2.1) hn z.2.2) |
| 601 | |
| 602 | omit [FiniteDimensional ℝ S] in |
| 603 | theorem toProduct_slowDeriv {f : ℝ × (S × Plane) → ℂ} (hf : ContDiff ℝ ∞ f) : |
| 604 | toProduct (RadialAlias.slowDeriv f) = |
| 605 | SmoothFamilyTorusInverse.parameterPartial ((1 : ℝ), (0 : S)) (toProduct f) := by |
| 606 | funext z |
| 607 | let e := (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).toContinuousLinearEquiv |
| 608 | have he := (((hf.differentiable (by simp)) (e z)).hasFDerivAt.comp z e.hasFDerivAt).fderiv |
| 609 | change fderiv ℝ f (e z) (1, 0) = fderiv ℝ (f ∘ e) z ((1, 0), 0) |
| 610 | rw [he] |
| 611 | rfl |
| 612 | |
| 613 | theorem familyInverse_solves (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 614 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) |
| 615 | (hm : SmoothFamilyTorusInverse.ZeroMean (toProduct f)) : |
| 616 | RadialAlias.directionalDeriv ((0 : S), vector d) (familyInverse d f) = f := by |
| 617 | funext z |
| 618 | let g := SmoothFamilyTorusInverse.inverse d (toProduct f) |
| 619 | have hg : ContDiff ℝ ∞ g := SmoothFamilyTorusInverse.inverse_smooth d (toProduct_smooth hf) hp |
| 620 | let e := (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.toContinuousLinearEquiv |
| 621 | have he := (((hg.differentiable (by simp)) (e z)).hasFDerivAt.comp z e.hasFDerivAt).fderiv |
| 622 | change fderiv ℝ (g ∘ e) z (0, (0, vector d)) = f z |
| 623 | rw [he] |
| 624 | have hi := congrFun (SmoothFamilyTorusInverse.inverse_solves d (toProduct_smooth hf) hp hm) (e z) |
| 625 | exact hi |
| 626 | |
| 627 | noncomputable def Admissible (a b : ℝ) (f : ℝ × (S × Plane) → ℂ) : Prop := |
| 628 | ContDiff ℝ ∞ f ∧ SmoothFamilyTorusInverse.Periodic (toProduct f) ∧ |
| 629 | SmoothFamilyTorusInverse.ZeroMean (toProduct f) ∧ RadialAlias.RadiallySupported a b f |
| 630 | |
| 631 | theorem admissible_step (d : Direction) {a b : ℝ} {f : ℝ × (S × Plane) → ℂ} |
| 632 | (hf : Admissible a b f) : Admissible a b (RadialAlias.slowDeriv (familyInverse d f)) := by |
| 633 | have hi := familyInverse_smooth d hf.1 hf.2.1 |
| 634 | refine ⟨TransportPrimitive.fixedDeriv_contDiff hi (1, 0), ?_, ?_, |
| 635 | RadialAlias.radialSupport_slowDeriv (familyInverse_supported d hf.2.2.2)⟩ |
| 636 | · rw [toProduct_slowDeriv hi] |
| 637 | exact SmoothFamilyTorusInverse.parameterPartial_periodic (familyInverse_periodic d f) (1, 0) |
| 638 | · rw [toProduct_slowDeriv hi] |
| 639 | exact SmoothFamilyTorusInverse.parameterPartial_zeroMean (toProduct_smooth hi) |
| 640 | (familyInverse_zeroMean d hf.1 hf.2.1) (1, 0) |
| 641 | |
| 642 | theorem familyInverse_finiteJets (d : Direction) (a b : ℝ) (m : ℕ) : |
| 643 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℂ) (C : ℝ), |
| 644 | ContDiff ℝ ∞ f → SmoothFamilyTorusInverse.Periodic (toProduct f) → 0 ≤ C → |
| 645 | FiniteJetBound (m + 5) f (Prod.fst ⁻¹' Icc a b) C → |
| 646 | FiniteJetBound m (familyInverse d f) (Prod.fst ⁻¹' Icc a b) (K * C) := by |
| 647 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.inverse_finiteJets (P := ℝ × S) d m |
| 648 | refine ⟨K, hK, ?_⟩ |
| 649 | intro f C hf hp hC hsource |
| 650 | have hin : SmoothFamilyTorusInverse.JetBound (toProduct f) |
| 651 | (Prod.fst ⁻¹' Icc a b) (m + 5) C := by |
| 652 | intro j hj p hpA Y |
| 653 | rw [norm_iteratedFDeriv_toProduct] |
| 654 | exact hsource j hj (p.1, (p.2, Y)) hpA |
| 655 | have hout := hb (toProduct f) (Prod.fst ⁻¹' Icc a b) C (toProduct_smooth hf) hp hC hin |
| 656 | intro j hj z hz |
| 657 | change ‖iteratedFDeriv ℝ j (fromProduct (SmoothFamilyTorusInverse.inverse d (toProduct f))) z‖ ≤ _ |
| 658 | rw [norm_iteratedFDeriv_fromProduct] |
| 659 | exact hout j hj (z.1, z.2.1) hz z.2.2 |
| 660 | |
| 661 | /-- The retained alias has the same arbitrary inverse-frequency gain, with |
| 662 | all source dependence confined to a finite actual derivative bound. -/ |
| 663 | theorem exactAlias_finiteJets (d : Direction) {a b : ℝ} {χ : ℝ → ℝ} |
| 664 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 665 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) (m p : ℕ) : |
| 666 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℂ), Admissible a b f → |
| 667 | ∀ C : ℝ, 0 ≤ C → FiniteJetBound (m + 6 * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 668 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 669 | ‖iteratedFDeriv ℝ j (exactAlias χ M ((0 : S), vector d) f) z‖ ≤ |
| 670 | K * C * (|M|⁻¹) ^ p := by |
| 671 | apply exactAlias_uniform_of_inverse (Admissible a b) (familyInverse d) 5 hab hχ hleft hright |
| 672 | (fun _ hf => ⟨hf.1, hf.2.2.2⟩) |
| 673 | (fun _ hf => familyInverse_smooth d hf.1 hf.2.1) |
| 674 | (fun _ hf => familyInverse_supported d hf.2.2.2) |
| 675 | (fun _ hf => familyInverse_solves d hf.1 hf.2.1 hf.2.2.1) |
| 676 | (fun _ hf => admissible_step d hf) _ m p |
| 677 | intro k |
| 678 | obtain ⟨K, hK, hb⟩ := familyInverse_finiteJets (S := S) d a b k |
| 679 | exact ⟨K, hK, fun f hf C hC hsource => hb f C hf.1 hf.2.1 hC hsource⟩ |
| 680 | |
| 681 | end TransportInverse |
| 682 | |
| 683 | section MeanClassBounds |
| 684 | |
| 685 | open WeightedRadialPrimitive WeightedClasses |
| 686 | |
| 687 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 688 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 689 | |
| 690 | /-- The flat radial weight absorbs every fixed inverse-edge power, giving a |
| 691 | global finite seminorm bound for a genuine mean-class family. -/ |
| 692 | theorem meanClass_global_finiteJets {a b cL cR : ℝ} (ha : 0 < a) |
| 693 | (hcL : 0 < cL) (hcR : 0 < cR) |
| 694 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 695 | {α : ℝ} {f : ℕ → ℝ × E → F} |
| 696 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) |
| 697 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 698 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (m : ℕ) : |
| 699 | ∃ C : ℝ, 0 ≤ C ∧ ∃ q : ℕ, ∀ n, |
| 700 | FiniteJetBound m (f n) Set.univ (C * ε n ^ α * S n ^ q) := by |
| 701 | obtain ⟨C, hC, q, hb⟩ := hf.bounds m |
| 702 | obtain ⟨W, hW, hw⟩ := weight_uniform_bound hcL hcR (logLength a b) q |
| 703 | refine ⟨C * W, mul_nonneg hC hW, q, ?_⟩ |
| 704 | intro n j hj z _ |
| 705 | have hεα : 0 < ε n ^ α := Real.rpow_pos_of_pos (hε n) α |
| 706 | have hSn : 0 ≤ S n := zero_le_one.trans (hS n) |
| 707 | by_cases hz : z.1 ∈ Ioo a b |
| 708 | · have h := hb n z hz j hj |
| 709 | rw [logStrip_majorant_eq ha hcL hcR ε S hε hεone hS α C q n z hz] at h |
| 710 | calc |
| 711 | _ ≤ (C * ε n ^ α * S n ^ q) * logWeight cL cR a b q z.1 := h |
| 712 | _ ≤ (C * ε n ^ α * S n ^ q) * W := |
| 713 | mul_le_mul_of_nonneg_left (hw _ (logPosition_mem ha hz)) |
| 714 | (by positivity) |
| 715 | _ = (C * W) * ε n ^ α * S n ^ q := by ring |
| 716 | · have hsj := TransportPrimitive.iteratedFDeriv_supported (hs n) j |
| 717 | have heq : iteratedFDeriv ℝ j (f n) z = 0 := by |
| 718 | have hc : Continuous (fun u : ℝ => iteratedFDeriv ℝ j (f n) (u, z.2)) := |
| 719 | (TransportPrimitive.iteratedFDeriv_contDiff (hfc n) j).continuous.comp |
| 720 | (continuous_id.prodMk continuous_const) |
| 721 | have hsupport : support (fun u : ℝ => iteratedFDeriv ℝ j (f n) (u, z.2)) ⊆ Ioo a b := by |
| 722 | simpa only [interior_Icc] using hc.isOpen_support.subset_interior_iff.mpr |
| 723 | (show support (fun u : ℝ => iteratedFDeriv ℝ j (f n) (u, z.2)) ⊆ Icc a b from |
| 724 | fun u hu => hsj hu) |
| 725 | by_contra hn |
| 726 | exact hz (hsupport hn) |
| 727 | rw [heq, norm_zero] |
| 728 | positivity |
| 729 | |
| 730 | /-- The actual power-chart normalization transports the source family class; |
| 731 | all constants are uniform in the band and every auxiliary variable. -/ |
| 732 | theorem meanClass_normalizeSource {a b d cL cR : ℝ} |
| 733 | (ha : 0 < a) (hab : a < b) (hd : 0 < d) (hcL : 0 < cL) (hcR : 0 < cR) |
| 734 | (ε S : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hS : ∀ n, 1 ≤ S n) |
| 735 | {α : ℝ} {f : ℕ → ℝ × E → F} |
| 736 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε S hε hεone hS) α f) |
| 737 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) : |
| 738 | MeanClass (logStripData (a ^ d) (b ^ d) (d ^ 2 * cL) (d ^ 2 * cR) |
| 739 | (Real.rpow_pos_of_pos ha d) (mul_pos (sq_pos_of_pos hd) hcL) (mul_pos (sq_pos_of_pos hd) hcR) |
| 740 | ε S hε hεone hS) α (fun n => RadialPullback.normalizeSource d a (f n)) := by |
| 741 | let st := logStripData (E := E) (a ^ d) (b ^ d) (d ^ 2 * cL) (d ^ 2 * cR) |
| 742 | (Real.rpow_pos_of_pos ha d) (mul_pos (sq_pos_of_pos hd) hcL) (mul_pos (sq_pos_of_pos hd) hcR) |
| 743 | ε S hε hεone hS |
| 744 | refine ⟨fun n z hz => st.zeta_nonneg z hz, ?_, ?_⟩ |
| 745 | · intro n |
| 746 | exact (RadialPullback.normalizeSource_contDiff ha hd (hfc n)).contDiffOn |
| 747 | · intro m |
| 748 | obtain ⟨C, hC, q, hb⟩ := hf.bounds m |
| 749 | obtain ⟨K, hK, hnorm⟩ := RadialPullback.normalizeSource_finiteJets_uniform (E := E) (V := F) |
| 750 | ha hab hd cL cR q m |
| 751 | refine ⟨K * C, mul_nonneg hK hC, q, ?_⟩ |
| 752 | intro n z hz j hj |
| 753 | have hεα : 0 < ε n ^ α := Real.rpow_pos_of_pos (hε n) α |
| 754 | have hSn : 0 ≤ S n := zero_le_one.trans (hS n) |
| 755 | have hinput : ∀ i ≤ m, ∀ R ∈ Ioo a b, ∀ Y : E, |
| 756 | ‖iteratedFDeriv ℝ i (f n) (R, Y)‖ ≤ |
| 757 | (C * ε n ^ α * S n ^ q) * logWeight cL cR a b q R := by |
| 758 | intro i hi R hR Y |
| 759 | have h := hb n (R, Y) hR i hi |
| 760 | rwa [logStrip_majorant_eq ha hcL hcR ε S hε hεone hS α C q n (R, Y) hR] at h |
| 761 | have h := hnorm (f n) (hfc n) (C * ε n ^ α * S n ^ q) (by positivity) |
| 762 | hinput z hz j hj |
| 763 | rw [logStrip_majorant_eq (Real.rpow_pos_of_pos ha d) |
| 764 | (mul_pos (sq_pos_of_pos hd) hcL) (mul_pos (sq_pos_of_pos hd) hcR) |
| 765 | ε S hε hεone hS α (K * C) q n z hz] |
| 766 | convert! h using 1 |
| 767 | ring |
| 768 | |
| 769 | end MeanClassBounds |
| 770 | |
| 771 | section FiberClass |
| 772 | |
| 773 | open WeightedClasses WeightedRadialPrimitive |
| 774 | |
| 775 | variable {S F H : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 776 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup H] [NormedSpace ℝ H] |
| 777 | |
| 778 | /-- A proved finite loss on each parameter fiber preserves the actual |
| 779 | all-order mean class, including its radial weight. -/ |
| 780 | theorem fiberOperator_preserves_meanClass |
| 781 | (T : (((ℝ × S) × Plane) → F) → ((ℝ × S) × Plane) → H) (loss : ℕ) |
| 782 | (hTsmooth : ∀ f, ContDiff ℝ ∞ f → ParameterPeriodic f → ContDiff ℝ ∞ (T f)) |
| 783 | (hTbound : ∀ m : ℕ, ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ((ℝ × S) × Plane) → F) |
| 784 | (A : Set (ℝ × S)) (C : ℝ), ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 785 | (∀ j ≤ m + loss, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 786 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (T f) (p, Y)‖ ≤ K * C) |
| 787 | {a b cL cR : ℝ} (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 788 | (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) |
| 789 | {α : ℝ} {f : ℕ → ℝ × (S × Plane) → F} |
| 790 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) |
| 791 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) : |
| 792 | MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α |
| 793 | (fun n => fromProduct (T (toProduct (f n)))) := by |
| 794 | let st := logStripData (E := S × Plane) a b cL cR ha hcL hcR ε R hε hεone hR |
| 795 | have hprod (n : ℕ) : ParameterPeriodic (toProduct (f n)) := fun p => hp n p.1 p.2 |
| 796 | refine ⟨fun n z hz => st.zeta_nonneg z hz, ?_, ?_⟩ |
| 797 | · intro n |
| 798 | exact (fromProduct_smooth (hTsmooth _ (toProduct_smooth (hfc n)) (hprod n))).contDiffOn |
| 799 | · intro m |
| 800 | obtain ⟨K, hK, hbound⟩ := hTbound m |
| 801 | obtain ⟨C, hC, q, hb⟩ := hf.bounds (m + loss) |
| 802 | refine ⟨K * C, mul_nonneg hK hC, q, ?_⟩ |
| 803 | intro n z hz j hj |
| 804 | let B := (C * ε n ^ α * R n ^ q) * logWeight cL cR a b q z.1 |
| 805 | have hεα : 0 < ε n ^ α := Real.rpow_pos_of_pos (hε n) α |
| 806 | have hRn : 0 ≤ R n := zero_le_one.trans (hR n) |
| 807 | have hw : 0 < logWeight cL cR a b q z.1 := weight_pos cL cR q (logPosition_mem ha hz) |
| 808 | have hB : 0 ≤ B := by dsimp [B]; positivity |
| 809 | have hin : ∀ i ≤ m + loss, ∀ p ∈ ({(z.1, z.2.1)} : Set (ℝ × S)), ∀ Y, |
| 810 | ‖iteratedFDeriv ℝ i (toProduct (f n)) (p, Y)‖ ≤ B := by |
| 811 | intro i hi p hpA Y |
| 812 | have heq : p = (z.1, z.2.1) := Set.mem_singleton_iff.mp hpA |
| 813 | subst p |
| 814 | rw [norm_iteratedFDeriv_toProduct] |
| 815 | have h := hb n (z.1, (z.2.1, Y)) hz i hi |
| 816 | rw [logStrip_majorant_eq ha hcL hcR ε R hε hεone hR α C q n (z.1, (z.2.1, Y)) hz] at h |
| 817 | exact h |
| 818 | rw [norm_iteratedFDeriv_fromProduct, |
| 819 | logStrip_majorant_eq ha hcL hcR ε R hε hεone hR α (K * C) q n z hz] |
| 820 | calc |
| 821 | _ ≤ K * B := hbound (toProduct (f n)) {(z.1, z.2.1)} B (toProduct_smooth (hfc n)) |
| 822 | (hprod n) hB hin j hj (z.1, z.2.1) (Set.mem_singleton _) z.2.2 |
| 823 | _ = ((K * C) * ε n ^ α * R n ^ q) * logWeight cL cR a b q z.1 := by dsimp [B]; ring |
| 824 | |
| 825 | variable [FiniteDimensional ℝ S] |
| 826 | |
| 827 | theorem meanClass_realInverse (d : Direction) {a b cL cR : ℝ} |
| 828 | (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 829 | (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) |
| 830 | {α : ℝ} {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 831 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) |
| 832 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) : |
| 833 | MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α |
| 834 | (fun n => fromProduct (realInverse d (toProduct (f n)))) := |
| 835 | fiberOperator_preserves_meanClass (realInverse d) 5 |
| 836 | (fun _ hf hp => realInverse_smooth d hf hp) (realInverse_finiteJets d) |
| 837 | ha hcL hcR ε R hε hεone hR hf hfc hp |
| 838 | |
| 839 | theorem meanClass_realCenterSource {a b cL cR : ℝ} |
| 840 | (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 841 | (ε R : ℕ → ℝ) (hε : ∀ n, 0 < ε n) (hεone : ∀ n, ε n ≤ 1) (hR : ∀ n, 1 ≤ R n) |
| 842 | {α : ℝ} {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 843 | (hf : MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α f) |
| 844 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) : |
| 845 | MeanClass (logStripData a b cL cR ha hcL hcR ε R hε hεone hR) α |
| 846 | (fun n => realCenterSource (f n)) := |
| 847 | fiberOperator_preserves_meanClass realCentered 4 |
| 848 | (fun _ hf hp => realCentered_smooth hf hp) realCentered_finiteJets |
| 849 | ha hcL hcR ε R hε hεone hR hf hfc hp |
| 850 | |
| 851 | end FiberClass |
| 852 | |
| 853 | section BandScales |
| 854 | |
| 855 | /-- The actual slow scale, clipped only at the finitely many initial bands. -/ |
| 856 | noncomputable def bandSlow (n : ℕ) : ℝ := max 1 (ChartScales.S n) |
| 857 | |
| 858 | theorem one_le_bandSlow (n : ℕ) : 1 ≤ bandSlow n := le_max_left _ _ |
| 859 | |
| 860 | theorem bandSlow_eventually_eq : ∀ᶠ n : ℕ in atTop, bandSlow n = ChartScales.S n := by |
| 861 | filter_upwards [eventually_ge_atTop 1] with n hn |
| 862 | apply max_eq_right |
| 863 | have hn' : (1 : ℝ) ≤ n := by exact_mod_cast hn |
| 864 | change 1 ≤ (n : ℝ) ^ 2 |
| 865 | nlinarith |
| 866 | |
| 867 | /-- Choose the number of integrations by parts before learning the finite |
| 868 | polynomial slow-scale loss of the required source seminorm. -/ |
| 869 | theorem frequency_gain_absorbs_family_growth {M : ℕ → ℝ} {h κ A growth α : ℝ} |
| 870 | (hh : 0 < h) (hκ : 0 < κ) |
| 871 | (hbound : ∀ᶠ n in atTop, |M n|⁻¹ ≤ |
| 872 | A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (N : ℕ) : |
| 873 | ∃ p : ℕ, ∀ q : ℕ, ∀ C : ℝ, 0 ≤ C → |
| 874 | ∀ᶠ n in atTop, |
| 875 | C * ChartScales.epsilon h n ^ α * bandSlow n ^ q * (|M n|⁻¹) ^ p ≤ |
| 876 | C * ChartScales.epsilon h n ^ N := by |
| 877 | obtain ⟨p, hp⟩ := exists_nat_gt (((N : ℝ) + 1 - α) / (κ / 2)) |
| 878 | have hNp : (N : ℝ) + 1 ≤ α + (κ / 2) * (p : ℝ) := by |
| 879 | have hp' := (div_lt_iff₀ (half_pos hκ)).mp hp |
| 880 | nlinarith |
| 881 | refine ⟨p, ?_⟩ |
| 882 | intro q C hC |
| 883 | have hslow := ChartScales.eventually_slow_power_epsilon_lt h hh (q : ℝ) 1 1 |
| 884 | zero_lt_one zero_lt_one |
| 885 | simp only [Real.rpow_natCast, Real.rpow_one] at hslow |
| 886 | filter_upwards [FourierAlias.inverse_frequency_eventually_small hh hκ hbound, |
| 887 | hslow, bandSlow_eventually_eq] with n hn hsn hband |
| 888 | rw [hband] |
| 889 | have hε := ChartScales.epsilon_pos h n |
| 890 | have hS : 0 ≤ ChartScales.S n := sq_nonneg (n : ℝ) |
| 891 | have hpower : (|M n|⁻¹) ^ p ≤ ChartScales.epsilon h n ^ ((κ / 2) * (p : ℝ)) := by |
| 892 | rw [Real.rpow_mul_natCast hε.le] |
| 893 | exact pow_le_pow_left₀ (inv_nonneg.mpr (abs_nonneg _)) hn p |
| 894 | have hεα : 0 ≤ ChartScales.epsilon h n ^ α := (Real.rpow_pos_of_pos hε α).le |
| 895 | calc |
| 896 | _ ≤ C * ChartScales.epsilon h n ^ α * ChartScales.S n ^ q * |
| 897 | ChartScales.epsilon h n ^ ((κ / 2) * (p : ℝ)) := |
| 898 | mul_le_mul_of_nonneg_left hpower (by positivity) |
| 899 | _ = C * ChartScales.epsilon h n ^ (α + (κ / 2) * (p : ℝ)) * ChartScales.S n ^ q := by |
| 900 | rw [Real.rpow_add hε] |
| 901 | ring |
| 902 | _ ≤ C * ChartScales.epsilon h n ^ ((N : ℝ) + 1) * ChartScales.S n ^ q := |
| 903 | mul_le_mul_of_nonneg_right |
| 904 | (mul_le_mul_of_nonneg_left (Real.rpow_le_rpow_of_exponent_ge hε |
| 905 | (ChartScales.epsilon_le_one h hh.le n) hNp) hC) (pow_nonneg hS q) |
| 906 | _ = (C * ChartScales.epsilon h n ^ N) * |
| 907 | (ChartScales.S n ^ q * ChartScales.epsilon h n) := by |
| 908 | rw [Real.rpow_add hε, Real.rpow_natCast, Real.rpow_one] |
| 909 | ring |
| 910 | _ ≤ (C * ChartScales.epsilon h n ^ N) * 1 := |
| 911 | mul_le_mul_of_nonneg_left hsn.le (by positivity) |
| 912 | _ = C * ChartScales.epsilon h n ^ N := mul_one _ |
| 913 | |
| 914 | end BandScales |
| 915 | |
| 916 | section UniformFamilies |
| 917 | |
| 918 | open WeightedClasses WeightedRadialPrimitive |
| 919 | |
| 920 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 921 | |
| 922 | /-- The concrete radial strip with the manuscript's actual band scales. -/ |
| 923 | noncomputable def chartStrip (a b cL cR : ℝ) (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 924 | (h : ℝ) (hh : 0 < h) : StripData (ℝ × E) := |
| 925 | logStripData a b cL cR ha hcL hcR (ChartScales.epsilon h) bandSlow |
| 926 | (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) one_le_bandSlow |
| 927 | |
| 928 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 929 | |
| 930 | /-- Band-dependent sources in the actual all-order mean class have uniformly |
| 931 | superflat aliases. The proof chooses one finite IBP order before extracting |
| 932 | the required source seminorm and its polynomial growth degree. -/ |
| 933 | theorem meanClass_alias_superflat (d : Direction) {a b cL cR h α : ℝ} |
| 934 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 935 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 936 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 937 | {f : ℕ → ℝ × (S × Plane) → ℂ} |
| 938 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 939 | (hgood : ∀ n, Admissible a b (f n)) |
| 940 | {M : ℕ → ℝ} {κ A growth : ℝ} (hκ : 0 < κ) |
| 941 | (hM : ∀ᶠ n in atTop, M n ≠ 0) |
| 942 | (hfrequency : ∀ᶠ n in atTop, |M n|⁻¹ ≤ |
| 943 | A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (m N : ℕ) : |
| 944 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 945 | ‖iteratedFDeriv ℝ j (exactAlias χ (M n) ((0 : S), vector d) (f n)) z‖ ≤ |
| 946 | C * ChartScales.epsilon h n ^ N := by |
| 947 | obtain ⟨p, hp⟩ := frequency_gain_absorbs_family_growth (α := α) hh hκ hfrequency N |
| 948 | obtain ⟨K, hK, hbound⟩ := exactAlias_finiteJets (S := S) d hab hχ hleft hright m p |
| 949 | obtain ⟨C, hC, q, hsource⟩ := meanClass_global_finiteJets ha hcL hcR |
| 950 | (ChartScales.epsilon h) bandSlow (ChartScales.epsilon_pos h) |
| 951 | (ChartScales.epsilon_le_one h hh.le) one_le_bandSlow hf |
| 952 | (fun n => (hgood n).2.2.2) (fun n => (hgood n).1) (m + 6 * p) |
| 953 | refine ⟨K * C, mul_nonneg hK hC, ?_⟩ |
| 954 | filter_upwards [hM, hp q (K * C) (mul_nonneg hK hC)] with n hn hgain |
| 955 | intro j hj z |
| 956 | have hεα : 0 < ChartScales.epsilon h n ^ α := |
| 957 | Real.rpow_pos_of_pos (ChartScales.epsilon_pos h n) α |
| 958 | have hslow : 0 ≤ bandSlow n := zero_le_one.trans (one_le_bandSlow n) |
| 959 | have hb := hbound (f n) (hgood n) (C * ChartScales.epsilon h n ^ α * bandSlow n ^ q) |
| 960 | (by positivity) (fun i hi x _ => hsource n i hi x (Set.mem_univ x)) (M n) hn j hj z |
| 961 | calc |
| 962 | _ ≤ K * (C * ChartScales.epsilon h n ^ α * bandSlow n ^ q) * (|M n|⁻¹) ^ p := hb |
| 963 | _ = (K * C) * ChartScales.epsilon h n ^ α * bandSlow n ^ q * (|M n|⁻¹) ^ p := by ring |
| 964 | _ ≤ (K * C) * ChartScales.epsilon h n ^ N := hgain |
| 965 | |
| 966 | omit [FiniteDimensional ℝ S] in |
| 967 | theorem admissible_complexify {a b : ℝ} {f : ℝ × (S × Plane) → ℝ} |
| 968 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) (hm : ∀ p, sourceMean f p = 0) |
| 969 | (hs : RadialAlias.RadiallySupported a b f) : Admissible a b (complexify f) := by |
| 970 | refine ⟨complexify_smooth hf, ?_, ?_, complexify_supported hs⟩ |
| 971 | · intro p Y k |
| 972 | exact congrArg Complex.ofReal (hp p.1 p.2 Y k) |
| 973 | · intro p |
| 974 | rw [mean_toProduct, sourceMean_complexify, hm p, Complex.ofReal_zero] |
| 975 | |
| 976 | theorem real_exactAlias_finiteJets (d : Direction) {a b : ℝ} {χ : ℝ → ℝ} |
| 977 | (hab : a ≤ b) (hχ : ContDiff ℝ ∞ χ) |
| 978 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) (m p : ℕ) : |
| 979 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : ℝ × (S × Plane) → ℝ), ContDiff ℝ ∞ f → SourcePeriodic f → |
| 980 | (∀ q, sourceMean f q = 0) → RadialAlias.RadiallySupported a b f → |
| 981 | ∀ C : ℝ, 0 ≤ C → FiniteJetBound (m + 6 * p) f (Prod.fst ⁻¹' Icc a b) C → |
| 982 | ∀ M : ℝ, M ≠ 0 → ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 983 | ‖iteratedFDeriv ℝ j (exactAlias χ M ((0 : S), vector d) f) z‖ ≤ K * C * (|M|⁻¹) ^ p := by |
| 984 | obtain ⟨K, hK, hb⟩ := exactAlias_finiteJets (S := S) d hab hχ hleft hright m p |
| 985 | refine ⟨K, hK, ?_⟩ |
| 986 | intro f hf hp hm hs C hC hsource M hM j hj z |
| 987 | rw [← norm_iteratedFDeriv_exactAlias_complexify hχ hf hs] |
| 988 | apply hb (complexify f) (admissible_complexify hf hp hm hs) C hC _ M hM j hj z |
| 989 | intro i hi x hx |
| 990 | rw [norm_iteratedFDeriv_complexify hf] |
| 991 | exact hsource i hi x hx |
| 992 | |
| 993 | theorem realMeanClass_alias_superflat (d : Direction) {a b cL cR h α : ℝ} |
| 994 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 995 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 996 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 997 | {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 998 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 999 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) |
| 1000 | (hm : ∀ n p, sourceMean (f n) p = 0) |
| 1001 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) |
| 1002 | {M : ℕ → ℝ} {κ A growth : ℝ} (hκ : 0 < κ) |
| 1003 | (hM : ∀ᶠ n in atTop, M n ≠ 0) |
| 1004 | (hfrequency : ∀ᶠ n in atTop, |M n|⁻¹ ≤ |
| 1005 | A * ChartScales.epsilon h n ^ κ * ChartScales.S n ^ growth) (m N : ℕ) : |
| 1006 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1007 | ‖iteratedFDeriv ℝ j (exactAlias χ (M n) ((0 : S), vector d) (f n)) z‖ ≤ |
| 1008 | C * ChartScales.epsilon h n ^ N := by |
| 1009 | have hcomplex : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α |
| 1010 | (fun n => complexify (f n)) := hf.map Complex.ofRealCLM |
| 1011 | obtain ⟨C, hC, hb⟩ := meanClass_alias_superflat d ha hab hcL hcR hh hχ hleft hright hcomplex |
| 1012 | (fun n => admissible_complexify (hfc n) (hp n) (hm n) (hs n)) hκ hM hfrequency m N |
| 1013 | refine ⟨C, hC, ?_⟩ |
| 1014 | filter_upwards [hb] with n hn |
| 1015 | intro j hj z |
| 1016 | rw [← norm_iteratedFDeriv_exactAlias_complexify hχ (hfc n) (hs n)] |
| 1017 | exact hn j hj z |
| 1018 | |
| 1019 | theorem radial_realMeanClass_alias_superflat {a b cL cR h α : ℝ} |
| 1020 | (ha : 0 < a) (hab : a ≤ b) (hcL : 0 < cL) (hcR : 0 < cR) (hh : 0 < h) |
| 1021 | {χ : ℝ → ℝ} (hχ : ContDiff ℝ ∞ χ) |
| 1022 | (hleft : ∀ u ≤ a, χ u = 0) (hright : ∀ u, b ≤ u → χ u = 1) |
| 1023 | {f : ℕ → ℝ × (S × Plane) → ℝ} |
| 1024 | (hf : MeanClass (chartStrip a b cL cR ha hcL hcR h hh) α f) |
| 1025 | (hfc : ∀ n, ContDiff ℝ ∞ (f n)) (hp : ∀ n, SourcePeriodic (f n)) |
| 1026 | (hm : ∀ n p, sourceMean (f n) p = 0) |
| 1027 | (hs : ∀ n, RadialAlias.RadiallySupported a b (f n)) (m N : ℕ) : |
| 1028 | ∃ C : ℝ, 0 ≤ C ∧ ∀ᶠ n in atTop, ∀ j ≤ m, ∀ z : ℝ × (S × Plane), |
| 1029 | ‖iteratedFDeriv ℝ j |
| 1030 | (exactAlias χ (ChartScales.radialCoefficient h n) ((0 : S), vector .radial) (f n)) z‖ ≤ |
| 1031 | C * ChartScales.epsilon h n ^ N := by |
| 1032 | apply realMeanClass_alias_superflat .radial (A := ChartScales.Lambda) (growth := ChartScales.rho) |
| 1033 | ha hab hcL hcR hh hχ hleft hright hf hfc hp hm hs |
| 1034 | (show 0 < ChartScales.kappa by norm_num [ChartScales.kappa]) |
| 1035 | (Filter.Eventually.of_forall (fun n => ne_of_gt (ChartScales.radialCoefficient_pos h n))) |
| 1036 | _ m N |
| 1037 | filter_upwards [eventually_ge_atTop 4] with n hn |
| 1038 | simpa only [abs_of_pos (ChartScales.radialCoefficient_pos h n)] using |
| 1039 | ChartScales.radialCoefficient_inv_upper h hh.le hn |
| 1040 | |
| 1041 | end UniformFamilies |
| 1042 | |
| 1043 | end NavierStokes.UniformFourierAlias |