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.SobolevNonlinearCompatibility |
| 2 | import Euler.CorrectionTime |
| 3 | |
| 4 | /-! Exact restriction and time continuity of the actual order-zero correction source. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerSobolevCorrectionCompatibility |
| 9 | |
| 10 | open EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerSobolevCoefficientPressure EulerSobolevNonlinearCompatibility |
| 12 | EulerSobolevL2Product EulerGevreyOrderZero EulerAsymmetricTransport EulerVectorCylinder |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | local instance correctionCompatGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 18 | local instance correctionCompatSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 19 | |
| 20 | /-- The actual derivative-free Euler term restricts to the same lower-order field. -/ |
| 21 | theorem restrict_algebraicAt {p q : ℕ} (hp : 6 ≤ p) (hq : 6 ≤ q) (hqp : q ≤ p) |
| 22 | (A : Fin 3 → SmoothCoefficient period) |
| 23 | (KP : ∀ i, CoefficientJet period standardDirection p (A i)) |
| 24 | (KQ : ∀ i, CoefficientJet period standardDirection q (A i)) (u v : SobolevSpace period p) : |
| 25 | restrictOperator period hqp (algebraicAt period hp (fun i => coefficientSobolevOperator period (KP i)) u v) = |
| 26 | algebraicAt period hq (fun i => coefficientSobolevOperator period (KQ i)) |
| 27 | (restrictOperator period hqp u) (restrictOperator period hqp v) := by |
| 28 | simp only [algebraicAt, map_sum] |
| 29 | apply Finset.sum_congr rfl |
| 30 | intro i _ |
| 31 | rw [restrict_coefficient period hqp (KP i) (KQ i), |
| 32 | restrict_productHq period hp hq hqp (coordinate 3 i) (coordinate_norm_le 3 i)] |
| 33 | |
| 34 | /-- Background transport has precisely the same value on every compatible Sobolev level. -/ |
| 35 | theorem restrict_backgroundDrift {p q : ℕ} (hp : 6 ≤ p) (hq : 6 ≤ q) (hqp : q ≤ p) |
| 36 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 37 | (z : SobolevSpace period (p+1)) (e : SobolevSpace period p) : |
| 38 | restrictOperator period hqp (backgroundDrift period hp L hL z e) = |
| 39 | backgroundDrift period hq L hL (restrictOperator period (Nat.succ_le_succ hqp) z) (restrictOperator period hqp e) := by |
| 40 | exact restrict_asymmetricTransport period hp hq hqp L hL e z |
| 41 | |
| 42 | /-- The full actual order-zero source agrees exactly with its lower-order construction. -/ |
| 43 | theorem restrict_orderZeroSource {p q : ℕ} (hp : 6 ≤ p) (hq : 6 ≤ q) (hqp : q ≤ p) |
| 44 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 45 | (A0 : SmoothCoefficient period) (KP0 : CoefficientJet period standardDirection p A0) |
| 46 | (KQ0 : CoefficientJet period standardDirection q A0) (A : Fin 3 → SmoothCoefficient period) |
| 47 | (KP : ∀ i, CoefficientJet period standardDirection p (A i)) |
| 48 | (KQ : ∀ i, CoefficientJet period standardDirection q (A i)) |
| 49 | (z : SobolevSpace period (p+1)) (r e : SobolevSpace period p) : |
| 50 | restrictOperator period hqp (orderZeroSource period hp L hL (coefficientSobolevOperator period KP0) |
| 51 | (fun i => coefficientSobolevOperator period (KP i)) z r e) = |
| 52 | orderZeroSource period hq L hL (coefficientSobolevOperator period KQ0) |
| 53 | (fun i => coefficientSobolevOperator period (KQ i)) |
| 54 | (restrictOperator period (Nat.succ_le_succ hqp) z) (restrictOperator period hqp r) (restrictOperator period hqp e) := by |
| 55 | simp only [orderZeroSource, map_add, restrict_backgroundDrift period hp hq hqp L hL, |
| 56 | restrict_coefficient period hqp KP0 KQ0, restrict_algebraicAt period hp hq hqp A KP KQ, |
| 57 | restrictOperator_truncate, truncate_restrictOperator] |
| 58 | |
| 59 | /-- A continuous coefficient and two continuous energy-order paths give a continuous actual algebraic term. -/ |
| 60 | theorem algebraicAt_continuous {s : ℕ} (hs : 6 ≤ s) {T : Type*} [TopologicalSpace T] |
| 61 | (C : T → Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) |
| 62 | (hC : ∀ i, Continuous (fun t => C t i)) (u v : T → SobolevSpace period s) |
| 63 | (hu : Continuous u) (hv : Continuous v) : Continuous (fun t => algebraicAt period hs (C t) (u t) (v t)) := by |
| 64 | apply continuous_finsetSum |
| 65 | intro i _ |
| 66 | exact (hC i).clm_apply (((productHqBilinear period hs (coordinate 3 i) (coordinate_norm_le 3 i)).continuous.comp hu).clm_apply hv) |
| 67 | |
| 68 | /-- The actual order-zero source is continuous at the energy Sobolev level, without an additional error derivative. -/ |
| 69 | theorem orderZeroSource_continuous {s : ℕ} (hs : 6 ≤ s) {T : Type*} [TopologicalSpace T] |
| 70 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 71 | (C0 : T → SobolevSpace period s →L[ℝ] SobolevSpace period s) (hC0 : Continuous C0) |
| 72 | (C : T → Fin 3 → SobolevSpace period s →L[ℝ] SobolevSpace period s) |
| 73 | (hC : ∀ i, Continuous (fun t => C t i)) |
| 74 | (z : T → SobolevSpace period (s+1)) (r e : T → SobolevSpace period s) |
| 75 | (hz : Continuous z) (hr : Continuous r) (he : Continuous e) : |
| 76 | Continuous (fun t => orderZeroSource period hs L hL (C0 t) (C t) (z t) (r t) (e t)) := by |
| 77 | have hd : Continuous (fun t => backgroundDrift period hs L hL (z t) (e t)) := |
| 78 | ((asymmetricTransport period hs L hL).continuous.comp he).clm_apply hz |
| 79 | have hzt := (truncateOperator period s).continuous.comp hz |
| 80 | exact ((((hr.add hd).add (hC0.clm_apply he)).add |
| 81 | (algebraicAt_continuous period hs C hC _ e hzt he)).add |
| 82 | (algebraicAt_continuous period hs C hC e _ he hzt)).add |
| 83 | (algebraicAt_continuous period hs C hC e e he he) |
| 84 | |
| 85 | end EulerSobolevCorrectionCompatibility |