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.ModulatedExterior |
| 2 | import NavierStokes.JointResidualLimits |
| 3 | import NavierStokes.SlowBaseEndpoint |
| 4 | |
| 5 | /-! |
| 6 | # A radial gauge for the actual slow-base potential |
| 7 | |
| 8 | Subtracting the swirl potential at the fixed physical coordinate `s = 1` |
| 9 | removes every radial integration constant, including those of the positive |
| 10 | slow orders. The subtraction is a genuine curl-free axial field. In the |
| 11 | heat exterior the resulting potential is a finite, anchored heat primitive, |
| 12 | which has a smooth extension through the terminal central plane. |
| 13 | -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace NavierStokes.TailGaugePotential |
| 18 | |
| 19 | open Set Filter MeasureTheory ProblemStatement |
| 20 | open scoped Topology ContDiff |
| 21 | |
| 22 | |
| 23 | abbrev Point := AxisymmetricFields.ProfilePoint |
| 24 | |
| 25 | /-- The radial anchor is physical and independent of the similarity scale. -/ |
| 26 | noncomputable def radialAnchor (p : Point) : Point := (p.1, (1, p.2.2)) |
| 27 | |
| 28 | noncomputable def radialNormalize (K : Point → ℝ) (p : Point) : ℝ := |
| 29 | K p - K (radialAnchor p) |
| 30 | |
| 31 | theorem radialAnchor_contDiff {n : WithTop ℕ∞} : ContDiff ℝ n radialAnchor := |
| 32 | contDiff_fst.prodMk (contDiff_const.prodMk contDiff_snd.snd) |
| 33 | |
| 34 | theorem radialNormalize_contDiffAt {K : Point → ℝ} {p : Point} {n : WithTop ℕ∞} |
| 35 | (hK : ContDiffAt ℝ n K p) (hA : ContDiffAt ℝ n K (radialAnchor p)) : |
| 36 | ContDiffAt ℝ n (radialNormalize K) p := |
| 37 | hK.sub (hA.comp p radialAnchor_contDiff.contDiffAt) |
| 38 | |
| 39 | theorem radial_slice_hasDerivAt {K : Point → ℝ} {p : Point} |
| 40 | (hK : DifferentiableAt ℝ K p) : |
| 41 | HasDerivAt (fun s => K (p.1, (s, p.2.2))) (AxisymmetricFields.partialS K p) p.2.1 := by |
| 42 | simpa only [AxisymmetricFields.partialS, Function.comp_def, one_smul, id_eq] using |
| 43 | hK.hasFDerivAt.comp_hasDerivAt p.2.1 |
| 44 | ((hasDerivAt_const p.2.1 p.1).prodMk |
| 45 | ((hasDerivAt_id p.2.1).prodMk (hasDerivAt_const p.2.1 p.2.2))) |
| 46 | |
| 47 | theorem partialS_radialNormalize {K : Point → ℝ} {p : Point} |
| 48 | (hK : DifferentiableAt ℝ K p) (hA : DifferentiableAt ℝ K (radialAnchor p)) : |
| 49 | AxisymmetricFields.partialS (radialNormalize K) p = AxisymmetricFields.partialS K p := by |
| 50 | have hN : DifferentiableAt ℝ (radialNormalize K) p := |
| 51 | hK.sub (hA.comp p ((radialAnchor_contDiff (n := 1)).differentiable (by norm_num)).differentiableAt) |
| 52 | exact (radial_slice_hasDerivAt hN).unique |
| 53 | ((radial_slice_hasDerivAt hK).sub_const (K (radialAnchor p))) |
| 54 | |
| 55 | /-- This is the entire summed swirl potential, with all slow orders retained. -/ |
| 56 | noncomputable def gaugedSwirl (a : ℕ → ℕ) (h C : ℝ) (d : SlowBorelBase.Coefficients) : Point → ℝ := |
| 57 | radialNormalize (SlowBorelBase.swirlPotential a h C d) |
| 58 | |
| 59 | noncomputable def potential (a : ℕ → ℕ) (h C : ℝ) (d : SlowBorelBase.Coefficients) : VelocityField := |
| 60 | AxisymmetricFields.potential (SlowBorelBase.streamFactor a h C d) (gaugedSwirl a h C d) |
| 61 | |
| 62 | theorem gaugedSwirl_smoothAt {a : ℕ → ℕ} (ha : StrictMono a) {h C : ℝ} |
| 63 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : SlowBorelBase.Coefficients} |
| 64 | (hd : SlowBorelBase.SmoothCoefficients d) {p : Point} (ht : p.1 < 1) : |
| 65 | ContDiffAt ℝ ∞ (gaugedSwirl a h C d) p := |
| 66 | radialNormalize_contDiffAt |
| 67 | (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 (SlowBorelBase.bundleComponent_smooth hd C 1) _ ht) |
| 68 | (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 (SlowBorelBase.bundleComponent_smooth hd C 1) _ ht) |
| 69 | |
| 70 | theorem potential_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h C : ℝ} |
| 71 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : SlowBorelBase.Coefficients} |
| 72 | (hd : SlowBorelBase.SmoothCoefficients d) : |
| 73 | ContDiffOn ℝ ∞ (potential a h C d) (Iio 1 ×ˢ (univ : Set Space)) := |
| 74 | AxisymmetricFields.contDiffOn_potential |
| 75 | (SlowBorelBase.physicalProfile_smoothOn ha hh hh1 (SlowBorelBase.bundleComponent_smooth hd C 0) _) |
| 76 | (fun _ hp => (gaugedSwirl_smoothAt ha hh hh1 hd hp.1).contDiffWithinAt) |
| 77 | |
| 78 | /-- Equality of the actual Euclidean curls, also on the spatial axis. -/ |
| 79 | theorem spatialCurl_potential {a : ℕ → ℕ} (ha : StrictMono a) {h C : ℝ} |
| 80 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : SlowBorelBase.Coefficients} |
| 81 | (hd : SlowBorelBase.SmoothCoefficients d) {w : SpaceTime} (ht : w.1 < 1) : |
| 82 | SpatialCurl.spatialCurl (potential a h C d) w = SlowBorelBase.baseVelocity a h C d w := by |
| 83 | have hH : DifferentiableAt ℝ (SlowBorelBase.streamFactor a h C d) (AxisymmetricFields.profilePoint w.1 w.2) := |
| 84 | (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 (SlowBorelBase.bundleComponent_smooth hd C 0) _ ht).differentiableAt |
| 85 | (by simp) |
| 86 | have hK : DifferentiableAt ℝ (SlowBorelBase.swirlPotential a h C d) (AxisymmetricFields.profilePoint w.1 w.2) := |
| 87 | (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 (SlowBorelBase.bundleComponent_smooth hd C 1) _ ht).differentiableAt |
| 88 | (by simp) |
| 89 | have hA : DifferentiableAt ℝ (SlowBorelBase.swirlPotential a h C d) |
| 90 | (radialAnchor (AxisymmetricFields.profilePoint w.1 w.2)) := |
| 91 | (SlowBorelBase.physicalProfile_smoothAt ha hh hh1 (SlowBorelBase.bundleComponent_smooth hd C 1) _ ht).differentiableAt |
| 92 | (by simp) |
| 93 | have hN := (gaugedSwirl_smoothAt (C := C) ha hh hh1 hd |
| 94 | (p := AxisymmetricFields.profilePoint w.1 w.2) ht).differentiableAt (by simp) |
| 95 | have he : AxisymmetricFields.partialS (gaugedSwirl a h C d) (AxisymmetricFields.profilePoint w.1 w.2) = |
| 96 | AxisymmetricFields.partialS (SlowBorelBase.swirlPotential a h C d) (AxisymmetricFields.profilePoint w.1 w.2) := |
| 97 | partialS_radialNormalize hK hA |
| 98 | change AxisymmetricFields.velocity _ _ w = AxisymmetricFields.velocity _ _ w |
| 99 | ext i |
| 100 | fin_cases i |
| 101 | · change AxisymmetricFields.velocity _ _ (w.1, w.2) 0 = |
| 102 | AxisymmetricFields.velocity _ _ (w.1, w.2) 0 |
| 103 | rw [AxisymmetricFields.velocity_zero _ _ _ _ hH hN, AxisymmetricFields.velocity_zero _ _ _ _ hH hK, he] |
| 104 | · change AxisymmetricFields.velocity _ _ (w.1, w.2) 1 = |
| 105 | AxisymmetricFields.velocity _ _ (w.1, w.2) 1 |
| 106 | rw [AxisymmetricFields.velocity_one _ _ _ _ hH hN, AxisymmetricFields.velocity_one _ _ _ _ hH hK, he] |
| 107 | · change AxisymmetricFields.velocity _ _ (w.1, w.2) 2 = |
| 108 | AxisymmetricFields.velocity _ _ (w.1, w.2) 2 |
| 109 | rw [AxisymmetricFields.velocity_two _ _ _ _ hH hN, AxisymmetricFields.velocity_two _ _ _ _ hH hK] |
| 110 | |
| 111 | /-! ## An actual smooth heat primitive through the terminal time -/ |
| 112 | |
| 113 | /-- The heat profile uses its proved smooth extension at negative time |
| 114 | remaining; on the past side this is exactly the original heat coefficient. -/ |
| 115 | noncomputable def extendedHeatCoefficient (C h : ℝ) (p : Point) : ℝ := |
| 116 | C * (p.2.1 ^ RadialHeatProfile.spatialExponent (1 + h) * |
| 117 | HeatProfileExtension.extension (1 + h) (2 * (1 - p.1) / p.2.1)) / |
| 118 | Real.sqrt (2 * p.2.1) |
| 119 | |
| 120 | theorem extendedHeatCoefficient_eq (C h : ℝ) {p : Point} |
| 121 | (ht : p.1 ≤ 1) (hs : 0 < p.2.1) : |
| 122 | extendedHeatCoefficient C h p = BaseExterior.heatCoefficient C h p := by |
| 123 | rw [BaseExterior.heatCoefficient_eq] |
| 124 | unfold extendedHeatCoefficient TerminalStress.physicalHeat RadialHeatProfile.spatialProfile |
| 125 | rw [HeatProfileExtension.extension_eq_profile (1 + h) |
| 126 | (div_nonneg (mul_nonneg (by norm_num) (sub_nonneg.mpr ht)) hs.le)] |
| 127 | |
| 128 | theorem extendedHeatCoefficient_smoothAt (C : ℝ) {h : ℝ} (hh : 0 < h) |
| 129 | {p : Point} (hs : 0 < p.2.1) : ContDiffAt ℝ ∞ (extendedHeatCoefficient C h) p := by |
| 130 | have he : ContDiffAt ℝ ∞ (HeatProfileExtension.extension (1 + h)) |
| 131 | (2 * (1 - p.1) / p.2.1) := |
| 132 | (HeatProfileExtension.extension_contDiff (show 1 < 1 + h by linarith)).contDiffAt |
| 133 | have hg : ContDiffAt ℝ ∞ (fun q : Point => 2 * (1 - q.1) / q.2.1) p := |
| 134 | (contDiffAt_const.mul (contDiffAt_const.sub contDiffAt_fst)).div contDiffAt_snd.fst hs.ne' |
| 135 | exact (contDiffAt_const.mul |
| 136 | ((contDiffAt_snd.fst.rpow_const_of_ne hs.ne').mul (he.comp p hg))).div |
| 137 | ((contDiffAt_const.mul contDiffAt_snd.fst).sqrt (by positivity)) |
| 138 | (ne_of_gt (Real.sqrt_pos.mpr (by positivity))) |
| 139 | |
| 140 | /-- Translating the radial variable by one makes the anchored integral a |
| 141 | standard radial history on a domain stable under contraction to zero. -/ |
| 142 | noncomputable def shiftedRadialDomain : ProfileHistories.RadialDomain where |
| 143 | carrier := {p | -1 < p.1} |
| 144 | isOpen := isOpen_lt continuous_const continuous_fst |
| 145 | scale_mem := by |
| 146 | intro p hp v hv |
| 147 | change -1 < v * p.1 |
| 148 | change -1 < p.1 at hp |
| 149 | by_cases hpos : 0 ≤ p.1 |
| 150 | · exact lt_of_lt_of_le (by norm_num) (mul_nonneg hv.1 hpos) |
| 151 | · have hneg : p.1 ≤ 0 := le_of_not_ge hpos |
| 152 | have hle : p.1 ≤ v * p.1 := by nlinarith [mul_nonneg (sub_nonneg.mpr hv.2) (neg_nonneg.mpr hneg)] |
| 153 | exact hp.trans_le hle |
| 154 | |
| 155 | noncomputable def shiftedHeat (C h : ℝ) (p : ℝ × ℝ) : ℝ := |
| 156 | extendedHeatCoefficient C h (p.2, (p.1 + 1, 0)) |
| 157 | |
| 158 | theorem shiftedHeat_smooth (C : ℝ) {h : ℝ} (hh : 0 < h) : |
| 159 | ContDiffOn ℝ ∞ (shiftedHeat C h) shiftedRadialDomain.carrier := by |
| 160 | intro p hp |
| 161 | have hs : 0 < p.1 + 1 := by change -1 < p.1 at hp; linarith |
| 162 | exact ((extendedHeatCoefficient_smoothAt C hh (p := (p.2, (p.1 + 1, 0))) hs).comp p |
| 163 | (contDiffAt_snd.prodMk ((contDiffAt_fst.add contDiffAt_const).prodMk contDiffAt_const))).contDiffWithinAt |
| 164 | |
| 165 | /-- A finite heat primitive anchored at physical `s = 1`, for every time. |
| 166 | It equals `-∫ᵣ₌₁ˢ F(t,r)dr` and has no gauge divergence as `t → 1`. -/ |
| 167 | noncomputable def heatPrimitive (C h : ℝ) (p : Point) : ℝ := |
| 168 | -ProfileHistories.primitive (shiftedHeat C h) (p.2.1 - 1, p.1) |
| 169 | |
| 170 | theorem heatPrimitive_anchor (C h t z : ℝ) : heatPrimitive C h (t, (1, z)) = 0 := by |
| 171 | simp [heatPrimitive, ProfileHistories.primitive] |
| 172 | |
| 173 | theorem heatPrimitive_smoothAt (C : ℝ) {h : ℝ} (hh : 0 < h) |
| 174 | {p : Point} (hs : 0 < p.2.1) : ContDiffAt ℝ ∞ (heatPrimitive C h) p := by |
| 175 | have hp : (p.2.1 - 1, p.1) ∈ shiftedRadialDomain.carrier := by |
| 176 | change -1 < p.2.1 - 1 |
| 177 | linarith |
| 178 | exact (((ProfileHistories.primitive_smooth shiftedRadialDomain (shiftedHeat_smooth C hh)).contDiffAt |
| 179 | (shiftedRadialDomain.isOpen.mem_nhds hp)).comp p |
| 180 | ((contDiffAt_snd.fst.sub contDiffAt_const).prodMk contDiffAt_fst)).neg |
| 181 | |
| 182 | theorem heatPrimitive_hasDerivAt (C : ℝ) {h : ℝ} (hh : 0 < h) |
| 183 | (t z : ℝ) {s : ℝ} (hs : 0 < s) : |
| 184 | HasDerivAt (fun r => heatPrimitive C h (t, (r, z))) |
| 185 | (-extendedHeatCoefficient C h (t, (s, z))) s := by |
| 186 | have hp : (s - 1, t) ∈ shiftedRadialDomain.carrier := by |
| 187 | change -1 < s - 1 |
| 188 | linarith |
| 189 | have hd := ProfileHistories.primitive_hasDerivAt shiftedRadialDomain (shiftedHeat_smooth C hh) hp |
| 190 | simpa only [heatPrimitive, shiftedHeat, extendedHeatCoefficient, Function.comp_def, |
| 191 | sub_add_cancel, mul_one, id_eq] using (hd.comp s ((hasDerivAt_id s).sub_const 1)).fun_neg |
| 192 | |
| 193 | noncomputable def heatPotential (C h : ℝ) : VelocityField := |
| 194 | fun w => heatPrimitive C h (AxisymmetricFields.profilePoint w.1 w.2) • coordinateVector 2 |
| 195 | |
| 196 | theorem heatPotential_smoothAt (C : ℝ) {h : ℝ} (hh : 0 < h) {w : SpaceTime} |
| 197 | (hs : 0 < AxisymmetricFields.radialEnergy w.2) : |
| 198 | ContDiffAt ℝ ∞ (heatPotential C h) w := |
| 199 | ((heatPrimitive_smoothAt C hh (p := AxisymmetricFields.profilePoint w.1 w.2) hs).comp w |
| 200 | AxisymmetricFields.contDiff_profilePoint.contDiffAt).smul contDiffAt_const |
| 201 | |
| 202 | /-! ## Identifying the complete summed potential in the heat exterior -/ |
| 203 | |
| 204 | theorem gaugedSwirl_eq_heatPrimitive {a : ℕ → ℕ} (ha : StrictMono a) {h C R E : ℝ} |
| 205 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : SlowBorelBase.Coefficients} |
| 206 | (hd : SlowBorelBase.SmoothCoefficients d) (hext : BaseExterior.ExteriorCoefficients d R) |
| 207 | (hheat : EqOn (BaseExterior.leadingAngular h C d) (BaseExterior.heatCoefficient E h) |
| 208 | (BaseExterior.exteriorDomain h R)) {p : Point} (ht : p.1 < 1) (hs : 0 < p.2.1) |
| 209 | (hseg : ∀ r ∈ uIcc (1 : ℝ) p.2.1, |
| 210 | (p.1, (r, p.2.2)) ∈ BaseExterior.exteriorDomain h R) : |
| 211 | gaugedSwirl a h C d p = heatPrimitive E h p := by |
| 212 | let f : ℝ → ℝ := fun r => SlowBorelBase.swirlPotential a h C d (p.1, (r, p.2.2)) - |
| 213 | heatPrimitive E h (p.1, (r, p.2.2)) |
| 214 | have hdf : ∀ r ∈ uIcc (1 : ℝ) p.2.1, HasDerivAt f 0 r := by |
| 215 | intro r hr |
| 216 | have hpos : 0 < r := (lt_min (by norm_num : (0 : ℝ) < 1) hs).trans_le hr.1 |
| 217 | have hK : DifferentiableAt ℝ (SlowBorelBase.swirlPotential a h C d) (p.1, (r, p.2.2)) := |
| 218 | (SlowBorelBase.physicalProfile_smoothAt (p := (p.1, (r, p.2.2))) ha hh hh1 |
| 219 | (SlowBorelBase.bundleComponent_smooth hd C 1) _ ht).differentiableAt (by simp) |
| 220 | have hKd := radial_slice_hasDerivAt hK |
| 221 | rw [BaseExterior.exterior_swirl_derivative ha hh hh1 hd hext (hseg r hr), |
| 222 | hheat (hseg r hr)] at hKd |
| 223 | have hHd := heatPrimitive_hasDerivAt E hh p.1 p.2.2 hpos |
| 224 | rw [extendedHeatCoefficient_eq (p := (p.1, (r, p.2.2))) E h ht.le hpos] at hHd |
| 225 | have he := hKd.fun_sub hHd |
| 226 | simp only [sub_self] at he |
| 227 | exact he |
| 228 | have hi := intervalIntegral.integral_eq_sub_of_hasDerivAt hdf |
| 229 | (intervalIntegrable_const : IntervalIntegrable (fun _ : ℝ => (0 : ℝ)) volume 1 p.2.1) |
| 230 | simp only [intervalIntegral.integral_zero, f, heatPrimitive_anchor, sub_zero] at hi |
| 231 | change SlowBorelBase.swirlPotential a h C d p - |
| 232 | SlowBorelBase.swirlPotential a h C d (p.1, (1, p.2.2)) = heatPrimitive E h p |
| 233 | linarith |
| 234 | |
| 235 | theorem potential_eq_heatPotential {a : ℕ → ℕ} (ha : StrictMono a) {h C R E : ℝ} |
| 236 | (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) {d : SlowBorelBase.Coefficients} |
| 237 | (hd : SlowBorelBase.SmoothCoefficients d) (hext : BaseExterior.ExteriorCoefficients d R) |
| 238 | (hheat : EqOn (BaseExterior.leadingAngular h C d) (BaseExterior.heatCoefficient E h) |
| 239 | (BaseExterior.exteriorDomain h R)) {w : SpaceTime} (ht : w.1 < 1) |
| 240 | (hs : 0 < AxisymmetricFields.radialEnergy w.2) |
| 241 | (hseg : ∀ r ∈ uIcc (1 : ℝ) (AxisymmetricFields.radialEnergy w.2), |
| 242 | (w.1, (r, w.2 2)) ∈ BaseExterior.exteriorDomain h R) : |
| 243 | potential a h C d w = heatPotential E h w := by |
| 244 | have hH := BaseExterior.exterior_stream_zero (a := a) (C := C) hh hh1 hR hext |
| 245 | (hseg _ (right_mem_uIcc)) |
| 246 | have hK := gaugedSwirl_eq_heatPrimitive ha hh hh1 hd hext hheat |
| 247 | (p := AxisymmetricFields.profilePoint w.1 w.2) ht hs hseg |
| 248 | simp only [potential, AxisymmetricFields.potential, AxisymmetricFields.profilePoint, |
| 249 | hH, mul_zero, zero_smul, zero_add, heatPotential] at * |
| 250 | exact congrArg (fun r : ℝ => r • coordinateVector 2) hK |
| 251 | |
| 252 | /-- A single full spacetime neighborhood places every point of the radial |
| 253 | integration segment in the actual heat exterior on the past side. -/ |
| 254 | theorem exists_terminal_segment_neighborhood {h R : ℝ} |
| 255 | (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) {x : Space} |
| 256 | (hx : x 2 = 0) (hs : 0 < AxisymmetricFields.radialEnergy x) : |
| 257 | ∃ U : Set SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ |
| 258 | (∀ w ∈ U, 0 < AxisymmetricFields.radialEnergy w.2) ∧ |
| 259 | (∀ w ∈ U, w.1 < 1 → ∀ r ∈ uIcc (1 : ℝ) (AxisymmetricFields.radialEnergy w.2), |
| 260 | (w.1, (r, w.2 2)) ∈ BaseExterior.exteriorDomain h R) := by |
| 261 | let c : ℝ := min 1 (AxisymmetricFields.radialEnergy x / 2) |
| 262 | have hc : 0 < c := lt_min (by norm_num) (half_pos hs) |
| 263 | let b : ℝ := c / (R + 1) |
| 264 | have hb : 0 < b := div_pos hc (by positivity) |
| 265 | let U : Set SpaceTime := {w | AxisymmetricFields.radialEnergy x / 2 < |
| 266 | AxisymmetricFields.radialEnergy w.2 ∧ |
| 267 | 1 - w.1 < SimilarityCoordinates.forwardScalar (2 * h) (w.2 2) b} |
| 268 | have hfcont : Continuous (fun w : SpaceTime => |
| 269 | SimilarityCoordinates.forwardScalar (2 * h) (w.2 2) b) := |
| 270 | continuous_const.sub |
| 271 | ((((AxisymmetricFields.projection 2).continuous.comp continuous_snd).pow 2).mul continuous_const) |
| 272 | have hU : IsOpen U := |
| 273 | (isOpen_lt continuous_const |
| 274 | ((AxisymmetricFields.contDiff_radialEnergy (n := ∞)).continuous.comp continuous_snd)).inter |
| 275 | (isOpen_lt (continuous_const.sub continuous_fst) hfcont) |
| 276 | have hxU : (1, x) ∈ U := by |
| 277 | constructor |
| 278 | · linarith |
| 279 | · simpa [SimilarityCoordinates.forwardScalar, hx] using hb |
| 280 | refine ⟨U, hU, hxU, ?_, ?_⟩ |
| 281 | · intro w hw |
| 282 | exact (half_pos hs).trans hw.1 |
| 283 | · intro w hw ht r hr |
| 284 | have hq : 0 < SimilarityProfile.q h (w.1, (r, w.2 2)) := SimilarityProfile.q_pos hh hh1 ht |
| 285 | have hqb : SimilarityProfile.q h (w.1, (r, w.2 2)) < b := |
| 286 | ModulatedExterior.coordinateQ_lt_of_forward_lt (by linarith) (by linarith) |
| 287 | hb (sub_pos.mpr ht) hw.2 |
| 288 | have hbeq : b * (R + 1) = c := div_mul_cancel₀ _ (by positivity) |
| 289 | have hc1 : c ≤ 1 := min_le_left _ _ |
| 290 | have hcrad : c ≤ AxisymmetricFields.radialEnergy w.2 := (min_le_right _ _).trans hw.1.le |
| 291 | have hcr : c ≤ r := (le_min hc1 hcrad).trans hr.1 |
| 292 | refine ⟨ht, ?_⟩ |
| 293 | change R < r / SimilarityProfile.q h (w.1, (r, w.2 2)) |
| 294 | apply (lt_div_iff₀ hq).mpr |
| 295 | calc |
| 296 | R * SimilarityProfile.q h (w.1, (r, w.2 2)) ≤ R * b := |
| 297 | mul_le_mul_of_nonneg_left hqb.le hR |
| 298 | _ < c := by linarith |
| 299 | _ ≤ r := hcr |
| 300 | |
| 301 | /-- An explicit smooth ambient extension of the gauge-corrected potential |
| 302 | near every nonzero point of the terminal central plane. -/ |
| 303 | theorem central_oneSidedExtension {a : ℕ → ℕ} (ha : StrictMono a) {h C R E : ℝ} |
| 304 | (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) {d : SlowBorelBase.Coefficients} |
| 305 | (hd : SlowBorelBase.SmoothCoefficients d) (hext : BaseExterior.ExteriorCoefficients d R) |
| 306 | (hheat : EqOn (BaseExterior.leadingAngular h C d) (BaseExterior.heatCoefficient E h) |
| 307 | (BaseExterior.exteriorDomain h R)) {x : Space} |
| 308 | (hx : x 2 = 0) (hs : 0 < AxisymmetricFields.radialEnergy x) : |
| 309 | Nonempty (JointResidualLimits.OneSidedExtension (potential a h C d) x) := by |
| 310 | obtain ⟨U, hU, hxU, hrad, hseg⟩ := exists_terminal_segment_neighborhood hh hh1 hR hx hs |
| 311 | refine ⟨{ |
| 312 | value := heatPotential E h |
| 313 | domain := U |
| 314 | isOpen := hU |
| 315 | mem := hxU |
| 316 | smooth := fun w hw => (heatPotential_smoothAt E hh (hrad w hw)).contDiffWithinAt |
| 317 | agrees := ?_ }⟩ |
| 318 | intro w hw |
| 319 | exact (potential_eq_heatPotential ha hh hh1 hR hd hext hheat hw.2.1 |
| 320 | (hrad w hw.1) (hseg w hw.1 hw.2.1)).symm |
| 321 | |
| 322 | /-! ## All terminal points away from the singular origin -/ |
| 323 | |
| 324 | noncomputable def nonzeroAxialExtension {a : ℕ → ℕ} (ha : StrictMono a) {h C : ℝ} |
| 325 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : SlowBorelBase.Coefficients} |
| 326 | (hd : SlowBorelBase.SmoothCoefficients d) {x : Space} (hx : x 2 ≠ 0) : |
| 327 | JointResidualLimits.OneSidedExtension (potential a h C d) x := |
| 328 | SlowBaseEndpoint.anchoredPotentialNonzeroAxial ha hh hh1 hd C hx |
| 329 | |
| 330 | theorem awayExtensions {a : ℕ → ℕ} (ha : StrictMono a) {h C R E : ℝ} |
| 331 | (hh : 0 < h) (hh1 : h < 1 / 2) (hR : 0 ≤ R) {d : SlowBorelBase.Coefficients} |
| 332 | (hd : SlowBorelBase.SmoothCoefficients d) (hext : BaseExterior.ExteriorCoefficients d R) |
| 333 | (hheat : EqOn (BaseExterior.leadingAngular h C d) (BaseExterior.heatCoefficient E h) |
| 334 | (BaseExterior.exteriorDomain h R)) : |
| 335 | JointResidualLimits.AwayExtensions (potential a h C d) := by |
| 336 | intro x hx |
| 337 | by_cases hz : x 2 = 0 |
| 338 | · exact central_oneSidedExtension ha hh hh1 hR hd hext hheat hz |
| 339 | (SlowBaseEndpoint.radialEnergy_pos_of_nonzero_of_axial_zero hx hz) |
| 340 | · exact ⟨nonzeroAxialExtension ha hh hh1 hd hz⟩ |
| 341 | |
| 342 | theorem realized_awayExtensions {F : OutgoingProfile.Profile} |
| 343 | (W : NominalProfile.Witness F) {D : ProfileHistories.RadialDomain} |
| 344 | (Q : ProfileHistories.Profiles D) {S : Set ℝ} {lo hi : ℝ} |
| 345 | (M : AssembledSlowBase.FiniteModification W Q S lo hi) |
| 346 | {s : GlobalSlowProfiles.Scheme S F.data.h W.axis.normalization} |
| 347 | {d : SlowBorelBase.Coefficients} (hd : ModulatedExterior.RealizesScheme s M.contains d) |
| 348 | (hbase : s.base = (AssembledSlowBase.modifiedScheme W Q M).base) |
| 349 | (houter : s.B = AssembledSlowBase.nominalOuterRadius W) |
| 350 | (hds : SlowBorelBase.SmoothCoefficients d) {a : ℕ → ℕ} (ha : StrictMono a) : |
| 351 | JointResidualLimits.AwayExtensions (potential a F.data.h W.axis.normalization d) := |
| 352 | awayExtensions ha F.data.h_pos F.data.h_lt_half (BaseExterior.nominalExteriorRadius_pos W).le |
| 353 | hds (ModulatedExterior.realized_exterior_coefficients W Q M hd hbase houter) |
| 354 | (fun _ hp => ModulatedExterior.realized_angular_pure_heat W Q M hd hbase hp) |
| 355 | |
| 356 | section FinalBase |
| 357 | |
| 358 | variable {F : OutgoingProfile.Profile} {W : NominalProfile.Witness F} |
| 359 | (H : NominalConeAssembly.Certificate W) {ld : ModulatedProfileAssembly.LoopData W} |
| 360 | (v : ModulatedProfileAssembly.Witness ld) |
| 361 | |
| 362 | /-- The actual entrance-aligned slow base with its selected cutoff schedule, |
| 363 | in the anchored gauge. -/ |
| 364 | noncomputable def finalPotential (upper : ℝ) (B : ℕ) : VelocityField := |
| 365 | potential (FinalSlowBase.scales H v upper B) F.data.h W.axis.normalization |
| 366 | (FinalSlowBase.coefficients H v) |
| 367 | |
| 368 | theorem finalPotential_smooth (upper : ℝ) (B : ℕ) : |
| 369 | ContDiffOn ℝ ∞ (finalPotential H v upper B) BaseResidual.past := |
| 370 | potential_smooth (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 371 | (FinalSlowBase.coefficients_smooth H v) |
| 372 | |
| 373 | theorem finalPotential_sameCurl (upper : ℝ) (B : ℕ) {w : SpaceTime} (ht : w.1 < 1) : |
| 374 | SpatialCurl.spatialCurl (finalPotential H v upper B) w = FinalSlowBase.velocity H v upper B w := |
| 375 | spatialCurl_potential (FinalSlowBase.scales_strictMono H v upper B) F.data.h_pos F.data.h_lt_half |
| 376 | (FinalSlowBase.coefficients_smooth H v) ht |
| 377 | |
| 378 | theorem finalPotential_awayExtensions (upper : ℝ) (B : ℕ) : |
| 379 | JointResidualLimits.AwayExtensions (finalPotential H v upper B) := |
| 380 | realized_awayExtensions W v.profiles v.finiteModification |
| 381 | (FinalSlowBase.realizesScheme H v) (EntranceAlignedBase.modulated_base_eq H v) |
| 382 | (EntranceAlignedBase.modulated_outer H v) (FinalSlowBase.coefficients_smooth H v) |
| 383 | (FinalSlowBase.scales_strictMono H v upper B) |
| 384 | |
| 385 | end FinalBase |
| 386 | |
| 387 | end NavierStokes.TailGaugePotential |