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 #320 from s1-euler-smooth-2
Browse fileschore(Euler/Smooth): delete 8 declarations nothing uses
Checks
challenge Program · challenge files and build config
Details
+0 −27 Euler/SmoothEulerEvolution.lean View file
| @@ -56,20 +56,6 @@ variable (T : ℝ) (hT : 0 ≤ T) | ||
| 56 | 56 | (hU : ∀ n, Continuous (fun t => (U t).jetLp n)) |
| 57 | 57 | (hG : ∀ n, Continuous (fun t => (G t).jetLp n)) |
| 58 | 58 | |
| 59 | -theorem sobolev_evolution | |
| 60 | - (hd : ∀ t (ht : t ∈ Ioo 0 T) x, | |
| 61 | - HasDerivAt (fun r => (U (projIcc 0 T hT r)).field x) | |
| 62 | - (-fderiv ℝ (U ⟨t,ht.1.le,ht.2.le⟩).field x ((U ⟨t,ht.1.le,ht.2.le⟩).field x)- | |
| 63 | - (G ⟨t,ht.1.le,ht.2.le⟩).field x) t) | |
| 64 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 65 | - HasDerivWithinAt (extendPath T hT (sobolevPath U hU q)) | |
| 66 | - (sobolevPath (rhs U hU G) (rhs_jet_continuous U hU G hG) q t) | |
| 67 | - (Icc (0 : ℝ) T) t := by | |
| 68 | - apply sobolevPath_hasDerivWithinAt T hT U (rhs U hU G) hU (rhs_jet_continuous U hU G hG) | |
| 69 | - intro r hr x | |
| 70 | - rw [rhs_field] | |
| 71 | - exact hd r hr x | |
| 72 | - | |
| 73 | 59 | theorem pointwise_time_derivative_of_classical |
| 74 | 60 | (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) |
| 75 | 61 | (hmatch : ∀ (t : Icc (0 : ℝ) T) x, u (t,x)=(U t).field x) |
| @@ -109,17 +95,4 @@ theorem pointwise_time_derivative_of_classical | ||
| 109 | 95 | rw [projIcc_of_mem hT ⟨hr.1.le,hr.2.le⟩] |
| 110 | 96 | exact (hmatch ⟨r,hr.1.le,hr.2.le⟩ x).symm |
| 111 | 97 | |
| 112 | -theorem sobolev_evolution_of_classical | |
| 113 | - (u : ℝ × Space → Space) (p : ℝ × Space → ℝ) | |
| 114 | - (hmatch : ∀ (t : Icc (0 : ℝ) T) x, u (t,x)=(U t).field x) | |
| 115 | - (hgradient : ∀ (t : Icc (0 : ℝ) T) x, gradient (fun y => p (t,y)) x=(G t).field x) | |
| 116 | - (hdiff : ∀ t ∈ Ioo 0 T, ∀ x, DifferentiableAt ℝ u (t,x)) | |
| 117 | - (heuler : ∀ t ∈ Ioo 0 T, ∀ x, EulerLagrangian.momentumResidual u p (t,x)=0) | |
| 118 | - (q : ℕ) (t : Icc (0 : ℝ) T) : | |
| 119 | - HasDerivWithinAt (extendPath T hT (sobolevPath U hU q)) | |
| 120 | - (sobolevPath (rhs U hU G) (rhs_jet_continuous U hU G hG) q t) | |
| 121 | - (Icc (0 : ℝ) T) t := | |
| 122 | - sobolev_evolution T hT U G hU hG | |
| 123 | - (pointwise_time_derivative_of_classical T hT U G u p hmatch hgradient hdiff heuler) q t | |
| 124 | - | |
| 125 | 98 | end EulerSmoothEulerEvolution |
+0 −39 Euler/SmoothPhysicalGraphFlow.lean View file
| @@ -26,36 +26,6 @@ theorem graph_materialVelocity_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | ||
| 26 | 26 | rw [← graph_flow_cover k m T hT A hgraph] |
| 27 | 27 | rfl |
| 28 | 28 | |
| 29 | -include hgraph in | |
| 30 | -theorem graph_accelerationField_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 31 | - accelerationField T (graphCoefficient k m T A) (graphCoefficient k m T A₁) t x = | |
| 32 | - (accelerationField T A A₁ t (graphLinear k m x)).1 := by | |
| 33 | - let J := graphLinear k m | |
| 34 | - let L := fst ℝ Vector3 ℝ | |
| 35 | - have hd := (L.hasFDerivAt.comp x | |
| 36 | - (((A.smooth t).differentiable (by simp) (J x)).hasFDerivAt.comp x J.hasFDerivAt)).fderiv | |
| 37 | - change fderiv ℝ ((graphCoefficient k m T A).field t : Vector3 → Vector3) x = | |
| 38 | - L.comp ((fderiv ℝ (A.field t : LiftTangent → LiftTangent) (J x)).comp J) at hd | |
| 39 | - have hval : J (A.field t (J x)).1 = A.field t (J x) := by | |
| 40 | - apply Prod.ext | |
| 41 | - · rfl | |
| 42 | - · exact (sub_eq_zero.mp (hgraph t (J x))).symm | |
| 43 | - change (A₁.field t (J x)).1+ | |
| 44 | - fderiv ℝ ((graphCoefficient k m T A).field t : Vector3 → Vector3) x (A.field t (J x)).1 = _ | |
| 45 | - rw [hd,comp_apply,comp_apply,hval] | |
| 46 | - rfl | |
| 47 | - | |
| 48 | -include hgraph in | |
| 49 | -theorem graph_materialAcceleration_eq (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 50 | - materialAcceleration T hT (graphCoefficient k m T A) (graphCoefficient k m T A₁) t x = | |
| 51 | - (materialAcceleration T hT A A₁ t (graphLinear k m x)).1 := by | |
| 52 | - unfold materialAcceleration | |
| 53 | - rw [graph_accelerationField_eq k m T A A₁ hgraph] | |
| 54 | - change (accelerationField T A A₁ t (graphLinear k m | |
| 55 | - ((flowData T hT (graphCoefficient k m T A)).flow 0 t x))).1 = _ | |
| 56 | - rw [← graph_flow_cover k m T hT A hgraph] | |
| 57 | - rfl | |
| 58 | - | |
| 59 | 29 | def physicalCoefficient (ell : ℝ) : SmoothTimeField (Icc (0 : ℝ) T) Vector3 Vector3 := |
| 60 | 30 | scaledCoefficient T (graphCoefficient k m T A) ell |
| 61 | 31 | |
| @@ -85,15 +55,6 @@ theorem physical_materialVelocity_eq (ell : ℝ) (hell : ell ≠ 0) | ||
| 85 | 55 | rw [physicalCoefficient,scaled_materialVelocity_eq T hT (graphCoefficient k m T A) ell hell, |
| 86 | 56 | graph_materialVelocity_eq k m T hT A hgraph] |
| 87 | 57 | |
| 88 | -include hgraph in | |
| 89 | -theorem physical_materialAcceleration_eq (ell : ℝ) (hell : ell ≠ 0) | |
| 90 | - (t : Icc (0 : ℝ) T) (x : Vector3) : | |
| 91 | - materialAcceleration T hT (physicalCoefficient k m T A ell) (physicalCoefficient k m T A₁ ell) t x = | |
| 92 | - ell • (materialAcceleration T hT A A₁ t (graphLinear k m (ell⁻¹ • x))).1 := by | |
| 93 | - rw [physicalCoefficient,physicalCoefficient, | |
| 94 | - scaled_materialAcceleration_eq T hT (graphCoefficient k m T A) ell | |
| 95 | - (graphCoefficient k m T A₁) hell,graph_materialAcceleration_eq k m T hT A A₁ hgraph] | |
| 96 | - | |
| 97 | 58 | variable (hdiv : ∀ t z, |
| 98 | 59 | LinearMap.trace ℝ LiftTangent (fderiv ℝ (A.field t : LiftTangent → LiftTangent) z).toLinearMap=0) |
| 99 | 60 | |
+0 −21 Euler/SmoothScaledFlow.lean View file
| @@ -78,27 +78,6 @@ theorem scaledCoefficient_fderiv (hell : ell ≠ 0) (t : Icc (0 : ℝ) T) (x : E | ||
| 78 | 78 | ext v |
| 79 | 79 | simp only [FunLike.coe_smul,Pi.smul_apply,comp_apply,id_apply,map_smul,smul_smul,mul_inv_cancel₀ hell,one_smul] |
| 80 | 80 | |
| 81 | -omit [FiniteDimensional ℝ E] in | |
| 82 | -theorem scaled_accelerationField_eq | |
| 83 | - (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) (hell : ell ≠ 0) | |
| 84 | - (t : Icc (0 : ℝ) T) (x : E) : | |
| 85 | - accelerationField T (scaledCoefficient T A ell) (scaledCoefficient T A₁ ell) t x = | |
| 86 | - ell • accelerationField T A A₁ t (ell⁻¹ • x) := by | |
| 87 | - simp only [accelerationField,scaledCoefficient_apply,scaledCoefficient_fderiv T A ell hell, | |
| 88 | - map_smul,smul_add] | |
| 89 | - | |
| 90 | -theorem scaled_materialAcceleration_eq | |
| 91 | - (A₁ : SmoothTimeField (Icc (0 : ℝ) T) E E) (hell : ell ≠ 0) | |
| 92 | - (t : Icc (0 : ℝ) T) (x : E) : | |
| 93 | - materialAcceleration T hT (scaledCoefficient T A ell) (scaledCoefficient T A₁ ell) t x = | |
| 94 | - ell • materialAcceleration T hT A A₁ t (ell⁻¹ • x) := by | |
| 95 | - unfold materialAcceleration | |
| 96 | - rw [scaled_accelerationField_eq T A ell A₁ hell] | |
| 97 | - change ell • accelerationField T A A₁ t | |
| 98 | - (ell⁻¹ • (flowData T hT (scaledCoefficient T A ell)).flow 0 t x) = _ | |
| 99 | - rw [scaled_flow_eq T hT A ell hell,smul_smul,inv_mul_cancel₀ hell,one_smul] | |
| 100 | - rfl | |
| 101 | - | |
| 102 | 81 | omit [FiniteDimensional ℝ E] in |
| 103 | 82 | theorem scaledCoefficient_trace_zero (hell : ell ≠ 0) |
| 104 | 83 | (hdiv : ∀ t x, LinearMap.trace ℝ E (fderiv ℝ (A.field t : E → E) x).toLinearMap=0) |
+0 −8 Euler/SmoothTimeAmplitudeBounds.lean View file
| @@ -32,14 +32,6 @@ theorem coefficient_jet_norm (ε : ℝ) (hε : 0 < ε) | ||
| 32 | 32 | exact mul_le_mul (smul_id_norm_le ε⁻¹ (inv_nonneg.mpr hε.le)) |
| 33 | 33 | (A.compTime_jet_norm (timeMap ε hε) n) (norm_nonneg _) (inv_nonneg.mpr hε.le) |
| 34 | 34 | |
| 35 | -theorem derivativeCoefficient_jet_norm (ε : ℝ) (hε : 0 < ε) | |
| 36 | - (A : SmoothTimeField (Icc (0 : ℝ) 1) E V) (n : ℕ) : | |
| 37 | - ‖(derivativeCoefficient ε hε A).jet n‖ ≤ (ε⁻¹)^2*‖A.jet n‖ := by | |
| 38 | - apply ((A.compTime (timeMap ε hε)).map_jet_norm_le | |
| 39 | - ((ε⁻¹)^2 • ContinuousLinearMap.id ℝ V) n).trans | |
| 40 | - exact mul_le_mul (smul_id_norm_le ((ε⁻¹)^2) (sq_nonneg _)) | |
| 41 | - (A.compTime_jet_norm (timeMap ε hε) n) (norm_nonneg _) (sq_nonneg _) | |
| 42 | - | |
| 43 | 35 | theorem mapField_hasJetBound (a : ℝ) (ha : 0 ≤ a) (F : SmoothL2Field V) |
| 44 | 36 | (C R : ℝ) (hF : F.HasJetBound C R) : |
| 45 | 37 | (SmoothL2Field.mapField (a • ContinuousLinearMap.id ℝ V) F).HasJetBound (a*C) R := by |
+13 −0 routes/s1-euler-smooth-2/README.md added View file
| @@ -0,0 +1,13 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-smooth-2 | |
| 6 | + | |
| 7 | +Wave 2 of the family `Euler/Smooth*`: delete the 8 declarations of it that nothing uses, 95 lines in | |
| 8 | +`Euler/SmoothEulerEvolution.lean`, `Euler/SmoothPhysicalGraphFlow.lean`, `Euler/SmoothScaledFlow.lean` and | |
| 9 | +`Euler/SmoothTimeAmplitudeBounds.lean`. The diff is deletions only; no statement or proof that stays is changed. | |
| 10 | + | |
| 11 | +## Next | |
| 12 | + | |
| 13 | +Open the pull request. Anything further on this family is another unit of #10. | |