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

Comparing changes
Choose two branches to see what changed, then open a pull request to bring the work across.
Able to merge. These branches can be merged automatically.
A pull request is already open: #301 chore(Euler/Correction): delete 17 declarations nothing uses
1 commit
+0 −17 Euler/CorrectionAssemblyCommon.lean View file
| @@ -47,14 +47,6 @@ def FiniteFamily.commonJet (F : FiniteFamily period hT A) (C : ComparisonData pe | ||
| 47 | 47 | exact EulerH6Pressure.SpatialJet.restrict |
| 48 | 48 | (toJet period (F.solution (n+6) (by omega) t)) n (by omega) |
| 49 | 49 | |
| 50 | -/-- The common L² path satisfies the actual nonlinear inviscid equation. -/ | |
| 51 | -theorem FiniteFamily.commonPath_hasDerivAt (F : FiniteFamily period hT A) | |
| 52 | - (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 53 | - HasDerivAt (extendPath T hT.le (F.commonPath period)) | |
| 54 | - (value period (((A.atOrder period 6).coefficients period le_rfl).apply | |
| 55 | - ⟨t, ht.1.le, ht.2.le⟩ (F.solution 6 le_rfl ⟨t, ht.1.le, ht.2.le⟩))) t := | |
| 56 | - F.equation 6 le_rfl t ht | |
| 57 | - | |
| 58 | 50 | /-- Bounded H3 evaluation fixes a canonical actual pointwise representative of the common correction. -/ |
| 59 | 51 | def FiniteFamily.pointField (F : FiniteFamily period hT A) |
| 60 | 52 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| @@ -83,13 +75,4 @@ theorem FiniteFamily.pointField_smooth (F : FiniteFamily period hT A) (C : Compa | ||
| 83 | 75 | rw [he] |
| 84 | 76 | exact hg x |
| 85 | 77 | |
| 86 | -/-- The canonical smooth field has pointwise zero lifted divergence. -/ | |
| 87 | -theorem FiniteFamily.pointField_divergence (F : FiniteFamily period hT A) (C : ComparisonData period hT A) | |
| 88 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 89 | - (∑ i : Fin 3, (fieldDerivative period (coordinateDirection A.κ A.direction i) | |
| 90 | - (F.pointField period t) x) i) = 0 := | |
| 91 | - divergenceFree_classical_divergence_zero period A.κ A.direction (F.commonPath period t) | |
| 92 | - (F.commonPath_divergence period t) (F.pointField period t) (F.pointField_ae period t) | |
| 93 | - (F.pointField_smooth period C t) x | |
| 94 | - | |
| 95 | 78 | end EulerCorrectionAssembly |
+0 −19 Euler/CorrectionAssemblyParity.lean View file
| @@ -80,17 +80,6 @@ theorem continuous_representative_odd (u : LiftL2 period) (g : LiftDomain period | ||
| 80 | 80 | rfl |
| 81 | 81 | exact congrFun (MeasureTheory.Measure.eq_of_ae_eq ha (hg.comp continuous_neg) hg.neg) |
| 82 | 82 | |
| 83 | -/-- The canonical smooth correction is odd at every spatial and angular point. -/ | |
| 84 | -theorem FiniteFamily.pointField_odd (F : FiniteFamily period hT A) | |
| 85 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 86 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 87 | - F.pointField period t (-x) = -F.pointField period t x := by | |
| 88 | - have hc : Continuous (F.pointField period t) := | |
| 89 | - EulerMetricTransport.smoothField_continuous period (F.pointField period t) | |
| 90 | - (F.pointField_smooth period C t) | |
| 91 | - exact continuous_representative_odd period (F.commonPath period t) (F.pointField period t) | |
| 92 | - (F.commonPath_odd period C P t) hc (F.pointField_ae period t) x | |
| 93 | - | |
| 94 | 83 | /-- The actual signed coercive pressure is odd at every finite Sobolev order. -/ |
| 95 | 84 | theorem FiniteFamily.signedPressurePath_odd (F : FiniteFamily period hT A) |
| 96 | 85 | (C : ComparisonData period hT A) (P : ParityData period A) |
| @@ -111,12 +100,4 @@ theorem FiniteFamily.commonPressure_odd (F : FiniteFamily period hT A) | ||
| 111 | 100 | rw [value_oddReflection] at h |
| 112 | 101 | exact h |
| 113 | 102 | |
| 114 | -/-- Every realization of the assembled correction tower is odd. -/ | |
| 115 | -theorem FiniteFamily.fieldTower_odd (F : FiniteFamily period hT A) | |
| 116 | - (C : ComparisonData period hT A) (P : ParityData period A) | |
| 117 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 118 | - oddReflection period q ((F.fieldTower period C).realization q t) = | |
| 119 | - (F.fieldTower period C).realization q t := | |
| 120 | - fieldTower_realization_odd period (F.fieldTower period C) (F.commonPath_odd period C P) q t | |
| 121 | - | |
| 122 | 103 | end EulerCorrectionAssembly |
+0 −49 Euler/CorrectionAssemblyPressureParity.lean View file
| @@ -9,24 +9,12 @@ namespace EulerGraphPressurePotential | ||
| 9 | 9 | |
| 10 | 10 | open EulerLiftedGradientSpace |
| 11 | 11 | |
| 12 | -/-- The physical phase graph respects joint spatial and angular reflection. -/ | |
| 13 | -theorem cylinderGraph_neg (period k : ℝ) (m x : Vector3) : | |
| 14 | - cylinderGraph period k m (-x) = -cylinderGraph period k m x := by | |
| 15 | - simp [cylinderGraph] | |
| 16 | - | |
| 17 | 12 | end EulerGraphPressurePotential |
| 18 | 13 | |
| 19 | 14 | namespace EulerCanonicalGraphPotential |
| 20 | 15 | |
| 21 | 16 | open EulerLiftedGradientSpace |
| 22 | 17 | |
| 23 | -/-- The canonical radial scalar potential of an odd vector field is even. | |
| 24 | -This identity does not need a choice of additive gauge or a potential-existence assumption. -/ | |
| 25 | -theorem radialPotential_even (V : Vector3 → Vector3) | |
| 26 | - (hV : ∀ x, V (-x) = -V x) (x : Vector3) : | |
| 27 | - radialPotential V (-x) = radialPotential V x := by | |
| 28 | - simp only [radialPotential, smul_neg, hV, inner_neg_neg] | |
| 29 | - | |
| 30 | 18 | end EulerCanonicalGraphPotential |
| 31 | 19 | |
| 32 | 20 | namespace EulerCorrectionAssembly |
| @@ -49,41 +37,4 @@ theorem FiniteFamily.pointPressure_odd (F : FiniteFamily period hT A) | ||
| 49 | 37 | (Continuous.uncurry_left t (F.pointPressure_joint_continuous period)) |
| 50 | 38 | (F.pointPressure_ae period t) x |
| 51 | 39 | |
| 52 | -/-- The actual signed pressure-gradient vector on the physical phase graph is odd. -/ | |
| 53 | -theorem FiniteFamily.graphPressure_odd (F : FiniteFamily period hT A) | |
| 54 | - (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) | |
| 55 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 56 | - F.graphPressure period k t (-x) = -F.graphPressure period k t x := by | |
| 57 | - unfold FiniteFamily.graphPressure | |
| 58 | - rw [cylinderGraph_neg, F.pointPressure_odd period C P, smul_neg] | |
| 59 | - | |
| 60 | -/-- The origin-normalized scalar pressure is even at every time. | |
| 61 | -In particular parity is an exact identity, not merely equality modulo a constant. -/ | |
| 62 | -theorem FiniteFamily.normalizedGraphPotential_even (F : FiniteFamily period hT A) | |
| 63 | - (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) | |
| 64 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 65 | - F.normalizedGraphPotential period k t (-x) = | |
| 66 | - F.normalizedGraphPotential period k t x := | |
| 67 | - radialPotential_even _ (F.graphPressure_odd period C P k t) x | |
| 68 | - | |
| 69 | -/-- Any smooth potential of the same graph field agrees with the canonical | |
| 70 | -radial potential after subtracting its value at the origin. -/ | |
| 71 | -theorem FiniteFamily.normalizedGraphPotential_eq_sub (F : FiniteFamily period hT A) | |
| 72 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 73 | - (hq : ContDiff ℝ ∞ q) | |
| 74 | - (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (x : Vector3) : | |
| 75 | - F.normalizedGraphPotential period k t x = q x - q 0 := | |
| 76 | - radialPotential_eq_sub _ | |
| 77 | - (Continuous.uncurry_left t (F.graphPressure_joint_continuous period k)) q hq hgrad x | |
| 78 | - | |
| 79 | -/-- The constructed scalar pressure is the unique smooth potential of its | |
| 80 | -graph field with the prescribed zero value at the origin. -/ | |
| 81 | -theorem FiniteFamily.normalizedGraphPotential_unique (F : FiniteFamily period hT A) | |
| 82 | - (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) | |
| 83 | - (hq : ContDiff ℝ ∞ q) | |
| 84 | - (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (hq0 : q 0 = 0) : | |
| 85 | - F.normalizedGraphPotential period k t = q := by | |
| 86 | - funext x | |
| 87 | - rw [F.normalizedGraphPotential_eq_sub period k t q hq hgrad x, hq0, sub_zero] | |
| 88 | - | |
| 89 | 40 | end EulerCorrectionAssembly |
+0 −5 Euler/CorrectionAssemblyReconstruction.lean View file
| @@ -74,11 +74,6 @@ def FiniteFamily.normalizedGraphPotential (F : FiniteFamily period hT A) (k : | ||
| 74 | 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 75 | 75 | radialPotential (F.graphPressure period k t) x |
| 76 | 76 | |
| 77 | -/-- The reconstructed scalar pressure has zero value at the origin at every time. -/ | |
| 78 | -theorem FiniteFamily.normalizedGraphPotential_zero (F : FiniteFamily period hT A) (k : ℝ) | |
| 79 | - (t : Icc (0 : ℝ) T) : F.normalizedGraphPotential period k t 0 = 0 := | |
| 80 | - radialPotential_zero _ | |
| 81 | - | |
| 82 | 77 | /-- The normalized scalar pressure is jointly continuous, including both endpoint time slices. -/ |
| 83 | 78 | theorem FiniteFamily.normalizedGraphPotential_joint_continuous (F : FiniteFamily period hT A) (k : ℝ) : |
| 84 | 79 | Continuous (F.normalizedGraphPotential period k).uncurry := |
+0 −10 Euler/CorrectionAssemblySourceTower.lean View file
| @@ -82,19 +82,9 @@ open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrect | ||
| 82 | 82 | variable (period : ℝ) [Fact (0 < period)] |
| 83 | 83 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 84 | 84 | |
| 85 | -def Budget.rawSourceTower (B : Budget period hT A) : FieldTower period T := | |
| 86 | - (B.family period).rawSourceTower period (B.comparisonData period) | |
| 87 | - | |
| 88 | 85 | def Budget.timeDerivativeTower (B : Budget period hT A) : FieldTower period T := |
| 89 | 86 | (B.family period).timeDerivativeTower period (B.comparisonData period) |
| 90 | 87 | |
| 91 | -theorem Budget.rawSource_eq_realization (B : Budget period hT A) | |
| 92 | - (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : | |
| 93 | - (A.atOrder period q).rawSource period hq t ((B.fieldTower period).realization (q+1) t) = | |
| 94 | - (B.rawSourceTower period).realization q t := by | |
| 95 | - rw [← B.solution_eq_realization period q hq] | |
| 96 | - exact (B.family period).rawSourcePath_eq_realization period (B.comparisonData period) q hq t | |
| 97 | - | |
| 98 | 88 | theorem Budget.source_eq_timeDerivativeTower (B : Budget period hT A) |
| 99 | 89 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 100 | 90 | ((A.atOrder period q).coefficients period hq).apply t |
+0 −40 Euler/CorrectionAssemblyTime.lean View file
| @@ -28,44 +28,4 @@ def FiniteFamily.pointTimeDerivative (F : FiniteFamily period hT A) | ||
| 28 | 28 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) |
| 29 | 29 | (((A.atOrder period 6).coefficients period le_rfl).apply t (F.solution 6 le_rfl t))) |
| 30 | 30 | |
| 31 | -/-- The actual pointwise time derivative is jointly continuous in time and space. -/ | |
| 32 | -theorem FiniteFamily.pointTimeDerivative_joint_continuous (F : FiniteFamily period hT A) : | |
| 33 | - Continuous (F.pointTimeDerivative period).uncurry := | |
| 34 | - path_representative_joint_continuous period | |
| 35 | - ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) | |
| 36 | - (sourcePath ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl))) | |
| 37 | - | |
| 38 | -/-- The pointwise time derivative is the literal raw-source and signed-pressure expression. -/ | |
| 39 | -theorem FiniteFamily.pointTimeDerivative_eq_pressure (F : FiniteFamily period hT A) | |
| 40 | - (t : Icc (0 : ℝ) T) (x : LiftDomain period) : | |
| 41 | - F.pointTimeDerivative period t x = -F.pointRawSource period t x - | |
| 42 | - (A.metric.coefficient t).coefficient x (F.pointPressure period t x) := by | |
| 43 | - unfold FiniteFamily.pointTimeDerivative | |
| 44 | - rw [EulerInviscidSobolevEvolution.CorrectionData.source_sobolev] | |
| 45 | - simp only [map_sub, map_neg] | |
| 46 | - rw [pointEvaluation_coefficient period (by omega : 3 ≤ 6) ((A.atOrder period 6).metric.coefficient t) | |
| 47 | - ((A.atOrder period 6).metric.jet t)] | |
| 48 | - rfl | |
| 49 | - | |
| 50 | -/-- The canonical common field has its genuine pointwise first time derivative at every interior time. -/ | |
| 51 | -theorem FiniteFamily.pointField_hasDerivAt (F : FiniteFamily period hT A) | |
| 52 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 53 | - HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) | |
| 54 | - (F.pointTimeDerivative period ⟨t, ht.1.le, ht.2.le⟩ x) t := by | |
| 55 | - have hd := sobolev_hasDerivAt period T hT.le | |
| 56 | - ((A.atOrder period 6).coefficients period le_rfl) (F.solution 6 le_rfl) | |
| 57 | - (F.equation 6 le_rfl) t ht | |
| 58 | - have he := (((pointEvaluation period x).comp (restrictOperator period (by omega : 3 ≤ 6))).hasFDerivAt).comp_hasDerivAt t hd | |
| 59 | - simpa only [Function.comp_def, ContinuousLinearMap.comp_apply, restrictOperator_truncate, | |
| 60 | - FiniteFamily.pointField, FiniteFamily.pointTimeDerivative, extendPath] using he | |
| 61 | - | |
| 62 | -/-- The actual pointwise correction equation uses the reconstructed signed pressure and literal matrix multiplication. -/ | |
| 63 | -theorem FiniteFamily.pointField_hasDerivAt_pressure (F : FiniteFamily period hT A) | |
| 64 | - (x : LiftDomain period) (t : ℝ) (ht : t ∈ Ioo 0 T) : | |
| 65 | - HasDerivAt (fun r => F.pointField period (projIcc 0 T hT.le r) x) | |
| 66 | - (-F.pointRawSource period ⟨t, ht.1.le, ht.2.le⟩ x - | |
| 67 | - (A.metric.coefficient ⟨t, ht.1.le, ht.2.le⟩).coefficient x | |
| 68 | - (F.pointPressure period ⟨t, ht.1.le, ht.2.le⟩ x)) t := by | |
| 69 | - simpa only [F.pointTimeDerivative_eq_pressure period] using F.pointField_hasDerivAt period x t ht | |
| 70 | - | |
| 71 | 31 | end EulerCorrectionAssembly |
+16 −0 routes/s1-euler-correction-2/README.md added View file
| @@ -0,0 +1,16 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-correction-2 | |
| 6 | + | |
| 7 | +Unit `s1-euler-correction-2` of S-1 (#10): delete 17 declarations nothing uses in the family | |
| 8 | +`Euler/Correction*`, 140 lines across `Euler/CorrectionAssemblyCommon.lean`, | |
| 9 | +`CorrectionAssemblyParity.lean`, `CorrectionAssemblyPressureParity.lean`, | |
| 10 | +`CorrectionAssemblyReconstruction.lean`, `CorrectionAssemblySourceTower.lean` and | |
| 11 | +`CorrectionAssemblyTime.lean`. Deletions only; no statement or proof that stays is changed. | |
| 12 | + | |
| 13 | +## Next | |
| 14 | + | |
| 15 | +Read the maintainer's verdict on the pull request; if a declaration turns out to be needed, | |
| 16 | +restore just that one on `main` rather than reopening the whole unit. | |