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.EndpointCoordinates |
| 2 | import NavierStokes.ModulatedExterior |
| 3 | import NavierStokes.FinalSlowBase |
| 4 | import NavierStokes.JointResidualLimits |
| 5 | import NavierStokes.SpacetimeGluing |
| 6 | import Mathlib.Analysis.Calculus.BumpFunction.FiniteDimension |
| 7 | |
| 8 | /-! |
| 9 | # Endpoint extensions of the actual summed slow base |
| 10 | |
| 11 | At nonzero axial coordinate the stable coordinate extension has positive q. |
| 12 | The original cutoff schedule therefore gives a locally finite series on an |
| 13 | open neighborhood crossing t = 1. No new summation or cutoff choice is made. |
| 14 | |
| 15 | For velocity and pressure, the nonzero-axial extension combines with the |
| 16 | proved heat exterior on the central plane. The forward-integral potential |
| 17 | is only extended at nonzero axial coordinate here; a central-plane gauge |
| 18 | correction is a separate construction. |
| 19 | -/ |
| 20 | |
| 21 | namespace NavierStokes.SlowBaseEndpoint |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | open Set Filter Metric |
| 26 | open ProblemStatement SimilarityProfile SlowBorelBase |
| 27 | open scoped Topology ContDiff BigOperators |
| 28 | |
| 29 | section LocallyFiniteProfiles |
| 30 | |
| 31 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 32 | |
| 33 | /-- The same coefficient series evaluated at the actual stable coordinate |
| 34 | extension, including the original leading power. -/ |
| 35 | noncomputable def profileExtension (a : ℕ → ℕ) (h b : ℝ) (f : ℕ → Inner → V) |
| 36 | (p : PhysicalPoint) : V := |
| 37 | (EndpointCoordinates.chartExtension h p).1 ^ b • |
| 38 | slowSum a h f (EndpointCoordinates.chartExtension h p) |
| 39 | |
| 40 | noncomputable def cartesianProfileExtension (a : ℕ → ℕ) (h b : ℝ) |
| 41 | (f : ℕ → Inner → V) (z : SpaceTime) : V := |
| 42 | profileExtension a h b f (AxisymmetricFields.profilePoint z.1 z.2) |
| 43 | |
| 44 | theorem profileExtension_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 45 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 46 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) {p : PhysicalPoint} |
| 47 | (hp : p ∈ EndpointCoordinates.domain h) : |
| 48 | ContDiffAt ℝ ∞ (profileExtension a h b f) p := by |
| 49 | have hc := EndpointCoordinates.chartExtension_smoothAt hh hh1 hp |
| 50 | have hq : 0 < (EndpointCoordinates.chartExtension h p).1 := |
| 51 | EndpointCoordinates.qExtension_pos hp |
| 52 | exact (hc.fst.rpow_const_of_ne hq.ne').smul |
| 53 | ((slowSum_smoothAt ha hf h hq).comp p hc) |
| 54 | |
| 55 | theorem profileExtension_eq_physical (a : ℕ → ℕ) {h : ℝ} |
| 56 | (hh : 0 < h) (hh1 : h < 1 / 2) (b : ℝ) (f : ℕ → Inner → V) |
| 57 | {p : PhysicalPoint} (hp : p.1 < 1) : |
| 58 | profileExtension a h b f p = physicalProfile a h b f p := by |
| 59 | simp only [profileExtension, EndpointCoordinates.chartExtension_eq_physical hh hh1 hp, |
| 60 | physicalProfile] |
| 61 | |
| 62 | theorem profileExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} |
| 63 | (hh : 0 < h) (hh1 : h < 1 / 2) (b : ℝ) (f : ℕ → Inner → V) |
| 64 | {p : PhysicalPoint} (hp : p.1 < 1) : |
| 65 | profileExtension a h b f =ᶠ[𝓝 p] physicalProfile a h b f := by |
| 66 | filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hp] with y hy |
| 67 | exact profileExtension_eq_physical a hh hh1 b f hy |
| 68 | |
| 69 | theorem cartesianProfileExtension_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 70 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 71 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) {z : SpaceTime} |
| 72 | (hz : z ∈ EndpointCoordinates.cartesianDomain h) : |
| 73 | ContDiffAt ℝ ∞ (cartesianProfileExtension a h b f) z := |
| 74 | (profileExtension_smoothAt ha hh hh1 hf b hz).comp z |
| 75 | AxisymmetricFields.contDiff_profilePoint.contDiffAt |
| 76 | |
| 77 | theorem cartesianProfileExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 78 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 79 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) : |
| 80 | ContDiffOn ℝ ∞ (cartesianProfileExtension a h b f) (EndpointCoordinates.cartesianDomain h) := |
| 81 | fun _ hz => (cartesianProfileExtension_smoothAt ha hh hh1 hf b hz).contDiffWithinAt |
| 82 | |
| 83 | end LocallyFiniteProfiles |
| 84 | |
| 85 | section ActualFields |
| 86 | |
| 87 | noncomputable def streamExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : PhysicalProfile := |
| 88 | profileExtension a h (-CoordinateAlgebra.A h) (bundleComponent C d 0) |
| 89 | |
| 90 | noncomputable def swirlExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : PhysicalProfile := |
| 91 | profileExtension a h (1 / 2 - CoordinateAlgebra.A h) (bundleComponent C d 1) |
| 92 | |
| 93 | noncomputable def potentialExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 94 | AxisymmetricFields.potential (streamExtension a h C d) (swirlExtension a h C d) |
| 95 | |
| 96 | noncomputable def velocityExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 97 | SpatialCurl.spatialCurl (potentialExtension a h C d) |
| 98 | |
| 99 | noncomputable def pressureExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : PressureField := |
| 100 | cartesianProfileExtension a h (-2 * CoordinateAlgebra.A h) (bundleComponent C d 2) |
| 101 | |
| 102 | theorem potentialExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 103 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 104 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 105 | ContDiffOn ℝ ∞ (potentialExtension a h C d) (EndpointCoordinates.cartesianDomain h) := by |
| 106 | rw [potentialExtension, BaseResidual.potential_eq_scalars] |
| 107 | exact BaseResidual.potentialFromScalars_smooth |
| 108 | (cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 0) _) |
| 109 | (cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 1) _) |
| 110 | |
| 111 | theorem velocityExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 112 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 113 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 114 | ContDiffOn ℝ ∞ (velocityExtension a h C d) (EndpointCoordinates.cartesianDomain h) := by |
| 115 | intro z hz |
| 116 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 117 | ((potentialExtension_smoothOn ha hh hh1 hd C).contDiffAt |
| 118 | ((EndpointCoordinates.cartesianDomain_open h).mem_nhds hz)) (by simp)).contDiffWithinAt |
| 119 | |
| 120 | theorem pressureExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 121 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 122 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 123 | ContDiffOn ℝ ∞ (pressureExtension a h C d) (EndpointCoordinates.cartesianDomain h) := |
| 124 | cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 2) _ |
| 125 | |
| 126 | theorem potentialExtension_eq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 127 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 128 | potentialExtension a h C d z = BaseResidual.summedPotential a h C d z := by |
| 129 | have h0 := profileExtension_eq_physical a hh hh1 (-CoordinateAlgebra.A h) |
| 130 | (bundleComponent C d 0) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 131 | have h1 := profileExtension_eq_physical a hh hh1 (1 / 2 - CoordinateAlgebra.A h) |
| 132 | (bundleComponent C d 1) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 133 | simp only [potentialExtension, BaseResidual.summedPotential, AxisymmetricFields.potential, |
| 134 | streamExtension, swirlExtension, h0, h1, streamFactor, swirlPotential] |
| 135 | |
| 136 | theorem potentialExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 137 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 138 | potentialExtension a h C d =ᶠ[𝓝 z] BaseResidual.summedPotential a h C d := by |
| 139 | filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hz] with y hy |
| 140 | exact potentialExtension_eq a hh hh1 C d hy |
| 141 | |
| 142 | theorem velocityExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 143 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 144 | velocityExtension a h C d =ᶠ[𝓝 z] baseVelocity a h C d := |
| 145 | SolenoidalDiagonal.spatialCurl_eventuallyEq (potentialExtension_eventuallyEq a hh hh1 C d hz) |
| 146 | |
| 147 | theorem pressureExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 148 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 149 | pressureExtension a h C d =ᶠ[𝓝 z] basePressure a h C d := by |
| 150 | filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hz] with y hy |
| 151 | exact profileExtension_eq_physical a hh hh1 (-2 * CoordinateAlgebra.A h) |
| 152 | (bundleComponent C d 2) hy |
| 153 | |
| 154 | /-- The original forward-integral potential extends at every nonzero |
| 155 | axial endpoint, with exactly the original cutoff schedule. -/ |
| 156 | noncomputable def potentialNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 157 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 158 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 159 | JointResidualLimits.OneSidedExtension (BaseResidual.summedPotential a h C d) x where |
| 160 | value := potentialExtension a h C d |
| 161 | domain := EndpointCoordinates.cartesianDomain h |
| 162 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 163 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 164 | smooth := potentialExtension_smoothOn ha hh hh1 hd C |
| 165 | agrees := fun _ hz => potentialExtension_eq a hh hh1 C d hz.2.1 |
| 166 | |
| 167 | noncomputable def velocityNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 168 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 169 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 170 | JointResidualLimits.OneSidedExtension (baseVelocity a h C d) x where |
| 171 | value := velocityExtension a h C d |
| 172 | domain := EndpointCoordinates.cartesianDomain h |
| 173 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 174 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 175 | smooth := velocityExtension_smoothOn ha hh hh1 hd C |
| 176 | agrees := fun _ hz => (velocityExtension_eventuallyEq a hh hh1 C d hz.2.1).self_of_nhds |
| 177 | |
| 178 | noncomputable def pressureNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 179 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 180 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 181 | JointResidualLimits.OneSidedExtension (basePressure a h C d) x where |
| 182 | value := pressureExtension a h C d |
| 183 | domain := EndpointCoordinates.cartesianDomain h |
| 184 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 185 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 186 | smooth := pressureExtension_smoothOn ha hh hh1 hd C |
| 187 | agrees := fun _ hz => (pressureExtension_eventuallyEq a hh hh1 C d hz.2.1).self_of_nhds |
| 188 | |
| 189 | /-- The fixed physical radial anchor used for the exact gauge correction. -/ |
| 190 | noncomputable def radialAnchor (p : PhysicalPoint) : PhysicalPoint := (p.1, (1, p.2.2)) |
| 191 | |
| 192 | theorem radialAnchor_smooth : ContDiff ℝ ∞ radialAnchor := |
| 193 | contDiff_fst.prodMk (contDiff_const.prodMk contDiff_snd.snd) |
| 194 | |
| 195 | /-- This is the literal anchored-potential formula. Equality of its curl |
| 196 | with the original velocity is proved in the separate gauge module. -/ |
| 197 | noncomputable def anchoredPotential (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 198 | AxisymmetricFields.potential (streamFactor a h C d) |
| 199 | (fun p => swirlPotential a h C d p - swirlPotential a h C d (radialAnchor p)) |
| 200 | |
| 201 | noncomputable def anchoredPotentialExtension (a : ℕ → ℕ) (h C : ℝ) |
| 202 | (d : Coefficients) : VelocityField := |
| 203 | AxisymmetricFields.potential (streamExtension a h C d) |
| 204 | (fun p => swirlExtension a h C d p - swirlExtension a h C d (radialAnchor p)) |
| 205 | |
| 206 | theorem anchoredPotentialExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 207 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 208 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 209 | ContDiffOn ℝ ∞ (anchoredPotentialExtension a h C d) (EndpointCoordinates.cartesianDomain h) := by |
| 210 | have hanchor : ContDiffOn ℝ ∞ |
| 211 | (fun z : SpaceTime => swirlExtension a h C d (radialAnchor (AxisymmetricFields.profilePoint z.1 z.2))) |
| 212 | (EndpointCoordinates.cartesianDomain h) := by |
| 213 | intro z hz |
| 214 | have hz' : radialAnchor (AxisymmetricFields.profilePoint z.1 z.2) ∈ |
| 215 | EndpointCoordinates.domain h := hz |
| 216 | exact ((profileExtension_smoothAt ha hh hh1 (bundleComponent_smooth hd C 1) |
| 217 | (1 / 2 - CoordinateAlgebra.A h) hz').comp z |
| 218 | (radialAnchor_smooth.comp AxisymmetricFields.contDiff_profilePoint).contDiffAt).contDiffWithinAt |
| 219 | rw [anchoredPotentialExtension, BaseResidual.potential_eq_scalars] |
| 220 | exact BaseResidual.potentialFromScalars_smooth |
| 221 | (cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 0) _) |
| 222 | ((cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 1) _).sub hanchor) |
| 223 | |
| 224 | theorem anchoredPotentialExtension_eq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 225 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 226 | anchoredPotentialExtension a h C d z = anchoredPotential a h C d z := by |
| 227 | have h0 := profileExtension_eq_physical a hh hh1 (-CoordinateAlgebra.A h) |
| 228 | (bundleComponent C d 0) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 229 | have h1 := profileExtension_eq_physical a hh hh1 (1 / 2 - CoordinateAlgebra.A h) |
| 230 | (bundleComponent C d 1) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 231 | have hr := profileExtension_eq_physical a hh hh1 (1 / 2 - CoordinateAlgebra.A h) |
| 232 | (bundleComponent C d 1) (p := radialAnchor (AxisymmetricFields.profilePoint z.1 z.2)) hz |
| 233 | simp only [anchoredPotentialExtension, anchoredPotential, AxisymmetricFields.potential, |
| 234 | streamExtension, swirlExtension, h0, h1, hr, streamFactor, swirlPotential] |
| 235 | |
| 236 | /-- The exact anchored potential also extends at every nonzero axial |
| 237 | endpoint. In particular the subtracted gauge uses the same sum and schedule. -/ |
| 238 | noncomputable def anchoredPotentialNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 239 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 240 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 241 | JointResidualLimits.OneSidedExtension (anchoredPotential a h C d) x where |
| 242 | value := anchoredPotentialExtension a h C d |
| 243 | domain := EndpointCoordinates.cartesianDomain h |
| 244 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 245 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 246 | smooth := anchoredPotentialExtension_smoothOn ha hh hh1 hd C |
| 247 | agrees := fun _ hz => anchoredPotentialExtension_eq a hh hh1 C d hz.2.1 |
| 248 | |
| 249 | end ActualFields |
| 250 | |
| 251 | section LocalClosedExtension |
| 252 | |
| 253 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [CompleteSpace V] |
| 254 | |
| 255 | /-- Convert a genuine locally smooth closed-side continuation into an |
| 256 | ambient smooth extension. A local bump and the already proved joint |
| 257 | Taylor--Borel extension are the actual construction. -/ |
| 258 | theorem oneSidedExtension_of_closed_local {f g : SpaceTime → V} {x : Space} |
| 259 | {U : Set SpaceTime} (hU : IsOpen U) (hxU : (1, x) ∈ U) |
| 260 | (hg : ContDiffOn ℝ ∞ g (U ∩ SpacetimeEndpoint.closedPast 1)) |
| 261 | (he : EqOn g f (U ∩ SpacetimeEndpoint.openPast 1)) : |
| 262 | Nonempty (JointResidualLimits.OneSidedExtension f x) := by |
| 263 | obtain ⟨r, hr, hrU⟩ : ∃ r, 0 < r ∧ closedBall (1, x) r ⊆ U := |
| 264 | nhds_basis_closedBall.mem_iff.mp (hU.mem_nhds hxU) |
| 265 | let χ : ContDiffBump ((1 : ℝ), x) := |
| 266 | { rIn := r / 2, rOut := r, rIn_pos := half_pos hr, rIn_lt_rOut := half_lt_self hr } |
| 267 | let cut : SpaceTime → V := fun z => χ z • g z |
| 268 | have hlocal : ContDiffOn ℝ ∞ cut (SpacetimeEndpoint.closedPast 1) := by |
| 269 | intro z hz |
| 270 | by_cases hzU : z ∈ U |
| 271 | · have hgs : ContDiffWithinAt ℝ ∞ g (SpacetimeEndpoint.closedPast 1) z := |
| 272 | (hg z ⟨hzU, hz⟩).mono_of_mem_nhdsWithin |
| 273 | (inter_mem (nhdsWithin_le_nhds (hU.mem_nhds hzU)) self_mem_nhdsWithin) |
| 274 | exact χ.contDiff.contDiffWithinAt.smul hgs |
| 275 | · have hzχ : z ∉ tsupport (χ : SpaceTime → ℝ) := by |
| 276 | rw [χ.tsupport_eq] |
| 277 | exact fun hzχ => hzU (hrU hzχ) |
| 278 | have hz0 : (χ : SpaceTime → ℝ) =ᶠ[𝓝 z] 0 := |
| 279 | notMem_tsupport_iff_eventuallyEq.mp hzχ |
| 280 | have hl0 : cut =ᶠ[𝓝 z] (fun _ => 0) := by |
| 281 | filter_upwards [hz0] with y hy |
| 282 | change χ y = 0 at hy |
| 283 | simp only [cut, hy, zero_smul] |
| 284 | exact (contDiffAt_const.congr_of_eventuallyEq hl0).contDiffWithinAt |
| 285 | let G := SpacetimeGluing.smoothExtension 1 cut hlocal |
| 286 | refine ⟨⟨G, ball (1, x) (r / 2), isOpen_ball, mem_ball_self (half_pos hr), |
| 287 | (SpacetimeGluing.smoothExtension_contDiff hlocal).contDiffOn, ?_⟩⟩ |
| 288 | intro z hz |
| 289 | have hzU : z ∈ U := hrU ((ball_subset_closedBall.trans |
| 290 | (closedBall_subset_closedBall (half_le_self hr.le))) hz.1) |
| 291 | have hzP : z ∈ SpacetimeEndpoint.closedPast 1 := |
| 292 | ⟨(show z.1 < 1 from hz.2.1).le, hz.2.2⟩ |
| 293 | change SpacetimeGluing.smoothExtension 1 cut hlocal z = f z |
| 294 | rw [SpacetimeGluing.smoothExtension_eqOn_past hlocal hzP] |
| 295 | change χ z • g z = f z |
| 296 | rw [χ.one_of_mem_closedBall (mem_closedBall.mpr (mem_ball.mp hz.1).le), one_smul] |
| 297 | exact he ⟨hzU, hz.2⟩ |
| 298 | |
| 299 | end LocalClosedExtension |
| 300 | |
| 301 | theorem radialEnergy_pos_of_nonzero_of_axial_zero {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) : |
| 302 | 0 < AxisymmetricFields.radialEnergy x := by |
| 303 | by_contra h |
| 304 | have hr := AxisymmetricFields.radialEnergy_nonneg x |
| 305 | have he : AxisymmetricFields.radialEnergy x = 0 := le_antisymm (le_of_not_gt h) hr |
| 306 | have h0 : x 0 = 0 := by |
| 307 | dsimp only [AxisymmetricFields.radialEnergy] at he |
| 308 | nlinarith [sq_nonneg (x 1), sq_nonneg (x 0)] |
| 309 | have h1 : x 1 = 0 := by |
| 310 | dsimp only [AxisymmetricFields.radialEnergy] at he |
| 311 | nlinarith [sq_nonneg (x 1), sq_nonneg (x 0)] |
| 312 | apply hx |
| 313 | ext i |
| 314 | fin_cases i <;> simpa only [PiLp.zero_apply] using (show x _ = 0 from by assumption) |
| 315 | |
| 316 | section CompleteAwayExtensions |
| 317 | |
| 318 | open GlobalSlowProfiles AssembledSlowBase ModulatedExterior |
| 319 | |
| 320 | /-- For the actual repaired scheme, velocity and pressure have ambient |
| 321 | smooth continuations at every nonzero point of the terminal slice. -/ |
| 322 | theorem realized_fields_awayExtensions {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 323 | {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 324 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 325 | {s : Scheme S F.data.h W.axis.normalization} {d : Coefficients} |
| 326 | (hd : RealizesScheme s M.contains d) |
| 327 | (hbase : s.base = (modifiedScheme W Q M).base) (houter : s.B = nominalOuterRadius W) |
| 328 | (hds : SmoothCoefficients d) (henergy : RestoredSquaredSwirl W Q (S := S)) |
| 329 | {a : ℕ → ℕ} (ha : StrictMono a) : |
| 330 | JointResidualLimits.AwayExtensions (baseVelocity a F.data.h W.axis.normalization d) ∧ |
| 331 | JointResidualLimits.AwayExtensions (basePressure a F.data.h W.axis.normalization d) := by |
| 332 | have hall (x : Space) (hx : x ≠ 0) : |
| 333 | Nonempty (JointResidualLimits.OneSidedExtension |
| 334 | (baseVelocity a F.data.h W.axis.normalization d) x) ∧ |
| 335 | Nonempty (JointResidualLimits.OneSidedExtension |
| 336 | (basePressure a F.data.h W.axis.normalization d) x) := by |
| 337 | by_cases hz : x 2 = 0 |
| 338 | · obtain ⟨U, hU, hxU, _, _, hu, hp⟩ := realized_terminal_extension W Q M hd hbase houter |
| 339 | hds henergy ha hz (radialEnergy_pos_of_nonzero_of_axial_zero hx hz) |
| 340 | constructor |
| 341 | · apply oneSidedExtension_of_closed_local hU hxU hu |
| 342 | exact fun _ hy => completedVelocity_before _ _ _ hy.2.1 |
| 343 | · apply oneSidedExtension_of_closed_local hU hxU hp |
| 344 | exact fun _ hy => completedPressure_before _ _ _ hy.2.1 |
| 345 | · exact ⟨⟨velocityNonzeroAxial ha F.data.h_pos F.data.h_lt_half hds W.axis.normalization hz⟩, |
| 346 | ⟨pressureNonzeroAxial ha F.data.h_pos F.data.h_lt_half hds W.axis.normalization hz⟩⟩ |
| 347 | exact ⟨fun x hx => (hall x hx).1, fun x hx => (hall x hx).2⟩ |
| 348 | |
| 349 | end CompleteAwayExtensions |
| 350 | |
| 351 | section FinalBase |
| 352 | |
| 353 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 354 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 355 | (v : ModulatedProfileAssembly.Witness ld) |
| 356 | |
| 357 | /-- The original potential of the actual entrance-aligned base extends at |
| 358 | nonzero axial coordinate, with its selected scale sequence unchanged. -/ |
| 359 | noncomputable def finalPotentialNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} |
| 360 | (hx : x 2 ≠ 0) : |
| 361 | JointResidualLimits.OneSidedExtension (FinalSlowBase.vectorPotential H v upper B) x := |
| 362 | potentialNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 363 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 364 | |
| 365 | noncomputable def finalVelocityNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} |
| 366 | (hx : x 2 ≠ 0) : |
| 367 | JointResidualLimits.OneSidedExtension (FinalSlowBase.velocity H v upper B) x := |
| 368 | velocityNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 369 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 370 | |
| 371 | noncomputable def finalPressureNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} |
| 372 | (hx : x 2 ≠ 0) : |
| 373 | JointResidualLimits.OneSidedExtension (FinalSlowBase.pressure H v upper B) x := |
| 374 | pressureNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 375 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 376 | |
| 377 | /-- This includes the central plane and the spatial axis away from zero. |
| 378 | The inputs are the actual finite profile witnesses, not endpoint assumptions. -/ |
| 379 | theorem final_fields_awayExtensions (upper : ℝ) (B : ℕ) : |
| 380 | JointResidualLimits.AwayExtensions (FinalSlowBase.velocity H v upper B) ∧ |
| 381 | JointResidualLimits.AwayExtensions (FinalSlowBase.pressure H v upper B) := |
| 382 | realized_fields_awayExtensions W v.profiles v.finiteModification |
| 383 | (FinalSlowBase.realizesScheme H v) (EntranceAlignedBase.modulated_base_eq H v) |
| 384 | (EntranceAlignedBase.modulated_outer H v) (FinalSlowBase.coefficients_smooth H v) |
| 385 | (ModulatedExterior.actual_squared_swirl_restored v) (FinalSlowBase.scales_strictMono H v upper B) |
| 386 | |
| 387 | end FinalBase |
| 388 | |
| 389 | end |
| 390 | |
| 391 | end NavierStokes.SlowBaseEndpoint |