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.BoundedFlowContinuity |
| 2 | |
| 3 | /-! Construction of the flow and its continuous inverse from a genuine |
| 4 | bounded continuous velocity on the prescribed finite time interval. |
| 5 | Endpoint extension only defines the auxiliary velocity outside that |
| 6 | interval; all stated ODE identities use the original velocity. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | open Set Metric |
| 11 | open scoped Topology NNReal BoundedContinuousFunction |
| 12 | |
| 13 | namespace EulerBoundedLipschitzFlow |
| 14 | |
| 15 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | |
| 17 | def ofTimeInterval (T : ℝ) (hT : 0 ≤ T) |
| 18 | (u : C(Icc (0 : ℝ) T, E →ᵇ E)) (K : ℝ≥0) |
| 19 | (hLip : ∀ t, LipschitzWith K (u t)) : Data E where |
| 20 | velocity t x := u (projIcc 0 T hT t) x |
| 21 | continuous := by fun_prop |
| 22 | lipschitzConstant := K |
| 23 | lipschitz t := hLip (projIcc 0 T hT t) |
| 24 | speedBound := ‖u‖₊ |
| 25 | speed t x := ((u (projIcc 0 T hT t)).norm_coe_le_norm x).trans |
| 26 | (u.norm_coe_le_norm (projIcc 0 T hT t)) |
| 27 | |
| 28 | omit [NormedSpace ℝ E] in |
| 29 | @[simp] theorem ofTimeInterval_velocity (T : ℝ) (hT : 0 ≤ T) |
| 30 | (u : C(Icc (0 : ℝ) T, E →ᵇ E)) (K : ℝ≥0) |
| 31 | (hLip : ∀ t, LipschitzWith K (u t)) (t : Icc (0 : ℝ) T) (x : E) : |
| 32 | (ofTimeInterval T hT u K hLip).velocity t x = u t x := by |
| 33 | simp only [ofTimeInterval, projIcc_of_mem _ t.property] |
| 34 | |
| 35 | variable [CompleteSpace E] |
| 36 | |
| 37 | end EulerBoundedLipschitzFlow |