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 NavierStokes.GenericVelocityRates |
| 2 | |
| 3 | noncomputable section |
| 4 | |
| 5 | namespace NavierStokes.GenericTupleRealization |
| 6 | |
| 7 | open Set Filter ProblemStatement DiagonalResidual GenericRealizationBounds GenericDifferentialPolynomial |
| 8 | open GenericSolenoidalRealization GenericRealization |
| 9 | open scoped Topology ContDiff BigOperators |
| 10 | |
| 11 | abbrev Entry (κ : Type*) := Bool ⊕ κ |
| 12 | |
| 13 | def Value {κ : Type*} : Entry κ → Type |
| 14 | | .inl _ => Space |
| 15 | | .inr _ => ℝ |
| 16 | |
| 17 | instance {κ : Type*} (e : Entry κ) : NormedAddCommGroup (Value e) := |
| 18 | match e with |
| 19 | | .inl _ => inferInstanceAs (NormedAddCommGroup Space) |
| 20 | | .inr _ => inferInstanceAs (NormedAddCommGroup ℝ) |
| 21 | |
| 22 | instance {κ : Type*} (e : Entry κ) : NormedSpace ℝ (Value e) := |
| 23 | match e with |
| 24 | | .inl _ => inferInstanceAs (NormedSpace ℝ Space) |
| 25 | | .inr _ => inferInstanceAs (NormedSpace ℝ ℝ) |
| 26 | |
| 27 | def representatives {κ : Type*} (A B : ℕ → VelocityField) (R : κ → ℕ → PressureField) : |
| 28 | ∀ e : Entry κ, ℕ → SpaceTime → Value e |
| 29 | | .inl false => A |
| 30 | | .inl true => B |
| 31 | | .inr k => R k |
| 32 | |
| 33 | /-- The optional scalar entries comprise pressure and any finite stress |
| 34 | components. Taking a singleton retains pressure alone. -/ |
| 35 | def components {κ : Type*} (a : ℕ → ℝ) (q : SpaceTime → ℝ) |
| 36 | (u0 : VelocityField) (s0 : κ → PressureField) |
| 37 | (A B : ℕ → VelocityField) (R : κ → ℕ → PressureField) : |
| 38 | Fin 3 ⊕ κ → PressureField |
| 39 | | .inl i => fun w => positiveVelocity a q u0 A B w i |
| 40 | | .inr k => realized a q (s0 k) (R k) |
| 41 | |
| 42 | def stageComponents {κ : Type*} (u0 : VelocityField) (s0 : κ → PressureField) |
| 43 | (A B : ℕ → VelocityField) (R : κ → ℕ → PressureField) (J : ℕ) : |
| 44 | Fin 3 ⊕ κ → PressureField |
| 45 | | .inl i => fun w => positiveStage u0 A B J w i |
| 46 | | .inr k => stage (s0 k) (R k) J |
| 47 | |
| 48 | structure Result {κ : Type*} (U : Set SpaceTime) (q : SpaceTime → ℝ) |
| 49 | (u0 : VelocityField) (s0 : κ → PressureField) |
| 50 | (A B : ℕ → VelocityField) (R : κ → ℕ → PressureField) |
| 51 | (g L : ℕ → ℝ) (a : ℕ → ℕ) : Prop where |
| 52 | positive : ∀ j, 0 < a j |
| 53 | doubling : ∀ j, 2 * a j ≤ a (j + 1) |
| 54 | monotone : StrictMono a |
| 55 | tends : Tendsto (fun j => (a j : ℝ)) atTop atTop |
| 56 | locallyFinite_representatives : ∀ e, LocallyFinite (fun j => Function.support |
| 57 | (fun w : U => SolenoidalDiagonal.cutStage (fun j => (a j : ℝ)) q |
| 58 | (CutStageEstimates.positiveStages (representatives A B R e)) j w)) |
| 59 | smooth_velocity : ContDiffOn ℝ ∞ (positiveVelocity (fun j => (a j : ℝ)) q u0 A B) U |
| 60 | smooth_scalars : ∀ k, ContDiffOn ℝ ∞ (realized (fun j => (a j : ℝ)) q (s0 k) (R k)) U |
| 61 | divergence : ∀ w ∈ U, spatialDivergence (positiveVelocity (fun j => (a j : ℝ)) q u0 A B) w.1 w.2 = 0 |
| 62 | approximation : ∀ i, Nonempty (ApproximationRates (scaleApproach U q) q (fun J => g (J + 1) / 2) |
| 63 | (components (fun j => (a j : ℝ)) q u0 s0 A B R i) (fun J => stageComponents u0 s0 A B R J i)) |
| 64 | tail_velocity : ∀ w ∈ U, ∀ J m, m ≤ J + 2 → q w < 1 / (2 * (a J : ℝ)) → |
| 65 | ‖iteratedFDeriv ℝ m (fun y => positiveVelocity (fun j => (a j : ℝ)) q u0 A B y - |
| 66 | positiveStage u0 A B J y) w‖ ≤ (1 / 2 : ℝ) ^ J * q w ^ |
| 67 | (g (J + 1) / 2 - (max (CutStageEstimates.cutLoss L (m + 1)) (CutStageEstimates.cutLoss L m) + 1)) |
| 68 | tail_scalars : ∀ k w, w ∈ U → ∀ J m, m ≤ J + 3 → q w < 1 / (2 * (a J : ℝ)) → |
| 69 | ‖iteratedFDeriv ℝ m (fun y => realized (fun j => (a j : ℝ)) q (s0 k) (R k) y - |
| 70 | stage (s0 k) (R k) J y) w‖ ≤ |
| 71 | (1 / 2 : ℝ) ^ J * q w ^ (g (J + 1) / 2 - CutStageEstimates.cutLoss L m) |
| 72 | outer_velocity : ∀ w, ContinuousAt q w → 1 / (a 0 : ℝ) < q w → |
| 73 | positiveVelocity (fun j => (a j : ℝ)) q u0 A B =ᶠ[𝓝 w] u0 |
| 74 | outer_scalars : ∀ k w, ContinuousAt q w → 1 / (a 0 : ℝ) < q w → |
| 75 | realized (fun j => (a j : ℝ)) q (s0 k) (R k) =ᶠ[𝓝 w] s0 k |
| 76 | |
| 77 | end NavierStokes.GenericTupleRealization |