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.SmallCorrectionBounds |
| 2 | import Euler.ExactLiftedPointwise |
| 3 | import Euler.PacketTimeAlgebra |
| 4 | |
| 5 | /-! For a static approximation the prescribed residual is exactly its |
| 6 | spatial convection, at every finite Sobolev order. This verifies the |
| 7 | equation input to the correction theorem rather than assuming it. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerSmallCorrection |
| 12 | |
| 13 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerLiftedGradientSpace EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 15 | EulerCylinderSobolevSpace EulerCylinderSobolev EulerCylinderSmoothOrbit |
| 16 | EulerPacketCylinderField EulerPacketProfileRecursion EulerCylinderPathProduct |
| 17 | EulerCorrectionResidualCancellation EulerSobolevCoefficientPressure |
| 18 | EulerConstantCorrection EulerVolterraConvolution EulerMetricTransport |
| 19 | EulerLiftedWeakDerivative |
| 20 | |
| 21 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} (G : Field P T raw) |
| 22 | |
| 23 | theorem fieldTower_pointField (t : Icc (0 : ℝ) T) : |
| 24 | G.toFieldTower.pointField t=pointField P G.path G.orbit t := |
| 25 | G.toFieldTower.pointField_unique t _ |
| 26 | (smoothField_continuous P _ (pointField_smooth P G.path G.orbit t)) |
| 27 | (pointField_ae P G.path G.orbit t) |
| 28 | |
| 29 | theorem nonlinearity_eq_residual (ε : ℝ) (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 30 | nonlinearity P ((input G ε).atOrder P q) hq t |
| 31 | ((G.smul ε).toFieldTower.realization (q+1) t) = |
| 32 | (residual G ε).toFieldTower.realization q t := by |
| 33 | apply value_injective P |
| 34 | rw [(residual G ε).toFieldTower_value] |
| 35 | apply Lp.ext |
| 36 | have hn := EulerAllOrderDriftCorrection.nonlinearity_value_ae P (input G ε) |
| 37 | (G.smul ε).toFieldTower q hq t |
| 38 | have hr := advectionPath_ae P (G.smul ε).path (G.smul ε).path |
| 39 | (G.smul ε).orbit (G.smul ε).orbit t |
| 40 | filter_upwards [hn,hr] with x hn hr |
| 41 | rw [hn] |
| 42 | change _ = advectionPath P (G.smul ε).path (G.smul ε).path |
| 43 | (G.smul ε).orbit (G.smul ε).orbit t x |
| 44 | rw [hr] |
| 45 | simp only [pointNonlinearity,input,data,tower,coefficient, |
| 46 | zero_apply,zero_add,smul_zero,Finset.sum_const_zero,add_zero, |
| 47 | transportDirection,one_smul,inner_zero_left] |
| 48 | rw [fieldTower_pointField (G.smul ε)] |
| 49 | |
| 50 | theorem zero_tower (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 51 | (Field.zero P T).toFieldTower.realization q t=0 := by |
| 52 | apply value_injective P |
| 53 | rw [(Field.zero P T).toFieldTower_value] |
| 54 | rfl |
| 55 | |
| 56 | theorem scaled_zero_tower (ε : ℝ) (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 57 | ((Field.zero P T).smul ε).toFieldTower.realization q t=0 := by |
| 58 | apply value_injective P |
| 59 | rw [((Field.zero P T).smul ε).toFieldTower_value] |
| 60 | change ε • (0 : LiftL2 P)=0 |
| 61 | exact smul_zero ε |
| 62 | |
| 63 | def approximationResidual (hT : 0 < T) (ε : ℝ) |
| 64 | (hstatic : TimeDerivative hT.le G (Field.zero P T)) : |
| 65 | ApproximationResidual P hT (input G ε) where |
| 66 | pressure := (Field.zero P T).toFieldTower |
| 67 | gradient _ := (gradientSpace P 1 (0 : Space)).zero_mem |
| 68 | equation q hq t ht := by |
| 69 | let s : Icc (0 : ℝ) T := ⟨t,ht.1.le,ht.2.le⟩ |
| 70 | have hd := ((G.smul ε).toFieldTower_hasDerivWithinAt ((Field.zero P T).smul ε) |
| 71 | hT.le (hstatic.smul ε) q s).hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 72 | rw [scaled_zero_tower ε q s] at hd |
| 73 | change HasDerivAt (extendPath T hT.le ((G.smul ε).toFieldTower.realization q)) |
| 74 | ((residual G ε).toFieldTower.realization q s- |
| 75 | nonlinearity P ((input G ε).atOrder P q) hq s |
| 76 | ((G.smul ε).toFieldTower.realization (q+1) s)- |
| 77 | coefficientSobolevOperator P ((input G ε).metric.jet q s) |
| 78 | ((Field.zero P T).toFieldTower.realization q s)) t |
| 79 | rw [nonlinearity_eq_residual G ε q hq s,zero_tower,sub_self,map_zero,sub_zero] |
| 80 | exact hd |
| 81 | |
| 82 | end EulerSmallCorrection |