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 | end IterationBounds |
| 67 | |
| 68 | section Integrals |
| 69 | |
| 70 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 71 | [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] |
| 72 | |
| 73 | end Integrals |
| 74 | |
| 75 | section RealTransfer |
| 76 | |
| 77 | variable {D E : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 78 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 79 | |
| 80 | noncomputable def complexify (f : D → ℝ) (z : D) : ℂ := f z |
| 81 | |
| 82 | theorem complexify_smooth {f : D → ℝ} (hf : ContDiff ℝ ∞ f) : |
| 83 | ContDiff ℝ ∞ (complexify f) := Complex.ofRealCLM.contDiff.comp hf |
| 84 | |
| 85 | theorem norm_iteratedFDeriv_complexify {f : D → ℝ} (hf : ContDiff ℝ ∞ f) |
| 86 | (m : ℕ) (z : D) : |
| 87 | ‖iteratedFDeriv ℝ m (complexify f) z‖ = ‖iteratedFDeriv ℝ m f z‖ := |
| 88 | Complex.ofRealLI.norm_iteratedFDeriv_comp_left hf.contDiffAt (nat_le_smooth m) |
| 89 | |
| 90 | omit [NormedAddCommGroup E] [NormedSpace ℝ E] in |
| 91 | theorem complexify_supported {a b : ℝ} {f : ℝ × E → ℝ} |
| 92 | (hs : RadialAlias.RadiallySupported a b f) : |
| 93 | RadialAlias.RadiallySupported a b (complexify f) := by |
| 94 | intro z hz |
| 95 | apply hs |
| 96 | intro h |
| 97 | exact hz (by simp only [complexify, h, Complex.ofReal_zero]) |
| 98 | |
| 99 | theorem totalIntegral_complexify (M : ℝ) (v : E) (f : ℝ × E → ℝ) : |
| 100 | TransportPrimitive.totalIntegral M v (complexify f) = |
| 101 | complexify (TransportPrimitive.totalIntegral M v f) := by |
| 102 | funext z |
| 103 | exact Complex.ofRealLI.integral_comp_comm (fun u => f (TransportPrimitive.shift M v z u)) |
| 104 | |
| 105 | theorem norm_iteratedFDeriv_totalIntegral_complexify {a b M : ℝ} {v : E} |
| 106 | {f : ℝ × E → ℝ} (hf : ContDiff ℝ ∞ f) (hs : RadialAlias.RadiallySupported a b f) |
| 107 | (m : ℕ) (z : ℝ × E) : |
| 108 | ‖iteratedFDeriv ℝ m (TransportPrimitive.totalIntegral M v (complexify f)) z‖ = |
| 109 | ‖iteratedFDeriv ℝ m (TransportPrimitive.totalIntegral M v f) z‖ := by |
| 110 | rw [totalIntegral_complexify] |
| 111 | exact norm_iteratedFDeriv_complexify (TransportPrimitive.totalIntegral_contDiff hf hs) m z |
| 112 | |
| 113 | end RealTransfer |
| 114 | |
| 115 | section ParameterGeometry |
| 116 | |
| 117 | variable {S F : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 118 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 119 | |
| 120 | /-- Reassociate radial, slow, and torus variables without changing the norm. -/ |
| 121 | noncomputable def toProduct (f : ℝ × (S × Plane) → F) (z : (ℝ × S) × Plane) : F := |
| 122 | f (z.1.1, (z.1.2, z.2)) |
| 123 | |
| 124 | noncomputable def fromProduct (f : (ℝ × S) × Plane → F) (z : ℝ × (S × Plane)) : F := |
| 125 | f ((z.1, z.2.1), z.2.2) |
| 126 | |
| 127 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [NormedAddCommGroup F] [NormedSpace ℝ F] in |
| 128 | @[simp] theorem fromProduct_toProduct (f : ℝ × (S × Plane) → F) : |
| 129 | fromProduct (toProduct f) = f := rfl |
| 130 | |
| 131 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [NormedAddCommGroup F] [NormedSpace ℝ F] in |
| 132 | @[simp] theorem toProduct_fromProduct (f : (ℝ × S) × Plane → F) : |
| 133 | toProduct (fromProduct f) = f := rfl |
| 134 | |
| 135 | theorem toProduct_smooth {f : ℝ × (S × Plane) → F} (hf : ContDiff ℝ ∞ f) : |
| 136 | ContDiff ℝ ∞ (toProduct f) := |
| 137 | hf.comp (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).toContinuousLinearEquiv.contDiff |
| 138 | |
| 139 | theorem fromProduct_smooth {f : (ℝ × S) × Plane → F} (hf : ContDiff ℝ ∞ f) : |
| 140 | ContDiff ℝ ∞ (fromProduct f) := |
| 141 | hf.comp (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.toContinuousLinearEquiv.contDiff |
| 142 | |
| 143 | theorem norm_iteratedFDeriv_toProduct (f : ℝ × (S × Plane) → F) |
| 144 | (m : ℕ) (z : (ℝ × S) × Plane) : |
| 145 | ‖iteratedFDeriv ℝ m (toProduct f) z‖ = |
| 146 | ‖iteratedFDeriv ℝ m f (z.1.1, (z.1.2, z.2))‖ := |
| 147 | (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).norm_iteratedFDeriv_comp_right f z m |
| 148 | |
| 149 | theorem norm_iteratedFDeriv_fromProduct (f : (ℝ × S) × Plane → F) |
| 150 | (m : ℕ) (z : ℝ × (S × Plane)) : |
| 151 | ‖iteratedFDeriv ℝ m (fromProduct f) z‖ = |
| 152 | ‖iteratedFDeriv ℝ m f ((z.1, z.2.1), z.2.2)‖ := |
| 153 | (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.norm_iteratedFDeriv_comp_right f z m |
| 154 | |
| 155 | noncomputable def sourceMean (f : ℝ × (S × Plane) → F) (p : ℝ × S) : F := |
| 156 | FourierAlias.torusMean (fun Y => f (p.1, (p.2, Y))) |
| 157 | |
| 158 | noncomputable def SourcePeriodic (f : ℝ × (S × Plane) → F) : Prop := |
| 159 | ∀ U s, FourierAlias.TorusPeriodic (fun Y => f (U, (s, Y))) |
| 160 | |
| 161 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] in |
| 162 | theorem sourceMean_complexify (f : ℝ × (S × Plane) → ℝ) (p : ℝ × S) : |
| 163 | sourceMean (complexify f) p = ((sourceMean f p : ℝ) : ℂ) := by |
| 164 | simp only [sourceMean, FourierAlias.torusMean, complexify, intervalIntegral.integral_ofReal] |
| 165 | |
| 166 | end ParameterGeometry |
| 167 | |
| 168 | section RealInverse |
| 169 | |
| 170 | variable {P : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 171 | |
| 172 | noncomputable def ParameterPeriodic {F : Type} (f : P × Plane → F) : Prop := |
| 173 | ∀ p, FourierAlias.TorusPeriodic (fun Y => f (p, Y)) |
| 174 | |
| 175 | noncomputable def parameterMean {F : Type} [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 176 | (f : P × Plane → F) (p : P) : F := FourierAlias.torusMean (fun Y => f (p, Y)) |
| 177 | |
| 178 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 179 | theorem complexify_parameterPeriodic {f : P × Plane → ℝ} (hp : ParameterPeriodic f) : |
| 180 | SmoothFamilyTorusInverse.Periodic (complexify f) := by |
| 181 | intro p Y k |
| 182 | exact congrArg Complex.ofReal (hp p Y k) |
| 183 | |
| 184 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 185 | theorem parameterMean_complexify (f : P × Plane → ℝ) (p : P) : |
| 186 | parameterMean (complexify f) p = ((parameterMean f p : ℝ) : ℂ) := by |
| 187 | simp only [parameterMean, FourierAlias.torusMean, complexify, intervalIntegral.integral_ofReal] |
| 188 | |
| 189 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 190 | theorem familyMean_eq_parameterMean (f : P × Plane → ℂ) (p : P) : |
| 191 | SmoothFamilyTorusInverse.mean f p = parameterMean f p := |
| 192 | SmoothFamilyTorusInverse.mean_eq_integral f p |
| 193 | |
| 194 | /-- A genuine real directional inverse, obtained from the actual complex |
| 195 | Fourier inverse by real part. -/ |
| 196 | noncomputable def realInverse (d : Direction) (f : P × Plane → ℝ) (z : P × Plane) : ℝ := |
| 197 | Complex.re (SmoothFamilyTorusInverse.inverse d (complexify f) z) |
| 198 | |
| 199 | noncomputable def realCentered (f : P × Plane → ℝ) (z : P × Plane) : ℝ := |
| 200 | f z - parameterMean f z.1 |
| 201 | |
| 202 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 203 | theorem complexify_realCentered (f : P × Plane → ℝ) : |
| 204 | complexify (realCentered f) = SmoothFamilyTorusInverse.nonbarPart (complexify f) := by |
| 205 | funext z |
| 206 | change ((f z - parameterMean f z.1 : ℝ) : ℂ) = |
| 207 | (f z : ℂ) - SmoothFamilyTorusInverse.mean (complexify f) z.1 |
| 208 | rw [Complex.ofReal_sub, familyMean_eq_parameterMean, parameterMean_complexify] |
| 209 | |
| 210 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 211 | theorem realCentered_eq_re_nonbar (f : P × Plane → ℝ) : |
| 212 | realCentered f = fun z => Complex.re (SmoothFamilyTorusInverse.nonbarPart (complexify f) z) := by |
| 213 | funext z |
| 214 | have h := congrArg Complex.re (congrFun (complexify_realCentered f) z) |
| 215 | exact h |
| 216 | |
| 217 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 218 | theorem realCentered_periodic {f : P × Plane → ℝ} (hp : ParameterPeriodic f) : |
| 219 | ParameterPeriodic (realCentered f) := by |
| 220 | intro p Y k |
| 221 | exact congrArg (fun c => c - parameterMean f p) (hp p Y k) |
| 222 | |
| 223 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 224 | theorem realCentered_preserves_parameter_support (f : P × Plane → ℝ) |
| 225 | (S : Set P) (hs : ∀ p, p ∉ S → ∀ Y, f (p, Y) = 0) : |
| 226 | ∀ p, p ∉ S → ∀ Y, realCentered f (p, Y) = 0 := by |
| 227 | have hc := SmoothFamilyTorusInverse.nonbarPart_preserves_parameter_support (complexify f) S |
| 228 | (fun p hp Y => by simp only [complexify, hs p hp Y, Complex.ofReal_zero]) |
| 229 | intro p hp Y |
| 230 | rw [realCentered_eq_re_nonbar] |
| 231 | change Complex.re (SmoothFamilyTorusInverse.nonbarPart (complexify f) (p, Y)) = 0 |
| 232 | rw [hc p hp Y, Complex.zero_re] |
| 233 | |
| 234 | variable [FiniteDimensional ℝ P] |
| 235 | |
| 236 | theorem realCentered_smooth {f : P × Plane → ℝ} (hf : ContDiff ℝ ∞ f) |
| 237 | (hp : ParameterPeriodic f) : ContDiff ℝ ∞ (realCentered f) := by |
| 238 | rw [realCentered_eq_re_nonbar] |
| 239 | exact Complex.reCLM.contDiff.comp |
| 240 | (SmoothFamilyTorusInverse.nonbarPart_smooth (complexify_smooth hf) (complexify_parameterPeriodic hp)) |
| 241 | |
| 242 | omit [FiniteDimensional ℝ P] in |
| 243 | theorem realCentered_zeroMean {f : P × Plane → ℝ} (hf : ContDiff ℝ ∞ f) |
| 244 | (hp : ParameterPeriodic f) : ∀ p, parameterMean (realCentered f) p = 0 := by |
| 245 | intro p |
| 246 | have hc := SmoothFamilyTorusInverse.nonbarPart_zeroMean (complexify_smooth hf) |
| 247 | (complexify_parameterPeriodic hp) p |
| 248 | rw [familyMean_eq_parameterMean, ← complexify_realCentered, parameterMean_complexify] at hc |
| 249 | exact Complex.ofReal_eq_zero.mp hc |
| 250 | |
| 251 | theorem norm_iteratedFDeriv_realInverse_le (d : Direction) {f : P × Plane → ℝ} |
| 252 | (hf : ContDiff ℝ ∞ f) (hp : ParameterPeriodic f) (m : ℕ) (z : P × Plane) : |
| 253 | ‖iteratedFDeriv ℝ m (realInverse d f) z‖ ≤ |
| 254 | ‖iteratedFDeriv ℝ m (SmoothFamilyTorusInverse.inverse d (complexify f)) z‖ := by |
| 255 | have hi := SmoothFamilyTorusInverse.inverse_smooth d (complexify_smooth hf) |
| 256 | (complexify_parameterPeriodic hp) |
| 257 | have hnorm : ‖Complex.reCLM‖ ≤ 1 := by |
| 258 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 259 | intro c |
| 260 | simpa only [Complex.reCLM_apply, Real.norm_eq_abs, one_mul] using Complex.abs_re_le_norm c |
| 261 | exact (norm_iteratedFDeriv_map Complex.reCLM hi m z).trans |
| 262 | ((mul_le_mul_of_nonneg_right hnorm (norm_nonneg _)).trans_eq (one_mul _)) |
| 263 | |
| 264 | theorem realInverse_finiteJets (d : Direction) (m : ℕ) : |
| 265 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : P × Plane → ℝ) (A : Set P) (C : ℝ), |
| 266 | ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 267 | (∀ j ≤ m + 5, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 268 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (realInverse d f) (p, Y)‖ ≤ K * C := by |
| 269 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.inverse_finiteJets (P := P) d m |
| 270 | refine ⟨K, hK, ?_⟩ |
| 271 | intro f A C hf hp hC hsource j hj p hpA Y |
| 272 | apply (norm_iteratedFDeriv_realInverse_le d hf hp j (p, Y)).trans |
| 273 | apply hb (complexify f) A C (complexify_smooth hf) (complexify_parameterPeriodic hp) hC |
| 274 | _ j hj p hpA Y |
| 275 | intro i hi q hq Z |
| 276 | rw [norm_iteratedFDeriv_complexify hf] |
| 277 | exact hsource i hi q hq Z |
| 278 | |
| 279 | theorem realCentered_finiteJets (m : ℕ) : |
| 280 | ∃ K : ℝ, 0 ≤ K ∧ ∀ (f : P × Plane → ℝ) (A : Set P) (C : ℝ), |
| 281 | ContDiff ℝ ∞ f → ParameterPeriodic f → 0 ≤ C → |
| 282 | (∀ j ≤ m + 4, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j f (p, Y)‖ ≤ C) → |
| 283 | ∀ j ≤ m, ∀ p ∈ A, ∀ Y, ‖iteratedFDeriv ℝ j (realCentered f) (p, Y)‖ ≤ K * C := by |
| 284 | obtain ⟨K, hK, hb⟩ := SmoothFamilyTorusInverse.nonbarPart_finiteJets (P := P) m |
| 285 | refine ⟨K, hK, ?_⟩ |
| 286 | intro f A C hf hp hC hsource j hj p hpA Y |
| 287 | rw [← norm_iteratedFDeriv_complexify (realCentered_smooth hf hp), complexify_realCentered] |
| 288 | apply hb (complexify f) A C (complexify_smooth hf) (complexify_parameterPeriodic hp) hC |
| 289 | _ j hj p hpA Y |
| 290 | intro i hi q hq Z |
| 291 | rw [norm_iteratedFDeriv_complexify hf] |
| 292 | exact hsource i hi q hq Z |
| 293 | |
| 294 | end RealInverse |
| 295 | |
| 296 | section TransportInverse |
| 297 | |
| 298 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 299 | |
| 300 | noncomputable def familyInverse (d : Direction) (f : ℝ × (S × Plane) → ℂ) : |
| 301 | ℝ × (S × Plane) → ℂ := fromProduct (SmoothFamilyTorusInverse.inverse d (toProduct f)) |
| 302 | |
| 303 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 304 | theorem mean_toProduct (f : ℝ × (S × Plane) → ℂ) (p : ℝ × S) : |
| 305 | SmoothFamilyTorusInverse.mean (toProduct f) p = sourceMean f p := |
| 306 | SmoothFamilyTorusInverse.mean_eq_integral _ _ |
| 307 | |
| 308 | noncomputable def realCenterSource (f : ℝ × (S × Plane) → ℝ) : ℝ × (S × Plane) → ℝ := |
| 309 | fromProduct (realCentered (toProduct f)) |
| 310 | |
| 311 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 312 | theorem realCenterSource_apply (f : ℝ × (S × Plane) → ℝ) (z : ℝ × (S × Plane)) : |
| 313 | realCenterSource f z = f z - sourceMean f (z.1, z.2.1) := rfl |
| 314 | |
| 315 | theorem realCenterSource_smooth {f : ℝ × (S × Plane) → ℝ} |
| 316 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) : ContDiff ℝ ∞ (realCenterSource f) := |
| 317 | fromProduct_smooth (realCentered_smooth (toProduct_smooth hf) (fun p => hp p.1 p.2)) |
| 318 | |
| 319 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 320 | theorem realCenterSource_periodic {f : ℝ × (S × Plane) → ℝ} (hp : SourcePeriodic f) : |
| 321 | SourcePeriodic (realCenterSource f) := by |
| 322 | intro U s Y k |
| 323 | exact realCentered_periodic (fun p => hp p.1 p.2) (U, s) Y k |
| 324 | |
| 325 | omit [FiniteDimensional ℝ S] in |
| 326 | theorem realCenterSource_zeroMean {f : ℝ × (S × Plane) → ℝ} |
| 327 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) : ∀ p, sourceMean (realCenterSource f) p = 0 := |
| 328 | realCentered_zeroMean (toProduct_smooth hf) (fun p => hp p.1 p.2) |
| 329 | |
| 330 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 331 | theorem realCenterSource_supported {a b : ℝ} {f : ℝ × (S × Plane) → ℝ} |
| 332 | (hs : RadialAlias.RadiallySupported a b f) : |
| 333 | RadialAlias.RadiallySupported a b (realCenterSource f) := by |
| 334 | have hh : ∀ p : ℝ × S, p ∉ (Prod.fst ⁻¹' Icc a b) → ∀ Y : Plane, |
| 335 | toProduct f (p, Y) = 0 := by |
| 336 | intro p hp Y |
| 337 | by_contra hn |
| 338 | exact hp (@hs (p.1, (p.2, Y)) hn) |
| 339 | have hi := realCentered_preserves_parameter_support (toProduct f) (Prod.fst ⁻¹' Icc a b) hh |
| 340 | intro z hz |
| 341 | by_contra hn |
| 342 | exact hz (hi (z.1, z.2.1) hn z.2.2) |
| 343 | |
| 344 | theorem totalIntegral_realCenterSource {a b M : ℝ} {v : Plane} |
| 345 | {f : ℝ × (S × Plane) → ℝ} (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) |
| 346 | (hs : RadialAlias.RadiallySupported a b f) |
| 347 | (hm : ∀ s, (∫ U in a..b, sourceMean f (U, s)) = 0) (z : ℝ × (S × Plane)) : |
| 348 | TransportPrimitive.totalIntegral M ((0 : S), v) (realCenterSource f) z = |
| 349 | TransportPrimitive.totalIntegral M ((0 : S), v) f z := by |
| 350 | rw [TransportPrimitive.totalIntegral_eq_radialInterval (realCenterSource_smooth hf hp).continuous |
| 351 | (realCenterSource_supported hs), |
| 352 | TransportPrimitive.totalIntegral_eq_radialInterval hf.continuous hs] |
| 353 | have hshift (U : ℝ) : z.2 + (M * (U - z.1)) • ((0 : S), v) = |
| 354 | (z.2.1, z.2.2 + (M * (U - z.1)) • v) := by |
| 355 | apply Prod.ext <;> simp |
| 356 | simp_rw [hshift, realCenterSource_apply] |
| 357 | have hc : Continuous (fun U => f (U, (z.2.1, z.2.2 + (M * (U - z.1)) • v))) := |
| 358 | hf.continuous.comp (continuous_id.prodMk (continuous_const.prodMk |
| 359 | (continuous_const.add ((continuous_const.mul (continuous_id.sub continuous_const)).smul |
| 360 | continuous_const)))) |
| 361 | have ht : Continuous (fun U => Complex.re |
| 362 | (SmoothFamilyTorusInverse.mean (toProduct (complexify f)) (U, z.2.1))) := |
| 363 | Complex.continuous_re.comp |
| 364 | ((SmoothFamilyTorusInverse.coefficient_smooth (toProduct_smooth (complexify_smooth hf)) 0).continuous.comp |
| 365 | (continuous_id.prodMk continuous_const)) |
| 366 | have hmc : Continuous (fun U => sourceMean f (U, z.2.1)) := by |
| 367 | simpa only [mean_toProduct, sourceMean_complexify, Complex.ofReal_re] using ht |
| 368 | rw [intervalIntegral.integral_sub |
| 369 | (f := fun U => f (U, (z.2.1, z.2.2 + (M * (U - z.1)) • v))) |
| 370 | (g := fun U => sourceMean f (U, z.2.1)) (hc.intervalIntegrable _ _) (hmc.intervalIntegrable _ _), |
| 371 | hm z.2.1, sub_zero] |
| 372 | |
| 373 | theorem familyInverse_smooth (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 374 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) : |
| 375 | ContDiff ℝ ∞ (familyInverse d f) := |
| 376 | fromProduct_smooth (SmoothFamilyTorusInverse.inverse_smooth d (toProduct_smooth hf) hp) |
| 377 | |
| 378 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 379 | theorem familyInverse_periodic (d : Direction) (f : ℝ × (S × Plane) → ℂ) : |
| 380 | SmoothFamilyTorusInverse.Periodic (toProduct (familyInverse d f)) := |
| 381 | SmoothFamilyTorusInverse.inverse_periodic d _ |
| 382 | |
| 383 | omit [FiniteDimensional ℝ S] in |
| 384 | theorem familyInverse_zeroMean (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 385 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) : |
| 386 | SmoothFamilyTorusInverse.ZeroMean (toProduct (familyInverse d f)) := |
| 387 | SmoothFamilyTorusInverse.inverse_zeroMean d (toProduct_smooth hf) hp |
| 388 | |
| 389 | omit [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] in |
| 390 | theorem familyInverse_supported (d : Direction) {a b : ℝ} {f : ℝ × (S × Plane) → ℂ} |
| 391 | (hs : RadialAlias.RadiallySupported a b f) : |
| 392 | RadialAlias.RadiallySupported a b (familyInverse d f) := by |
| 393 | have hh : ∀ p : ℝ × S, p ∉ (Prod.fst ⁻¹' Icc a b) → ∀ Y : Plane, |
| 394 | toProduct f (p, Y) = 0 := by |
| 395 | intro p hp Y |
| 396 | by_contra hn |
| 397 | exact hp (@hs (p.1, (p.2, Y)) hn) |
| 398 | have hi := SmoothFamilyTorusInverse.inverse_preserves_parameter_support d (toProduct f) |
| 399 | (Prod.fst ⁻¹' Icc a b) hh |
| 400 | intro z hz |
| 401 | by_contra hn |
| 402 | exact hz (hi (z.1, z.2.1) hn z.2.2) |
| 403 | |
| 404 | omit [FiniteDimensional ℝ S] in |
| 405 | theorem toProduct_slowDeriv {f : ℝ × (S × Plane) → ℂ} (hf : ContDiff ℝ ∞ f) : |
| 406 | toProduct (RadialAlias.slowDeriv f) = |
| 407 | SmoothFamilyTorusInverse.parameterPartial ((1 : ℝ), (0 : S)) (toProduct f) := by |
| 408 | funext z |
| 409 | let e := (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).toContinuousLinearEquiv |
| 410 | have he := (((hf.differentiable (by simp)) (e z)).hasFDerivAt.comp z e.hasFDerivAt).fderiv |
| 411 | change fderiv ℝ f (e z) (1, 0) = fderiv ℝ (f ∘ e) z ((1, 0), 0) |
| 412 | rw [he] |
| 413 | rfl |
| 414 | |
| 415 | theorem familyInverse_solves (d : Direction) {f : ℝ × (S × Plane) → ℂ} |
| 416 | (hf : ContDiff ℝ ∞ f) (hp : SmoothFamilyTorusInverse.Periodic (toProduct f)) |
| 417 | (hm : SmoothFamilyTorusInverse.ZeroMean (toProduct f)) : |
| 418 | RadialAlias.directionalDeriv ((0 : S), vector d) (familyInverse d f) = f := by |
| 419 | funext z |
| 420 | let g := SmoothFamilyTorusInverse.inverse d (toProduct f) |
| 421 | have hg : ContDiff ℝ ∞ g := SmoothFamilyTorusInverse.inverse_smooth d (toProduct_smooth hf) hp |
| 422 | let e := (LinearIsometryEquiv.prodAssoc ℝ ℝ S Plane).symm.toContinuousLinearEquiv |
| 423 | have he := (((hg.differentiable (by simp)) (e z)).hasFDerivAt.comp z e.hasFDerivAt).fderiv |
| 424 | change fderiv ℝ (g ∘ e) z (0, (0, vector d)) = f z |
| 425 | rw [he] |
| 426 | have hi := congrFun (SmoothFamilyTorusInverse.inverse_solves d (toProduct_smooth hf) hp hm) (e z) |
| 427 | exact hi |
| 428 | |
| 429 | noncomputable def Admissible (a b : ℝ) (f : ℝ × (S × Plane) → ℂ) : Prop := |
| 430 | ContDiff ℝ ∞ f ∧ SmoothFamilyTorusInverse.Periodic (toProduct f) ∧ |
| 431 | SmoothFamilyTorusInverse.ZeroMean (toProduct f) ∧ RadialAlias.RadiallySupported a b f |
| 432 | |
| 433 | theorem admissible_step (d : Direction) {a b : ℝ} {f : ℝ × (S × Plane) → ℂ} |
| 434 | (hf : Admissible a b f) : Admissible a b (RadialAlias.slowDeriv (familyInverse d f)) := by |
| 435 | have hi := familyInverse_smooth d hf.1 hf.2.1 |
| 436 | refine ⟨TransportPrimitive.fixedDeriv_contDiff hi (1, 0), ?_, ?_, |
| 437 | RadialAlias.radialSupport_slowDeriv (familyInverse_supported d hf.2.2.2)⟩ |
| 438 | · rw [toProduct_slowDeriv hi] |
| 439 | exact SmoothFamilyTorusInverse.parameterPartial_periodic (familyInverse_periodic d f) (1, 0) |
| 440 | · rw [toProduct_slowDeriv hi] |
| 441 | exact SmoothFamilyTorusInverse.parameterPartial_zeroMean (toProduct_smooth hi) |
| 442 | (familyInverse_zeroMean d hf.1 hf.2.1) (1, 0) |
| 443 | |
| 444 | end TransportInverse |
| 445 | |
| 446 | section MeanClassBounds |
| 447 | |
| 448 | open WeightedRadialPrimitive WeightedClasses |
| 449 | |
| 450 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 451 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 452 | |
| 453 | end MeanClassBounds |
| 454 | |
| 455 | section FiberClass |
| 456 | |
| 457 | open WeightedClasses WeightedRadialPrimitive |
| 458 | |
| 459 | variable {S F H : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 460 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedAddCommGroup H] [NormedSpace ℝ H] |
| 461 | |
| 462 | variable [FiniteDimensional ℝ S] |
| 463 | |
| 464 | end FiberClass |
| 465 | |
| 466 | section BandScales |
| 467 | |
| 468 | /-- The actual slow scale, clipped only at the finitely many initial bands. -/ |
| 469 | noncomputable def bandSlow (n : ℕ) : ℝ := max 1 (ChartScales.S n) |
| 470 | |
| 471 | theorem one_le_bandSlow (n : ℕ) : 1 ≤ bandSlow n := le_max_left _ _ |
| 472 | |
| 473 | end BandScales |
| 474 | |
| 475 | section UniformFamilies |
| 476 | |
| 477 | open WeightedClasses WeightedRadialPrimitive |
| 478 | |
| 479 | variable {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 480 | |
| 481 | /-- The concrete radial strip with the manuscript's actual band scales. -/ |
| 482 | noncomputable def chartStrip (a b cL cR : ℝ) (ha : 0 < a) (hcL : 0 < cL) (hcR : 0 < cR) |
| 483 | (h : ℝ) (hh : 0 < h) : StripData (ℝ × E) := |
| 484 | logStripData a b cL cR ha hcL hcR (ChartScales.epsilon h) bandSlow |
| 485 | (ChartScales.epsilon_pos h) (ChartScales.epsilon_le_one h hh.le) one_le_bandSlow |
| 486 | |
| 487 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] [FiniteDimensional ℝ S] |
| 488 | |
| 489 | omit [FiniteDimensional ℝ S] in |
| 490 | theorem admissible_complexify {a b : ℝ} {f : ℝ × (S × Plane) → ℝ} |
| 491 | (hf : ContDiff ℝ ∞ f) (hp : SourcePeriodic f) (hm : ∀ p, sourceMean f p = 0) |
| 492 | (hs : RadialAlias.RadiallySupported a b f) : Admissible a b (complexify f) := by |
| 493 | refine ⟨complexify_smooth hf, ?_, ?_, complexify_supported hs⟩ |
| 494 | · intro p Y k |
| 495 | exact congrArg Complex.ofReal (hp p.1 p.2 Y k) |
| 496 | · intro p |
| 497 | rw [mean_toProduct, sourceMean_complexify, hm p, Complex.ofReal_zero] |
| 498 | |
| 499 | end UniformFamilies |
| 500 | |
| 501 | end NavierStokes.UniformFourierAlias |