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.OrdinaryL2Integration |
| 2 | import Euler.OrdinaryFieldAlgebra |
| 3 | |
| 4 | /-! The sharp middle-derivative interpolation needed by H³ Euler |
| 5 | energy. Everything is an actual smooth L² field. Cubic testing and |
| 6 | noncompact integration by parts prove the L⁴ inequality without a |
| 7 | support or interpolation hypothesis. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev |
| 12 | |
| 13 | open MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 15 | |
| 16 | theorem scalarProduct_norm_square (A B : SmoothL2Field ℝ) : |
| 17 | ‖(scalarProduct A B).toLp‖^2 = |
| 18 | ⟪(scalarProduct A A).toLp,(scalarProduct B B).toLp⟫_ℝ := by |
| 19 | rw [← real_inner_self_eq_norm_sq,field_inner,field_inner] |
| 20 | apply integral_congr_ae |
| 21 | filter_upwards with x |
| 22 | simp only [scalarProduct_field,RCLike.inner_apply,conj_trivial,smul_eq_mul] |
| 23 | ring |
| 24 | |
| 25 | theorem directional_square_identity (A : SmoothL2Field ℝ) (v : Space) : |
| 26 | ‖(scalarProduct (A.directionalField v) (A.directionalField v)).toLp‖^2 = |
| 27 | -3*⟪(scalarProduct A |
| 28 | (scalarProduct (A.directionalField v) (A.directionalField v))).toLp, |
| 29 | ((A.directionalField v).directionalField v).toLp⟫_ℝ := by |
| 30 | let B := A.directionalField v |
| 31 | let S := scalarProduct B B |
| 32 | let C := scalarProduct B S |
| 33 | have hs : ⟪B.toLp,C.toLp⟫_ℝ = ‖S.toLp‖^2 := by |
| 34 | rw [← real_inner_self_eq_norm_sq,field_inner,field_inner] |
| 35 | apply integral_congr_ae |
| 36 | filter_upwards with x |
| 37 | simp only [C,S,scalarProduct_field,RCLike.inner_apply,conj_trivial,smul_eq_mul] |
| 38 | ring |
| 39 | have hd : ⟪A.toLp,(C.directionalField v).toLp⟫_ℝ = |
| 40 | 3*⟪(scalarProduct A S).toLp,(B.directionalField v).toLp⟫_ℝ := by |
| 41 | rw [field_inner,field_inner,← integral_const_mul] |
| 42 | apply integral_congr_ae |
| 43 | filter_upwards with x |
| 44 | simp only [C,S,scalarProduct_directional,addField_field,scalarProduct_field, |
| 45 | RCLike.inner_apply,conj_trivial,smul_eq_mul] |
| 46 | ring |
| 47 | have hi := field_directional_inner A C v |
| 48 | change ⟪B.toLp,C.toLp⟫_ℝ = -⟪A.toLp,(C.directionalField v).toLp⟫_ℝ at hi |
| 49 | rw [hs,hd] at hi |
| 50 | change ‖S.toLp‖^2 = -3*⟪(scalarProduct A S).toLp,(B.directionalField v).toLp⟫_ℝ |
| 51 | linarith |
| 52 | |
| 53 | theorem directional_square_norm (A : SmoothL2Field ℝ) (v : Space) |
| 54 | (K : ℝ) (hK : ∀ x, ‖A.field x‖ ≤ K) : |
| 55 | ‖(scalarProduct (A.directionalField v) (A.directionalField v)).toLp‖ ≤ |
| 56 | 3*K*‖((A.directionalField v).directionalField v).toLp‖ := by |
| 57 | let S := scalarProduct (A.directionalField v) (A.directionalField v) |
| 58 | let Z := (A.directionalField v).directionalField v |
| 59 | have hK0 : 0 ≤ K := (norm_nonneg (A.field 0)).trans (hK 0) |
| 60 | have hb := scalarProduct_norm_left A S K hK |
| 61 | have hi := directional_square_identity A v |
| 62 | change ‖S.toLp‖^2 = -3*⟪(scalarProduct A S).toLp,Z.toLp⟫_ℝ at hi |
| 63 | have hs : ‖S.toLp‖^2 ≤ (3*K*‖Z.toLp‖)*‖S.toLp‖ := by |
| 64 | calc |
| 65 | _ ≤ 3*|⟪(scalarProduct A S).toLp,Z.toLp⟫_ℝ| := by |
| 66 | rw [hi] |
| 67 | have h := neg_le_abs ⟪(scalarProduct A S).toLp,Z.toLp⟫_ℝ |
| 68 | linarith |
| 69 | _ ≤ 3*(‖(scalarProduct A S).toLp‖*‖Z.toLp‖) := |
| 70 | mul_le_mul_of_nonneg_left (abs_real_inner_le_norm _ _) (by norm_num) |
| 71 | _ ≤ 3*((K*‖S.toLp‖)*‖Z.toLp‖) := |
| 72 | mul_le_mul_of_nonneg_left |
| 73 | (mul_le_mul_of_nonneg_right hb (norm_nonneg _)) (by norm_num) |
| 74 | _ = _ := by ring |
| 75 | change ‖S.toLp‖ ≤ 3*K*‖Z.toLp‖ |
| 76 | have hc : 0 ≤ 3*K*‖Z.toLp‖ := by positivity |
| 77 | nlinarith [norm_nonneg S.toLp] |
| 78 | |
| 79 | theorem scalarProduct_norm_of_square_bounds (A B : SmoothL2Field ℝ) |
| 80 | (C : ℝ) (hC : 0 ≤ C) |
| 81 | (hA : ‖(scalarProduct A A).toLp‖ ≤ C) |
| 82 | (hB : ‖(scalarProduct B B).toLp‖ ≤ C) : |
| 83 | ‖(scalarProduct A B).toLp‖ ≤ C := by |
| 84 | have hs : ‖(scalarProduct A B).toLp‖^2 ≤ C^2 := by |
| 85 | rw [scalarProduct_norm_square] |
| 86 | exact (real_inner_le_norm _ _).trans |
| 87 | ((mul_le_mul hA hB (norm_nonneg _) hC).trans_eq (by ring)) |
| 88 | nlinarith [norm_nonneg (scalarProduct A B).toLp] |
| 89 | |
| 90 | end EulerOrdinarySobolev |