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.GevreyOrderZero |
| 2 | import Euler.EulerCorrectionEquation |
| 3 | |
| 4 | /-! Exact transport/order-zero splitting of the constructed correction source and its actual pressure. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGevreyOrderZero |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerSobolevL2Product EulerH6Nonlinear EulerH6Pressure EulerJetProductBounds |
| 12 | EulerPacketWeights EulerSobolevGevreyOperators EulerSobolevCoefficientPressure EulerVectorCylinder |
| 13 | EulerCorrectionOperators EulerSobolevTransport |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | local instance splitGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 19 | local instance splitSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 20 | local instance splitBilinearGroup (q : ℕ) : SeminormedAddCommGroup |
| 21 | (SobolevSpace period (q+1) →L[ℝ] SobolevSpace period (q+1) →L[ℝ] SobolevSpace period q) := inferInstance |
| 22 | |
| 23 | /-- Exact splitting of the actual nonlinear increment into top transport plus the order-zero source. -/ |
| 24 | theorem correction_split_identity {s : ℕ} (hs : 6 ≤ s) |
| 25 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 26 | (C0 : SobolevSpace period s →L[ℝ] SobolevSpace period s) |
| 27 | (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) |
| 28 | (background e : SobolevSpace period (s+1)) (r : SobolevSpace period s) : |
| 29 | r + linearize (eulerBilinear period hs L hL C) (C0.comp (truncateOperator period s)) background e + |
| 30 | eulerBilinear period hs L hL C e e = |
| 31 | transportBilinear period hs L hL (background+e) e + |
| 32 | orderZeroSource period hs L hL C0 C background r (truncateOperator period s e) := by |
| 33 | have hzero : orderZeroSource period hs L hL C0 C background r (truncateOperator period s e) = |
| 34 | r + transportBilinear period hs L hL e background + C0 (truncateOperator period s e) + |
| 35 | algebraicBilinear period hs C background e + algebraicBilinear period hs C e background + |
| 36 | algebraicBilinear period hs C e e := by |
| 37 | simp only [orderZeroSource, backgroundDrift, algebraicAt, transportBilinear_apply, |
| 38 | algebraicBilinear_apply, coordinateProduct_apply] |
| 39 | have halg : r + linearize (eulerBilinear period hs L hL C) (C0.comp (truncateOperator period s)) background e + |
| 40 | eulerBilinear period hs L hL C e e = |
| 41 | transportBilinear period hs L hL (background+e) e + |
| 42 | (r + transportBilinear period hs L hL e background + C0 (truncateOperator period s e) + |
| 43 | algebraicBilinear period hs C background e + algebraicBilinear period hs C e background + |
| 44 | algebraicBilinear period hs C e e) := by |
| 45 | simp only [linearize_apply, eulerBilinear, add_apply, map_add, ContinuousLinearMap.comp_apply] |
| 46 | abel |
| 47 | exact halg.trans (congrArg (fun a => transportBilinear period hs L hL (background+e) e + a) hzero.symm) |
| 48 | |
| 49 | /-- Actual finite weighted Sobolev norms are invariant under sign. -/ |
| 50 | theorem weightedNorm_neg {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (u : SobolevSpace period s) : |
| 51 | weightedNorm period q N ρ (-u) = weightedNorm period q N ρ u := by |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro n hn |
| 54 | congr 1 |
| 55 | unfold blockNorm |
| 56 | apply Finset.sum_congr rfl |
| 57 | intro r hr |
| 58 | rw [levelNorm_eq_words, levelNorm_eq_words] |
| 59 | apply Finset.sum_congr rfl |
| 60 | intro w _ |
| 61 | have hnr : n+r ≤ s := by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega |
| 62 | rw [toJet_word period (-u) hnr, toJet_word period u hnr] |
| 63 | change ‖-u.val ⟨⟨n+r, by omega⟩,w⟩‖ = ‖u.val ⟨⟨n+r, by omega⟩,w⟩‖ |
| 64 | exact norm_neg _ |
| 65 | |
| 66 | /-- The solver's actual raw source has exactly the transport/order-zero decomposition used by the energy estimate. -/ |
| 67 | theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T] |
| 68 | (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : |
| 69 | D.rawSource period hs t e = |
| 70 | transportBilinear period hs (velocityComponents D.κ D.direction) |
| 71 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+e) e + |
| 72 | orderZeroSource period hs (velocityComponents D.κ D.direction) |
| 73 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) |
| 74 | (coefficientSobolevOperator period (D.linear.jet t)) |
| 75 | (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) |
| 76 | (D.approximation t) (D.residual t) (truncateOperator period s e) := |
| 77 | correction_split_identity period hs _ _ _ _ _ _ _ |
| 78 | |
| 79 | end EulerGevreyOrderZero |