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 | /-- The fixed-level algebraic expression is exactly the algebraic term used in the mild solver. -/ |
| 24 | theorem algebraicAt_eq {s : ℕ} (hs : 6 ≤ s) |
| 25 | (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) |
| 26 | (u v : SobolevSpace period (s+1)) : |
| 27 | algebraicAt period hs C (truncateOperator period s u) (truncateOperator period s v) = |
| 28 | algebraicBilinear period hs C u v := by |
| 29 | rw [algebraicBilinear_apply] |
| 30 | rfl |
| 31 | |
| 32 | /-- The order-zero background transport is exactly e·D z_a in the mild solver. -/ |
| 33 | theorem backgroundDrift_eq {s : ℕ} (hs : 6 ≤ s) |
| 34 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 35 | (u background : SobolevSpace period (s+1)) : |
| 36 | backgroundDrift period hs L hL background (truncateOperator period s u) = |
| 37 | transportBilinear period hs L hL u background := by |
| 38 | rw [transportBilinear_apply] |
| 39 | rfl |
| 40 | |
| 41 | /-- Exact splitting of the actual nonlinear increment into top transport plus the order-zero source. -/ |
| 42 | theorem correction_split_identity {s : ℕ} (hs : 6 ≤ s) |
| 43 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 44 | (C0 : SobolevSpace period s →L[ℝ] SobolevSpace period s) |
| 45 | (C : Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) |
| 46 | (background e : SobolevSpace period (s+1)) (r : SobolevSpace period s) : |
| 47 | r + linearize (eulerBilinear period hs L hL C) (C0.comp (truncateOperator period s)) background e + |
| 48 | eulerBilinear period hs L hL C e e = |
| 49 | transportBilinear period hs L hL (background+e) e + |
| 50 | orderZeroSource period hs L hL C0 C background r (truncateOperator period s e) := by |
| 51 | have hzero : orderZeroSource period hs L hL C0 C background r (truncateOperator period s e) = |
| 52 | r + transportBilinear period hs L hL e background + C0 (truncateOperator period s e) + |
| 53 | algebraicBilinear period hs C background e + algebraicBilinear period hs C e background + |
| 54 | algebraicBilinear period hs C e e := by |
| 55 | simp only [orderZeroSource, backgroundDrift, algebraicAt, transportBilinear_apply, |
| 56 | algebraicBilinear_apply, coordinateProduct_apply] |
| 57 | have halg : r + linearize (eulerBilinear period hs L hL C) (C0.comp (truncateOperator period s)) background e + |
| 58 | eulerBilinear period hs L hL C e e = |
| 59 | transportBilinear period hs L hL (background+e) e + |
| 60 | (r + transportBilinear period hs L hL e background + C0 (truncateOperator period s e) + |
| 61 | algebraicBilinear period hs C background e + algebraicBilinear period hs C e background + |
| 62 | algebraicBilinear period hs C e e) := by |
| 63 | simp only [linearize_apply, eulerBilinear, add_apply, map_add, ContinuousLinearMap.comp_apply] |
| 64 | abel |
| 65 | exact halg.trans (congrArg (fun a => transportBilinear period hs L hL (background+e) e + a) hzero.symm) |
| 66 | |
| 67 | /-- Actual finite weighted Sobolev norms are invariant under sign. -/ |
| 68 | theorem weightedNorm_neg {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) (u : SobolevSpace period s) : |
| 69 | weightedNorm period q N ρ (-u) = weightedNorm period q N ρ u := by |
| 70 | apply Finset.sum_congr rfl |
| 71 | intro n hn |
| 72 | congr 1 |
| 73 | unfold blockNorm |
| 74 | apply Finset.sum_congr rfl |
| 75 | intro r hr |
| 76 | rw [levelNorm_eq_words, levelNorm_eq_words] |
| 77 | apply Finset.sum_congr rfl |
| 78 | intro w _ |
| 79 | have hnr : n+r ≤ s := by have := Finset.mem_range.mp hn; have := Finset.mem_range.mp hr; omega |
| 80 | rw [toJet_word period (-u) hnr, toJet_word period u hnr] |
| 81 | change ‖-u.val ⟨⟨n+r, by omega⟩,w⟩‖ = ‖u.val ⟨⟨n+r, by omega⟩,w⟩‖ |
| 82 | exact norm_neg _ |
| 83 | |
| 84 | /-- The actual order-zero pressure bound follows from the genuine projected inverse and the derived nonlinear estimate. -/ |
| 85 | theorem orderZeroPressure_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 86 | (ρ Rc M : ℝ) (hρ : 0 < ρ) (hRc : 0 ≤ Rc) (hM : 1 ≤ M) |
| 87 | (G : SmoothCoefficient period) (KG : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s G) |
| 88 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 89 | (hpos : ∀ x v, c*‖v‖^2 ≤ ⟪G.coefficient x v,v⟫_ℝ) |
| 90 | (hbase : (EulerH6Pressure.CoefficientJet.restrict KG 6 (by omega)).pressureConstant c ≤ M) |
| 91 | (hsmall : 4*M*(ρ*Rc) ≤ 1) |
| 92 | (hcoeff : ∀ l, 1 ≤ l → l ≤ N → coefficientBlock period KG 6 l ≤ Rc^l*(l.factorial : ℝ)^2) |
| 93 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 94 | (C0 : SmoothCoefficient period) (K0 : EulerSpatialSobolevInverse.CoefficientJet period standardDirection s C0) |
| 95 | (C : Fin 3 → SmoothCoefficient period) |
| 96 | (K : ∀ i, EulerSpatialSobolevInverse.CoefficientJet period standardDirection s (C i)) |
| 97 | (background : SobolevSpace period (s+1)) (r e : SobolevSpace period s) : |
| 98 | weightedNorm period 6 N ρ (-(pressureSobolevOperator period KG κ m c hc hpos |
| 99 | (orderZeroSource period hs L hL (coefficientSobolevOperator period K0) |
| 100 | (fun i => coefficientSobolevOperator period (K i)) background r e))) ≤ |
| 101 | 2*M*(weightedNorm period 6 N ρ r + |
| 102 | (productConstant period 3 * (∑ i : Fin 4, weightedNorm period 6 N ρ (derivativeOperator period s i background)) + |
| 103 | weightedCoefficient period K0 6 N ρ + |
| 104 | 2 * (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * |
| 105 | weightedNorm period 6 N ρ (truncateOperator period s background)) * weightedNorm period 6 N ρ e + |
| 106 | (∑ i : Fin 3, weightedCoefficient period (K i) 6 N ρ) * productConstant period 3 * (weightedNorm period 6 N ρ e)^2) := by |
| 107 | rw [weightedNorm_neg period 6 N hN] |
| 108 | exact (weightedNorm_pressure period KG κ m c hc hpos N hN ρ Rc M hρ hRc hM hbase hsmall hcoeff _).trans |
| 109 | (mul_le_mul_of_nonneg_left (orderZeroSource_bound period hs N hN ρ hρ L hL C0 K0 C K background r e) |
| 110 | (by linarith : 0 ≤ 2*M)) |
| 111 | |
| 112 | /-- The solver's actual raw source has exactly the transport/order-zero decomposition used by the energy estimate. -/ |
| 113 | theorem correctionData_rawSource_split {s : ℕ} {T : Type*} [TopologicalSpace T] |
| 114 | (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : |
| 115 | D.rawSource period hs t e = |
| 116 | transportBilinear period hs (velocityComponents D.κ D.direction) |
| 117 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+e) e + |
| 118 | orderZeroSource period hs (velocityComponents D.κ D.direction) |
| 119 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) |
| 120 | (coefficientSobolevOperator period (D.linear.jet t)) |
| 121 | (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) |
| 122 | (D.approximation t) (D.residual t) (truncateOperator period s e) := |
| 123 | correction_split_identity period hs _ _ _ _ _ _ _ |
| 124 | |
| 125 | /-- The actual signed correction pressure is the sum of its order-zero and transport pressure solves. -/ |
| 126 | theorem correctionData_pressure_split {s : ℕ} {T : Type*} [TopologicalSpace T] |
| 127 | (D : CorrectionData period s T) (hs : 6 ≤ s) (t : T) (e : SobolevSpace period (s+1)) : |
| 128 | D.pressure period hs t e = |
| 129 | -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) |
| 130 | (transportBilinear period hs (velocityComponents D.κ D.direction) |
| 131 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+e) e)) + |
| 132 | -(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos (D.metric_pos t) |
| 133 | (orderZeroSource period hs (velocityComponents D.κ D.direction) |
| 134 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) |
| 135 | (coefficientSobolevOperator period (D.linear.jet t)) |
| 136 | (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) |
| 137 | (D.approximation t) (D.residual t) (truncateOperator period s e))) := by |
| 138 | unfold CorrectionData.pressure |
| 139 | simp only [correctionData_rawSource_split period D hs t e, map_add, neg_add] |
| 140 | |
| 141 | end EulerGevreyOrderZero |