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 | # Parameter regularity of the genuinely constructed coercive inverse |
| 5 | |
| 6 | The positive lower-bound certificate may vary with the parameter and need not |
| 7 | be differentiable. The inverse itself is the actual operator inverse, so its |
| 8 | regularity depends only on the operator coefficients. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | namespace EulerHilbertCoerciveParameter |
| 16 | |
| 17 | open ContinuousLinearMap InnerProductSpace EulerCoerciveProjection EulerInverseRegularity |
| 18 | |
| 19 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 20 | |
| 21 | /-- Changing the coercivity certificate does not affect parameter regularity |
| 22 | of the actual inverse operator. -/ |
| 23 | theorem contDiff_coerciveInverse_variable |
| 24 | {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 25 | (A : P → E →L[ℝ] E) (c : P → ℝ) (hc : ∀ x, 0 < c x) |
| 26 | (hA : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) |
| 27 | {n : ℕ∞ω} (hreg : ContDiff ℝ n A) : |
| 28 | ContDiff ℝ n (fun x => coerciveInverse (A x) (c x) (hc x) (hA x)) := by |
| 29 | have hfun : (fun x => coerciveInverse (A x) (c x) (hc x) (hA x)) = |
| 30 | fun x => (A x).inverse := by |
| 31 | funext x |
| 32 | exact coerciveInverse_eq_mapInverse (A x) (c x) (hc x) (hA x) |
| 33 | rw [hfun, contDiff_iff_contDiffAt] |
| 34 | intro x |
| 35 | have he : (coerciveEquiv (A x) (c x) (hc x) (hA x) : E →L[ℝ] E) = A x := by |
| 36 | ext v |
| 37 | exact coerciveEquiv_apply (A x) (c x) (hc x) (hA x) v |
| 38 | have hinv : ContDiffAt ℝ n ContinuousLinearMap.inverse (A x) := by |
| 39 | rw [← he] |
| 40 | exact contDiffAt_map_inverse (coerciveEquiv (A x) (c x) (hc x) (hA x)) |
| 41 | exact hinv.comp x hreg.contDiffAt |
| 42 | |
| 43 | /-- The actual derivative of an inverse, even with a varying coercivity certificate. -/ |
| 44 | theorem hasDerivAt_coerciveInverse_variable |
| 45 | (A : ℝ → E →L[ℝ] E) (c : ℝ → ℝ) (hc : ∀ x, 0 < c x) |
| 46 | (hA : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) |
| 47 | (x : ℝ) (A₁ : E →L[ℝ] E) (hder : HasDerivAt A A₁ x) : |
| 48 | HasDerivAt (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) |
| 49 | (-(coerciveInverse (A x) (c x) (hc x) (hA x)).comp |
| 50 | (A₁.comp (coerciveInverse (A x) (c x) (hc x) (hA x)))) x := by |
| 51 | let u : (E →L[ℝ] E)ˣ := (coerciveEquiv (A x) (c x) (hc x) (hA x)).toUnit |
| 52 | have hu : (u : E →L[ℝ] E) = A x := by |
| 53 | ext v |
| 54 | exact coerciveEquiv_apply (A x) (c x) (hc x) (hA x) v |
| 55 | have hui : (↑u⁻¹ : E →L[ℝ] E) = coerciveInverse (A x) (c x) (hc x) (hA x) := rfl |
| 56 | have hi := hasFDerivAt_ringInverse (𝕜 := ℝ) u |
| 57 | rw [hu] at hi |
| 58 | have hcomp := hi.comp_hasDerivAt x hder |
| 59 | have hfun : (fun r => coerciveInverse (A r) (c r) (hc r) (hA r)) = Ring.inverse ∘ A := by |
| 60 | funext r |
| 61 | exact coerciveInverse_eq_ringInverse (A r) (c r) (hc r) (hA r) |
| 62 | rw [hfun] |
| 63 | simpa only [neg_apply, ContinuousLinearMap.mulLeftRight_apply, hui, |
| 64 | ContinuousLinearMap.mul_def, ContinuousLinearMap.comp_assoc] using hcomp |
| 65 | |
| 66 | /-- Actual forcing-to-solution regularity for a parameterized coercive solve. -/ |
| 67 | theorem contDiff_coerciveSolution_variable |
| 68 | {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 69 | (A : P → E →L[ℝ] E) (c : P → ℝ) (hc : ∀ x, 0 < c x) |
| 70 | (hA : ∀ x v, c x * ‖v‖^2 ≤ ⟪A x v, v⟫_ℝ) |
| 71 | (f : P → E) {n : ℕ∞ω} (hreg : ContDiff ℝ n A) (hf : ContDiff ℝ n f) : |
| 72 | ContDiff ℝ n (fun x => coerciveInverse (A x) (c x) (hc x) (hA x) (f x)) := |
| 73 | (contDiff_coerciveInverse_variable A c hc hA hreg).clm_apply hf |
| 74 | |
| 75 | end EulerHilbertCoerciveParameter |