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(Euler/All): delete 15 declarations nothing uses #437
Open
+0 −45 Euler/AllOrderCorrectionFamily.lean View file
| @@ -19,49 +19,4 @@ def solution {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | ||
| 19 | 19 | (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period (q+1)) := |
| 20 | 20 | Classical.choose (finite_exists period hT A B q hq) |
| 21 | 21 | |
| 22 | -/-- The constructed finite-order correction has zero initial trace. -/ | |
| 23 | -theorem solution_initial {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 24 | - (q : ℕ) (hq : 6 ≤ q) : solution period hT A B q hq ⟨0,le_rfl,hT.le⟩=0 := | |
| 25 | - (Classical.choose_spec (finite_exists period hT A B q hq)).1 | |
| 26 | - | |
| 27 | -/-- The constructed finite-order correction satisfies the actual lifted divergence constraint. -/ | |
| 28 | -theorem solution_divergence {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 29 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 30 | - value period (solution period hT A B q hq t) ∈ divergenceFreeSpace period A.κ A.direction := | |
| 31 | - (Classical.choose_spec (finite_exists period hT A B q hq)).2.1 t | |
| 32 | - | |
| 33 | -/-- The constructed correction satisfies the actual nonlinear projected-pressure equation at every interior time. -/ | |
| 34 | -theorem solution_hasDerivAt {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 35 | - (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 36 | - HasDerivAt (fun r => value period (extendPath T hT.le (solution period hT A B q hq) r)) | |
| 37 | - (value period (((A.atOrder period q).coefficients period hq).apply | |
| 38 | - ⟨t,ht.1.le,ht.2.le⟩ (solution period hT A B q hq ⟨t,ht.1.le,ht.2.le⟩))) t := | |
| 39 | - (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.2 t ht | |
| 40 | - | |
| 41 | -/-- The separately constructed solutions are genuinely the same correction after restriction; uniqueness is proved from their actual equations. -/ | |
| 42 | -theorem solution_compatible {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 43 | - (q : ℕ) (hq : 6 ≤ q) : | |
| 44 | - (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 45 | - (solution period hT A B (q+1) (hq.trans (Nat.le_succ q))) = solution period hT A B q hq := by | |
| 46 | - have hs : StabilityBudget period hT.le | |
| 47 | - (lowerData period (A.atOrder period (q+1)) (A.metric.jet q) (A.linear.jet q) | |
| 48 | - (fun i => (A.quadratic i).jet q) (A.metric.continuous q) (A.linear.continuous q) | |
| 49 | - (fun i => (A.quadratic i).continuous q)) := by | |
| 50 | - rw [A.lower_atOrder period q] | |
| 51 | - exact stabilityBudget period hT A B q | |
| 52 | - apply inviscid_corrections_compatible period hq T hT.le (A.atOrder period (q+1)) | |
| 53 | - (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) | |
| 54 | - (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) | |
| 55 | - (solution period hT A B (q+1) (hq.trans (Nat.le_succ q))) | |
| 56 | - (solution_hasDerivAt period hT A B (q+1) (hq.trans (Nat.le_succ q))) hs | |
| 57 | - (solution period hT A B q hq) | |
| 58 | - · simpa only [A.lower_atOrder period q] using solution_hasDerivAt period hT A B q hq | |
| 59 | - · rw [solution_initial,solution_initial,map_zero] | |
| 60 | - · intro t | |
| 61 | - change value period (A.approximation.realization ((q+1)+1) t) ∈ _ | |
| 62 | - rw [A.approximation.value_eq] | |
| 63 | - exact B.divergence t | |
| 64 | - · exact solution_divergence period hT A B (q+1) (hq.trans (Nat.le_succ q)) | |
| 65 | - · exact solution_divergence period hT A B q hq | |
| 66 | - | |
| 67 | 22 | end EulerAllOrderCorrectionFamily |
+0 −28 Euler/AllOrderCorrectionStability.lean View file
| @@ -13,32 +13,4 @@ open MeasureTheory Set EulerLiftedGradientSpace EulerLiftedPressure EulerCylinde | ||
| 13 | 13 | |
| 14 | 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | 15 | |
| 16 | -/-- The genuine base-order data bounds construct the comparison budget at every Sobolev order of the coherent coefficient family. -/ | |
| 17 | -def stabilityBudget {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) (q : ℕ) : | |
| 18 | - StabilityBudget period hT.le (A.atOrder period q) where | |
| 19 | - metric := B.metric.metric | |
| 20 | - continuous := B.metric.continuous | |
| 21 | - derivative := B.metric.derivative | |
| 22 | - hasDeriv := B.metric.hasDeriv | |
| 23 | - c := B.metric.c | |
| 24 | - c_pos := B.metric.c_pos | |
| 25 | - symmetric := B.metric.symmetric | |
| 26 | - coercive := B.metric.coercive | |
| 27 | - inverse := B.metric.inverse | |
| 28 | - bound := B.metric.bound | |
| 29 | - first := B.metric.first | |
| 30 | - time := B.metric.time | |
| 31 | - linear := (B.spatial 6 le_rfl).A0 | |
| 32 | - quadratic := (B.spatial 6 le_rfl).A2 | |
| 33 | - bound_le t := (coefficientOperator_norm_le (B.metric.metric t).coefficient | |
| 34 | - (B.metric.metric t).measurable (B.metric.metric t).bound (B.metric.metric t).norm_bound).trans | |
| 35 | - (B.metric.bound_le t) | |
| 36 | - first_le := B.metric.first_le | |
| 37 | - time_le := B.metric.time_le | |
| 38 | - linear_le t := (coefficient_bound_le_weighted period (A.linear.jet 8 t) 2 (B.radius t) | |
| 39 | - ((B.spatial 6 le_rfl).radius_pos t)).trans ((B.spatial 6 le_rfl).linear t) | |
| 40 | - quadratic_le t := (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 3))) => | |
| 41 | - coefficient_bound_le_weighted period ((A.quadratic i).jet 8 t) 2 (B.radius t) | |
| 42 | - ((B.spatial 6 le_rfl).radius_pos t))).trans ((B.spatial 6 le_rfl).quadratic t) | |
| 43 | - | |
| 44 | 16 | end EulerAllOrderCorrectionBudget |
+0 −70 Euler/AllOrderPressureCoherence.lean View file
| @@ -15,74 +15,4 @@ open scoped Topology | ||
| 15 | 15 | |
| 16 | 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | 17 | |
| 18 | -/-- The actual continuous nonlinear raw source at a finite Sobolev order. -/ | |
| 19 | -def rawSourcePath {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 20 | - (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period q) := | |
| 21 | - rawPath period hq (A.atOrder period q) (solution period hT A B q hq) | |
| 22 | - | |
| 23 | -/-- The actual continuous signed coercive pressure at a finite Sobolev order. -/ | |
| 24 | -def signedPressurePath {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 25 | - (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period q) := | |
| 26 | - pressurePath period hq (A.atOrder period q) (solution period hT A B q hq) | |
| 27 | - | |
| 28 | -/-- The genuine raw sources of the constructed solutions restrict exactly across adjacent orders. -/ | |
| 29 | -theorem rawSourcePath_truncate {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 30 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 31 | - truncateOperator period q (rawSourcePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t) = | |
| 32 | - rawSourcePath period hT A B q hq t := by | |
| 33 | - have h := truncate_rawSource period hq (A.atOrder period (q+1)) | |
| 34 | - (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) | |
| 35 | - (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) | |
| 36 | - t (solution period hT A B (q+1) (hq.trans (Nat.le_succ q)) t) | |
| 37 | - rw [A.lower_atOrder period q] at h | |
| 38 | - have he := congrArg (fun f => f t) (solution_compatible period hT A B q hq) | |
| 39 | - change truncateOperator period (q+1) (solution period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)= | |
| 40 | - solution period hT A B q hq t at he | |
| 41 | - rw [he] at h | |
| 42 | - exact h | |
| 43 | - | |
| 44 | -/-- Adjacent genuine raw sources represent the same actual L² field. -/ | |
| 45 | -theorem rawSourcePath_value_succ {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 46 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 47 | - value period (rawSourcePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)= | |
| 48 | - value period (rawSourcePath period hT A B q hq t) := | |
| 49 | - congrArg (value period (q := q)) (rawSourcePath_truncate period hT A B q hq t) | |
| 50 | - | |
| 51 | -/-- The actual signed coercive pressures represent the same L² field at adjacent Sobolev orders. -/ | |
| 52 | -theorem signedPressurePath_value_succ {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 53 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 54 | - value period (signedPressurePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)= | |
| 55 | - value period (signedPressurePath period hT A B q hq t) := by | |
| 56 | - change -value period (pressureSobolevOperator period (A.metric.jet (q+1) t) A.κ A.direction | |
| 57 | - A.coercivity A.coercivity_pos (A.metric_pos t) | |
| 58 | - (rawSourcePath period hT A B (q+1) (hq.trans (Nat.le_succ q)) t)) = | |
| 59 | - -value period (pressureSobolevOperator period (A.metric.jet q t) A.κ A.direction | |
| 60 | - A.coercivity A.coercivity_pos (A.metric_pos t) (rawSourcePath period hT A B q hq t)) | |
| 61 | - rw [pressureSobolevOperator_value,pressureSobolevOperator_value,rawSourcePath_value_succ] | |
| 62 | - | |
| 63 | -/-- Every finite-order signed pressure represents the same actual base pressure. -/ | |
| 64 | -theorem signedPressurePath_value_base {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 65 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 66 | - value period (signedPressurePath period hT A B q hq t)= | |
| 67 | - value period (signedPressurePath period hT A B 6 le_rfl t) := by | |
| 68 | - exact Nat.le_induction (P := fun n hn => value period (signedPressurePath period hT A B n hn t)= | |
| 69 | - value period (signedPressurePath period hT A B 6 le_rfl t)) rfl | |
| 70 | - (fun n hn ih => (signedPressurePath_value_succ period hT A B n hn t).trans ih) q hq | |
| 71 | - | |
| 72 | -/-- The common actual signed pressure is a continuous L² path. -/ | |
| 73 | -def commonPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) : | |
| 74 | - C(Icc (0 : ℝ) T,LiftL2 period) := | |
| 75 | - (valueOperator period 6).compLeftContinuous ℝ (Icc (0 : ℝ) T) (signedPressurePath period hT A B 6 le_rfl) | |
| 76 | - | |
| 77 | -/-- Every finite-order pressure realizes the common pressure field. -/ | |
| 78 | -theorem signedPressurePath_value_common {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 79 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 80 | - value period (signedPressurePath period hT A B q hq t)=commonPressure period hT A B t := | |
| 81 | - signedPressurePath_value_base period hT A B q hq t | |
| 82 | - | |
| 83 | -/-- The common actual correction pressure belongs to the closed lifted gradient subspace. -/ | |
| 84 | -theorem commonPressure_gradient {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 85 | - (t : Icc (0 : ℝ) T) : commonPressure period hT A B t ∈ gradientSpace period A.κ A.direction := | |
| 86 | - (A.atOrder period 6).pressure_mem_gradient period le_rfl t (solution period hT A B 6 le_rfl t) | |
| 87 | - | |
| 88 | 18 | end EulerAllOrderPressureCoherence |
+0 −7 Euler/AllOrderSmoothPressure.lean View file
| @@ -16,11 +16,4 @@ open scoped Topology ContDiff | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- Every strong derivative order of the common actual signed pressure is supplied by a constructed finite Sobolev realization. -/ | |
| 20 | -def pressureJet {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) | |
| 21 | - (n : ℕ) (t : Icc (0 : ℝ) T) : SpatialJet period standardDirection n (commonPressure period hT A B t) := by | |
| 22 | - rw [← signedPressurePath_value_common period hT A B (n+6) (by omega) t] | |
| 23 | - exact EulerH6Pressure.SpatialJet.restrict | |
| 24 | - (toJet period (signedPressurePath period hT A B (n+6) (by omega) t)) n (by omega) | |
| 25 | - | |
| 26 | 19 | end EulerAllOrderSmoothPressure |
+20 −0 routes/s1-euler-all-3/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-all-3 | |
| 6 | + | |
| 7 | +Deletes the 15 declarations of the family `Euler/All*` that nothing uses, 150 lines in 4 files. The diff is deletions only: no statement and no proof that stays is changed, and the four files keep their imports, module docstring and namespace. | |
| 8 | + | |
| 9 | +- `EulerAllOrderCorrectionFamily.solution_initial`, `.solution_divergence`, `.solution_hasDerivAt`, `.solution_compatible` — `Euler/AllOrderCorrectionFamily.lean` | |
| 10 | +- `EulerAllOrderCorrectionBudget.stabilityBudget` — `Euler/AllOrderCorrectionStability.lean` | |
| 11 | +- `EulerAllOrderPressureCoherence.rawSourcePath`, `.signedPressurePath`, `.rawSourcePath_truncate`, `.rawSourcePath_value_succ`, `.signedPressurePath_value_succ`, `.signedPressurePath_value_base`, `.commonPressure`, `.signedPressurePath_value_common`, `.commonPressure_gradient` — `Euler/AllOrderPressureCoherence.lean` | |
| 12 | +- `EulerAllOrderSmoothPressure.pressureJet` — `Euler/AllOrderSmoothPressure.lean` | |
| 13 | + | |
| 14 | +On each short name `git grep -w` finds only other declarations of the same name (`FiniteFamily.*` in `Euler/CorrectionAssembly*.lean`, `ComparisonData.stabilityBudget`, `Budget.commonPressure`, the ODE `solution_initial` and `solution_hasDerivAt`, the packet `pressureJet`), or nothing at all (`solution_divergence`, `solution_compatible`). No deleted docstring names the paper: no lemma, theorem, proposition, corollary, section or equation number. | |
| 15 | + | |
| 16 | +The unit was cut from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler) and from the declaration graph of this project's `main` at `4385cbe`, under the keep rule (a declaration stays when the paper's results reach it, when its docstring names the paper, when it is an existence result with a docstring, when its file states results or must match the challenge, when an earlier wave kept it, or when a declaration that stays refers to it). `docs/s1-dead-code/` holds the plan and the keep list (`kept.md`, 640 declarations); none of them is in this unit. | |
| 17 | + | |
| 18 | +## Next | |
| 19 | + | |
| 20 | +Push and open the pull request into `main`; the maintainer's review comes after `challenge` and `build`. `Euler/AllOrderCorrectionStability.lean` now holds no declaration, only its imports and namespace; merging it away would be a separate unit. The rest of the family and the other units of #10 are separate. | |