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.LocalAngularGrowth |
| 2 | import NavierStokes.TailGaugePotential |
| 3 | |
| 4 | /-! |
| 5 | # The local paper's potential representation |
| 6 | |
| 7 | The selected construction stores the base swirl in an axial potential. |
| 8 | Moving that axial component into the direct angular field preserves the |
| 9 | velocity and gives the paper's vanishing vector potential in the heat exterior. |
| 10 | -/ |
| 11 | |
| 12 | /-! ## From `NavierStokes/LocalHeatExterior.lean` |
| 13 | |
| 14 | The text of `NavierStokes/LocalHeatExterior.lean`, folded into this file, which was its only importer. -/ |
| 15 | |
| 16 | section |
| 17 | |
| 18 | /-! |
| 19 | # The axial part of the actual slow-base potential |
| 20 | |
| 21 | The stream coefficients vanish in the proved heat exterior. Consequently the |
| 22 | anchored potential is purely axial there, and its axial projection has the |
| 23 | same spatial curl as the constructed slow base. |
| 24 | -/ |
| 25 | |
| 26 | noncomputable section |
| 27 | |
| 28 | namespace NavierStokes.LocalHeatExterior |
| 29 | |
| 30 | open Set Filter ProblemStatement |
| 31 | open scoped Topology ContDiff |
| 32 | |
| 33 | /-- Projection of a potential onto its axial component. -/ |
| 34 | noncomputable def axialPart (A : VelocityField) : VelocityField := |
| 35 | fun w => A w 2 • coordinateVector 2 |
| 36 | |
| 37 | theorem axialPart_smooth {A : VelocityField} {S : Set SpaceTime} |
| 38 | (hA : ContDiffOn ℝ ∞ A S) : ContDiffOn ℝ ∞ (axialPart A) S := by |
| 39 | exact ((AxisymmetricFields.projection 2).contDiff.comp_contDiffOn hA).smul_const |
| 40 | (coordinateVector 2) |
| 41 | |
| 42 | theorem axialPart_awayExtensions {A : VelocityField} |
| 43 | (hA : JointResidualLimits.AwayExtensions A) : |
| 44 | JointResidualLimits.AwayExtensions (axialPart A) := by |
| 45 | intro x hx |
| 46 | obtain ⟨e⟩ := hA x hx |
| 47 | refine ⟨{ |
| 48 | value := axialPart e.value |
| 49 | domain := e.domain |
| 50 | isOpen := e.isOpen |
| 51 | mem := e.mem |
| 52 | smooth := axialPart_smooth e.smooth |
| 53 | agrees := ?_ }⟩ |
| 54 | intro w hw |
| 55 | exact congrArg (fun u : Space => u 2 • coordinateVector 2) (e.agrees hw) |
| 56 | |
| 57 | theorem axialPart_potential (H K : AxisymmetricFields.Profile) : |
| 58 | axialPart (AxisymmetricFields.potential H K) = AxisymmetricFields.potential (fun _ => 0) K := by |
| 59 | ext w i |
| 60 | fin_cases i <;> simp [axialPart, AxisymmetricFields.potential, coordinateVector] |
| 61 | |
| 62 | theorem axialPotential_curl (K : AxisymmetricFields.Profile) {w : SpaceTime} |
| 63 | (hK : DifferentiableAt ℝ K (AxisymmetricFields.profilePoint w.1 w.2)) : |
| 64 | SpatialCurl.spatialCurl (AxisymmetricFields.potential (fun _ => 0) K) w = |
| 65 | (-AxisymmetricFields.partialS K (AxisymmetricFields.profilePoint w.1 w.2)) • |
| 66 | BaseResidual.angularVector w := by |
| 67 | change AxisymmetricFields.velocity (fun _ => 0) K w = _ |
| 68 | ext i |
| 69 | fin_cases i |
| 70 | · change AxisymmetricFields.velocity (fun _ => 0) K (w.1, w.2) 0 = _ |
| 71 | rw [AxisymmetricFields.velocity_zero (fun _ => 0) K w.1 w.2 (differentiableAt_const 0) hK] |
| 72 | simp [AxisymmetricFields.partialZ, BaseResidual.angularVector, coordinateVector] |
| 73 | ring |
| 74 | · change AxisymmetricFields.velocity (fun _ => 0) K (w.1, w.2) 1 = _ |
| 75 | rw [AxisymmetricFields.velocity_one (fun _ => 0) K w.1 w.2 (differentiableAt_const 0) hK] |
| 76 | simp [AxisymmetricFields.partialZ, BaseResidual.angularVector, coordinateVector] |
| 77 | ring |
| 78 | · change AxisymmetricFields.velocity (fun _ => 0) K (w.1, w.2) 2 = _ |
| 79 | rw [AxisymmetricFields.velocity_two (fun _ => 0) K w.1 w.2 (differentiableAt_const 0) hK] |
| 80 | simp [AxisymmetricFields.partialS, BaseResidual.angularVector, coordinateVector] |
| 81 | |
| 82 | section ActualBase |
| 83 | |
| 84 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 85 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 86 | (v : ModulatedProfileAssembly.Witness ld) |
| 87 | |
| 88 | /-- The angular coefficient of the curl of the axial projection. -/ |
| 89 | noncomputable def axialCurlCoefficient (upper : ℝ) (B : ℕ) : AxisymmetricFields.Profile := |
| 90 | fun p => -AxisymmetricFields.partialS |
| 91 | (TailGaugePotential.gaugedSwirl (FinalSlowBase.scales H v upper B) F.data.h |
| 92 | W.axis.normalization (FinalSlowBase.coefficients H v)) p |
| 93 | |
| 94 | theorem axialPart_finalPotential_curl_angular (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 95 | (ht : w.1 < 1) : |
| 96 | SpatialCurl.spatialCurl (axialPart (TailGaugePotential.finalPotential H v upper B)) w = |
| 97 | axialCurlCoefficient H v upper B (AxisymmetricFields.profilePoint w.1 w.2) • |
| 98 | BaseResidual.angularVector w := by |
| 99 | unfold TailGaugePotential.finalPotential TailGaugePotential.potential |
| 100 | rw [axialPart_potential] |
| 101 | exact axialPotential_curl _ |
| 102 | ((TailGaugePotential.gaugedSwirl_smoothAt (FinalSlowBase.scales_strictMono H v upper B) |
| 103 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) ht).differentiableAt |
| 104 | (by simp)) |
| 105 | |
| 106 | theorem finalPotential_eq_axialPart (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 107 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 108 | TailGaugePotential.finalPotential H v upper B w = |
| 109 | axialPart (TailGaugePotential.finalPotential H v upper B) w := by |
| 110 | have hext := ModulatedExterior.realized_exterior_coefficients W v.profiles v.finiteModification |
| 111 | (FinalSlowBase.realizesScheme H v) (EntranceAlignedBase.modulated_base_eq H v) |
| 112 | (EntranceAlignedBase.modulated_outer H v) |
| 113 | have hzero := BaseExterior.exterior_stream_zero |
| 114 | (a := FinalSlowBase.scales H v upper B) (C := W.axis.normalization) |
| 115 | (p := AxisymmetricFields.profilePoint w.1 w.2) |
| 116 | F.data.h_pos F.data.h_lt_half (BaseExterior.nominalExteriorRadius_pos W).le hext hw |
| 117 | have he : TailGaugePotential.finalPotential H v upper B w = |
| 118 | TailGaugePotential.gaugedSwirl (FinalSlowBase.scales H v upper B) F.data.h |
| 119 | W.axis.normalization (FinalSlowBase.coefficients H v) |
| 120 | (AxisymmetricFields.profilePoint w.1 w.2) • coordinateVector 2 := by |
| 121 | simp only [TailGaugePotential.finalPotential, TailGaugePotential.potential, |
| 122 | AxisymmetricFields.potential, hzero, mul_zero, zero_smul, zero_add] |
| 123 | unfold axialPart |
| 124 | rw [he] |
| 125 | simp [coordinateVector] |
| 126 | |
| 127 | theorem axialPart_finalPotential_germ (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 128 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 129 | axialPart (TailGaugePotential.finalPotential H v upper B) =ᶠ[𝓝 w] |
| 130 | TailGaugePotential.finalPotential H v upper B := by |
| 131 | filter_upwards [(BaseExterior.cartesianExterior_isOpen F.data.h_pos F.data.h_lt_half |
| 132 | (BaseExterior.nominalExteriorRadius W)).mem_nhds hw] with y hy |
| 133 | exact (finalPotential_eq_axialPart H v upper B hy).symm |
| 134 | |
| 135 | theorem axialPart_finalPotential_curl (upper : ℝ) (B : ℕ) {w : SpaceTime} |
| 136 | (hw : w ∈ BaseExterior.cartesianExterior F.data.h (BaseExterior.nominalExteriorRadius W)) : |
| 137 | SpatialCurl.spatialCurl (axialPart (TailGaugePotential.finalPotential H v upper B)) w = |
| 138 | FinalSlowBase.velocity H v upper B w := by |
| 139 | rw [(SolenoidalDiagonal.spatialCurl_eventuallyEq |
| 140 | (axialPart_finalPotential_germ H v upper B hw)).self_of_nhds] |
| 141 | exact TailGaugePotential.finalPotential_sameCurl H v upper B hw.1 |
| 142 | |
| 143 | end ActualBase |
| 144 | |
| 145 | end NavierStokes.LocalHeatExterior |
| 146 | end |
| 147 | |
| 148 | end |
| 149 | |
| 150 | /-! ## From `NavierStokes/LocalAngularScalar.lean` |
| 151 | |
| 152 | The text of `NavierStokes/LocalAngularScalar.lean`, folded into this file, which was its only importer. -/ |
| 153 | |
| 154 | section |
| 155 | |
| 156 | /-! |
| 157 | # A scalar representation of the selected direct angular field |
| 158 | |
| 159 | The same locally finite cutoffs can be summed as scalar cylindrical |
| 160 | coefficients. The resulting scalar is independent of the polar angle, and |
| 161 | its angular vector field is the actual selected direct sum. |
| 162 | -/ |
| 163 | |
| 164 | noncomputable section |
| 165 | |
| 166 | open Set Filter |
| 167 | open scoped Topology |
| 168 | |
| 169 | namespace NavierStokes.LocalAngularScalar |
| 170 | |
| 171 | open ProblemStatement DirectAngularDiagonal CorrectionInitialization |
| 172 | |
| 173 | def angularDirection (w : SpaceTime) : Space := |
| 174 | (-w.2 1 / radius w) • coordinateVector 0 + |
| 175 | (w.2 0 / radius w) • coordinateVector 1 |
| 176 | |
| 177 | theorem angularField_eq_smul (b : Coefficient) (w : SpaceTime) : |
| 178 | angularField b w = b (cylPoint w) • angularDirection w := by |
| 179 | simp only [angularField, angularDirection, smul_add, smul_smul] |
| 180 | rw [mul_comm (b (cylPoint w)) (-w.2 1 / radius w), |
| 181 | mul_comm (b (cylPoint w)) (w.2 0 / radius w)] |
| 182 | |
| 183 | theorem angularField_add (b c : Coefficient) : |
| 184 | angularField (fun p => b p + c p) = fun w => angularField b w + angularField c w := by |
| 185 | funext w |
| 186 | simp only [angularField_eq_smul, add_smul] |
| 187 | |
| 188 | /-- Convert a smooth coefficient of the Cartesian rotation vector into its |
| 189 | physical angular magnitude in cylindrical coordinates. -/ |
| 190 | def magnitudeOfProfile (F : AxisymmetricFields.Profile) : Coefficient := |
| 191 | fun p => p.2.1 * F (p.1, (p.2.1 ^ 2 / 2, p.2.2)) |
| 192 | |
| 193 | theorem angularField_magnitudeOfProfile (F : AxisymmetricFields.Profile) (w : SpaceTime) : |
| 194 | angularField (magnitudeOfProfile F) w = |
| 195 | F (AxisymmetricFields.profilePoint w.1 w.2) • BaseResidual.angularVector w := by |
| 196 | have hrsq : radius w ^ 2 = w.2 0 ^ 2 + w.2 1 ^ 2 := |
| 197 | PolarCharts.radius_sq (PhysicalGraphBounds.radialProjection w) |
| 198 | have hval : magnitudeOfProfile F (cylPoint w) = |
| 199 | radius w * F (AxisymmetricFields.profilePoint w.1 w.2) := by |
| 200 | simp only [magnitudeOfProfile, cylPoint, hrsq, AxisymmetricFields.profilePoint, |
| 201 | AxisymmetricFields.radialEnergy] |
| 202 | simp only [angularField, hval, BaseResidual.angularVector, smul_add, smul_smul] |
| 203 | by_cases hr : radius w = 0 |
| 204 | · have hx0 : w.2 0 = 0 := by rw [hr] at hrsq; nlinarith [sq_nonneg (w.2 1)] |
| 205 | have hx1 : w.2 1 = 0 := by rw [hr] at hrsq; nlinarith [sq_nonneg (w.2 0)] |
| 206 | simp only [hx0, hx1, neg_zero, zero_div, zero_mul, mul_zero, zero_smul, add_zero] |
| 207 | · have h0 : (-w.2 1 / radius w) * |
| 208 | (radius w * F (AxisymmetricFields.profilePoint w.1 w.2)) = |
| 209 | F (AxisymmetricFields.profilePoint w.1 w.2) * -w.2 1 := by |
| 210 | field_simp [hr] |
| 211 | have h1 : (w.2 0 / radius w) * |
| 212 | (radius w * F (AxisymmetricFields.profilePoint w.1 w.2)) = |
| 213 | F (AxisymmetricFields.profilePoint w.1 w.2) * w.2 0 := by |
| 214 | field_simp [hr] |
| 215 | rw [h0, h1] |
| 216 | |
| 217 | def scalarSum (a : ℕ → ℝ) (q : Coefficient) (b : ℕ → Coefficient) : Coefficient := |
| 218 | fun p => ∑' j : ℕ, SmoothCutoffs.scaledCutoff (a j) (q p) * b j p |
| 219 | |
| 220 | /-- Local finiteness of the cutoff series justifies pulling the angular |
| 221 | direction through the scalar sum, including at the axis. -/ |
| 222 | theorem angularSum_eq_scalarSum {a : ℕ → ℝ} (ha : Tendsto a atTop atTop) |
| 223 | (q : Coefficient) (b : ℕ → Coefficient) {w : SpaceTime} |
| 224 | (hq : ContinuousAt (fun y : SpaceTime => q (cylPoint y)) w) |
| 225 | (hpos : 0 < q (cylPoint w)) : |
| 226 | angularSum a (fun y => q (cylPoint y)) b w = angularField (scalarSum a q b) w := by |
| 227 | have hs : Summable (fun j : ℕ => |
| 228 | SmoothCutoffs.scaledCutoff (a j) (q (cylPoint w)) * b j (cylPoint w)) := by |
| 229 | simpa only [SolenoidalDiagonal.cutStage, smul_eq_mul] using |
| 230 | SolenoidalDiagonal.summable_cutStage ha hq hpos |
| 231 | (fun j (y : SpaceTime) => b j (cylPoint y)) |
| 232 | simp only [angularSum, SolenoidalDiagonal.potentialSum, SolenoidalDiagonal.cutStage, |
| 233 | angularField_eq_smul, smul_smul] |
| 234 | rw [hs.tsum_smul_const] |
| 235 | rfl |
| 236 | |
| 237 | def selectedScalar (a : ℕ → ℕ) : Coefficient := |
| 238 | scalarSum (fun j => (a j : ℝ)) (qCoefficient ActualPrimary.h) |
| 239 | (fun j => (ActualCandidateAssembly.directData ActualCandidateConstruction.selectedBudget |
| 240 | ActualCandidateConstruction.selectedThreshold |
| 241 | ActualCandidateConstruction.selectedThreshold_geometry j).scalar) |
| 242 | |
| 243 | /-- The actual selected direct sum is one axisymmetric scalar times the |
| 244 | angular unit vector on the entire preterminal domain. -/ |
| 245 | theorem selectedDirect_eq_angularField {a : ℕ → ℕ} |
| 246 | (ha : Tendsto (fun j => (a j : ℝ)) atTop atTop) : |
| 247 | EqOn (LocalAngularGrowth.selectedDirect a) (angularField (selectedScalar a)) |
| 248 | PhysicalWaveSum.preterminal := by |
| 249 | intro w hw |
| 250 | have hq : ContinuousAt (fun y : SpaceTime => qCoefficient ActualPrimary.h (cylPoint y)) w := |
| 251 | (PhysicalWaveSum.physicalQ_smoothAt ActualPrimary.outgoing.data.h_pos |
| 252 | ActualPrimary.outgoing.data.h_lt_half hw).continuousAt |
| 253 | have hpos : 0 < qCoefficient ActualPrimary.h (cylPoint w) := |
| 254 | PhysicalWaveSum.physicalQ_pos ActualPrimary.outgoing.data.h_pos |
| 255 | ActualPrimary.outgoing.data.h_lt_half hw |
| 256 | exact angularSum_eq_scalarSum ha (qCoefficient ActualPrimary.h) |
| 257 | (fun j => (ActualCandidateAssembly.directData ActualCandidateConstruction.selectedBudget |
| 258 | ActualCandidateConstruction.selectedThreshold |
| 259 | ActualCandidateConstruction.selectedThreshold_geometry j).scalar) hq hpos |
| 260 | |
| 261 | end NavierStokes.LocalAngularScalar |
| 262 | end |
| 263 | |
| 264 | end |
| 265 | |
| 266 | noncomputable section |
| 267 | |
| 268 | namespace NavierStokes.LocalPotentialRebundle |
| 269 | |
| 270 | open Set Filter ProblemStatement CorrectionInitialization |
| 271 | open scoped Topology ContDiff |
| 272 | |
| 273 | abbrev basePotential : VelocityField := |
| 274 | TailGaugePotential.finalPotential ActualPrimary.certificate ActualPrimary.modulation |
| 275 | ActualPrimary.upper ActualCandidateConstruction.selectedBudget |
| 276 | |
| 277 | def removedPotential : VelocityField := LocalHeatExterior.axialPart basePotential |
| 278 | |
| 279 | def potential (a : ℕ → ℕ) : VelocityField := |
| 280 | fun w => LocalAngularGrowth.selectedPotential a w - removedPotential w |
| 281 | |
| 282 | def direct (a : ℕ → ℕ) : VelocityField := |
| 283 | fun w => LocalAngularGrowth.selectedDirect a w + SpatialCurl.spatialCurl removedPotential w |
| 284 | |
| 285 | def pressure (a : ℕ → ℕ) : PressureField := |
| 286 | SolenoidalDiagonal.potentialSum (fun j => (a j : ℝ)) |
| 287 | (PhysicalWaveSum.physicalQ ActualPrimary.h) ActualCandidateAssembly.selectedPressureStages |
| 288 | |
| 289 | def velocity (a : ℕ → ℕ) : VelocityField := |
| 290 | MixedPeriodicAssembly.velocity (potential a) (direct a) |
| 291 | |
| 292 | /-- The tangential magnitude is a scalar in cylindrical `(t,r,z)` coordinates. -/ |
| 293 | def angularScalar (a : ℕ → ℕ) : DirectAngularDiagonal.Coefficient := |
| 294 | fun p => LocalAngularScalar.selectedScalar a p + |
| 295 | LocalAngularScalar.magnitudeOfProfile |
| 296 | (LocalHeatExterior.axialCurlCoefficient ActualPrimary.certificate |
| 297 | ActualPrimary.modulation ActualPrimary.upper ActualCandidateConstruction.selectedBudget) p |
| 298 | |
| 299 | theorem direct_eq_angularField {a : ℕ → ℕ} |
| 300 | (ha : Tendsto (fun j => (a j : ℝ)) atTop atTop) {w : SpaceTime} |
| 301 | (hw : w ∈ PhysicalWaveSum.preterminal) : |
| 302 | direct a w = DirectAngularDiagonal.angularField (angularScalar a) w := by |
| 303 | change direct a w = DirectAngularDiagonal.angularField |
| 304 | (fun p => LocalAngularScalar.selectedScalar a p + |
| 305 | LocalAngularScalar.magnitudeOfProfile |
| 306 | (LocalHeatExterior.axialCurlCoefficient ActualPrimary.certificate |
| 307 | ActualPrimary.modulation ActualPrimary.upper ActualCandidateConstruction.selectedBudget) p) w |
| 308 | rw [LocalAngularScalar.angularField_add] |
| 309 | dsimp only |
| 310 | change LocalAngularGrowth.selectedDirect a w + SpatialCurl.spatialCurl removedPotential w = _ |
| 311 | rw [LocalAngularScalar.selectedDirect_eq_angularField ha hw, |
| 312 | LocalAngularScalar.angularField_magnitudeOfProfile] |
| 313 | exact congrArg (fun v : Space => |
| 314 | DirectAngularDiagonal.angularField (LocalAngularScalar.selectedScalar a) w + v) |
| 315 | (LocalHeatExterior.axialPart_finalPotential_curl_angular ActualPrimary.certificate |
| 316 | ActualPrimary.modulation ActualPrimary.upper ActualCandidateConstruction.selectedBudget hw) |
| 317 | |
| 318 | theorem spatialCurl_sub {A J : VelocityField} {w : SpaceTime} |
| 319 | (hA : ContDiffAt ℝ ∞ A w) (hJ : ContDiffAt ℝ ∞ J w) : |
| 320 | SpatialCurl.spatialCurl (fun z => A z - J z) w = |
| 321 | SpatialCurl.spatialCurl A w - SpatialCurl.spatialCurl J w := by |
| 322 | exact BaseResidual.spatialCurl_sub |
| 323 | (hA.differentiableAt (by simp)) (hJ.differentiableAt (by simp)) |
| 324 | |
| 325 | theorem removedPotential_smooth : ContDiffOn ℝ ∞ removedPotential PhysicalWaveSum.preterminal := |
| 326 | LocalHeatExterior.axialPart_smooth |
| 327 | ((TailGaugePotential.finalPotential_smooth ActualPrimary.certificate ActualPrimary.modulation |
| 328 | ActualPrimary.upper ActualCandidateConstruction.selectedBudget).mono |
| 329 | (fun _ hw => ⟨hw, mem_univ _⟩)) |
| 330 | |
| 331 | theorem potential_smooth {a : ℕ → ℕ} |
| 332 | (hs : MixedDiagonalSchedule.ThreeSmoothSums a ActualPrimary.h |
| 333 | ActualCandidateAssembly.selectedPotentialStages ActualCandidateAssembly.selectedDirectStages |
| 334 | ActualCandidateAssembly.selectedPressureStages) : |
| 335 | ContDiffOn ℝ ∞ (potential a) PhysicalWaveSum.preterminal := |
| 336 | hs.potential.sub removedPotential_smooth |
| 337 | |
| 338 | theorem direct_smooth {a : ℕ → ℕ} |
| 339 | (hs : MixedDiagonalSchedule.ThreeSmoothSums a ActualPrimary.h |
| 340 | ActualCandidateAssembly.selectedPotentialStages ActualCandidateAssembly.selectedDirectStages |
| 341 | ActualCandidateAssembly.selectedPressureStages) : |
| 342 | ContDiffOn ℝ ∞ (direct a) PhysicalWaveSum.preterminal := by |
| 343 | intro w hw |
| 344 | exact ((hs.direct.contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw)).add |
| 345 | (SpatialCurl.contDiffAt_spatialCurl |
| 346 | (removedPotential_smooth.contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw)) |
| 347 | (by simp))).contDiffWithinAt |
| 348 | |
| 349 | theorem velocity_eq_original {a : ℕ → ℕ} |
| 350 | (hs : MixedDiagonalSchedule.ThreeSmoothSums a ActualPrimary.h |
| 351 | ActualCandidateAssembly.selectedPotentialStages ActualCandidateAssembly.selectedDirectStages |
| 352 | ActualCandidateAssembly.selectedPressureStages) {w : SpaceTime} |
| 353 | (hw : w ∈ PhysicalWaveSum.preterminal) : |
| 354 | velocity a w = MixedPeriodicAssembly.velocity |
| 355 | (LocalAngularGrowth.selectedPotential a) (LocalAngularGrowth.selectedDirect a) w := by |
| 356 | change SpatialCurl.spatialCurl |
| 357 | (fun z => LocalAngularGrowth.selectedPotential a z - removedPotential z) w + direct a w = _ |
| 358 | rw [spatialCurl_sub (A := LocalAngularGrowth.selectedPotential a) |
| 359 | (hs.potential.contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw)) |
| 360 | (removedPotential_smooth.contDiffAt (PhysicalWaveSum.preterminal_open.mem_nhds hw))] |
| 361 | simp only [direct, MixedPeriodicAssembly.velocity] |
| 362 | abel |
| 363 | |
| 364 | theorem sum_eq_first {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 365 | {A : ℕ → SpaceTime → V} {f : SpaceTime → V} {a : ℕ → ℝ} |
| 366 | {q : SpaceTime → ℝ} {w : SpaceTime} |
| 367 | (h0 : A 0 w = f w) (hz : ∀ k, A (k + 1) w = 0) |
| 368 | (hsmall : |a 0 * q w| < 1 / 2) : |
| 369 | SolenoidalDiagonal.potentialSum a q A w = f w := by |
| 370 | rw [SolenoidalDiagonal.potentialSum, tsum_eq_single 0] |
| 371 | · simp only [SolenoidalDiagonal.cutStage, |
| 372 | (SmoothCutoffs.scaledCutoff_eventually_one hsmall).self_of_nhds, one_smul, h0] |
| 373 | · intro j hj |
| 374 | obtain ⟨k, rfl⟩ := Nat.exists_eq_succ_of_ne_zero hj |
| 375 | simp only [SolenoidalDiagonal.cutStage, hz k, smul_zero] |
| 376 | |
| 377 | theorem selectedPotential_eq_base {a : ℕ → ℕ} {w : SpaceTime} |
| 378 | (hw : w ∈ ActualExteriorPrefix.exteriorDomain |
| 379 | (ActualCandidateConstruction.residualBand ActualCandidateConstruction.selectedBudget |
| 380 | ActualCandidateConstruction.selectedThreshold)) |
| 381 | (hsmall : |(a 0 : ℝ) * PhysicalWaveSum.physicalQ ActualPrimary.h w| < 1 / 2) : |
| 382 | LocalAngularGrowth.selectedPotential a w = basePotential w := by |
| 383 | have H := ActualCandidateAssembly.exteriorStages ActualCandidateConstruction.selectedBudget |
| 384 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry |
| 385 | exact sum_eq_first (H.potential_zero hw) (fun k => H.potential_succ k hw) hsmall |
| 386 | |
| 387 | theorem selectedDirect_eq_zero {a : ℕ → ℕ} {w : SpaceTime} |
| 388 | (hw : w ∈ ActualExteriorPrefix.exteriorDomain |
| 389 | (ActualCandidateConstruction.residualBand ActualCandidateConstruction.selectedBudget |
| 390 | ActualCandidateConstruction.selectedThreshold)) : |
| 391 | LocalAngularGrowth.selectedDirect a w = 0 := by |
| 392 | have H := ActualCandidateAssembly.exteriorStages ActualCandidateConstruction.selectedBudget |
| 393 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry |
| 394 | have hz (j : ℕ) : ActualCandidateAssembly.selectedDirectStages j w = 0 := H.direct_zero j hw |
| 395 | simp only [LocalAngularGrowth.selectedDirect, SolenoidalDiagonal.potentialSum, |
| 396 | SolenoidalDiagonal.cutStage, hz, smul_zero, tsum_zero] |
| 397 | |
| 398 | theorem pressure_eq_base {a : ℕ → ℕ} {w : SpaceTime} |
| 399 | (hw : w ∈ ActualExteriorPrefix.exteriorDomain |
| 400 | (ActualCandidateConstruction.residualBand ActualCandidateConstruction.selectedBudget |
| 401 | ActualCandidateConstruction.selectedThreshold)) |
| 402 | (hsmall : |(a 0 : ℝ) * PhysicalWaveSum.physicalQ ActualPrimary.h w| < 1 / 2) : |
| 403 | pressure a w = FinalSlowBase.pressure ActualPrimary.certificate ActualPrimary.modulation |
| 404 | ActualPrimary.upper ActualCandidateConstruction.selectedBudget w := by |
| 405 | have H := ActualCandidateAssembly.exteriorStages ActualCandidateConstruction.selectedBudget |
| 406 | ActualCandidateConstruction.selectedThreshold ActualCandidateConstruction.selectedThreshold_geometry |
| 407 | exact sum_eq_first (H.pressure_zero hw) (fun k => H.pressure_succ k hw) hsmall |
| 408 | |
| 409 | /-- All three fields have the literal heat-exterior representation from |
| 410 | the local theorem, after transferring the axial potential to direct swirl. -/ |
| 411 | theorem exterior {a : ℕ → ℕ} {w : SpaceTime} |
| 412 | (hw : w ∈ ActualExteriorPrefix.exteriorDomain |
| 413 | (ActualCandidateConstruction.residualBand ActualCandidateConstruction.selectedBudget |
| 414 | ActualCandidateConstruction.selectedThreshold)) |
| 415 | (he : w ∈ BaseExterior.cartesianExterior ActualPrimary.h |
| 416 | (BaseExterior.nominalExteriorRadius ActualPrimary.nominal)) |
| 417 | (hsmall : |(a 0 : ℝ) * PhysicalWaveSum.physicalQ ActualPrimary.h w| < 1 / 2) : |
| 418 | potential a w = 0 ∧ |
| 419 | direct a w = BaseExterior.heatVelocity |
| 420 | (BaseExterior.nominalHeatNormalization ActualPrimary.nominal) ActualPrimary.h w ∧ |
| 421 | pressure a w = BaseExterior.heatPressureField |
| 422 | (BaseExterior.nominalHeatNormalization ActualPrimary.nominal) ActualPrimary.h w := by |
| 423 | refine ⟨?_, ?_, ?_⟩ |
| 424 | · rw [potential, selectedPotential_eq_base hw hsmall] |
| 425 | exact sub_eq_zero.mpr (LocalHeatExterior.finalPotential_eq_axialPart |
| 426 | ActualPrimary.certificate ActualPrimary.modulation ActualPrimary.upper |
| 427 | ActualCandidateConstruction.selectedBudget he) |
| 428 | · rw [direct, selectedDirect_eq_zero hw, zero_add] |
| 429 | exact (LocalHeatExterior.axialPart_finalPotential_curl ActualPrimary.certificate |
| 430 | ActualPrimary.modulation ActualPrimary.upper ActualCandidateConstruction.selectedBudget he).trans |
| 431 | ((FinalSlowBase.exterior_fields_eq_heat ActualPrimary.certificate |
| 432 | ActualPrimary.modulation ActualPrimary.upper ActualCandidateConstruction.selectedBudget).1 he) |
| 433 | · exact (pressure_eq_base hw hsmall).trans |
| 434 | ((FinalSlowBase.exterior_fields_eq_heat ActualPrimary.certificate |
| 435 | ActualPrimary.modulation ActualPrimary.upper ActualCandidateConstruction.selectedBudget).2 he) |
| 436 | |
| 437 | theorem extension_sub {A J : VelocityField} {x : Space} |
| 438 | (eA : JointResidualLimits.OneSidedExtension A x) |
| 439 | (eJ : JointResidualLimits.OneSidedExtension J x) : |
| 440 | Nonempty (JointResidualLimits.OneSidedExtension (fun w => A w - J w) x) := by |
| 441 | refine ⟨{ value := fun w => eA.value w - eJ.value w |
| 442 | domain := eA.domain ∩ eJ.domain |
| 443 | isOpen := eA.isOpen.inter eJ.isOpen |
| 444 | mem := ⟨eA.mem, eJ.mem⟩ |
| 445 | smooth := (eA.smooth.mono inter_subset_left).sub (eJ.smooth.mono inter_subset_right) |
| 446 | agrees := ?_ }⟩ |
| 447 | intro w hw |
| 448 | dsimp only |
| 449 | rw [eA.agrees ⟨hw.1.1, hw.2⟩, eJ.agrees ⟨hw.1.2, hw.2⟩] |
| 450 | |
| 451 | theorem extension_add {A J : VelocityField} {x : Space} |
| 452 | (eA : JointResidualLimits.OneSidedExtension A x) |
| 453 | (eJ : JointResidualLimits.OneSidedExtension J x) : |
| 454 | Nonempty (JointResidualLimits.OneSidedExtension (fun w => A w + J w) x) := by |
| 455 | refine ⟨{ value := fun w => eA.value w + eJ.value w |
| 456 | domain := eA.domain ∩ eJ.domain |
| 457 | isOpen := eA.isOpen.inter eJ.isOpen |
| 458 | mem := ⟨eA.mem, eJ.mem⟩ |
| 459 | smooth := (eA.smooth.mono inter_subset_left).add (eJ.smooth.mono inter_subset_right) |
| 460 | agrees := ?_ }⟩ |
| 461 | intro w hw |
| 462 | dsimp only |
| 463 | rw [eA.agrees ⟨hw.1.1, hw.2⟩, eJ.agrees ⟨hw.1.2, hw.2⟩] |
| 464 | |
| 465 | theorem extension_curl {A : VelocityField} {x : Space} |
| 466 | (eA : JointResidualLimits.OneSidedExtension A x) : |
| 467 | Nonempty (JointResidualLimits.OneSidedExtension (SpatialCurl.spatialCurl A) x) := by |
| 468 | refine ⟨{ value := SpatialCurl.spatialCurl eA.value |
| 469 | domain := eA.domain |
| 470 | isOpen := eA.isOpen |
| 471 | mem := eA.mem |
| 472 | smooth := ?_ |
| 473 | agrees := ?_ }⟩ |
| 474 | · intro w hw |
| 475 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 476 | (eA.smooth.contDiffAt (eA.isOpen.mem_nhds hw)) (by simp)).contDiffWithinAt |
| 477 | · intro w hw |
| 478 | have hnear : eA.value =ᶠ[𝓝 w] A := by |
| 479 | filter_upwards [(eA.isOpen.inter (SpacetimeEndpoint.openPast_isOpen 1)).mem_nhds hw] |
| 480 | with z hz |
| 481 | exact eA.agrees hz |
| 482 | exact SolenoidalDiagonal.spatialCurl_eq_of_eventuallyEq hnear |
| 483 | |
| 484 | theorem removedPotential_awayExtensions : JointResidualLimits.AwayExtensions removedPotential := |
| 485 | LocalHeatExterior.axialPart_awayExtensions |
| 486 | (TailGaugePotential.finalPotential_awayExtensions ActualPrimary.certificate |
| 487 | ActualPrimary.modulation ActualPrimary.upper ActualCandidateConstruction.selectedBudget) |
| 488 | |
| 489 | theorem awayExtensions {a : ℕ → ℕ} |
| 490 | (eA : JointResidualLimits.AwayExtensions (LocalAngularGrowth.selectedPotential a)) |
| 491 | (eD : JointResidualLimits.AwayExtensions (LocalAngularGrowth.selectedDirect a)) : |
| 492 | JointResidualLimits.AwayExtensions (potential a) ∧ |
| 493 | JointResidualLimits.AwayExtensions (direct a) := by |
| 494 | constructor |
| 495 | · intro x hx |
| 496 | exact extension_sub (Classical.choice (eA x hx)) |
| 497 | (Classical.choice (removedPotential_awayExtensions x hx)) |
| 498 | · intro x hx |
| 499 | exact extension_add (Classical.choice (eD x hx)) |
| 500 | (Classical.choice (extension_curl (Classical.choice (removedPotential_awayExtensions x hx)))) |
| 501 | |
| 502 | end NavierStokes.LocalPotentialRebundle |