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

chore(NavierStokes/Endpoint): delete 16 declarations nothing uses
Browse filesPart of #10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −73 NavierStokes/EndpointCoordinates.lean View file
| @@ -107,16 +107,6 @@ theorem past_mem_domain {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 107 | 107 | theorem qExtension_pos {h : ℝ} {p : PhysicalPoint} (hp : p ∈ domain h) : 0 < qExtension h p := |
| 108 | 108 | (PositiveRepresentatives.stableInverse_spec hp).1.1 |
| 109 | 109 | |
| 110 | -theorem qExtension_equation {h : ℝ} {p : PhysicalPoint} (hp : p ∈ domain h) : | |
| 111 | - forwardScalar (2 * h) p.2.2 (qExtension h p) = 1 - p.1 := by | |
| 112 | - have hs := (PositiveRepresentatives.stableInverse_spec hp).2 | |
| 113 | - have hz : (PositiveRepresentatives.stableInverse (2 * h) (timeAxial p)).2 = p.2.2 := by | |
| 114 | - simpa only [forwardMap, timeAxial] using congrArg (fun x : ℝ × ℝ => x.2) hs | |
| 115 | - have hq := congrArg (fun x : ℝ × ℝ => x.1) hs | |
| 116 | - change forwardScalar (2 * h) | |
| 117 | - (PositiveRepresentatives.stableInverse (2 * h) (timeAxial p)).2 (qExtension h p) = 1 - p.1 at hq | |
| 118 | - rwa [hz] at hq | |
| 119 | - | |
| 120 | 110 | theorem qExtension_smoothAt {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 121 | 111 | {p : PhysicalPoint} (hp : p ∈ domain h) : ContDiffAt ℝ ∞ (qExtension h) p := |
| 122 | 112 | ((PositiveRepresentatives.stableInverse_smoothAt (by linarith) (by linarith) hp).comp p |
| @@ -157,12 +147,6 @@ theorem qExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 157 | 147 | (PositiveRepresentatives.stableInverse_eq_inverseMap |
| 158 | 148 | (by linarith : 0 < 2 * h) (by linarith : 2 * h < 1) (sub_pos.mpr hp)) |
| 159 | 149 | |
| 160 | -theorem innerExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 161 | - {p : PhysicalPoint} (hp : p.1 < 1) : innerExtension h p = SimilarityProfile.inner h p := by | |
| 162 | - change (p.2.1 / qExtension h p, p.2.2 / qExtension h p ^ ((1 - 2 * h) / 2)) = | |
| 163 | - (p.2.1 / SimilarityProfile.q h p, p.2.2 / SimilarityProfile.q h p ^ ((1 - 2 * h) / 2)) | |
| 164 | - rw [qExtension_eq_physical hh hh1 hp] | |
| 165 | - | |
| 166 | 150 | theorem chartExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 167 | 151 | {p : PhysicalPoint} (hp : p.1 < 1) : chartExtension h p = SlowBorelBase.physicalChart h p := by |
| 168 | 152 | change (qExtension h p, (p.2.1 / qExtension h p, p.2.2 / qExtension h p ^ ((1 - 2 * h) / 2))) = |
| @@ -170,23 +154,6 @@ theorem chartExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 170 | 154 | (p.2.1 / SimilarityProfile.q h p, p.2.2 / SimilarityProfile.q h p ^ ((1 - 2 * h) / 2))) |
| 171 | 155 | rw [qExtension_eq_physical hh hh1 hp] |
| 172 | 156 | |
| 173 | -theorem chartExtension_eventuallyEq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 174 | - {p : PhysicalPoint} (hp : p.1 < 1) : | |
| 175 | - chartExtension h =ᶠ[𝓝 p] SlowBorelBase.physicalChart h := by | |
| 176 | - filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hp] with q hq | |
| 177 | - exact chartExtension_eq_physical hh hh1 hq | |
| 178 | - | |
| 179 | -theorem jets_eq_of_eventuallyEq {E V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| 180 | - [NormedAddCommGroup V] [NormedSpace ℝ V] {f g : E → V} {p : E} | |
| 181 | - (he : f =ᶠ[𝓝 p] g) (n : ℕ) : iteratedFDeriv ℝ n f p = iteratedFDeriv ℝ n g p := by | |
| 182 | - have he' : f =ᶠ[𝓝[univ] p] g := by simpa only [nhdsWithin_univ] using he | |
| 183 | - simpa only [iteratedFDerivWithin_univ] using he'.iteratedFDerivWithin_eq he.self_of_nhds n | |
| 184 | - | |
| 185 | -theorem chartExtension_jets_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 186 | - {p : PhysicalPoint} (hp : p.1 < 1) (n : ℕ) : | |
| 187 | - iteratedFDeriv ℝ n (chartExtension h) p = iteratedFDeriv ℝ n (SlowBorelBase.physicalChart h) p := | |
| 188 | - jets_eq_of_eventuallyEq (chartExtension_eventuallyEq hh hh1 hp) n | |
| 189 | - | |
| 190 | 157 | noncomputable def lowerDomain (h c : ℝ) : Set PhysicalPoint := |
| 191 | 158 | domain h ∩ {p | c < qExtension h p} |
| 192 | 159 | |
| @@ -250,10 +217,6 @@ theorem cartesianExtension_smoothOn {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) : | ||
| 250 | 217 | theorem cartesianExtension_pos {h : ℝ} {z : ProblemStatement.SpaceTime} |
| 251 | 218 | (hz : z ∈ cartesianDomain h) : 0 < (cartesianExtension h z).1 := qExtension_pos hz |
| 252 | 219 | |
| 253 | -theorem cartesianExtension_X_nonneg {h : ℝ} {z : ProblemStatement.SpaceTime} | |
| 254 | - (hz : z ∈ cartesianDomain h) : 0 ≤ (cartesianExtension h z).2.1 := | |
| 255 | - div_nonneg (AxisymmetricFields.radialEnergy_nonneg z.2) (qExtension_pos hz).le | |
| 256 | - | |
| 257 | 220 | theorem cartesianExtension_endpoint {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 258 | 221 | {x : ProblemStatement.Space} (hx : x 2 ≠ 0) : |
| 259 | 222 | cartesianExtension h (1, x) = |
| @@ -267,19 +230,6 @@ theorem cartesianExtension_eq_physical {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 267 | 230 | cartesianExtension h z = SlowBorelBase.cartesianChart h z := |
| 268 | 231 | chartExtension_eq_physical hh hh1 hz |
| 269 | 232 | |
| 270 | -theorem cartesianExtension_eventuallyEq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 271 | - {z : ProblemStatement.SpaceTime} (hz : z.1 < 1) : | |
| 272 | - cartesianExtension h =ᶠ[𝓝 z] SlowBorelBase.cartesianChart h := by | |
| 273 | - filter_upwards [(isOpen_lt continuous_fst continuous_const).mem_nhds hz] with p hp | |
| 274 | - exact cartesianExtension_eq_physical hh hh1 hp | |
| 275 | - | |
| 276 | -/-- Equality is for arbitrary orders of the genuine space-time derivative. -/ | |
| 277 | -theorem cartesianExtension_jets_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | |
| 278 | - {z : ProblemStatement.SpaceTime} (hz : z.1 < 1) (n : ℕ) : | |
| 279 | - iteratedFDeriv ℝ n (cartesianExtension h) z = | |
| 280 | - iteratedFDeriv ℝ n (SlowBorelBase.cartesianChart h) z := | |
| 281 | - jets_eq_of_eventuallyEq (cartesianExtension_eventuallyEq hh hh1 hz) n | |
| 282 | - | |
| 283 | 233 | theorem cartesian_endpoint_neighborhood {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 284 | 234 | {x : ProblemStatement.Space} (hx : x 2 ≠ 0) : |
| 285 | 235 | ∃ U : Set ProblemStatement.SpaceTime, IsOpen U ∧ (1, x) ∈ U ∧ U ⊆ cartesianDomain h ∧ |
| @@ -300,27 +250,4 @@ theorem cartesian_endpoint_neighborhood {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) | ||
| 300 | 250 | |
| 301 | 251 | /-! ## Smooth composition and genuine derivative transfer -/ |
| 302 | 252 | |
| 303 | -theorem composition_smoothAt {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 304 | - {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {z : ProblemStatement.SpaceTime} | |
| 305 | - (hz : z ∈ cartesianDomain h) {f : Chart → V} | |
| 306 | - (hf : ContDiffAt ℝ ∞ f (cartesianExtension h z)) : | |
| 307 | - ContDiffAt ℝ ∞ (fun p => f (cartesianExtension h p)) z := | |
| 308 | - hf.comp z (cartesianExtension_smoothAt hh hh1 hz) | |
| 309 | - | |
| 310 | -theorem composition_endpoint_smoothAt {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 311 | - {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) {x : ProblemStatement.Space} | |
| 312 | - (hx : x 2 ≠ 0) {f : Chart → V} | |
| 313 | - (hf : ContDiffAt ℝ ∞ f (cartesianExtension h (1, x))) : | |
| 314 | - ContDiffAt ℝ ∞ (fun p => f (cartesianExtension h p)) (1, x) := | |
| 315 | - composition_smoothAt hh hh1 (cartesian_endpoint_mem hh hh1 hx) hf | |
| 316 | - | |
| 317 | -theorem composition_jets_eq {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 318 | - {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) (f : Chart → V) | |
| 319 | - {z : ProblemStatement.SpaceTime} (hz : z.1 < 1) (n : ℕ) : | |
| 320 | - iteratedFDeriv ℝ n (fun p => f (cartesianExtension h p)) z = | |
| 321 | - iteratedFDeriv ℝ n (fun p => f (SlowBorelBase.cartesianChart h p)) z := by | |
| 322 | - apply jets_eq_of_eventuallyEq _ n | |
| 323 | - filter_upwards [cartesianExtension_eventuallyEq hh hh1 hz] with p hp | |
| 324 | - exact congrArg f hp | |
| 325 | - | |
| 326 | 253 | end NavierStokes.EndpointCoordinates |
+0 −43 NavierStokes/EndpointExtension.lean View file
| @@ -29,10 +29,6 @@ theorem glue_eq_left {V : Type*} {a x : ℝ} {left right : ℝ → V} (hx : x | ||
| 29 | 29 | glue a left right x = left x := by |
| 30 | 30 | simp only [glue, ite_eq_left hx] |
| 31 | 31 | |
| 32 | -theorem glue_eq_right {V : Type*} {a x : ℝ} {left right : ℝ → V} (hx : a < x) : | |
| 33 | - glue a left right x = right x := by | |
| 34 | - simp only [glue, ite_eq_right (not_le_of_gt hx)] | |
| 35 | - | |
| 36 | 32 | /-- Matching endpoint values let the glued function agree with the right |
| 37 | 33 | branch on its entire closed half-line, including the joining point. -/ |
| 38 | 34 | theorem glue_eqOn_right {V : Type*} {a : ℝ} {left right : ℝ → V} |
| @@ -44,15 +40,6 @@ theorem glue_eqOn_right {V : Type*} {a : ℝ} {left right : ℝ → V} | ||
| 44 | 40 | simpa only [glue, ite_eq_left le_rfl] using hvalue |
| 45 | 41 | · simp only [glue, ite_eq_right hxa] |
| 46 | 42 | |
| 47 | -/-- Gluing preserves a right-hand time-support bound. -/ | |
| 48 | -theorem glue_vanishes_from {V : Type*} [Zero V] {a b : ℝ} {left right : ℝ → V} | |
| 49 | - (hab : a ≤ b) (hvalue : left a = right a) | |
| 50 | - (hzero : ∀ x, b ≤ x → right x = 0) : | |
| 51 | - ∀ x, b ≤ x → glue a left right x = 0 := by | |
| 52 | - intro x hx | |
| 53 | - rw [glue_eqOn_right hvalue (hab.trans hx)] | |
| 54 | - exact hzero x hx | |
| 55 | - | |
| 56 | 43 | section Normed |
| 57 | 44 | |
| 58 | 45 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| @@ -138,36 +125,6 @@ theorem contDiff_glue {a : ℝ} {left right : ℝ → V} | ||
| 138 | 125 | intro x |
| 139 | 126 | exact (hasDerivAt_gluedJet hleft hright hmatch n x).differentiableAt |
| 140 | 127 | |
| 141 | -/-- The smooth glue preserves every prescribed endpoint jet. -/ | |
| 142 | -theorem iteratedDeriv_glue_at_join {a : ℝ} {left right : ℝ → V} | |
| 143 | - (hleft : ContDiffOn ℝ ∞ left (Iic a)) | |
| 144 | - (hright : ContDiffOn ℝ ∞ right (Ici a)) | |
| 145 | - (hmatch : ∀ n : ℕ, | |
| 146 | - iteratedDerivWithin n left (Iic a) a = iteratedDerivWithin n right (Ici a) a) | |
| 147 | - (n : ℕ) : | |
| 148 | - iteratedDeriv n (glue a left right) a = iteratedDerivWithin n left (Iic a) a := by | |
| 149 | - rw [iteratedDeriv_glue hleft hright hmatch n] | |
| 150 | - exact glue_eq_left le_rfl | |
| 151 | - | |
| 152 | -/-- Every within-derivative of the zero curve is zero. -/ | |
| 153 | -theorem iteratedDerivWithin_zero_curve (s : Set ℝ) (n : ℕ) : | |
| 154 | - iteratedDerivWithin n (fun _ : ℝ => (0 : V)) s = fun _ => 0 := by | |
| 155 | - induction n with | |
| 156 | - | zero => simp only [iteratedDerivWithin_zero] | |
| 157 | - | succ n ih => | |
| 158 | - funext x | |
| 159 | - simp only [iteratedDerivWithin_succ, ih, derivWithin_fun_const, Pi.zero_apply] | |
| 160 | - | |
| 161 | -/-- An actually constructed extension in the flat case: if all left jets | |
| 162 | -vanish, extension by zero to the right is smooth. -/ | |
| 163 | -theorem contDiff_zero_extension {a : ℝ} {left : ℝ → V} | |
| 164 | - (hleft : ContDiffOn ℝ ∞ left (Iic a)) | |
| 165 | - (hflat : ∀ n : ℕ, iteratedDerivWithin n left (Iic a) a = 0) : | |
| 166 | - ContDiff ℝ ∞ (glue a left (fun _ => 0)) := by | |
| 167 | - apply contDiff_glue hleft contDiffOn_const | |
| 168 | - intro n | |
| 169 | - rw [hflat n, iteratedDerivWithin_zero_curve] | |
| 170 | - | |
| 171 | 128 | end Normed |
| 172 | 129 | |
| 173 | 130 | end NavierStokes.EndpointExtension |
+31 −0 routes/s1-ns-endpoint-1/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-endpoint-1 | |
| 6 | + | |
| 7 | +One unit of issue #10 (S-1: delete declarations that nothing uses): 16 | |
| 8 | +declarations of the family `NavierStokes/Endpoint*` that nothing on main uses, | |
| 9 | +116 lines, in two files. | |
| 10 | + | |
| 11 | +- `NavierStokes/EndpointCoordinates.lean`: `qExtension_equation`, | |
| 12 | + `innerExtension_eq_physical`, `chartExtension_eventuallyEq`, | |
| 13 | + `jets_eq_of_eventuallyEq`, `chartExtension_jets_eq`, | |
| 14 | + `cartesianExtension_X_nonneg`, `cartesianExtension_eventuallyEq`, | |
| 15 | + `cartesianExtension_jets_eq`, `composition_smoothAt`, | |
| 16 | + `composition_endpoint_smoothAt`, `composition_jets_eq`. | |
| 17 | +- `NavierStokes/EndpointExtension.lean`: `glue_eq_right`, `glue_vanishes_from`, | |
| 18 | + `iteratedDeriv_glue_at_join`, `iteratedDerivWithin_zero_curve`, | |
| 19 | + `contDiff_zero_extension`. | |
| 20 | + | |
| 21 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) | |
| 22 | +and re-read against this project's declaration graph under the rule that the | |
| 23 | +paper's results stay: nothing here is reached from `NavierStokes/PaperResults.lean`, | |
| 24 | +`NavierStokes/R3/Theorem.lean` or `NavierStokes/LocalPaperTheorem.lean`, and no | |
| 25 | +deleted docstring names a numbered result of either paper. The diff is deletions | |
| 26 | +only; no remaining statement or proof changes. Each deleted short name was | |
| 27 | +searched with `git grep -n -w` across the tree and has no other hit. | |
| 28 | + | |
| 29 | +## Next | |
| 30 | + | |
| 31 | +Open the pull request into `main` (`Part of #10`) and let `build` say what it says. | |