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.OrdinaryAdvectionLimit |
| 2 | import Euler.OrdinaryStrongTime |
| 3 | |
| 4 | /-! A common-interval Euler limit constructed from genuine smooth Euler |
| 5 | evolutions. The only compactness inputs are actual uniform Sobolev |
| 6 | bounds and L² Cauchy convergence. The nonlinear term, pressure, and |
| 7 | time equation are all recovered in the proof. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev |
| 12 | |
| 13 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 15 | EulerVolterraConvolution EulerContinuousTimeIntegral |
| 16 | open scoped ContDiff Topology |
| 17 | |
| 18 | namespace SmoothLimitData |
| 19 | |
| 20 | variable {T : ℝ} {hT : 0 ≤ T} {V : ℕ → Evolution T hT} |
| 21 | (L : SmoothLimitData (fun k => (V k).velocity) (fun k => (V k).velocity_continuous)) |
| 22 | |
| 23 | theorem field_mem_solenoidal (t : Icc (0 : ℝ) T) : (L.field t).toLp ∈ solenoidalSpace := |
| 24 | gradientSpace.isClosed_orthogonal.mem_of_tendsto (L.toLp_convergence t) |
| 25 | (Eventually.of_forall (fun k => (V k).solenoidal t)) |
| 26 | |
| 27 | theorem field_integral_equation (hpos : 0 < T) (M : ℝ) |
| 28 | (hb : ∀ k t, tensorNorm 3 ((V k).velocity t) ≤ M) (t : Icc (0 : ℝ) T) : |
| 29 | (L.field t).toLp=(L.field ⟨0,le_rfl,hT⟩).toLp+ |
| 30 | integral T hT (projectedRhsPath L.field L.field_continuous) t := by |
| 31 | have hg := L.projectedRhsPath_convergence hT M hb |
| 32 | have hi := (ContinuousMap.evalCLM ℝ t).continuous.tendsto |
| 33 | (integral T hT (projectedRhsPath L.field L.field_continuous)) |>.comp |
| 34 | (((integral (E := L2) T hT).continuous.tendsto _).comp hg) |
| 35 | have hsum := (L.toLp_convergence ⟨0,le_rfl,hT⟩).add hi |
| 36 | have he (k : ℕ) : ((V k).velocity t).toLp=((V k).velocity ⟨0,le_rfl,hT⟩).toLp+ |
| 37 | integral T hT (projectedRhsPath (V k).velocity (V k).velocity_continuous) t := by |
| 38 | have h := congrArg (fun p : C(Icc (0 : ℝ) T,L2) => p t) ((V k).velocity_integral_equation hpos) |
| 39 | simpa only [Evolution.velocityPath_apply,ContinuousMap.add_apply,ContinuousMap.const_apply, |
| 40 | Evolution.projectedPath,projectedRhsPath] using h |
| 41 | exact tendsto_nhds_unique (L.toLp_convergence t) (hsum.congr (fun k => (he k).symm)) |
| 42 | |
| 43 | theorem field_hasDerivWithinAt (hpos : 0 < T) (M : ℝ) |
| 44 | (hb : ∀ k t, tensorNorm 3 ((V k).velocity t) ≤ M) (t : Icc (0 : ℝ) T) : |
| 45 | HasDerivWithinAt (fun r => (L.field (projIcc 0 T hT r)).toLp) |
| 46 | (projectedRhs (L.field t)).toLp (Icc (0 : ℝ) T) t := by |
| 47 | have he : (fun r => (L.field (projIcc 0 T hT r)).toLp)= |
| 48 | fun r => (L.field ⟨0,le_rfl,hT⟩).toLp+ |
| 49 | extendPath T hT (integral T hT (projectedRhsPath L.field L.field_continuous)) r := by |
| 50 | funext r |
| 51 | exact L.field_integral_equation hpos M hb (projIcc 0 T hT r) |
| 52 | rw [he] |
| 53 | exact (integral_hasDerivWithinAt T hT (projectedRhsPath L.field L.field_continuous) t).const_add _ |
| 54 | |
| 55 | def toEvolution (hpos : 0 < T) (M : ℝ) |
| 56 | (hb : ∀ k t, tensorNorm 3 ((V k).velocity t) ≤ M) : Evolution T hT where |
| 57 | velocity := L.field |
| 58 | pressureForce t := pressureField (L.field t) |
| 59 | velocity_continuous := L.field_continuous |
| 60 | pressure_continuous := pressureField_continuous L.field L.field_continuous |
| 61 | solenoidal := L.field_mem_solenoidal |
| 62 | gradient t := pressureField_mem_gradient (L.field t) |
| 63 | time_law t ht x := by |
| 64 | have hd : ∀ r (hr : r ∈ Ioo 0 T), |
| 65 | HasDerivAt (fun s => (L.field (projIcc 0 T hT s)).toLp) |
| 66 | (projectedRhs (L.field ⟨r,hr.1.le,hr.2.le⟩)).toLp r := by |
| 67 | intro r hr |
| 68 | exact (L.field_hasDerivWithinAt hpos M hb ⟨r,hr.1.le,hr.2.le⟩).hasDerivAt |
| 69 | (Icc_mem_nhds hr.1 hr.2) |
| 70 | have h := pointwise_derivative_of_l2 T hT L.field (fun s => projectedRhs (L.field s)) |
| 71 | L.field_continuous (projectedRhs_continuous L.field L.field_continuous) hd |
| 72 | ⟨t,ht.1.le,ht.2.le⟩ x |
| 73 | simpa only [projectedRhs_field] using h.hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 74 | |
| 75 | end SmoothLimitData |
| 76 | |
| 77 | variable {T : ℝ} {hT : 0 ≤ T} |
| 78 | |
| 79 | def eulerLimitData (V : ℕ → Evolution T hT) |
| 80 | (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) |
| 81 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) : |
| 82 | SmoothLimitData (fun k => (V k).velocity) (fun k => (V k).velocity_continuous) := |
| 83 | smoothLimitData hT (fun k => (V k).velocity) (fun k => (V k).velocity_continuous) hb h0 |
| 84 | |
| 85 | def limitEvolution (V : ℕ → Evolution T hT) (hpos : 0 < T) |
| 86 | (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) |
| 87 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) : Evolution T hT := |
| 88 | (eulerLimitData V hb h0).toEvolution hpos (Classical.choose (hb 3)) (Classical.choose_spec (hb 3)) |
| 89 | |
| 90 | theorem limitEvolution_jet_convergence (V : ℕ → Evolution T hT) (hpos : 0 < T) |
| 91 | (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) |
| 92 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) (q : ℕ) : |
| 93 | Tendsto (fun k => jetPath (V k).velocity (V k).velocity_continuous q) atTop |
| 94 | (𝓝 (jetPath (limitEvolution V hpos hb h0).velocity |
| 95 | (limitEvolution V hpos hb h0).velocity_continuous q)) := |
| 96 | (eulerLimitData V hb h0).jetPath_convergence q |
| 97 | |
| 98 | theorem limitEvolution_initial (V : ℕ → Evolution T hT) (hpos : 0 < T) |
| 99 | (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) |
| 100 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) |
| 101 | (u0 : L2) (hu0 : Tendsto (fun k => ((V k).velocity ⟨0,le_rfl,hT⟩).toLp) atTop (𝓝 u0)) : |
| 102 | ((limitEvolution V hpos hb h0).velocity ⟨0,le_rfl,hT⟩).toLp=u0 := |
| 103 | tendsto_nhds_unique ((eulerLimitData V hb h0).toLp_convergence ⟨0,le_rfl,hT⟩) hu0 |
| 104 | |
| 105 | theorem limitEvolution_bound (V : ℕ → Evolution T hT) (hpos : 0 < T) |
| 106 | (hb : ∀ q, ∃ M : ℝ, ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) |
| 107 | (h0 : CauchySeq (fun k => fieldPath (V k).velocity (V k).velocity_continuous)) |
| 108 | (q : ℕ) (M : ℝ) (hM : ∀ k t, tensorNorm q ((V k).velocity t) ≤ M) (t : Icc (0 : ℝ) T) : |
| 109 | tensorNorm q ((limitEvolution V hpos hb h0).velocity t) ≤ M := |
| 110 | (eulerLimitData V hb h0).tensorNorm_bound q M hM t |
| 111 | |
| 112 | namespace Evolution |
| 113 | |
| 114 | def scalarPressure (U : Evolution T hT) (t : Icc (0 : ℝ) T) : Space → ℝ := |
| 115 | EulerCanonicalGraphPotential.radialPotential (U.pressureForce t).field |
| 116 | |
| 117 | theorem scalarPressure_spec (U : Evolution T hT) (t : Icc (0 : ℝ) T) : |
| 118 | ContDiff ℝ ∞ (U.scalarPressure t) ∧ U.scalarPressure t 0=0 ∧ |
| 119 | ∀ x, _root_.gradient (U.scalarPressure t) x=(U.pressureForce t).field x := |
| 120 | EulerMeanPressure.gradientSpace_radial_potential (U.pressureForce t).toLp (U.gradient t) |
| 121 | (U.pressureForce t).field (U.pressureForce t).toLp_ae (U.pressureForce t).smooth |
| 122 | |
| 123 | end Evolution |
| 124 | end EulerOrdinarySobolev |