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.R3.ComparisonSetup |
| 2 | |
| 3 | /-! |
| 4 | # The differential operator norm and the coordinate gradient energy |
| 5 | |
| 6 | The three coordinate derivatives control the operator norm of the full |
| 7 | derivative. These pointwise estimates do not require differentiability: Lean's |
| 8 | totalized `fderiv` is a continuous linear map for every function. |
| 9 | -/ |
| 10 | |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open scoped BigOperators ContDiff |
| 15 | |
| 16 | namespace NavierStokesR3.GradientOperator |
| 17 | |
| 18 | open ProblemStatement Comparison |
| 19 | |
| 20 | theorem gradientSq_nonneg (w : Space → Space) (x : Space) : |
| 21 | 0 ≤ gradientSq w x := |
| 22 | Finset.sum_nonneg fun _ _ => sq_nonneg _ |
| 23 | |
| 24 | theorem partial_norm_le_sqrt_gradientSq (w : Space → Space) (x : Space) |
| 25 | (i : Fin 3) : |
| 26 | ‖partialD i w x‖ ≤ Real.sqrt (gradientSq w x) := by |
| 27 | apply Real.le_sqrt_of_sq_le |
| 28 | exact Finset.single_le_sum (fun j _ => sq_nonneg ‖partialD j w x‖) |
| 29 | (Finset.mem_univ i) |
| 30 | |
| 31 | /-- The derivative applied to a vector, expanded in the standard coordinate |
| 32 | basis. -/ |
| 33 | theorem fderiv_apply_eq_sum (w : Space → Space) (x v : Space) : |
| 34 | fderiv ℝ w x v = ∑ i : Fin 3, v i • partialD i w x := by |
| 35 | conv_lhs => rw [← NavierStokes.PeriodicUniqueness.sum_coordinates v] |
| 36 | simp only [map_sum, map_smul] |
| 37 | rfl |
| 38 | |
| 39 | theorem norm_fderiv_le_three_mul_sqrt_gradientSq (w : Space → Space) (x : Space) : |
| 40 | ‖fderiv ℝ w x‖ ≤ 3 * Real.sqrt (gradientSq w x) := by |
| 41 | apply (fderiv ℝ w x).opNorm_le_bound (by positivity) |
| 42 | intro v |
| 43 | rw [fderiv_apply_eq_sum] |
| 44 | calc |
| 45 | ‖∑ i : Fin 3, v i • partialD i w x‖ |
| 46 | ≤ ∑ i : Fin 3, ‖v i • partialD i w x‖ := norm_sum_le _ _ |
| 47 | _ ≤ ∑ _i : Fin 3, ‖v‖ * Real.sqrt (gradientSq w x) := by |
| 48 | apply Finset.sum_le_sum |
| 49 | intro i _ |
| 50 | rw [norm_smul] |
| 51 | exact mul_le_mul (PiLp.norm_apply_le v i) |
| 52 | (partial_norm_le_sqrt_gradientSq w x i) (norm_nonneg _) (norm_nonneg _) |
| 53 | _ = (3 * Real.sqrt (gradientSq w x)) * ‖v‖ := by |
| 54 | simp |
| 55 | ring |
| 56 | |
| 57 | theorem continuous_gradientSq {w : Space → Space} (hw : ContDiff ℝ 1 w) : |
| 58 | Continuous (gradientSq w) := by |
| 59 | unfold gradientSq |
| 60 | exact continuous_finsetSum _ fun i _ => |
| 61 | (NavierStokes.PeriodicIntegration.continuous_partial hw i).norm.pow 2 |
| 62 | |
| 63 | end NavierStokesR3.GradientOperator |