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_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 56 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 57 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) : |
| 58 | ContDiffOn ℝ ∞ (profileExtension a h b f) (EndpointCoordinates.domain h) := |
| 59 | fun _ hp => (profileExtension_smoothAt ha hh hh1 hf b hp).contDiffWithinAt |
| 60 | |
| 61 | theorem profileExtension_eq_physical (a : ℕ → ℕ) {h : ℝ} |
| 62 | (hh : 0 < h) (hh1 : h < 1 / 2) (b : ℝ) (f : ℕ → Inner → V) |
| 63 | {p : PhysicalPoint} (hp : p.1 < 1) : |
| 64 | profileExtension a h b f p = physicalProfile a h b f p := by |
| 65 | simp only [profileExtension, EndpointCoordinates.chartExtension_eq_physical hh hh1 hp, |
| 66 | physicalProfile] |
| 67 | |
| 68 | theorem profileExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} |
| 69 | (hh : 0 < h) (hh1 : h < 1 / 2) (b : ℝ) (f : ℕ → Inner → V) |
| 70 | {p : PhysicalPoint} (hp : p.1 < 1) : |
| 71 | profileExtension a h b f =ᶠ[𝓝 p] physicalProfile a h b f := by |
| 72 | filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hp] with y hy |
| 73 | exact profileExtension_eq_physical a hh hh1 b f hy |
| 74 | |
| 75 | theorem cartesianProfileExtension_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 76 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 77 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) {z : SpaceTime} |
| 78 | (hz : z ∈ EndpointCoordinates.cartesianDomain h) : |
| 79 | ContDiffAt ℝ ∞ (cartesianProfileExtension a h b f) z := |
| 80 | (profileExtension_smoothAt ha hh hh1 hf b hz).comp z |
| 81 | AxisymmetricFields.contDiff_profilePoint.contDiffAt |
| 82 | |
| 83 | theorem cartesianProfileExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 84 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → V} |
| 85 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) : |
| 86 | ContDiffOn ℝ ∞ (cartesianProfileExtension a h b f) (EndpointCoordinates.cartesianDomain h) := |
| 87 | fun _ hz => (cartesianProfileExtension_smoothAt ha hh hh1 hf b hz).contDiffWithinAt |
| 88 | |
| 89 | /-- One neighborhood and one finite index work for every coefficient |
| 90 | family. In particular the seven bundled fields keep the same schedule. -/ |
| 91 | theorem endpoint_common_finite_index {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 92 | (hh : 0 < h) (hh1 : h < 1 / 2) {x : Space} (hx : x 2 ≠ 0) : |
| 93 | ∃ U : Set SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ |
| 94 | U ⊆ EndpointCoordinates.cartesianDomain h ∧ ∃ N : ℕ, |
| 95 | ∀ z ∈ U, ∀ f : ℕ → Inner → V, |
| 96 | (∀ j : ℕ, N ≤ j → slowStage a h f j (EndpointCoordinates.cartesianExtension h z) = 0) ∧ |
| 97 | slowSum a h f (EndpointCoordinates.cartesianExtension h z) = |
| 98 | f 0 (EndpointCoordinates.cartesianExtension h z).2 + |
| 99 | ∑ j ∈ Finset.range N, slowStage a h f j (EndpointCoordinates.cartesianExtension h z) := by |
| 100 | obtain ⟨U, hU, hxU, hsub, _, hroot, hq⟩ := |
| 101 | EndpointCoordinates.cartesian_endpoint_neighborhood hh hh1 hx |
| 102 | obtain ⟨N, hN⟩ := SmoothCutoffs.scaledCutoffs_zero_on_common_neighborhood |
| 103 | (fun j => (a j : ℝ)) (SolenoidalDiagonal.realScales_tendsto ha) |
| 104 | (EndpointCoordinates.endpointRoot_pos (2 * h) hx) |
| 105 | refine ⟨U, hU, hxU, hsub, N, ?_⟩ |
| 106 | intro z hz f |
| 107 | have hzero : ∀ j : ℕ, N ≤ j → |
| 108 | slowStage a h f j (EndpointCoordinates.cartesianExtension h z) = 0 := by |
| 109 | intro j hj |
| 110 | simp only [slowStage, SolenoidalDiagonal.cutStage, |
| 111 | hN j hj _ (hq z hz).1, zero_smul] |
| 112 | refine ⟨hzero, ?_⟩ |
| 113 | change f 0 _ + (∑' j, slowStage a h f j _) = _ |
| 114 | rw [tsum_eq_sum (s := Finset.range N) (fun j hj => |
| 115 | hzero j (Nat.le_of_not_gt (by simpa only [Finset.mem_range] using hj)))] |
| 116 | |
| 117 | end LocallyFiniteProfiles |
| 118 | |
| 119 | section ActualFields |
| 120 | |
| 121 | noncomputable def streamExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : PhysicalProfile := |
| 122 | profileExtension a h (-CoordinateAlgebra.A h) (bundleComponent C d 0) |
| 123 | |
| 124 | noncomputable def swirlExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : PhysicalProfile := |
| 125 | profileExtension a h (1 / 2 - CoordinateAlgebra.A h) (bundleComponent C d 1) |
| 126 | |
| 127 | noncomputable def potentialExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 128 | AxisymmetricFields.potential (streamExtension a h C d) (swirlExtension a h C d) |
| 129 | |
| 130 | noncomputable def velocityExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 131 | SpatialCurl.spatialCurl (potentialExtension a h C d) |
| 132 | |
| 133 | noncomputable def pressureExtension (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : PressureField := |
| 134 | cartesianProfileExtension a h (-2 * CoordinateAlgebra.A h) (bundleComponent C d 2) |
| 135 | |
| 136 | theorem potentialExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 137 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 138 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 139 | ContDiffOn ℝ ∞ (potentialExtension a h C d) (EndpointCoordinates.cartesianDomain h) := by |
| 140 | rw [potentialExtension, BaseResidual.potential_eq_scalars] |
| 141 | exact BaseResidual.potentialFromScalars_smooth |
| 142 | (cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 0) _) |
| 143 | (cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 1) _) |
| 144 | |
| 145 | theorem velocityExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 146 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 147 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 148 | ContDiffOn ℝ ∞ (velocityExtension a h C d) (EndpointCoordinates.cartesianDomain h) := by |
| 149 | intro z hz |
| 150 | exact (SpatialCurl.contDiffAt_spatialCurl |
| 151 | ((potentialExtension_smoothOn ha hh hh1 hd C).contDiffAt |
| 152 | ((EndpointCoordinates.cartesianDomain_open h).mem_nhds hz)) (by simp)).contDiffWithinAt |
| 153 | |
| 154 | theorem pressureExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 155 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 156 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 157 | ContDiffOn ℝ ∞ (pressureExtension a h C d) (EndpointCoordinates.cartesianDomain h) := |
| 158 | cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 2) _ |
| 159 | |
| 160 | theorem potentialExtension_eq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 161 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 162 | potentialExtension a h C d z = BaseResidual.summedPotential a h C d z := by |
| 163 | have h0 := profileExtension_eq_physical a hh hh1 (-CoordinateAlgebra.A h) |
| 164 | (bundleComponent C d 0) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 165 | have h1 := profileExtension_eq_physical a hh hh1 (1 / 2 - CoordinateAlgebra.A h) |
| 166 | (bundleComponent C d 1) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 167 | simp only [potentialExtension, BaseResidual.summedPotential, AxisymmetricFields.potential, |
| 168 | streamExtension, swirlExtension, h0, h1, streamFactor, swirlPotential] |
| 169 | |
| 170 | theorem potentialExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 171 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 172 | potentialExtension a h C d =ᶠ[𝓝 z] BaseResidual.summedPotential a h C d := by |
| 173 | filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hz] with y hy |
| 174 | exact potentialExtension_eq a hh hh1 C d hy |
| 175 | |
| 176 | theorem velocityExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 177 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 178 | velocityExtension a h C d =ᶠ[𝓝 z] baseVelocity a h C d := |
| 179 | SolenoidalDiagonal.spatialCurl_eventuallyEq (potentialExtension_eventuallyEq a hh hh1 C d hz) |
| 180 | |
| 181 | theorem pressureExtension_eventuallyEq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 182 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 183 | pressureExtension a h C d =ᶠ[𝓝 z] basePressure a h C d := by |
| 184 | filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hz] with y hy |
| 185 | exact profileExtension_eq_physical a hh hh1 (-2 * CoordinateAlgebra.A h) |
| 186 | (bundleComponent C d 2) hy |
| 187 | |
| 188 | /-- The original forward-integral potential extends at every nonzero |
| 189 | axial endpoint, with exactly the original cutoff schedule. -/ |
| 190 | noncomputable def potentialNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 191 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 192 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 193 | JointResidualLimits.OneSidedExtension (BaseResidual.summedPotential a h C d) x where |
| 194 | value := potentialExtension a h C d |
| 195 | domain := EndpointCoordinates.cartesianDomain h |
| 196 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 197 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 198 | smooth := potentialExtension_smoothOn ha hh hh1 hd C |
| 199 | agrees := fun _ hz => potentialExtension_eq a hh hh1 C d hz.2.1 |
| 200 | |
| 201 | noncomputable def velocityNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 202 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 203 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 204 | JointResidualLimits.OneSidedExtension (baseVelocity a h C d) x where |
| 205 | value := velocityExtension a h C d |
| 206 | domain := EndpointCoordinates.cartesianDomain h |
| 207 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 208 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 209 | smooth := velocityExtension_smoothOn ha hh hh1 hd C |
| 210 | agrees := fun _ hz => (velocityExtension_eventuallyEq a hh hh1 C d hz.2.1).self_of_nhds |
| 211 | |
| 212 | noncomputable def pressureNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 213 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 214 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 215 | JointResidualLimits.OneSidedExtension (basePressure a h C d) x where |
| 216 | value := pressureExtension a h C d |
| 217 | domain := EndpointCoordinates.cartesianDomain h |
| 218 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 219 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 220 | smooth := pressureExtension_smoothOn ha hh hh1 hd C |
| 221 | agrees := fun _ hz => (pressureExtension_eventuallyEq a hh hh1 C d hz.2.1).self_of_nhds |
| 222 | |
| 223 | /-- The fixed physical radial anchor used for the exact gauge correction. -/ |
| 224 | noncomputable def radialAnchor (p : PhysicalPoint) : PhysicalPoint := (p.1, (1, p.2.2)) |
| 225 | |
| 226 | theorem radialAnchor_smooth : ContDiff ℝ ∞ radialAnchor := |
| 227 | contDiff_fst.prodMk (contDiff_const.prodMk contDiff_snd.snd) |
| 228 | |
| 229 | /-- This is the literal anchored-potential formula. Equality of its curl |
| 230 | with the original velocity is proved in the separate gauge module. -/ |
| 231 | noncomputable def anchoredPotential (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 232 | AxisymmetricFields.potential (streamFactor a h C d) |
| 233 | (fun p => swirlPotential a h C d p - swirlPotential a h C d (radialAnchor p)) |
| 234 | |
| 235 | noncomputable def anchoredPotentialExtension (a : ℕ → ℕ) (h C : ℝ) |
| 236 | (d : Coefficients) : VelocityField := |
| 237 | AxisymmetricFields.potential (streamExtension a h C d) |
| 238 | (fun p => swirlExtension a h C d p - swirlExtension a h C d (radialAnchor p)) |
| 239 | |
| 240 | theorem anchoredPotentialExtension_smoothOn {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 241 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 242 | (hd : SmoothCoefficients d) (C : ℝ) : |
| 243 | ContDiffOn ℝ ∞ (anchoredPotentialExtension a h C d) (EndpointCoordinates.cartesianDomain h) := by |
| 244 | have hanchor : ContDiffOn ℝ ∞ |
| 245 | (fun z : SpaceTime => swirlExtension a h C d (radialAnchor (AxisymmetricFields.profilePoint z.1 z.2))) |
| 246 | (EndpointCoordinates.cartesianDomain h) := by |
| 247 | intro z hz |
| 248 | have hz' : radialAnchor (AxisymmetricFields.profilePoint z.1 z.2) ∈ |
| 249 | EndpointCoordinates.domain h := hz |
| 250 | exact ((profileExtension_smoothAt ha hh hh1 (bundleComponent_smooth hd C 1) |
| 251 | (1 / 2 - CoordinateAlgebra.A h) hz').comp z |
| 252 | (radialAnchor_smooth.comp AxisymmetricFields.contDiff_profilePoint).contDiffAt).contDiffWithinAt |
| 253 | rw [anchoredPotentialExtension, BaseResidual.potential_eq_scalars] |
| 254 | exact BaseResidual.potentialFromScalars_smooth |
| 255 | (cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 0) _) |
| 256 | ((cartesianProfileExtension_smoothOn ha hh hh1 (bundleComponent_smooth hd C 1) _).sub hanchor) |
| 257 | |
| 258 | theorem anchoredPotentialExtension_eq (a : ℕ → ℕ) {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 259 | (C : ℝ) (d : Coefficients) {z : SpaceTime} (hz : z.1 < 1) : |
| 260 | anchoredPotentialExtension a h C d z = anchoredPotential a h C d z := by |
| 261 | have h0 := profileExtension_eq_physical a hh hh1 (-CoordinateAlgebra.A h) |
| 262 | (bundleComponent C d 0) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 263 | have h1 := profileExtension_eq_physical a hh hh1 (1 / 2 - CoordinateAlgebra.A h) |
| 264 | (bundleComponent C d 1) (p := AxisymmetricFields.profilePoint z.1 z.2) hz |
| 265 | have hr := profileExtension_eq_physical a hh hh1 (1 / 2 - CoordinateAlgebra.A h) |
| 266 | (bundleComponent C d 1) (p := radialAnchor (AxisymmetricFields.profilePoint z.1 z.2)) hz |
| 267 | simp only [anchoredPotentialExtension, anchoredPotential, AxisymmetricFields.potential, |
| 268 | streamExtension, swirlExtension, h0, h1, hr, streamFactor, swirlPotential] |
| 269 | |
| 270 | /-- The exact anchored potential also extends at every nonzero axial |
| 271 | endpoint. In particular the subtracted gauge uses the same sum and schedule. -/ |
| 272 | noncomputable def anchoredPotentialNonzeroAxial {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 273 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) |
| 274 | (C : ℝ) {x : Space} (hx : x 2 ≠ 0) : |
| 275 | JointResidualLimits.OneSidedExtension (anchoredPotential a h C d) x where |
| 276 | value := anchoredPotentialExtension a h C d |
| 277 | domain := EndpointCoordinates.cartesianDomain h |
| 278 | isOpen := EndpointCoordinates.cartesianDomain_open h |
| 279 | mem := EndpointCoordinates.cartesian_endpoint_mem hh hh1 hx |
| 280 | smooth := anchoredPotentialExtension_smoothOn ha hh hh1 hd C |
| 281 | agrees := fun _ hz => anchoredPotentialExtension_eq a hh hh1 C d hz.2.1 |
| 282 | |
| 283 | end ActualFields |
| 284 | |
| 285 | section LocalClosedExtension |
| 286 | |
| 287 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [CompleteSpace V] |
| 288 | |
| 289 | /-- Convert a genuine locally smooth closed-side continuation into an |
| 290 | ambient smooth extension. A local bump and the already proved joint |
| 291 | Taylor--Borel extension are the actual construction. -/ |
| 292 | theorem oneSidedExtension_of_closed_local {f g : SpaceTime → V} {x : Space} |
| 293 | {U : Set SpaceTime} (hU : IsOpen U) (hxU : (1, x) ∈ U) |
| 294 | (hg : ContDiffOn ℝ ∞ g (U ∩ SpacetimeEndpoint.closedPast 1)) |
| 295 | (he : EqOn g f (U ∩ SpacetimeEndpoint.openPast 1)) : |
| 296 | Nonempty (JointResidualLimits.OneSidedExtension f x) := by |
| 297 | obtain ⟨r, hr, hrU⟩ : ∃ r, 0 < r ∧ closedBall (1, x) r ⊆ U := |
| 298 | nhds_basis_closedBall.mem_iff.mp (hU.mem_nhds hxU) |
| 299 | let χ : ContDiffBump ((1 : ℝ), x) := |
| 300 | { rIn := r / 2, rOut := r, rIn_pos := half_pos hr, rIn_lt_rOut := half_lt_self hr } |
| 301 | let cut : SpaceTime → V := fun z => χ z • g z |
| 302 | have hlocal : ContDiffOn ℝ ∞ cut (SpacetimeEndpoint.closedPast 1) := by |
| 303 | intro z hz |
| 304 | by_cases hzU : z ∈ U |
| 305 | · have hgs : ContDiffWithinAt ℝ ∞ g (SpacetimeEndpoint.closedPast 1) z := |
| 306 | (hg z ⟨hzU, hz⟩).mono_of_mem_nhdsWithin |
| 307 | (inter_mem (nhdsWithin_le_nhds (hU.mem_nhds hzU)) self_mem_nhdsWithin) |
| 308 | exact χ.contDiff.contDiffWithinAt.smul hgs |
| 309 | · have hzχ : z ∉ tsupport (χ : SpaceTime → ℝ) := by |
| 310 | rw [χ.tsupport_eq] |
| 311 | exact fun hzχ => hzU (hrU hzχ) |
| 312 | have hz0 : (χ : SpaceTime → ℝ) =ᶠ[𝓝 z] 0 := |
| 313 | notMem_tsupport_iff_eventuallyEq.mp hzχ |
| 314 | have hl0 : cut =ᶠ[𝓝 z] (fun _ => 0) := by |
| 315 | filter_upwards [hz0] with y hy |
| 316 | change χ y = 0 at hy |
| 317 | simp only [cut, hy, zero_smul] |
| 318 | exact (contDiffAt_const.congr_of_eventuallyEq hl0).contDiffWithinAt |
| 319 | let G := SpacetimeGluing.smoothExtension 1 cut hlocal |
| 320 | refine ⟨⟨G, ball (1, x) (r / 2), isOpen_ball, mem_ball_self (half_pos hr), |
| 321 | (SpacetimeGluing.smoothExtension_contDiff hlocal).contDiffOn, ?_⟩⟩ |
| 322 | intro z hz |
| 323 | have hzU : z ∈ U := hrU ((ball_subset_closedBall.trans |
| 324 | (closedBall_subset_closedBall (half_le_self hr.le))) hz.1) |
| 325 | have hzP : z ∈ SpacetimeEndpoint.closedPast 1 := |
| 326 | ⟨(show z.1 < 1 from hz.2.1).le, hz.2.2⟩ |
| 327 | change SpacetimeGluing.smoothExtension 1 cut hlocal z = f z |
| 328 | rw [SpacetimeGluing.smoothExtension_eqOn_past hlocal hzP] |
| 329 | change χ z • g z = f z |
| 330 | rw [χ.one_of_mem_closedBall (mem_closedBall.mpr (mem_ball.mp hz.1).le), one_smul] |
| 331 | exact he ⟨hzU, hz.2⟩ |
| 332 | |
| 333 | end LocalClosedExtension |
| 334 | |
| 335 | theorem radialEnergy_pos_of_nonzero_of_axial_zero {x : Space} (hx : x ≠ 0) (hz : x 2 = 0) : |
| 336 | 0 < AxisymmetricFields.radialEnergy x := by |
| 337 | by_contra h |
| 338 | have hr := AxisymmetricFields.radialEnergy_nonneg x |
| 339 | have he : AxisymmetricFields.radialEnergy x = 0 := le_antisymm (le_of_not_gt h) hr |
| 340 | have h0 : x 0 = 0 := by |
| 341 | dsimp only [AxisymmetricFields.radialEnergy] at he |
| 342 | nlinarith [sq_nonneg (x 1), sq_nonneg (x 0)] |
| 343 | have h1 : x 1 = 0 := by |
| 344 | dsimp only [AxisymmetricFields.radialEnergy] at he |
| 345 | nlinarith [sq_nonneg (x 1), sq_nonneg (x 0)] |
| 346 | apply hx |
| 347 | ext i |
| 348 | fin_cases i <;> simpa only [PiLp.zero_apply] using (show x _ = 0 from by assumption) |
| 349 | |
| 350 | section CompleteAwayExtensions |
| 351 | |
| 352 | open GlobalSlowProfiles AssembledSlowBase ModulatedExterior |
| 353 | |
| 354 | /-- For the actual repaired scheme, velocity and pressure have ambient |
| 355 | smooth continuations at every nonzero point of the terminal slice. -/ |
| 356 | theorem realized_fields_awayExtensions {F : OutgoingProfile.Profile} (W : NominalProfile.Witness F) |
| 357 | {D : ProfileHistories.RadialDomain} (Q : ProfileHistories.Profiles D) |
| 358 | {S : Set ℝ} {lo hi : ℝ} (M : FiniteModification W Q S lo hi) |
| 359 | {s : Scheme S F.data.h W.axis.normalization} {d : Coefficients} |
| 360 | (hd : RealizesScheme s M.contains d) |
| 361 | (hbase : s.base = (modifiedScheme W Q M).base) (houter : s.B = nominalOuterRadius W) |
| 362 | (hds : SmoothCoefficients d) (henergy : RestoredSquaredSwirl W Q (S := S)) |
| 363 | {a : ℕ → ℕ} (ha : StrictMono a) : |
| 364 | JointResidualLimits.AwayExtensions (baseVelocity a F.data.h W.axis.normalization d) ∧ |
| 365 | JointResidualLimits.AwayExtensions (basePressure a F.data.h W.axis.normalization d) := by |
| 366 | have hall (x : Space) (hx : x ≠ 0) : |
| 367 | Nonempty (JointResidualLimits.OneSidedExtension |
| 368 | (baseVelocity a F.data.h W.axis.normalization d) x) ∧ |
| 369 | Nonempty (JointResidualLimits.OneSidedExtension |
| 370 | (basePressure a F.data.h W.axis.normalization d) x) := by |
| 371 | by_cases hz : x 2 = 0 |
| 372 | · obtain ⟨U, hU, hxU, _, _, hu, hp⟩ := realized_terminal_extension W Q M hd hbase houter |
| 373 | hds henergy ha hz (radialEnergy_pos_of_nonzero_of_axial_zero hx hz) |
| 374 | constructor |
| 375 | · apply oneSidedExtension_of_closed_local hU hxU hu |
| 376 | exact fun _ hy => completedVelocity_before _ _ _ hy.2.1 |
| 377 | · apply oneSidedExtension_of_closed_local hU hxU hp |
| 378 | exact fun _ hy => completedPressure_before _ _ _ hy.2.1 |
| 379 | · exact ⟨⟨velocityNonzeroAxial ha F.data.h_pos F.data.h_lt_half hds W.axis.normalization hz⟩, |
| 380 | ⟨pressureNonzeroAxial ha F.data.h_pos F.data.h_lt_half hds W.axis.normalization hz⟩⟩ |
| 381 | exact ⟨fun x hx => (hall x hx).1, fun x hx => (hall x hx).2⟩ |
| 382 | |
| 383 | end CompleteAwayExtensions |
| 384 | |
| 385 | section FinalBase |
| 386 | |
| 387 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 388 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 389 | (v : ModulatedProfileAssembly.Witness ld) |
| 390 | |
| 391 | /-- The original potential of the actual entrance-aligned base extends at |
| 392 | nonzero axial coordinate, with its selected scale sequence unchanged. -/ |
| 393 | noncomputable def finalPotentialNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} |
| 394 | (hx : x 2 ≠ 0) : |
| 395 | JointResidualLimits.OneSidedExtension (FinalSlowBase.vectorPotential H v upper B) x := |
| 396 | potentialNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 397 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 398 | |
| 399 | noncomputable def finalVelocityNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} |
| 400 | (hx : x 2 ≠ 0) : |
| 401 | JointResidualLimits.OneSidedExtension (FinalSlowBase.velocity H v upper B) x := |
| 402 | velocityNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 403 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 404 | |
| 405 | noncomputable def finalPressureNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} |
| 406 | (hx : x 2 ≠ 0) : |
| 407 | JointResidualLimits.OneSidedExtension (FinalSlowBase.pressure H v upper B) x := |
| 408 | pressureNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 409 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 410 | |
| 411 | noncomputable def finalAnchoredPotentialNonzeroAxial (upper : ℝ) (B : ℕ) {x : Space} |
| 412 | (hx : x 2 ≠ 0) : |
| 413 | JointResidualLimits.OneSidedExtension |
| 414 | (anchoredPotential (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization |
| 415 | (FinalSlowBase.coefficients H v)) x := |
| 416 | anchoredPotentialNonzeroAxial (FinalSlowBase.scales_strictMono H v upper B) |
| 417 | F.data.h_pos F.data.h_lt_half (FinalSlowBase.coefficients_smooth H v) W.axis.normalization hx |
| 418 | |
| 419 | /-- This includes the central plane and the spatial axis away from zero. |
| 420 | The inputs are the actual finite profile witnesses, not endpoint assumptions. -/ |
| 421 | theorem final_fields_awayExtensions (upper : ℝ) (B : ℕ) : |
| 422 | JointResidualLimits.AwayExtensions (FinalSlowBase.velocity H v upper B) ∧ |
| 423 | JointResidualLimits.AwayExtensions (FinalSlowBase.pressure H v upper B) := |
| 424 | realized_fields_awayExtensions W v.profiles v.finiteModification |
| 425 | (FinalSlowBase.realizesScheme H v) (EntranceAlignedBase.modulated_base_eq H v) |
| 426 | (EntranceAlignedBase.modulated_outer H v) (FinalSlowBase.coefficients_smooth H v) |
| 427 | (ModulatedExterior.actual_squared_swirl_restored v) (FinalSlowBase.scales_strictMono H v upper B) |
| 428 | |
| 429 | theorem final_potential_jets_tendsto (upper : ℝ) (B : ℕ) {x : Space} |
| 430 | (hx : x 2 ≠ 0) (n : ℕ) : |
| 431 | Tendsto (iteratedFDeriv ℝ n (FinalSlowBase.vectorPotential H v upper B)) |
| 432 | (𝓝[SpacetimeEndpoint.openPast 1] (1, x)) |
| 433 | (𝓝 (iteratedFDeriv ℝ n (finalPotentialNonzeroAxial H v upper B hx).value (1, x))) := |
| 434 | (finalPotentialNonzeroAxial H v upper B hx).jet_tendsto n |
| 435 | |
| 436 | /-- The already constructed finite profile gives actual endpoint |
| 437 | extensions for the selected slow base without another profile input. -/ |
| 438 | theorem constructed_fields_awayExtensions (upper : ℝ) (B : ℕ) : |
| 439 | JointResidualLimits.AwayExtensions |
| 440 | (FinalSlowBase.velocity FinalSlowBase.actualProfile.certificate |
| 441 | FinalSlowBase.actualProfile.modulation upper B) ∧ |
| 442 | JointResidualLimits.AwayExtensions |
| 443 | (FinalSlowBase.pressure FinalSlowBase.actualProfile.certificate |
| 444 | FinalSlowBase.actualProfile.modulation upper B) := |
| 445 | final_fields_awayExtensions FinalSlowBase.actualProfile.certificate |
| 446 | FinalSlowBase.actualProfile.modulation upper B |
| 447 | |
| 448 | end FinalBase |
| 449 | |
| 450 | end |
| 451 | |
| 452 | end NavierStokes.SlowBaseEndpoint |