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.TransverseVariationalOperator |
| 2 | |
| 3 | /-! |
| 4 | # The mean displacement form with its initial boundary operator |
| 5 | |
| 6 | The operator is constructed as `I - J* H J + R* C R`, where `J` is the |
| 7 | actual displacement primitive and `R` its initial trace. The boundary lower |
| 8 | bound is required only on the trace image, as in the source's solenoidal space. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerMeanVariationalOperator |
| 14 | |
| 15 | open InnerProductSpace ContinuousLinearMap EulerCoerciveProjection |
| 16 | EulerTransverseVariationalInverse |
| 17 | |
| 18 | variable {V W X : Type*} |
| 19 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 20 | [NormedAddCommGroup W] [InnerProductSpace ℝ W] [CompleteSpace W] |
| 21 | [NormedAddCommGroup X] [InnerProductSpace ℝ X] [CompleteSpace X] |
| 22 | |
| 23 | /-- The actual bounded operator representing kinetic, potential, and boundary terms. -/ |
| 24 | def meanOperator (J : V →L[ℝ] W) (R : V →L[ℝ] X) |
| 25 | (H : W →L[ℝ] W) (C : X →L[ℝ] X) : V →L[ℝ] V := |
| 26 | dirichletOperator J H + R.adjoint.comp (C.comp R) |
| 27 | |
| 28 | /-- The constructed operator has exactly the intended bilinear form. -/ |
| 29 | theorem meanOperator_inner (J : V →L[ℝ] W) (R : V →L[ℝ] X) |
| 30 | (H : W →L[ℝ] W) (C : X →L[ℝ] X) (u v : V) : |
| 31 | ⟪meanOperator J R H C u, v⟫_ℝ = |
| 32 | ⟪u, v⟫_ℝ-⟪H (J u), J v⟫_ℝ+⟪C (R u), R v⟫_ℝ := by |
| 33 | simp only [meanOperator, add_apply, inner_add_left, comp_apply, |
| 34 | adjoint_inner_left, dirichletOperator_inner] |
| 35 | |
| 36 | variable (J : V →L[ℝ] W) (R : V →L[ℝ] X) |
| 37 | (H : W →L[ℝ] W) (C : X →L[ℝ] X) |
| 38 | (P Q K B : ℝ) (hK : 0 ≤ K) (hB : 0 ≤ B) |
| 39 | (hJ : ∀ u, ‖J u‖^2 ≤ P*‖u‖^2) |
| 40 | (hR : ∀ u, ‖R u‖^2 ≤ Q*‖u‖^2) |
| 41 | (hH : ∀ w, ⟪H w, w⟫_ℝ ≤ K*‖w‖^2) |
| 42 | (hC : ∀ u, -B*‖R u‖^2 ≤ ⟪C (R u), R u⟫_ℝ) |
| 43 | (hsmall : K*P+B*Q ≤ 1/2) |
| 44 | |
| 45 | include hK hB hJ hR hH hC hsmall in |
| 46 | /-- The source's two time estimates and coefficient bounds prove coercivity. -/ |
| 47 | theorem meanOperator_coercive (u : V) : |
| 48 | (1/2 : ℝ)*‖u‖^2 ≤ ⟪meanOperator J R H C u, u⟫_ℝ := by |
| 49 | rw [meanOperator_inner, real_inner_self_eq_norm_sq] |
| 50 | have hj := mul_le_mul_of_nonneg_left (hJ u) hK |
| 51 | have hr := mul_le_mul_of_nonneg_left (hR u) hB |
| 52 | have hs := mul_le_mul_of_nonneg_right hsmall (sq_nonneg ‖u‖) |
| 53 | nlinarith only [hH (J u), hC u, hj, hr, hs] |
| 54 | |
| 55 | /-- The forcing-to-derivative map constructed from the coercive mean form. -/ |
| 56 | def meanSolver : W →L[ℝ] V := |
| 57 | (coerciveInverse (meanOperator J R H C) (1/2) (by norm_num) |
| 58 | (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall)).comp (-J.adjoint) |
| 59 | |
| 60 | /-- The actual weak equation follows from the constructed inverse. -/ |
| 61 | theorem meanSolver_weak (f : W) (v : V) : |
| 62 | let u := meanSolver J R H C P Q K B hK hB hJ hR hH hC hsmall f |
| 63 | ⟪u, v⟫_ℝ-⟪H (J u), J v⟫_ℝ+⟪C (R u), R v⟫_ℝ = -⟪f, J v⟫_ℝ := by |
| 64 | dsimp only |
| 65 | rw [← meanOperator_inner] |
| 66 | change ⟪meanOperator J R H C |
| 67 | (coerciveInverse (meanOperator J R H C) (1/2) (by norm_num) |
| 68 | (meanOperator_coercive J R H C P Q K B hK hB hJ hR hH hC hsmall) (-J.adjoint f)), v⟫_ℝ = _ |
| 69 | rw [operator_inverse_apply, inner_neg_left, adjoint_inner_left] |
| 70 | |
| 71 | end EulerMeanVariationalOperator |