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.EulerProof |
| 2 | import Mathlib.Analysis.InnerProductSpace.Adjoint |
| 3 | import Euler.TimeLpMultiplier |
| 4 | |
| 5 | /-! |
| 6 | # The constructed Hilbert operator for the transverse displacement form |
| 7 | |
| 8 | The time primitive will be substituted for `J` in `TransverseVariationalInverse`. |
| 9 | This file constructs, rather than assumes, the inverse of the actual operator |
| 10 | `I - J* H J`. Its coercivity follows from the potential upper bound and the |
| 11 | primitive estimate. No inverse, solution, or weak equation is an input. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerTransverseVariationalInverse |
| 17 | |
| 18 | open InnerProductSpace ContinuousLinearMap EulerCoerciveProjection |
| 19 | |
| 20 | variable {V W : Type*} |
| 21 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 22 | [NormedAddCommGroup W] [InnerProductSpace ℝ W] [CompleteSpace W] |
| 23 | |
| 24 | /-- The operator representing the kinetic form minus the actual potential form. -/ |
| 25 | def dirichletOperator (J : V →L[ℝ] W) (H : W →L[ℝ] W) : V →L[ℝ] V := |
| 26 | ContinuousLinearMap.id ℝ V - J.adjoint.comp (H.comp J) |
| 27 | |
| 28 | /-- This is precisely the displacement variational form. -/ |
| 29 | theorem dirichletOperator_inner (J : V →L[ℝ] W) (H : W →L[ℝ] W) (u v : V) : |
| 30 | ⟪dirichletOperator J H u, v⟫_ℝ = ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ := by |
| 31 | simp only [dirichletOperator, sub_apply, id_apply, comp_apply, |
| 32 | inner_sub_left, adjoint_inner_left] |
| 33 | |
| 34 | /-- The primitive estimate and the one-sided potential bound prove coercivity. -/ |
| 35 | theorem dirichletOperator_coercive (J : V →L[ℝ] W) (H : W →L[ℝ] W) |
| 36 | (L K : ℝ) (hK : 0 ≤ K) |
| 37 | (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) |
| 38 | (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) |
| 39 | (hsmall : K * L ≤ 1 / 2) (u : V) : |
| 40 | (1 / 2 : ℝ) * ‖u‖ ^ 2 ≤ ⟪dirichletOperator J H u, u⟫_ℝ := by |
| 41 | rw [dirichletOperator_inner, real_inner_self_eq_norm_sq] |
| 42 | have hj := mul_le_mul_of_nonneg_left (hJ u) hK |
| 43 | have hs := mul_le_mul_of_nonneg_right hsmall (sq_nonneg ‖u‖) |
| 44 | nlinarith only [hH (J u), hj, hs] |
| 45 | |
| 46 | /-- The actual forcing-to-derivative solution map constructed by Lax--Milgram. -/ |
| 47 | def dirichletSolver (J : V →L[ℝ] W) (H : W →L[ℝ] W) |
| 48 | (L K : ℝ) (hK : 0 ≤ K) |
| 49 | (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) |
| 50 | (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) |
| 51 | (hsmall : K * L ≤ 1 / 2) : W →L[ℝ] V := |
| 52 | (coerciveInverse (dirichletOperator J H) (1 / 2) (by norm_num) |
| 53 | (dirichletOperator_coercive J H L K hK hJ hH hsmall)).comp (-J.adjoint) |
| 54 | |
| 55 | /-- The constructed solution obeys the actual weak displacement equation. -/ |
| 56 | theorem dirichletSolver_weak (J : V →L[ℝ] W) (H : W →L[ℝ] W) |
| 57 | (L K : ℝ) (hK : 0 ≤ K) |
| 58 | (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) |
| 59 | (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) |
| 60 | (hsmall : K * L ≤ 1 / 2) (f : W) (v : V) : |
| 61 | let u := dirichletSolver J H L K hK hJ hH hsmall f |
| 62 | ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ = -⟪f, J v⟫_ℝ := by |
| 63 | dsimp only |
| 64 | rw [← dirichletOperator_inner] |
| 65 | change ⟪dirichletOperator J H |
| 66 | (coerciveInverse (dirichletOperator J H) (1 / 2) (by norm_num) |
| 67 | (dirichletOperator_coercive J H L K hK hJ hH hsmall) (-J.adjoint f)), v⟫_ℝ = _ |
| 68 | rw [operator_inverse_apply, inner_neg_left, adjoint_inner_left] |
| 69 | |
| 70 | /-- No other derivative in the same Hilbert displacement space solves this form. -/ |
| 71 | theorem dirichletSolver_unique (J : V →L[ℝ] W) (H : W →L[ℝ] W) |
| 72 | (L K : ℝ) (hK : 0 ≤ K) |
| 73 | (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) |
| 74 | (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) |
| 75 | (hsmall : K * L ≤ 1 / 2) (f : W) (u : V) |
| 76 | (hu : ∀ v, ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ = -⟪f, J v⟫_ℝ) : |
| 77 | u = dirichletSolver J H L K hK hJ hH hsmall f := by |
| 78 | apply (coerciveEquiv (dirichletOperator J H) (1 / 2) (by norm_num) |
| 79 | (dirichletOperator_coercive J H L K hK hJ hH hsmall)).injective |
| 80 | simp only [coerciveEquiv_apply] |
| 81 | apply ext_inner_right ℝ |
| 82 | intro v |
| 83 | rw [dirichletOperator_inner, hu, dirichletOperator_inner, |
| 84 | dirichletSolver_weak] |
| 85 | |
| 86 | /-- Quantitative boundedness of the genuinely constructed solution map. -/ |
| 87 | theorem dirichletSolver_norm (J : V →L[ℝ] W) (H : W →L[ℝ] W) |
| 88 | (L K : ℝ) (hK : 0 ≤ K) |
| 89 | (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) |
| 90 | (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) |
| 91 | (hsmall : K * L ≤ 1 / 2) (f : W) : |
| 92 | ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ 2 * ‖J‖ * ‖f‖ := by |
| 93 | have hi := coerciveInverse_apply_norm_le (dirichletOperator J H) (1 / 2) |
| 94 | (by norm_num) (dirichletOperator_coercive J H L K hK hJ hH hsmall) |
| 95 | (-J.adjoint f) |
| 96 | change ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ _ at hi |
| 97 | have ha := J.adjoint.le_opNorm f |
| 98 | simp only [norm_neg, inv_div, div_one, LinearIsometryEquiv.norm_map] at hi ha |
| 99 | calc |
| 100 | ‖dirichletSolver J H L K hK hJ hH hsmall f‖ ≤ 2 * ‖J.adjoint f‖ := hi |
| 101 | _ ≤ 2 * (‖J‖ * ‖f‖) := mul_le_mul_of_nonneg_left ha (by norm_num) |
| 102 | _ = 2 * ‖J‖ * ‖f‖ := by ring |
| 103 | |
| 104 | /-- Existence and uniqueness, as conclusions from coefficient and primitive bounds. -/ |
| 105 | theorem existsUnique_dirichlet_solution (J : V →L[ℝ] W) (H : W →L[ℝ] W) |
| 106 | (L K : ℝ) (hK : 0 ≤ K) |
| 107 | (hJ : ∀ u, ‖J u‖ ^ 2 ≤ L * ‖u‖ ^ 2) |
| 108 | (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) |
| 109 | (hsmall : K * L ≤ 1 / 2) (f : W) : |
| 110 | ∃! u : V, ∀ v, ⟪u, v⟫_ℝ - ⟪H (J u), J v⟫_ℝ = -⟪f, J v⟫_ℝ := by |
| 111 | exact ⟨dirichletSolver J H L K hK hJ hH hsmall f, |
| 112 | dirichletSolver_weak J H L K hK hJ hH hsmall f, |
| 113 | fun u hu => dirichletSolver_unique J H L K hK hJ hH hsmall f u hu⟩ |
| 114 | |
| 115 | open MeasureTheory Set EulerTimeLp EulerVolterraConvolution |
| 116 | |
| 117 | omit [CompleteSpace W] in |
| 118 | /-- A pointwise upper bound on the given time-dependent Hessian gives the actual |
| 119 | Bochner-space quadratic-form upper bound. -/ |
| 120 | theorem timeMultiplier_quadratic_upper (T : ℝ) (hT : 0 ≤ T) |
| 121 | (H : C(Icc (0 : ℝ) T, W →L[ℝ] W)) (K : ℝ) |
| 122 | (hH : ∀ t w, ⟪H t w, w⟫_ℝ ≤ K * ‖w‖ ^ 2) (u : TimeLp T W) : |
| 123 | ⟪timeMultiplier T hT H u, u⟫_ℝ ≤ K * ‖u‖ ^ 2 := by |
| 124 | rw [← real_inner_self_eq_norm_sq, L2.inner_def, L2.inner_def, ← integral_const_mul] |
| 125 | apply integral_mono_ae (L2.integrable_inner (timeMultiplier T hT H u) u) |
| 126 | ((L2.integrable_inner u u).const_mul K) |
| 127 | filter_upwards [timeMultiplier_ae T hT H u] with t ht |
| 128 | rw [ht, real_inner_self_eq_norm_sq] |
| 129 | exact hH (projIcc 0 T hT t) (u t) |
| 130 | |
| 131 | end EulerTransverseVariationalInverse |