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: #120 chore(Euler/Source): delete 19 declarations nothing uses
1 commit
+0 −7 Euler/SourceCylinderClassical.lean View file
| @@ -70,13 +70,6 @@ theorem field_tsupport_subset (t : Icc (0 : ℝ) T) : | ||
| 70 | 70 | exact representative_tsupport_subset period S hS hSc.isClosed _ _ |
| 71 | 71 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property |
| 72 | 72 | |
| 73 | -theorem field_hasCompactSupport (t : Icc (0 : ℝ) T) : | |
| 74 | - HasCompactSupport (field period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t) := by | |
| 75 | - change HasCompactSupport (pointField period _ _ t) | |
| 76 | - rw [pointField_eq_representative] | |
| 77 | - exact representative_hasCompactSupport period S hS hSc _ _ | |
| 78 | - (velocity period S hS T hT Q Q₁ c hc hQ f a₀ t).property | |
| 79 | - | |
| 80 | 73 | /-- Inclusion in full cylinder L² preserves the already proved time derivative. -/ |
| 81 | 74 | theorem fullVelocity_hasDerivWithinAt |
| 82 | 75 | (hQt : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
+0 −5 Euler/SourceCylinderForward.lean View file
| @@ -37,11 +37,6 @@ private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstanc | ||
| 37 | 37 | def evolution (S : Set Space) (hS : MeasurableSet S) := |
| 38 | 38 | constructedEvolution period S hS T hT (sourceGenerator Q Q₁ c hc hQ) |
| 39 | 39 | |
| 40 | -/-- The source coefficient automatically has the translated regularity needed by the solver. -/ | |
| 41 | -theorem source_coefficient_contDiff : | |
| 42 | - ContDiff ℝ ∞ (translateCoefficientPath (sourceGenerator Q Q₁ c hc hQ)) := | |
| 43 | - sourceGenerator_translation_contDiff Q Q₁ c hc hQ | |
| 44 | - | |
| 45 | 40 | include hd in |
| 46 | 41 | /-- Mixed spatial-angular external words, including a fixed Sobolev base, |
| 47 | 42 | obey the same radius for the actual constructed source solution. -/ |
+0 −20 Euler/SourceCylinderPressureField.lean View file
| @@ -124,26 +124,6 @@ theorem pressureField_zero_outside (t : Icc (0 : ℝ) T) (y : Space) (hy : y ∉ | ||
| 124 | 124 | classicalPrimitive_zero P _ _ _ y |
| 125 | 125 | (normalResidual_zero_outside P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t y hy) θ |
| 126 | 126 | |
| 127 | -theorem pressureField_tsupport_subset (t : Icc (0 : ℝ) T) : | |
| 128 | - tsupport (pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) ⊆ | |
| 129 | - spatialSet P S := by | |
| 130 | - apply closure_minimal _ (hSc.isClosed.preimage continuous_fst) | |
| 131 | - intro x hx | |
| 132 | - by_contra hn | |
| 133 | - exact hx (pressureField_zero_outside P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm | |
| 134 | - hf₀ ha₀zero t x.1 hn x.2) | |
| 135 | - | |
| 136 | -theorem pressureField_hasCompactSupport (t : Icc (0 : ℝ) T) : | |
| 137 | - HasCompactSupport (pressureField P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) := by | |
| 138 | - have hcompact : IsCompact (spatialSet P S) := by | |
| 139 | - have he : spatialSet P S = S ×ˢ (univ : Set (AddCircle P)) := by | |
| 140 | - ext x | |
| 141 | - simp only [spatialSet,mem_preimage,mem_prod,mem_univ,and_true] | |
| 142 | - rw [he] | |
| 143 | - exact hSc.prod isCompact_univ | |
| 144 | - exact hcompact.of_isClosed_subset (isClosed_tsupport _) | |
| 145 | - (pressureField_tsupport_subset P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm hf₀ ha₀zero t) | |
| 146 | - | |
| 147 | 127 | /-- Equation (11) with the actual angular derivative of the normalized pressure. -/ |
| 148 | 128 | theorem field_pressure_equation |
| 149 | 129 | (hTangent : ∀ t x v, ⟪m.field t x,Q.field t x v⟫_ℝ = 0) |
+0 −23 Euler/SourceCylinderPressureWeight.lean View file
| @@ -65,29 +65,6 @@ variable (P : ℝ) [Fact (0 < P)] | ||
| 65 | 65 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 66 | 66 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 67 | 67 | |
| 68 | -/-- The bounded pressure used in the coefficient estimate is exactly the PDE pressure. -/ | |
| 69 | -theorem pressurePath_eq_sourcePressure : | |
| 70 | - pressurePath P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm = | |
| 71 | - sourcePressure P M m cm hcm hm (includePath P S hS f) | |
| 72 | - (includePath P S hS (velocity P S hS T hT Q Q₁ c hc hQ f a₀)) := rfl | |
| 73 | - | |
| 74 | 68 | variable (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 75 | 69 | |
| 76 | -/-- The actual pressure path divided by g, written in terms of the normalized | |
| 77 | -physical forcing and the already constructed normalized physical velocity. -/ | |
| 78 | -def normalizedPressure : C(Icc (0 : ℝ) T,CylinderL2 P ℝ) := | |
| 79 | - sourcePressure P M m cm hcm hm (includePath P S hS f) | |
| 80 | - (includePath P S hS (normalizedVelocity P T hT S hS Q Q₁ c hc hQ g hg f a₀)) | |
| 81 | - | |
| 82 | -theorem pressurePath_weight_eq : | |
| 83 | - pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm = | |
| 84 | - weight g (normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg) := by | |
| 85 | - rw [pressurePath_eq_sourcePressure, velocity_weight_eq, include_weight, include_weight] | |
| 86 | - exact sourcePressure_weight P M m cm hcm hm g _ _ | |
| 87 | - | |
| 88 | -theorem normalized_full_pressure_eq : | |
| 89 | - normalize g hg (pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm) = | |
| 90 | - normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg := by | |
| 91 | - rw [pressurePath_weight_eq, normalize_weight] | |
| 92 | - | |
| 93 | 70 | end EulerSourceCylinderEquation |
+0 −10 Euler/SourceCylinderTimeBounds.lean View file
| @@ -49,16 +49,6 @@ theorem coordinateRhs_contDiff | ||
| 49 | 49 | have h₂ := projectedForcing_contDiff P S hS Q c hc hQ f hf |
| 50 | 50 | simpa only [coordinateRhs,map_add] using h₁.add h₂ |
| 51 | 51 | |
| 52 | -theorem physicalRhs_contDiff | |
| 53 | - (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) | |
| 54 | - (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : | |
| 55 | - ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b | |
| 56 | - (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) := by | |
| 57 | - have h₁ := supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha | |
| 58 | - have h₂ := supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS | |
| 59 | - (coordinateRhs P S hS Q Q₁ c hc hQ f a) (coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha) | |
| 60 | - simpa only [physicalRhs,map_add] using h₁.add h₂ | |
| 61 | - | |
| 62 | 52 | def coordinateCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := |
| 63 | 53 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (18*Ri*C₀*C₁)*Da+ |
| 64 | 54 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀)*Df |
+0 −40 Euler/SourcePotentialTime.lean View file
| @@ -25,48 +25,8 @@ variable (hmt : ∀ t ∈ Icc (0 : ℝ) T, ∀ y : Space, | ||
| 25 | 25 | HasDerivWithinAt (fun r => extendPath T hT m.field r y) |
| 26 | 26 | (extendPath T hT m₁.field t y) (Icc (0 : ℝ) T) t) |
| 27 | 27 | |
| 28 | -include hmt in | |
| 29 | -/-- The polynomial coefficient really differentiates the actual source multiplier. -/ | |
| 30 | -theorem potentialCoefficient_hasDerivWithinAt (t : Icc (0 : ℝ) T) (y : Space) : | |
| 31 | - HasDerivWithinAt (fun r => extendPath T hT (potentialCoefficient m c hc hm) r y) | |
| 32 | - (potentialTimeCoefficient m m₁ c hc hm t y) (Icc (0 : ℝ) T) t := by | |
| 33 | - have hn : extendPath T hT m.field t y ≠ 0 := by | |
| 34 | - change m.field (projIcc 0 T hT t) y ≠ 0 | |
| 35 | - rw [projIcc_of_mem hT t.property] | |
| 36 | - intro hz | |
| 37 | - have h := hm t y | |
| 38 | - rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h | |
| 39 | - linarith | |
| 40 | - have h := potentialMultiplier_hasDerivWithinAt (Icc (0 : ℝ) T) t | |
| 41 | - (fun r => extendPath T hT m.field r y) (extendPath T hT m₁.field t y) | |
| 42 | - (hmt t t.property y) hn | |
| 43 | - convert h using 1 <;> try rfl | |
| 44 | - · funext r | |
| 45 | - exact potentialCoefficient_apply m c hc hm (projIcc 0 T hT r) y | |
| 46 | - · rw [potentialTimeCoefficient_apply] | |
| 47 | - change potentialMultiplierDerivative (m.field t y) (m₁.field t y) = | |
| 48 | - potentialMultiplierDerivative (m.field (projIcc 0 T hT t) y) (m₁.field (projIcc 0 T hT t) y) | |
| 49 | - rw [projIcc_of_mem hT t.property] | |
| 50 | - | |
| 51 | 28 | variable (P : ℝ) [Fact (0 < P)] |
| 52 | 29 | (p f : C(Icc (0 : ℝ) T,LiftL2 P)) |
| 53 | 30 | (hd : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT p) (f t) (Icc (0 : ℝ) T) t) |
| 54 | 31 | |
| 55 | -include hmt hd in | |
| 56 | -/-- Q_t is constructed from m, m_t, A and A_t; no regularity of Q is assumed. -/ | |
| 57 | -theorem sourcePotentialPath_hasDerivWithinAt (t : Icc (0 : ℝ) T) : | |
| 58 | - HasDerivWithinAt (extendPath T hT (potentialPath P (potentialCoefficient m c hc hm) p)) | |
| 59 | - (potentialDerivative P T (potentialCoefficient m c hc hm) | |
| 60 | - (potentialTimeCoefficient m m₁ c hc hm) p f t) (Icc (0 : ℝ) T) t := by | |
| 61 | - have hcoeff : ∀ r ∈ Icc (0 : ℝ) T, ∀ y : Space, | |
| 62 | - HasDerivWithinAt (fun s => extendPath T hT (potentialCoefficient m c hc hm) s y) | |
| 63 | - (extendPath T hT (potentialTimeCoefficient m m₁ c hc hm) r y) (Icc (0 : ℝ) T) r := by | |
| 64 | - intro r hr y | |
| 65 | - have h := potentialCoefficient_hasDerivWithinAt T hT m m₁ c hc hm hmt ⟨r,hr⟩ y | |
| 66 | - exact h.congr_deriv (congrArg (fun z : Icc (0 : ℝ) T => | |
| 67 | - potentialTimeCoefficient m m₁ c hc hm z y) (projIcc_of_mem hT hr).symm) | |
| 68 | - have h := potentialPath_hasDerivWithinAt P T hT (potentialCoefficient m c hc hm) | |
| 69 | - (potentialTimeCoefficient m m₁ c hc hm) p f hcoeff hd t | |
| 70 | - exact h | |
| 71 | - | |
| 72 | 32 | end EulerSourcePotentialCoefficient |
+0 −70 Euler/SourcePotentialTimeCoefficient.lean View file
| @@ -43,18 +43,6 @@ def timeNormalPath (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] | ||
| 43 | 43 | pathCompositionMap (pathCompositionMap N (pathAdjointMap N)) (pathAdjointMap Q₁) - |
| 44 | 44 | (2 : ℝ) • pathCompositionMap (pathCompositionMap N Q₁) N |
| 45 | 45 | |
| 46 | -theorem timeNormalPath_apply (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] Space)) | |
| 47 | - (t : K) (y : Space) : timeNormalPath N Q₁ t y = normalTimeMap (N t y) (Q₁ t y) := rfl | |
| 48 | - | |
| 49 | -theorem timeNormalPath_translation (N : C(K,NormalField)) (Q₁ : C(K,Space →ᵇ ℝ →L[ℝ] Space)) | |
| 50 | - (a : Space) : translateCoefficientPath (timeNormalPath N Q₁) a = | |
| 51 | - timeNormalPath (translateCoefficientPath N a) (translateCoefficientPath Q₁ a) := by | |
| 52 | - apply ContinuousMap.ext | |
| 53 | - intro t | |
| 54 | - apply BoundedContinuousFunction.ext | |
| 55 | - intro y | |
| 56 | - rfl | |
| 57 | - | |
| 58 | 46 | section Families |
| 59 | 47 | |
| 60 | 48 | variable {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| @@ -115,62 +103,4 @@ end Families | ||
| 115 | 103 | variable (m m₁ : SmoothCoefficientPath K Space) (c : ℝ) (hc : 0 < c) |
| 116 | 104 | (hm : ∀ t y, c ≤ ‖m.field t y‖^2) |
| 117 | 105 | |
| 118 | -def potentialTimeCoefficient : C(K,PotentialField) := | |
| 119 | - potentialPathMap (timeNormalPath (normalFunctional m c hc hm) (normalColumn m₁).field) | |
| 120 | - | |
| 121 | -theorem potentialTimeCoefficient_apply (t : K) (y : Space) : | |
| 122 | - potentialTimeCoefficient m m₁ c hc hm t y = | |
| 123 | - potentialMultiplierDerivative (m.field t y) (m₁.field t y) := by | |
| 124 | - have hn : m.field t y ≠ 0 := by | |
| 125 | - intro hz | |
| 126 | - have h := hm t y | |
| 127 | - rw [hz, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h | |
| 128 | - linarith | |
| 129 | - exact normalTimeMap_potential (m.field t y) (m₁.field t y) | |
| 130 | - (normalFunctional m c hc hm t y) hn (normalFunctional_apply m c hc hm t y) | |
| 131 | - | |
| 132 | -theorem potentialTimeCoefficient_translation : | |
| 133 | - translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm) = | |
| 134 | - fun a => potentialPathMap (timeNormalPath | |
| 135 | - (translateCoefficientPath (normalFunctional m c hc hm) a) | |
| 136 | - (translateCoefficientPath (normalColumn m₁).field a)) := by | |
| 137 | - funext a | |
| 138 | - apply ContinuousMap.ext | |
| 139 | - intro t | |
| 140 | - apply BoundedContinuousFunction.ext | |
| 141 | - intro y | |
| 142 | - rfl | |
| 143 | - | |
| 144 | -theorem potentialTimeCoefficient_translation_contDiff : | |
| 145 | - ContDiff ℝ ∞ (translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm)) := by | |
| 146 | - rw [potentialTimeCoefficient_translation] | |
| 147 | - have h := timeNormalPath_contDiff _ _ | |
| 148 | - (normalFunctional_translation_contDiff m c hc hm) (normalColumn m₁).translation_contDiff | |
| 149 | - exact (potentialPathMap (K := K)).contDiff.comp h | |
| 150 | - | |
| 151 | -/-- The derivative coefficient is polynomial in the already constructed normal functional. -/ | |
| 152 | -theorem potentialTimeCoefficient_translation_bound (R C D : ℝ) | |
| 153 | - (hR : 0 ≤ R) (hC : 0 ≤ C) (hD : 0 ≤ D) | |
| 154 | - (hbN : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath (normalFunctional m c hc hm)) a‖ ≤ | |
| 155 | - C*majorant R 0 n) | |
| 156 | - (hbm₁ : ∀ n t y, ‖iteratedFDeriv ℝ n (m₁.field t : Space → Space) y‖ ≤ D*majorant R 0 n) | |
| 157 | - (n : ℕ) (a : Space) : | |
| 158 | - ‖iteratedFDeriv ℝ n (translateCoefficientPath (potentialTimeCoefficient m m₁ c hc hm)) a‖ ≤ | |
| 159 | - (27*C^2*D)*majorant R 0 n := by | |
| 160 | - have hQ (j : ℕ) (x : Space) : | |
| 161 | - ‖iteratedFDeriv ℝ j (translateCoefficientPath (normalColumn m₁).field) x‖ ≤ D*majorant R 0 j := by | |
| 162 | - apply (normalColumn m₁).norm_iteratedFDeriv_translation_le j (D*majorant R 0 j) | |
| 163 | - (mul_nonneg hD (majorant_nonneg R hR 0 j)) | |
| 164 | - intro t y | |
| 165 | - exact SmoothCoefficientPath.map_derivative_bound | |
| 166 | - (ContinuousLinearMap.toSpanSingletonLIE ℝ Space).toLinearIsometry.toContinuousLinearMap | |
| 167 | - (ContinuousLinearMap.toSpanSingletonLIE ℝ Space).toLinearIsometry.norm_toContinuousLinearMap_le | |
| 168 | - m₁ j (D*majorant R 0 j) (hbm₁ j) t y | |
| 169 | - rw [potentialTimeCoefficient_translation] | |
| 170 | - exact contraction_bound (potentialPathMap (K := K)) potentialPathMap_norm _ | |
| 171 | - (timeNormalPath_contDiff _ _ (normalFunctional_translation_contDiff m c hc hm) | |
| 172 | - (normalColumn m₁).translation_contDiff) R (27*C^2*D) hR (by positivity) 0 | |
| 173 | - (timeNormalPath_bound _ _ (normalFunctional_translation_contDiff m c hc hm) | |
| 174 | - (normalColumn m₁).translation_contDiff R C D hR hC hD hbN hQ) n a | |
| 175 | - | |
| 176 | 106 | end EulerSourcePotentialCoefficient |
+0 −9 Euler/SourcePotentialTimePath.lean View file
| @@ -50,15 +50,6 @@ theorem columnPath_norm : ‖columnPath (K := K)‖ ≤ 1 := by | ||
| 50 | 50 | rw [LinearIsometryEquiv.norm_map] |
| 51 | 51 | exact ((A t).norm_coe_le_norm y).trans (A.norm_coe_le_norm t) |
| 52 | 52 | |
| 53 | -omit [CompactSpace K] in | |
| 54 | -theorem columnPath_translation (A : C(K,Space →ᵇ Space)) (a : Space) : | |
| 55 | - translateCoefficientPath (columnPath A) a = columnPath (translateCoefficientPath A a) := by | |
| 56 | - apply ContinuousMap.ext | |
| 57 | - intro t | |
| 58 | - apply BoundedContinuousFunction.ext | |
| 59 | - intro y | |
| 60 | - rfl | |
| 61 | - | |
| 62 | 53 | section Coefficient |
| 63 | 54 | |
| 64 | 55 | variable (m : SmoothCoefficientPath K Space) (m₁ : C(K,Space →ᵇ Space)) |
+23 −0 routes/s1-euler-source-1/README.md added View file
| @@ -0,0 +1,23 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-source-1 | |
| 6 | + | |
| 7 | +Unit `s1-euler-source-1` of S-1 (issue #10): the family `Euler/Source*`, the eight files | |
| 8 | +`Euler/SourceCylinderClassical.lean`, `SourceCylinderForward.lean`, | |
| 9 | +`SourceCylinderPressureField.lean`, `SourceCylinderPressureWeight.lean`, | |
| 10 | +`SourceCylinderTimeBounds.lean`, `SourcePotentialTime.lean`, | |
| 11 | +`SourcePotentialTimeCoefficient.lean` and `SourcePotentialTimePath.lean`. | |
| 12 | + | |
| 13 | +I delete the 19 declarations of this family that nothing uses: 184 lines, deletions only. | |
| 14 | +They were cut from Treant's run of 2026-12-03 against upstream `f9e8bc5` and kept out of | |
| 15 | +Treant's deletions that this project keeps because one of the paper's results reaches them, | |
| 16 | +their docstring cites the paper, or a remaining declaration names them. Each deleted name | |
| 17 | +was checked with `git grep -n -w` on the tree before and after: nothing left cites one (the | |
| 18 | +only hit, `EulerSpatialRescaling.normalizedPressure`, is a different declaration of the same | |
| 19 | +short name), and no deleted docstring cites a numbered result of a paper. | |
| 20 | + | |
| 21 | +## Next | |
| 22 | + | |
| 23 | +The `build` check on this branch is the verdict to read; nothing else in this unit remains. | |