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

| 1 | import Euler.OrdinaryEulerRescaling |
| 2 | import Euler.OrdinaryEulerUniqueness |
| 3 | import Euler.OrdinaryGradientLimit |
| 4 | |
| 5 | /-! A genuine smooth endpoint under a finite gradient integral. Shorter |
| 6 | Euler solutions are rescaled to a common interval; the already proved |
| 7 | smooth limit supplies the endpoint, and uniqueness identifies it with |
| 8 | every original partial solution. No analytic radius is assumed. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerOrdinarySobolev |
| 13 | |
| 14 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 15 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 16 | open scoped Topology |
| 17 | |
| 18 | def endpointScale (n : ℕ) : ℝ := 1-1/((n : ℝ)+2) |
| 19 | |
| 20 | theorem endpointScale_pos (n : ℕ) : 0 < endpointScale n := by |
| 21 | have hn : (0 : ℝ) ≤ n := Nat.cast_nonneg n |
| 22 | have h : 1/((n : ℝ)+2) < 1 := (div_lt_one (by positivity)).mpr (by linarith) |
| 23 | dsimp [endpointScale] |
| 24 | linarith |
| 25 | |
| 26 | theorem endpointScale_lt_one (n : ℕ) : endpointScale n < 1 := by |
| 27 | have h : 0 < 1/((n : ℝ)+2) := by positivity |
| 28 | dsimp [endpointScale] |
| 29 | linarith |
| 30 | |
| 31 | theorem endpointScale_tendsto : Tendsto endpointScale atTop (𝓝 1) := by |
| 32 | have hi : Tendsto (fun n : ℕ => ((n : ℝ)+2)⁻¹) atTop (𝓝 0) := |
| 33 | tendsto_inv_atTop_zero.comp |
| 34 | (Filter.tendsto_atTop_add_const_right atTop (2 : ℝ) tendsto_natCast_atTop_atTop) |
| 35 | change Tendsto (fun n : ℕ => 1-1/((n : ℝ)+2)) atTop (𝓝 1) |
| 36 | simpa only [one_div,sub_zero] using |
| 37 | (show Tendsto (fun _n : ℕ => (1 : ℝ)) atTop (𝓝 1) from tendsto_const_nhds).sub hi |
| 38 | |
| 39 | theorem exists_smooth_endpoint (T : ℝ) (hT : 0 < T) (A : SmoothL2Field Space) (G : ℝ) |
| 40 | (hpartial : ∀ S (hS : 0 < S), S < T → |
| 41 | ∃ U : Evolution S hS.le, U.velocity ⟨0,le_rfl,hS.le⟩=A ∧ |
| 42 | ∀ t, U.gradientIntegral t ≤ G) : |
| 43 | ∃ U : Evolution T hT.le, U.velocity ⟨0,le_rfl,hT.le⟩=A := by |
| 44 | have hsol (n : ℕ) : |
| 45 | ∃ U : Evolution (endpointScale n*T) (mul_nonneg (endpointScale_pos n).le hT.le), |
| 46 | U.velocity ⟨0,le_rfl,mul_nonneg (endpointScale_pos n).le hT.le⟩=A ∧ |
| 47 | ∀ t, U.gradientIntegral t ≤ G := by |
| 48 | exact hpartial (endpointScale n*T) (mul_pos (endpointScale_pos n) hT) |
| 49 | (by simpa only [one_mul] using mul_lt_mul_of_pos_right (endpointScale_lt_one n) hT) |
| 50 | choose U hinit hgrad using hsol |
| 51 | let V : ℕ → Evolution T hT.le := fun n => |
| 52 | (U n).rescale T hT.le (endpointScale n) (endpointScale_pos n) le_rfl |
| 53 | have hv0 (n : ℕ) : (V n).velocity ⟨0,le_rfl,hT.le⟩=scaleField (endpointScale n) A := by |
| 54 | exact ((U n).rescale_initial T hT.le (endpointScale n) (endpointScale_pos n) le_rfl).trans |
| 55 | (congrArg (scaleField (endpointScale n)) (hinit n)) |
| 56 | let M := gradientTensorBound (tensorNorm 3 A) G |
| 57 | have hb (n : ℕ) (t : Icc (0 : ℝ) T) : tensorNorm 3 ((V n).velocity t) ≤ M := by |
| 58 | apply (tensorNorm_scaleField_le (endpointScale n) (endpointScale_pos n).le |
| 59 | (endpointScale_lt_one n).le _ 3).trans |
| 60 | apply (U n).h3_tensorNorm_gradient_uniform (tensorNorm 3 A) G _ (hgrad n) |
| 61 | rw [hinit] |
| 62 | have hb0 : ∀ q, ∃ C : ℝ, ∀ n, tensorNorm q ((V n).velocity ⟨0,le_rfl,hT.le⟩) ≤ C := by |
| 63 | intro q |
| 64 | refine ⟨tensorNorm q A,fun n => ?_⟩ |
| 65 | rw [hv0] |
| 66 | exact tensorNorm_scaleField_le (endpointScale n) (endpointScale_pos n).le |
| 67 | (endpointScale_lt_one n).le A q |
| 68 | have hc : Tendsto (fun n => ((V n).velocity ⟨0,le_rfl,hT.le⟩).toLp) atTop (𝓝 A.toLp) := by |
| 69 | simp_rw [hv0,scaleField_toLp] |
| 70 | simpa only [one_smul] using endpointScale_tendsto.smul_const A.toLp |
| 71 | let W := limitEvolutionOfH3 V hT M hb hb0 hc.cauchySeq |
| 72 | refine ⟨W,smoothField_eq_of_toLp_eq _ A ?_⟩ |
| 73 | exact limitEvolutionOfH3_initial V hT M hb hb0 hc.cauchySeq A.toLp hc |
| 74 | |
| 75 | theorem endpoint_matches_partial {T : ℝ} {hT : 0 ≤ T} |
| 76 | (W : Evolution T hT) (A : SmoothL2Field Space) |
| 77 | (hW : W.velocity ⟨0,le_rfl,hT⟩=A) |
| 78 | (S : ℝ) (hS : 0 < S) (hST : S ≤ T) (U : Evolution S hS.le) |
| 79 | (hU : U.velocity ⟨0,le_rfl,hS.le⟩=A) (t : Icc (0 : ℝ) S) : |
| 80 | W.velocity ⟨t,t.property.1,t.property.2.trans hST⟩=U.velocity t ∧ |
| 81 | W.pressureForce ⟨t,t.property.1,t.property.2.trans hST⟩=U.pressureForce t := by |
| 82 | let R := W.restrictTime S hS.le hST |
| 83 | have hi : (U.velocity ⟨0,le_rfl,hS.le⟩).toLp=(R.velocity ⟨0,le_rfl,hS.le⟩).toLp := by |
| 84 | rw [hU] |
| 85 | change A.toLp=(W.velocity ⟨0,le_rfl,hT⟩).toLp |
| 86 | rw [hW] |
| 87 | exact ⟨(R.velocity_eq_of_initial U hi t).symm,(R.pressure_eq_of_initial U hS hi t).symm⟩ |
| 88 | |
| 89 | theorem exists_smooth_endpoint_extension (T : ℝ) (hT : 0 < T) |
| 90 | (A : SmoothL2Field Space) (G : ℝ) |
| 91 | (hpartial : ∀ S (hS : 0 < S), S < T → |
| 92 | ∃ U : Evolution S hS.le, U.velocity ⟨0,le_rfl,hS.le⟩=A ∧ |
| 93 | ∀ t, U.gradientIntegral t ≤ G) : |
| 94 | ∃ W : Evolution T hT.le, W.velocity ⟨0,le_rfl,hT.le⟩=A ∧ |
| 95 | ∀ S (hS : 0 < S) (hST : S ≤ T) (U : Evolution S hS.le), |
| 96 | U.velocity ⟨0,le_rfl,hS.le⟩=A → ∀ t : Icc (0 : ℝ) S, |
| 97 | W.velocity ⟨t,t.property.1,t.property.2.trans hST⟩=U.velocity t ∧ |
| 98 | W.pressureForce ⟨t,t.property.1,t.property.2.trans hST⟩=U.pressureForce t := by |
| 99 | obtain ⟨W,hW⟩ := exists_smooth_endpoint T hT A G hpartial |
| 100 | exact ⟨W,hW,fun S hS hST U hU t => endpoint_matches_partial W A hW S hS hST U hU t⟩ |
| 101 | |
| 102 | end EulerOrdinarySobolev |