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

Merge pull request #247 from s1-ns-repair-1
Browse fileschore(NavierStokes/Repair): delete 6 declarations nothing uses
main s1-euler-all-2 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-cylinder-2 s1-euler-euler-1 s1-euler-euler-2 s1-euler-field-2 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-mean-2 s1-euler-packet-2 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-assembled-2 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-borel-2 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-2 s1-ns-common-2 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-correction-2 s1-ns-curl-2 s1-ns-cycle-2 s1-ns-defect-2 s1-ns-direct-2 s1-ns-entrance-2 s1-ns-error-2 s1-ns-even-2 s1-ns-exponent-2 s1-ns-final-2 s1-ns-first-2 s1-ns-flat-2 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-heat-2 s1-ns-initialized-2 s1-ns-integrated-1 s1-ns-joint-2 s1-ns-linear-2 s1-ns-local-2 s1-ns-localized-2 s1-ns-maximal-2 s1-ns-mean-2 s1-ns-mixed-2 s1-ns-native-2 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-particular-1 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodized-2 s1-ns-phase-2 s1-ns-positive-2 s1-ns-pressure-2 s1-ns-primary-1 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-residual-2 s1-ns-terminal-1 s1-ns-true-1
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −107 NavierStokes/RepairConeBounds.lean View file
| @@ -183,23 +183,6 @@ theorem freeJ_zero (F : Profile) {p : Point} (hp : p.1 ≤ 0) : | ||
| 183 | 183 | simp only [freeE_zero_clean F (p := (y, p.2)) hy, |
| 184 | 184 | freeU_zero_clean F (p := (y, p.2)) hy, sub_self, mul_zero] |
| 185 | 185 | |
| 186 | -theorem freeS_zero (F : Profile) {p : Point} (hp : p.1 ≤ 0) : | |
| 187 | - freeS F (0, p) = OutgoingHistories.S F.reset F.amp p := by | |
| 188 | - unfold freeS | |
| 189 | - rw [finitePrefix_zero hp] | |
| 190 | - · simp | |
| 191 | - · intro y hy | |
| 192 | - simp only [freeE_zero_clean F (p := (y, p.2)) hy, | |
| 193 | - freeU_zero_clean F (p := (y, p.2)) hy, sub_self, mul_zero] | |
| 194 | - | |
| 195 | -theorem freePi_zero (F : Profile) {p : Point} (hp : p.1 ≤ 0) : | |
| 196 | - freePi F (0, p) = OutgoingHistories.Pi F.reset p := by | |
| 197 | - unfold freePi | |
| 198 | - rw [finitePrefix_zero hp] | |
| 199 | - · simp | |
| 200 | - · intro y hy | |
| 201 | - simp only [freeE_zero_clean F (p := (y, p.2)) hy, sub_self] | |
| 202 | - | |
| 203 | 186 | theorem radialJet_hasDerivAt {f : Raw → ℝ} (hf : ContDiff ℝ ∞ f) |
| 204 | 187 | (v : Control) (p : Point) : |
| 205 | 188 | HasDerivAt (fun y => value f (v, (y, p.2))) (radialJet f (v, p)) p.1 := by |
| @@ -1047,36 +1030,6 @@ theorem physical_field_radials {F : Profile} {A : NominalProfile.AxisStage F} | ||
| 1047 | 1030 | intro y hy' |
| 1048 | 1031 | exact (physical_field_values c hsep (p := (y, p.2)) hy' heta).2 |
| 1049 | 1032 | |
| 1050 | -theorem physical_field_parameters {F : Profile} {A : NominalProfile.AxisStage F} | |
| 1051 | - (c : NominalProfile.Controls A) (hsep : c.separation ≤ Real.exp (-8)) | |
| 1052 | - {p : Point} (hy : p.1 ∈ Icc (-8) (-5)) (heta : p.2 ∈ ReferencePath.parameterInterval) | |
| 1053 | - (hs : NominalProfile.SmallDebt F c.debt p.2) : | |
| 1054 | - ProfileHistories.parameterPartial (c.profiles hsep).U (chart c.radius p) = | |
| 1055 | - parameterJet (freeU F) (controls c p.2, p) ∧ | |
| 1056 | - ProfileHistories.parameterPartial (c.profiles hsep).E (chart c.radius p) = | |
| 1057 | - parameterJet (freeE F) (controls c p.2, p) := by | |
| 1058 | - have hp := chart_mem c heta hs | |
| 1059 | - have hn := parameter_admissible_eventually c heta hs | |
| 1060 | - constructor | |
| 1061 | - · have hd := parameter_of_germ (c.profiles hsep).U_smooth (freeU_contDiff F) c heta hs 1 | |
| 1062 | - (chart c.radius p).1 hp ?_ | |
| 1063 | - · simp only [one_mul] at hd | |
| 1064 | - exact hd | |
| 1065 | - · filter_upwards [hn] with e he | |
| 1066 | - have hv := (physical_field_values c hsep (p := (p.1, e)) hy he.1).1 | |
| 1067 | - simp only [one_mul] | |
| 1068 | - exact hv | |
| 1069 | - · have hE := (physicalE_smoothAt (c.profiles hsep) hp | |
| 1070 | - (mul_pos c.radius_pos (Real.exp_pos _))).differentiableAt (by simp) | |
| 1071 | - have hd : HasDerivAt (fun e => (c.profiles hsep).E ((chart c.radius p).1, e)) | |
| 1072 | - (ProfileHistories.parameterPartial (c.profiles hsep).E (chart c.radius p)) p.2 := by | |
| 1073 | - exact hE.hasFDerivAt.comp_hasDerivAt p.2 | |
| 1074 | - ((hasDerivAt_const p.2 (chart c.radius p).1).prodMk (hasDerivAt_id p.2)) | |
| 1075 | - apply hd.unique | |
| 1076 | - apply (parameterJet_hasDerivAt (freeE_contDiff F) (dataParameter_hasDerivAt c heta hs) p.1).congr_of_eventuallyEq | |
| 1077 | - filter_upwards [hn] with e he | |
| 1078 | - exact (physical_field_values c hsep (p := (p.1, e)) hy he.1).2 | |
| 1079 | - | |
| 1080 | 1033 | theorem shear_dilation_cancel {r z f : ℝ} (hr : r ≠ 0) (hz : z ≠ 0) (hf : f ≠ 0) |
| 1081 | 1034 | (X df : ℝ) : |
| 1082 | 1035 | -2 * X * df / f = 1 - 2 * (r * (z * (1 / 2)) * f + r * z * (df * X)) / (r * z * f) := by |
| @@ -1157,66 +1110,6 @@ theorem physical_projection {F : Profile} {A : NominalProfile.AxisStage F} | ||
| 1157 | 1110 | dsimp only [familyProjection, ActivationContinuation.projection] |
| 1158 | 1111 | ring |
| 1159 | 1112 | |
| 1160 | -/-- These are actual field values, first radial and parameter jets, five | |
| 1161 | -normalized histories and their parameter derivatives, and integrated cone | |
| 1162 | -coordinates. The projection is divided by the physical matching radius. -/ | |
| 1163 | -noncomputable def actualObservations {F : Profile} {A : NominalProfile.AxisStage F} | |
| 1164 | - (c : NominalProfile.Controls A) (hsep : c.separation ≤ Real.exp (-8)) (p : Point) : Fin 22 → ℝ := | |
| 1165 | - let P := c.profiles hsep | |
| 1166 | - let q := chart c.radius p | |
| 1167 | - ![P.E q, P.U q, | |
| 1168 | - deriv (fun y => P.E (c.radius * Real.exp y, p.2)) p.1, | |
| 1169 | - deriv (fun y => P.U (c.radius * Real.exp y, p.2)) p.1, | |
| 1170 | - ProfileHistories.parameterPartial P.E q, ProfileHistories.parameterPartial P.U q, | |
| 1171 | - P.M q / c.radius, P.I q / angularScale c.radius, P.J q / angularScale c.radius, | |
| 1172 | - P.S q / c.radius, P.pressure q, | |
| 1173 | - ProfileHistories.parameterPartial P.M q / c.radius, | |
| 1174 | - ProfileHistories.parameterPartial P.I q / angularScale c.radius, | |
| 1175 | - ProfileHistories.parameterPartial P.J q / angularScale c.radius, | |
| 1176 | - ProfileHistories.parameterPartial P.S q / c.radius, ProfileHistories.parameterPartial P.pressure q, | |
| 1177 | - P.angularLag F.data.h q, P.axialLag F.data.h q, | |
| 1178 | - ActivationContinuation.shearA P q, ActivationContinuation.shearB P q, | |
| 1179 | - ActivationContinuation.shearSize (ActivationContinuation.shearA P q) (ActivationContinuation.shearB P q), | |
| 1180 | - ActivationContinuation.projection (ReferenceBounds.p1 P F.data.h q) (ReferenceBounds.p2 P F.data.h q) | |
| 1181 | - (ActivationContinuation.shearA P q) (ActivationContinuation.shearB P q) / c.radius] | |
| 1182 | - | |
| 1183 | -theorem actualObservations_eq {F : Profile} {A : NominalProfile.AxisStage F} | |
| 1184 | - (c : NominalProfile.Controls A) (hsep : c.separation ≤ Real.exp (-8)) | |
| 1185 | - {p : Point} (hy : p.1 ∈ Icc (-8) (-5)) (heta : p.2 ∈ ReferencePath.parameterInterval) | |
| 1186 | - (hs : NominalProfile.SmallDebt F c.debt p.2) : | |
| 1187 | - actualObservations c hsep p = observations F (controls c p.2, p) := by | |
| 1188 | - obtain ⟨hU, hE⟩ := physical_field_values c hsep hy heta | |
| 1189 | - obtain ⟨hUy, hEy⟩ := physical_field_radials c hsep hy heta hs | |
| 1190 | - obtain ⟨hUeta, hEeta⟩ := physical_field_parameters c hsep hy heta hs | |
| 1191 | - obtain ⟨hM, hI, hJ, hS, hPi⟩ := physical_stock_values c hsep hy heta hs | |
| 1192 | - obtain ⟨hM', hI', hJ', hS', hPi'⟩ := physical_stock_parameters c hsep hy heta hs | |
| 1193 | - obtain ⟨hQ, hN⟩ := physical_lags c hsep hy heta hs | |
| 1194 | - obtain ⟨ha, hb⟩ := physical_shears c hsep hy heta hs | |
| 1195 | - have hp := physical_projection c hsep hy heta hs | |
| 1196 | - dsimp only [actualObservations] | |
| 1197 | - rw [hp, hU, hE, hUy, hEy, hUeta, hEeta, hM, hI, hJ, hS, hPi, | |
| 1198 | - hM', hI', hJ', hS', hPi', hQ, hN, ha, hb] | |
| 1199 | - simp only [mul_div_cancel_left₀ _ c.radius_pos.ne', | |
| 1200 | - mul_div_cancel_left₀ _ (angularScale_pos c.radius_pos).ne'] | |
| 1201 | - rfl | |
| 1202 | - | |
| 1203 | -/-- A genuine uniform bound for the actual jets and stocks. Its constants | |
| 1204 | -are chosen before the incoming axis stage and before its controls. -/ | |
| 1205 | -theorem actual_observation_estimate (F : Profile) : | |
| 1206 | - ∃ r L : ℝ, 0 < r ∧ 0 ≤ L ∧ | |
| 1207 | - ∀ (A : NominalProfile.AxisStage F) (c : NominalProfile.Controls A) | |
| 1208 | - (hsep : c.separation ≤ Real.exp (-8)) (eps : ℝ), eps ≤ r → | |
| 1209 | - JetBounds.FiniteJetBound 1 (endpointError c) (Icc (-1) 1) eps → | |
| 1210 | - JetBounds.FiniteJetBound 1 (NominalProfile.resetCoefficients F c.debt) (Icc (-1) 1) eps → | |
| 1211 | - ∀ p ∈ window, NominalProfile.SmallDebt F c.debt p.2 → | |
| 1212 | - ‖actualObservations c hsep p - observations F (0, p)‖ ≤ L * eps := by | |
| 1213 | - obtain ⟨r, L, hr, hL, hb⟩ := model_estimate F | |
| 1214 | - refine ⟨r, L, hr, hL, ?_⟩ | |
| 1215 | - intro A c hsep eps heps hG hc p hp hs | |
| 1216 | - have hn := controls_norm c hG hc hp.2 | |
| 1217 | - rw [actualObservations_eq c hsep hp.1 (NominalProfile.physical_band_in_parameterInterval hp.2) hs] | |
| 1218 | - exact (hb _ (hn.trans heps) p hp).2.trans (mul_le_mul_of_nonneg_left hn hL) | |
| 1219 | - | |
| 1220 | 1113 | /-- The radius and first-jet tolerance are fixed before every incoming |
| 1221 | 1114 | axis stage and its matching controls. The input stocks are not hypotheses: |
| 1222 | 1115 | they have already been reconstructed from exact five-row matching. -/ |
+34 −0 routes/s1-ns-repair-1/README.md added View file
| @@ -0,0 +1,34 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-repair-1 | |
| 6 | + | |
| 7 | +Wave 1 of #10 (S-1, the declarations), family `NavierStokes/Repair*`. The unit is one file, | |
| 8 | +`NavierStokes/RepairConeBounds.lean`, and six declarations in it that nothing uses: | |
| 9 | + | |
| 10 | +- `NavierStokes.RepairConeBounds.freeS_zero` | |
| 11 | +- `NavierStokes.RepairConeBounds.freePi_zero` | |
| 12 | +- `NavierStokes.RepairConeBounds.physical_field_parameters` | |
| 13 | +- `NavierStokes.RepairConeBounds.actualObservations` | |
| 14 | +- `NavierStokes.RepairConeBounds.actualObservations_eq` | |
| 15 | +- `NavierStokes.RepairConeBounds.actual_observation_estimate` | |
| 16 | + | |
| 17 | +107 lines, deletions only; no statement or proof that stays is edited. | |
| 18 | + | |
| 19 | +They come from Treant's run (TitiSkywalker/NavierStokesAndEuler, 2026-12-03, upstream `f9e8bc5`), | |
| 20 | +which found them unreachable from the four Comparator theorems. This project's declaration graph | |
| 21 | +(main at `85f919b`, read from the compiled tree) leaves them unreachable too, under this project's | |
| 22 | +rule: a declaration Treant deleted stays when a paper result reaches it, when its docstring cites | |
| 23 | +the paper, or when a declaration that stays names it. These six fail all three. | |
| 24 | + | |
| 25 | +Checked in the tree after the deletion: `git grep -n -w` finds no remaining mention of any of the | |
| 26 | +six names under `NavierStokes.RepairConeBounds`; the hits on `freeS_zero`, `freePi_zero` and | |
| 27 | +`actualObservations` in `NavierStokes/HeatSwitchCone.lean` are that module's own declarations | |
| 28 | +(`namespace NavierStokes.HeatSwitchCone`), a different namespace. No deleted docstring cites a | |
| 29 | +numbered result of the paper. `python3 checks/challenge.py .` ends `ok`. | |
| 30 | + | |
| 31 | +## Next | |
| 32 | + | |
| 33 | +Nothing left in this unit. The rest of the family's declarations are other units of #10. | |
| 34 | +What this does not show: that every remaining declaration is needed. | |