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.SolenoidalDiagonal |
| 2 | import NavierStokes.AxisymmetricResidual |
| 3 | import NavierStokes.PhysicalWaveSum |
| 4 | import NavierStokes.VariableGaugeMean |
| 5 | import NavierStokes.ResidualCalculus |
| 6 | import NavierStokes.SpatialLocalization |
| 7 | import NavierStokes.OffplaneCorrectionExtensions |
| 8 | import NavierStokes.LocalRankDefect |
| 9 | |
| 10 | /-! |
| 11 | # Direct angular means in the physical diagonal |
| 12 | |
| 13 | The angular velocity is retained as a direct field. It is not replaced by |
| 14 | an axial primitive. Axisymmetry proves its divergence equation, and an |
| 15 | annular zero germ removes the coordinate singularity on the axis. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace NavierStokes.DirectAngularDiagonal |
| 21 | |
| 22 | open Set Function Filter ProblemStatement |
| 23 | open scoped Topology ContDiff BigOperators |
| 24 | |
| 25 | abbrev Slow := ℝ × ℝ |
| 26 | abbrev CylPoint := ℝ × (ℝ × ℝ) |
| 27 | abbrev Coefficient := CylPoint → ℝ |
| 28 | |
| 29 | noncomputable def radius (w : SpaceTime) : ℝ := |
| 30 | PolarCharts.radius (PhysicalGraphBounds.radialProjection w) |
| 31 | |
| 32 | noncomputable def slowPoint (w : SpaceTime) : Slow := (w.1, w.2 2) |
| 33 | |
| 34 | noncomputable def cylPoint (w : SpaceTime) : CylPoint := (w.1, (radius w, w.2 2)) |
| 35 | |
| 36 | noncomputable def slowOfCyl (p : CylPoint) : Slow := (p.1, p.2.2) |
| 37 | |
| 38 | noncomputable def physicalDomain (U : Set Slow) : Set SpaceTime := slowPoint ⁻¹' U |
| 39 | |
| 40 | noncomputable def positiveDomain (U : Set Slow) : Set CylPoint := |
| 41 | {p | slowOfCyl p ∈ U ∧ 0 < p.2.1} |
| 42 | |
| 43 | theorem slowPoint_smooth : ContDiff ℝ ∞ slowPoint := |
| 44 | contDiff_fst.prodMk ((AxisymmetricFields.projection 2).contDiff.comp contDiff_snd) |
| 45 | |
| 46 | theorem physicalDomain_open {U : Set Slow} (hU : IsOpen U) : IsOpen (physicalDomain U) := |
| 47 | hU.preimage slowPoint_smooth.continuous |
| 48 | |
| 49 | theorem positiveDomain_open {U : Set Slow} (hU : IsOpen U) : IsOpen (positiveDomain U) := |
| 50 | (hU.preimage (continuous_fst.prodMk continuous_snd.snd)).inter |
| 51 | (isOpen_lt continuous_const continuous_snd.fst) |
| 52 | |
| 53 | theorem radius_nonneg (w : SpaceTime) : 0 ≤ radius w := PolarCharts.radius_nonneg _ |
| 54 | |
| 55 | theorem radius_continuous : Continuous radius := |
| 56 | PolarCharts.radius_continuous.comp PhysicalGraphBounds.radialProjection.continuous |
| 57 | |
| 58 | noncomputable def profileToCyl (p : AxisymmetricFields.ProfilePoint) : CylPoint := |
| 59 | (p.1, (Real.sqrt (2 * p.2.1), p.2.2)) |
| 60 | |
| 61 | noncomputable def rate (b : Coefficient) (p : AxisymmetricFields.ProfilePoint) : ℝ := |
| 62 | b (profileToCyl p) / Real.sqrt (2 * p.2.1) |
| 63 | |
| 64 | /-- Literal angular velocity with physical tangential magnitude `b`. -/ |
| 65 | noncomputable def angularField (b : Coefficient) (w : SpaceTime) : Space := |
| 66 | (-w.2 1 / radius w * b (cylPoint w)) • coordinateVector 0 + |
| 67 | (w.2 0 / radius w * b (cylPoint w)) • coordinateVector 1 |
| 68 | |
| 69 | noncomputable def rotationField (F : AxisymmetricFields.Profile) (w : SpaceTime) : Space := |
| 70 | AxisymmetricResidual.pack (-w.2 1 * F (AxisymmetricFields.profilePoint w.1 w.2)) |
| 71 | (w.2 0 * F (AxisymmetricFields.profilePoint w.1 w.2)) 0 |
| 72 | |
| 73 | theorem profileToCyl_profilePoint (w : SpaceTime) : |
| 74 | profileToCyl (AxisymmetricFields.profilePoint w.1 w.2) = cylPoint w := by |
| 75 | have he : 2 * AxisymmetricFields.radialEnergy w.2 = w.2 0 ^ 2 + w.2 1 ^ 2 := by |
| 76 | unfold AxisymmetricFields.radialEnergy |
| 77 | ring |
| 78 | simp only [profileToCyl, AxisymmetricFields.profilePoint, he, cylPoint, radius, |
| 79 | PolarCharts.radius, PhysicalGraphBounds.radialProjection_apply] |
| 80 | |
| 81 | theorem angularField_eq_rotationField (b : Coefficient) : angularField b = rotationField (rate b) := by |
| 82 | funext w |
| 83 | have hr : Real.sqrt (2 * AxisymmetricFields.radialEnergy w.2) = radius w := |
| 84 | congrArg (fun p : CylPoint => p.2.1) (profileToCyl_profilePoint w) |
| 85 | simp only [angularField, rotationField, rate] |
| 86 | rw [profileToCyl_profilePoint] |
| 87 | simp only [AxisymmetricFields.profilePoint, hr, AxisymmetricResidual.pack, zero_smul, add_zero] |
| 88 | congr 1 <;> congr 1 <;> ring |
| 89 | |
| 90 | /-- The cancellation is computed from actual Cartesian derivatives. -/ |
| 91 | theorem divergence_rotationField {F : AxisymmetricFields.Profile} {w : SpaceTime} |
| 92 | (hF : DifferentiableAt ℝ F (AxisymmetricFields.profilePoint w.1 w.2)) : |
| 93 | spatialDivergence (rotationField F) w.1 w.2 = 0 := by |
| 94 | have hf := AxisymmetricFields.hasFDerivAt_profile_composition F w.1 w.2 hF |
| 95 | have hd := AxisymmetricResidual.hasFDerivAt_pack |
| 96 | ((AxisymmetricFields.projection 1).hasFDerivAt.neg.mul hf) |
| 97 | ((AxisymmetricFields.projection 0).hasFDerivAt.mul hf) |
| 98 | (hasFDerivAt_const (0 : ℝ) w.2) |
| 99 | unfold spatialDivergence spatialDerivative |
| 100 | change (∑ i : Fin 3, fderiv ℝ (fun x => rotationField F (w.1, x)) w.2 |
| 101 | (coordinateVector i) i) = 0 |
| 102 | rw [show fderiv ℝ (fun x => rotationField F (w.1, x)) w.2 = _ from hd.fderiv, |
| 103 | Fin.sum_univ_three] |
| 104 | simp [AxisymmetricResidual.packDerivative_apply, AxisymmetricFields.profileDerivative_apply, |
| 105 | AxisymmetricFields.projection, coordinateVector] |
| 106 | ring |
| 107 | |
| 108 | theorem rotationField_smoothAt {F : AxisymmetricFields.Profile} {w : SpaceTime} |
| 109 | (hF : ContDiffAt ℝ ∞ F (AxisymmetricFields.profilePoint w.1 w.2)) : |
| 110 | ContDiffAt ℝ ∞ (rotationField F) w := by |
| 111 | have hf := hF.comp w AxisymmetricFields.contDiff_profilePoint.contDiffAt |
| 112 | exact (((((AxisymmetricFields.projection 1).contDiff.comp contDiff_snd).contDiffAt.neg.mul hf).smul |
| 113 | contDiffAt_const).add |
| 114 | ((((AxisymmetricFields.projection 0).contDiff.comp contDiff_snd).contDiffAt.mul hf).smul |
| 115 | contDiffAt_const)).add (show ContDiffAt ℝ ∞ (fun _ : SpaceTime => (0 : ℝ) • coordinateVector 2) w from contDiffAt_const) |
| 116 | |
| 117 | theorem rate_smoothAt {U : Set Slow} (hU : IsOpen U) {b : Coefficient} |
| 118 | (hb : ContDiffOn ℝ ∞ b (positiveDomain U)) {w : SpaceTime} |
| 119 | (hw : w ∈ physicalDomain U) (hr : 0 < radius w) : |
| 120 | ContDiffAt ℝ ∞ (rate b) (AxisymmetricFields.profilePoint w.1 w.2) := by |
| 121 | have he : 2 * AxisymmetricFields.radialEnergy w.2 = w.2 0 ^ 2 + w.2 1 ^ 2 := by |
| 122 | unfold AxisymmetricFields.radialEnergy |
| 123 | ring |
| 124 | have hpos : 0 < 2 * AxisymmetricFields.radialEnergy w.2 := by |
| 125 | rw [he] |
| 126 | exact Real.sqrt_pos.mp hr |
| 127 | have hs : ContDiffAt ℝ ∞ (fun p : AxisymmetricFields.ProfilePoint => Real.sqrt (2 * p.2.1)) |
| 128 | (AxisymmetricFields.profilePoint w.1 w.2) := |
| 129 | (contDiffAt_const.mul contDiffAt_snd.fst).sqrt hpos.ne' |
| 130 | have hp : profileToCyl (AxisymmetricFields.profilePoint w.1 w.2) ∈ positiveDomain U := by |
| 131 | rw [profileToCyl_profilePoint] |
| 132 | exact ⟨hw, hr⟩ |
| 133 | have hb' := hb.contDiffAt ((positiveDomain_open hU).mem_nhds hp) |
| 134 | exact (hb'.comp _ (contDiffAt_fst.prodMk (hs.prodMk contDiffAt_snd.snd))).div hs |
| 135 | (Real.sqrt_pos.mpr hpos).ne' |
| 136 | |
| 137 | /-- A moving positive inner support radius is a primitive support datum. |
| 138 | It may shrink as the physical terminal point is approached. -/ |
| 139 | structure AngularData (U : Set Slow) where |
| 140 | scalar : Coefficient |
| 141 | smooth : ContDiffOn ℝ ∞ scalar (positiveDomain U) |
| 142 | inner : Slow → ℝ |
| 143 | inner_continuous : ContinuousOn inner U |
| 144 | inner_pos : ∀ s ∈ U, 0 < inner s |
| 145 | vanishes : ∀ p, slowOfCyl p ∈ U → 0 ≤ p.2.1 → p.2.1 < inner (slowOfCyl p) → scalar p = 0 |
| 146 | |
| 147 | namespace AngularData |
| 148 | |
| 149 | variable {U : Set Slow} (D : AngularData U) |
| 150 | |
| 151 | theorem field_zero_germ (hU : IsOpen U) {w : SpaceTime} (hw : w ∈ physicalDomain U) |
| 152 | (hr : radius w < D.inner (slowPoint w)) : |
| 153 | angularField D.scalar =ᶠ[𝓝 w] fun _ => 0 := by |
| 154 | have hi : ContinuousAt (fun y => D.inner (slowPoint y)) w := |
| 155 | (D.inner_continuous.continuousAt (hU.mem_nhds hw)).comp slowPoint_smooth.continuous.continuousAt |
| 156 | have hp := (hi.sub radius_continuous.continuousAt) |
| 157 | (lt_mem_nhds (sub_pos.mpr hr)) |
| 158 | filter_upwards [(physicalDomain_open hU).mem_nhds hw, hp] with y hy hpy |
| 159 | have hz := D.vanishes (cylPoint y) hy (radius_nonneg y) (sub_pos.mp hpy) |
| 160 | simp only [angularField, hz, mul_zero, zero_smul, add_zero] |
| 161 | |
| 162 | theorem field_smoothAt (hU : IsOpen U) {w : SpaceTime} (hw : w ∈ physicalDomain U) : |
| 163 | ContDiffAt ℝ ∞ (angularField D.scalar) w := by |
| 164 | by_cases hr : 0 < radius w |
| 165 | · rw [angularField_eq_rotationField] |
| 166 | exact rotationField_smoothAt (rate_smoothAt hU D.smooth hw hr) |
| 167 | · have hz : radius w = 0 := le_antisymm (le_of_not_gt hr) (radius_nonneg w) |
| 168 | exact contDiffAt_const.congr_of_eventuallyEq |
| 169 | (D.field_zero_germ hU hw (hz ▸ D.inner_pos _ hw)) |
| 170 | |
| 171 | theorem field_smooth (hU : IsOpen U) : |
| 172 | ContDiffOn ℝ ∞ (angularField D.scalar) (physicalDomain U) := |
| 173 | fun _ hw => (D.field_smoothAt hU hw).contDiffWithinAt |
| 174 | |
| 175 | theorem field_divergence (hU : IsOpen U) {w : SpaceTime} (hw : w ∈ physicalDomain U) : |
| 176 | spatialDivergence (angularField D.scalar) w.1 w.2 = 0 := by |
| 177 | by_cases hr : 0 < radius w |
| 178 | · rw [angularField_eq_rotationField] |
| 179 | exact divergence_rotationField ((rate_smoothAt hU D.smooth hw hr).differentiableAt (by simp)) |
| 180 | · have hz : radius w = 0 := le_antisymm (le_of_not_gt hr) (radius_nonneg w) |
| 181 | have he := (D.field_zero_germ hU hw (hz ▸ D.inner_pos _ hw)).comp_tendsto |
| 182 | (continuous_const.prodMk continuous_id).continuousAt |
| 183 | have he' : (fun y : Space => angularField D.scalar (w.1, y)) =ᶠ[𝓝 w.2] fun _ => 0 := he |
| 184 | unfold spatialDivergence spatialDerivative |
| 185 | rw [he'.fderiv_eq] |
| 186 | simp |
| 187 | |
| 188 | noncomputable def multiply (f : Coefficient) (hf : ContDiffOn ℝ ∞ f (positiveDomain U)) : AngularData U where |
| 189 | scalar p := f p * D.scalar p |
| 190 | smooth := hf.mul D.smooth |
| 191 | inner := D.inner |
| 192 | inner_continuous := D.inner_continuous |
| 193 | inner_pos := D.inner_pos |
| 194 | vanishes p hp hr hi := by rw [D.vanishes p hp hr hi, mul_zero] |
| 195 | |
| 196 | end AngularData |
| 197 | |
| 198 | theorem angularField_axis (b : Coefficient) (t : ℝ) (x : Space) (h0 : x 0 = 0) (h1 : x 1 = 0) : |
| 199 | angularField b (t, x) = 0 := by |
| 200 | simp [angularField, h0, h1] |
| 201 | |
| 202 | theorem angularField_mul (f b : Coefficient) : |
| 203 | angularField (fun p => f p * b p) = fun w => f (cylPoint w) • angularField b w := by |
| 204 | funext w |
| 205 | simp only [angularField, smul_add, smul_smul] |
| 206 | congr 1 <;> congr 1 <;> ring |
| 207 | |
| 208 | noncomputable def cutCoefficient (a : ℝ) (q b : Coefficient) : Coefficient := |
| 209 | fun p => SmoothCutoffs.scaledCutoff a (q p) * b p |
| 210 | |
| 211 | theorem cut_angularField (a : ℝ) (q b : Coefficient) : |
| 212 | angularField (cutCoefficient a q b) = |
| 213 | fun w => SmoothCutoffs.scaledCutoff a (q (cylPoint w)) • angularField b w := |
| 214 | angularField_mul _ _ |
| 215 | |
| 216 | noncomputable def AngularData.cut {U : Set Slow} (D : AngularData U) (a : ℝ) |
| 217 | (q : Coefficient) (hq : ContDiffOn ℝ ∞ q (positiveDomain U)) : AngularData U := |
| 218 | D.multiply (fun p => SmoothCutoffs.scaledCutoff a (q p)) |
| 219 | ((SmoothCutoffs.scaledCutoff_contDiff a).comp_contDiffOn hq) |
| 220 | |
| 221 | theorem divergence_cut_angular {U : Set Slow} (hU : IsOpen U) (D : AngularData U) |
| 222 | (a : ℝ) (q : Coefficient) (hq : ContDiffOn ℝ ∞ q (positiveDomain U)) |
| 223 | {w : SpaceTime} (hw : w ∈ physicalDomain U) : |
| 224 | spatialDivergence (fun y => SmoothCutoffs.scaledCutoff a (q (cylPoint y)) • angularField D.scalar y) |
| 225 | w.1 w.2 = 0 := by |
| 226 | rw [← cut_angularField] |
| 227 | exact (D.cut a q hq).field_divergence hU hw |
| 228 | |
| 229 | /-! ## Locally finite direct angular sums -/ |
| 230 | |
| 231 | noncomputable def angularSum (a : ℕ → ℝ) (q : SpaceTime → ℝ) |
| 232 | (b : ℕ → Coefficient) : VelocityField := |
| 233 | SolenoidalDiagonal.potentialSum a q (fun j => angularField (b j)) |
| 234 | |
| 235 | noncomputable def angularPartial (a : ℕ → ℝ) (q : SpaceTime → ℝ) |
| 236 | (b : ℕ → Coefficient) (N : ℕ) : VelocityField := |
| 237 | SolenoidalDiagonal.partialPotential a q (fun j => angularField (b j)) N |
| 238 | |
| 239 | theorem divergence_congr {v w : VelocityField} {x : SpaceTime} (h : v =ᶠ[𝓝 x] w) : |
| 240 | spatialDivergence v x.1 x.2 = spatialDivergence w x.1 x.2 := by |
| 241 | have he : (fun y : Space => v (x.1, y)) =ᶠ[𝓝 x.2] fun y => w (x.1, y) := |
| 242 | h.comp_tendsto (continuous_const.prodMk continuous_id).continuousAt |
| 243 | unfold spatialDivergence spatialDerivative |
| 244 | rw [he.fderiv_eq] |
| 245 | |
| 246 | theorem divergence_finset_sum {I : Type} (J : Finset I) (v : I → VelocityField) |
| 247 | (x : SpaceTime) (hv : ∀ j ∈ J, DifferentiableAt ℝ (fun y : Space => v j (x.1, y)) x.2) : |
| 248 | spatialDivergence (fun y => ∑ j ∈ J, v j y) x.1 x.2 = |
| 249 | ∑ j ∈ J, spatialDivergence (v j) x.1 x.2 := by |
| 250 | unfold spatialDivergence spatialDerivative |
| 251 | rw [fderiv_fun_sum hv] |
| 252 | simp only [_root_.sum_apply] |
| 253 | calc |
| 254 | _ = ∑ i : Fin 3, ∑ j ∈ J, (fderiv ℝ (fun y => v j (x.1, y)) x.2 (coordinateVector i)) i := by |
| 255 | apply Finset.sum_congr rfl |
| 256 | intro i _ |
| 257 | exact map_sum (EuclideanSpace.proj i) _ _ |
| 258 | _ = _ := Finset.sum_comm |
| 259 | |
| 260 | theorem angularSum_eventuallyEq_partial {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 261 | {q : SpaceTime → ℝ} {x : SpaceTime} (hq : ContinuousAt q x) (hx : 0 < q x) |
| 262 | (b : ℕ → Coefficient) : |
| 263 | ∃ N : ℕ, angularSum a q b =ᶠ[𝓝 x] angularPartial a q b N := |
| 264 | SolenoidalDiagonal.potentialSum_eventuallyEq_partial ha hq hx _ |
| 265 | |
| 266 | theorem angularSum_smooth {U : Set Slow} (hU : IsOpen U) (D : ℕ → AngularData U) |
| 267 | {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) {q : SpaceTime → ℝ} |
| 268 | (hq : ContDiffOn ℝ ∞ q (physicalDomain U)) (hpos : ∀ x ∈ physicalDomain U, 0 < q x) : |
| 269 | ContDiffOn ℝ ∞ (angularSum a q (fun j => (D j).scalar)) (physicalDomain U) := |
| 270 | SolenoidalDiagonal.potentialSum_contDiffOn ha (physicalDomain_open hU) hpos hq |
| 271 | (fun j => (D j).field_smooth hU) |
| 272 | |
| 273 | theorem angularSum_divergence {U : Set Slow} (hU : IsOpen U) (D : ℕ → AngularData U) |
| 274 | {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) (q : Coefficient) |
| 275 | (hq : ContDiffOn ℝ ∞ q (positiveDomain U)) |
| 276 | (hqp : ContDiffOn ℝ ∞ (fun x => q (cylPoint x)) (physicalDomain U)) |
| 277 | (hpos : ∀ x ∈ physicalDomain U, 0 < q (cylPoint x)) |
| 278 | {x : SpaceTime} (hx : x ∈ physicalDomain U) : |
| 279 | spatialDivergence (angularSum a (fun x => q (cylPoint x)) (fun j => (D j).scalar)) x.1 x.2 = 0 := by |
| 280 | have hqAt := hqp.contDiffAt ((physicalDomain_open hU).mem_nhds hx) |
| 281 | obtain ⟨N, hN⟩ := angularSum_eventuallyEq_partial ha hqAt.continuousAt (hpos x hx) |
| 282 | (fun j => (D j).scalar) |
| 283 | rw [divergence_congr hN] |
| 284 | have hs (j : ℕ) : DifferentiableAt ℝ |
| 285 | (fun y : Space => SolenoidalDiagonal.cutStage a (fun x => q (cylPoint x)) |
| 286 | (fun j => angularField (D j).scalar) j (x.1, y)) x.2 := |
| 287 | ((SolenoidalDiagonal.cutStage_contDiffAt hqAt |
| 288 | (fun j => (D j).field_smoothAt hU hx) j).comp x.2 |
| 289 | (contDiffAt_const.prodMk contDiffAt_id)).differentiableAt (by simp) |
| 290 | change spatialDivergence (fun y => ∑ j ∈ Finset.range N, |
| 291 | SolenoidalDiagonal.cutStage a (fun x => q (cylPoint x)) (fun j => angularField (D j).scalar) j y) x.1 x.2 = 0 |
| 292 | rw [divergence_finset_sum _ _ x (fun j _ => hs j)] |
| 293 | apply Finset.sum_eq_zero |
| 294 | intro j _ |
| 295 | exact divergence_cut_angular hU (D j) (a j) q hq hx |
| 296 | |
| 297 | theorem angularSum_axis (a : ℕ → ℝ) (q : SpaceTime → ℝ) (b : ℕ → Coefficient) |
| 298 | (t : ℝ) (x : Space) (h0 : x 0 = 0) (h1 : x 1 = 0) : |
| 299 | angularSum a q b (t, x) = 0 := by |
| 300 | simp only [angularSum, SolenoidalDiagonal.potentialSum, SolenoidalDiagonal.cutStage, |
| 301 | angularField_axis _ _ _ h0 h1, smul_zero, tsum_zero] |
| 302 | |
| 303 | /-! ## Curl potentials plus direct angular velocity -/ |
| 304 | |
| 305 | noncomputable def mixedVelocity (a : ℕ → ℝ) (q : SpaceTime → ℝ) |
| 306 | (A : ℕ → VelocityField) (b : ℕ → Coefficient) : VelocityField := |
| 307 | fun x => SolenoidalDiagonal.velocitySum a q A x + angularSum a q b x |
| 308 | |
| 309 | theorem mixedVelocity_axis (a : ℕ → ℝ) (q : SpaceTime → ℝ) (A : ℕ → VelocityField) |
| 310 | (b : ℕ → Coefficient) (t : ℝ) (x : Space) (h0 : x 0 = 0) (h1 : x 1 = 0) : |
| 311 | mixedVelocity a q A b (t, x) = SolenoidalDiagonal.velocitySum a q A (t, x) := by |
| 312 | rw [mixedVelocity, angularSum_axis a q b t x h0 h1, add_zero] |
| 313 | |
| 314 | /-! ## The actual similarity cutoff -/ |
| 315 | |
| 316 | noncomputable def preterminalSlow : Set Slow := {s | s.1 < 1} |
| 317 | |
| 318 | theorem preterminalSlow_open : IsOpen preterminalSlow := isOpen_lt continuous_fst continuous_const |
| 319 | |
| 320 | noncomputable def qCoefficient (h : ℝ) : Coefficient := SimilarityProfile.q h |
| 321 | |
| 322 | theorem qCoefficient_physical (h : ℝ) (w : SpaceTime) : |
| 323 | qCoefficient h (cylPoint w) = PhysicalWaveSum.physicalQ h w := rfl |
| 324 | |
| 325 | theorem qCoefficient_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 326 | ContDiffOn ℝ ∞ (qCoefficient h) (positiveDomain preterminalSlow) := |
| 327 | fun _ hp => (SimilarityProfile.q_smoothAt hh hh1 hp.1).contDiffWithinAt |
| 328 | |
| 329 | theorem physicalQ_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 330 | ContDiffOn ℝ ∞ (PhysicalWaveSum.physicalQ h) (physicalDomain preterminalSlow) := |
| 331 | fun _ hw => (PhysicalWaveSum.physicalQ_smoothAt hh hh1 hw).contDiffWithinAt |
| 332 | |
| 333 | theorem actual_diagonal_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 334 | (D : ℕ → AngularData preterminalSlow) {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) : |
| 335 | ContDiffOn ℝ ∞ (angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar)) |
| 336 | PhysicalWaveSum.preterminal := |
| 337 | angularSum_smooth preterminalSlow_open D ha (physicalQ_smooth hh hh1) |
| 338 | (fun _ hx => PhysicalWaveSum.physicalQ_pos hh hh1 hx) |
| 339 | |
| 340 | /-! ## The existing Cartesian spatial cutoff is axisymmetric -/ |
| 341 | |
| 342 | noncomputable def spatialProfile (p : CylPoint) : ℝ := |
| 343 | SpatialLocalization.cutoffProfile (p.2.1 ^ 2, p.2.2) |
| 344 | |
| 345 | theorem spatialProfile_smooth : ContDiff ℝ ∞ spatialProfile := |
| 346 | SpatialLocalization.cutoffProfile_contDiff.comp ((contDiff_snd.fst.pow 2).prodMk contDiff_snd.snd) |
| 347 | |
| 348 | theorem spatialProfile_physical (w : SpaceTime) : |
| 349 | spatialProfile (cylPoint w) = SpatialLocalization.spatialCutoff w.2 := by |
| 350 | have hr : radius w ^ 2 = w.2 0 ^ 2 + w.2 1 ^ 2 := |
| 351 | Real.sq_sqrt (add_nonneg (sq_nonneg _) (sq_nonneg _)) |
| 352 | simp only [spatialProfile, cylPoint, hr, SpatialLocalization.spatialCutoff, |
| 353 | SpatialLocalization.radialSquare] |
| 354 | |
| 355 | theorem angularSum_multiply (a : ℕ → ℝ) (q : SpaceTime → ℝ) (f : Coefficient) |
| 356 | (b : ℕ → Coefficient) : |
| 357 | angularSum a q (fun j p => f p * b j p) = fun w => f (cylPoint w) • angularSum a q b w := by |
| 358 | funext w |
| 359 | simp only [angularSum, SolenoidalDiagonal.potentialSum, SolenoidalDiagonal.cutStage, angularField_mul] |
| 360 | simp_rw [smul_comm (SmoothCutoffs.scaledCutoff _ _) (f (cylPoint w))] |
| 361 | exact tsum_const_smul'' _ |
| 362 | |
| 363 | theorem spatialCut_angularSum (a : ℕ → ℝ) (q : SpaceTime → ℝ) (b : ℕ → Coefficient) : |
| 364 | SpatialLocalization.cutPotential (angularSum a q b) = |
| 365 | angularSum a q (fun j p => spatialProfile p * b j p) := by |
| 366 | rw [angularSum_multiply] |
| 367 | funext w |
| 368 | rw [spatialProfile_physical] |
| 369 | rfl |
| 370 | |
| 371 | theorem spatialCut_angularSum_divergence {U : Set Slow} (hU : IsOpen U) (D : ℕ → AngularData U) |
| 372 | {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) (q : Coefficient) |
| 373 | (hq : ContDiffOn ℝ ∞ q (positiveDomain U)) |
| 374 | (hqp : ContDiffOn ℝ ∞ (fun x => q (cylPoint x)) (physicalDomain U)) |
| 375 | (hpos : ∀ x ∈ physicalDomain U, 0 < q (cylPoint x)) |
| 376 | {x : SpaceTime} (hx : x ∈ physicalDomain U) : |
| 377 | spatialDivergence (SpatialLocalization.cutPotential |
| 378 | (angularSum a (fun x => q (cylPoint x)) (fun j => (D j).scalar))) x.1 x.2 = 0 := by |
| 379 | rw [spatialCut_angularSum] |
| 380 | exact angularSum_divergence hU |
| 381 | (fun j => (D j).multiply spatialProfile spatialProfile_smooth.contDiffOn) ha q hq hqp hpos hx |
| 382 | |
| 383 | theorem actual_spatialCut_diagonal_divergence {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 384 | (D : ℕ → AngularData preterminalSlow) {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 385 | (t : ℝ) (ht : t < 1) (x : Space) : |
| 386 | spatialDivergence (SpatialLocalization.cutPotential |
| 387 | (angularSum a (PhysicalWaveSum.physicalQ h) (fun j => (D j).scalar))) t x = 0 := by |
| 388 | have hqp : ContDiffOn ℝ ∞ (fun w => qCoefficient h (cylPoint w)) (physicalDomain preterminalSlow) := by |
| 389 | simpa only [qCoefficient_physical] using physicalQ_smooth hh hh1 |
| 390 | have hpos : ∀ w ∈ physicalDomain preterminalSlow, 0 < qCoefficient h (cylPoint w) := |
| 391 | fun _ hw => PhysicalWaveSum.physicalQ_pos hh hh1 hw |
| 392 | have he := spatialCut_angularSum_divergence preterminalSlow_open D ha (qCoefficient h) |
| 393 | (qCoefficient_smooth hh hh1) hqp hpos (x := (t, x)) ht |
| 394 | simpa only [qCoefficient_physical] using he |
| 395 | |
| 396 | /-! ## Actual full-fiber means restricted to a physical graph -/ |
| 397 | |
| 398 | /-! ## Agreement with the actual offplane continuation fields -/ |
| 399 | |
| 400 | /-! ## Mixed finite prefixes and preservation of every axis jet -/ |
| 401 | |
| 402 | theorem potentialSum_zero_germ {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 403 | {q : SpaceTime → ℝ} {x : SpaceTime} (hq : ContinuousAt q x) (hpos : 0 < q x) |
| 404 | (A : ℕ → VelocityField) (hA : ∀ j, A j =ᶠ[𝓝 x] fun _ => 0) : |
| 405 | SolenoidalDiagonal.potentialSum a q A =ᶠ[𝓝 x] fun _ => 0 := by |
| 406 | obtain ⟨N, hN⟩ := SolenoidalDiagonal.potentialSum_eventuallyEq_partial ha hq hpos A |
| 407 | have hz (j : ℕ) : SolenoidalDiagonal.cutStage a q A j =ᶠ[𝓝 x] fun _ => 0 := by |
| 408 | filter_upwards [hA j] with y hy |
| 409 | simp only [SolenoidalDiagonal.cutStage, hy, smul_zero] |
| 410 | apply hN.trans |
| 411 | filter_upwards [(Filter.eventually_all_finset (Finset.range N)).2 (fun j _ => hz j)] with y hy |
| 412 | exact Finset.sum_eq_zero hy |
| 413 | |
| 414 | end NavierStokes.DirectAngularDiagonal |