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.MeanBoundaryCoercivity |
| 2 | import Euler.MeanVariationalInverse |
| 3 | |
| 4 | /-! |
| 5 | The mean inverse with the source's actual nonlocal boundary operator. |
| 6 | The boundary lower bound is proved from the spatial hypotheses (5), not an input. |
| 7 | -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerMeanSourceInverse |
| 12 | |
| 13 | open MeasureTheory Set InnerProductSpace EulerSmoothLimit EulerMeanSolenoidal |
| 14 | EulerMeanHarmonic EulerMeanBoundary EulerLiftedPressure EulerTimeLp |
| 15 | EulerMeanVariationalInverse EulerTransverseVariationalInverse |
| 16 | open scoped NNReal |
| 17 | |
| 18 | def effectiveNegativeBound (Be Bc r : ℝ) : ℝ := |
| 19 | Be + boundaryLocalizationC2 * Bc * r^3 |
| 20 | |
| 21 | theorem effectiveNegativeBound_nonneg (Be Bc r : ℝ) |
| 22 | (hBe : 0 ≤ Be) (hBc : 0 ≤ Bc) (hr : 0 ≤ r) : |
| 23 | 0 ≤ effectiveNegativeBound Be Bc r := by |
| 24 | unfold effectiveNegativeBound |
| 25 | have hc := boundaryLocalizationC2_nonneg |
| 26 | positivity |
| 27 | |
| 28 | theorem source_smallness (T K Be Bc r : ℝ) |
| 29 | (hsmall : K*(T^2/2) + Be*T + boundaryLocalizationC2*Bc*r^3*T ≤ 1/2) : |
| 30 | K*(T^2/2) + effectiveNegativeBound Be Bc r * T ≤ 1/2 := by |
| 31 | calc |
| 32 | _ = K*(T^2/2) + Be*T + boundaryLocalizationC2*Bc*r^3*T := by |
| 33 | unfold effectiveNegativeBound |
| 34 | ring |
| 35 | _ ≤ _ := hsmall |
| 36 | |
| 37 | variable (T : ℝ) (hT : 0 ≤ T) (ℓ : ℝ) (hℓ : 0 < ℓ) |
| 38 | (M : Space → Space →L[ℝ] Space) (hM : AEStronglyMeasurable M volume) |
| 39 | (C : ℝ≥0) (hC : ∀ x, ‖M x‖ ≤ C) |
| 40 | (Be Bc L r : ℝ) (hBe : 0 ≤ Be) (hBc : 0 ≤ Bc) |
| 41 | (hL : boundaryLocalizationC1 * Bc ≤ L) (hr : 0 ≤ r) (hrquarter : r ≤ 1/4) |
| 42 | (hext : ∀ x, r ≤ ‖ℓ • x‖ → ∀ v : Space, -Be * ‖v‖^2 ≤ ⟪M x v, v⟫_ℝ) |
| 43 | (hcore : ∀ x, ‖ℓ • x‖ < r → ∀ v : Space, -Bc * ‖v‖^2 ≤ ⟪M x v, v⟫_ℝ) |
| 44 | (FInv H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (K : ℝ) (hK : 0 ≤ K) |
| 45 | (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) |
| 46 | (hH : ∀ t z, ⟪H t z, z⟫_ℝ ≤ K*‖z‖^2) |
| 47 | (hsmall : K*(T^2/2) + Be*T + boundaryLocalizationC2*Bc*r^3*T ≤ 1/2) |
| 48 | |
| 49 | /-- This is the actual Lax–Milgram mean inverse, with spatial coercivity discharged. -/ |
| 50 | def sourceMeanSolver : TimeLp T L2 →L[ℝ] meanDerivatives T hT FInv := |
| 51 | meanSolver T hT FInv H (coefficientOperator M hM C hC) |
| 52 | (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) |
| 53 | hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH |
| 54 | (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) |
| 55 | (source_smallness T K Be Bc r hsmall) |
| 56 | |
| 57 | theorem sourceMeanSolver_norm (f : TimeLp T L2) : |
| 58 | ‖sourceMeanSolver T hT ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter |
| 59 | hext hcore FInv H K hK hF0 hH hsmall f‖ ≤ 2*T*‖f‖ := |
| 60 | meanSolver_norm T hT FInv H (coefficientOperator M hM C hC) |
| 61 | (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) |
| 62 | hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH |
| 63 | (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) |
| 64 | (source_smallness T K Be Bc r hsmall) f |
| 65 | |
| 66 | /-- The literal mean weak equation, retaining both original initial boundary terms. -/ |
| 67 | theorem sourceMeanSolver_weak (f : TimeLp T L2) (v : meanDerivatives T hT FInv) : |
| 68 | let u := sourceMeanSolver T hT ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter |
| 69 | hext hcore FInv H K hK hF0 hH hsmall f |
| 70 | ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ - |
| 71 | ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ + |
| 72 | ⟪coefficientOperator M hM C hC (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + |
| 73 | L * ⟪boundaryOperator (scaledCutoff ℓ hℓ) (meanTrace T hT FInv u), |
| 74 | meanTrace T hT FInv v⟫_ℝ = -⟪f, meanPrimitive T hT FInv v⟫_ℝ := |
| 75 | meanSolver_weak T hT FInv H (coefficientOperator M hM C hC) |
| 76 | (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) |
| 77 | hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH |
| 78 | (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) |
| 79 | (source_smallness T K Be Bc r hsmall) f v |
| 80 | |
| 81 | include hK hF0 hH hsmall hBe hBc hL hr hrquarter hext hcore in |
| 82 | /-- Existence and uniqueness from the actual source spatial and time assumptions. -/ |
| 83 | theorem existsUnique_source_mean_weak_solution (f : TimeLp T L2) : |
| 84 | ∃! u : meanDerivatives T hT FInv, ∀ v : meanDerivatives T hT FInv, |
| 85 | ⟪(u : TimeLp T L2), (v : TimeLp T L2)⟫_ℝ - |
| 86 | ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv v⟫_ℝ + |
| 87 | ⟪coefficientOperator M hM C hC (meanTrace T hT FInv u), meanTrace T hT FInv v⟫_ℝ + |
| 88 | L * ⟪boundaryOperator (scaledCutoff ℓ hℓ) (meanTrace T hT FInv u), |
| 89 | meanTrace T hT FInv v⟫_ℝ = -⟪f, meanPrimitive T hT FInv v⟫_ℝ := |
| 90 | existsUnique_mean_weak_solution T hT FInv H (coefficientOperator M hM C hC) |
| 91 | (boundaryOperator (scaledCutoff ℓ hℓ)) L K (effectiveNegativeBound Be Bc r) |
| 92 | hK (effectiveNegativeBound_nonneg Be Bc r hBe hBc hr) hF0 hH |
| 93 | (scaled_mean_boundary_lower_bound ℓ hℓ M hM C hC Be Bc L r hBe hBc hL hr hrquarter hext hcore) |
| 94 | (source_smallness T K Be Bc r hsmall) f |
| 95 | |
| 96 | end EulerMeanSourceInverse |