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.ComparatorBridge |
| 2 | |
| 3 | /-! |
| 4 | # Viscosity normalization for the whole-space comparator |
| 5 | |
| 6 | This version retains the comparator's square integrability and uniform kinetic |
| 7 | energy bound. It makes no periodicity or compact-support assumption on a |
| 8 | hypothetical global solution. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace NavierStokes.ComparatorBridge |
| 14 | |
| 15 | open Set MeasureTheory InnerProductSpace ProblemStatement |
| 16 | open scoped ContDiff Laplacian |
| 17 | |
| 18 | theorem zero_initial_condition_decay : |
| 19 | Comparator.InitialVelocityConditionDecay (fun _ : Space => (0 : Space)) := by |
| 20 | refine ⟨⟨fun x => Comparator.divergence_const 0 x, contDiff_const⟩, ?_⟩ |
| 21 | intro m K |
| 22 | exact ⟨0, by simp⟩ |
| 23 | |
| 24 | /-- A global whole-space solution in the original physical coordinates. -/ |
| 25 | structure GlobalSolutionRn (f : VelocityField) (v : VelocityField) (p : PressureField) : Prop where |
| 26 | velocity_smooth : ContDiffOn ℝ ∞ v futureDomain |
| 27 | pressure_smooth : ContDiffOn ℝ ∞ p futureDomain |
| 28 | initial_velocity : ∀ x : Space, v (0, x) = 0 |
| 29 | divergence_free : ∀ t : ℝ, 0 ≤ t → ∀ x : Space, spatialDivergence v t x = 0 |
| 30 | navier_stokes : ∀ t : ℝ, 0 < t → ∀ x : Space, navierStokesResidual v p t x = f (t, x) |
| 31 | integrable : ∀ t : ℝ, 0 ≤ t → MemLp (fun x : Space => ‖v (t, x)‖) 2 |
| 32 | globally_bounded_energy : ∃ E : ℝ, ∀ t : ℝ, 0 ≤ t → (∫ x : Space, ‖v (t, x)‖ ^ 2) < E |
| 33 | |
| 34 | theorem comparator_equation_Rn {ν : ℝ} {u₀ : Space → Space} {f v : Space → ℝ → Space} |
| 35 | {p : Space → ℝ → ℝ} |
| 36 | (h : Comparator.NavierStokesExistenceAndSmoothnessRn ν u₀ f v p) |
| 37 | {t : ℝ} (ht : 0 < t) (x : Space) : |
| 38 | temporalDerivative (fromComparator v) t x + advection (fromComparator v) t x - |
| 39 | ν • spatialLaplacian (fromComparator v) t x + |
| 40 | pressureGradient (fromComparator p) t x = f x t := by |
| 41 | have hv := smooth_space_slice (fromComparator_smooth h.velocity_smooth) ht.le |
| 42 | rw [temporalDerivative_eq _ ht, laplacian_eq _ _ _ |
| 43 | (hv.of_le (ENat.natCast_lt_of_coe_top_le_withTop le_rfl 2).le), gradient_eq] |
| 44 | change derivWithin (v x) (Ici 0) t + fderiv ℝ (v · t) x (v x t) - |
| 45 | ν • Δ (v · t) x + gradient (p · t) x = f x t |
| 46 | rw [h.navier_stokes x t ht.le] |
| 47 | abel |
| 48 | |
| 49 | end NavierStokes.ComparatorBridge |