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.AllOrderDriftCorrection |
| 2 | import Euler.AllOrderDriftPressure |
| 3 | |
| 4 | /-! Continuous all-order realizations of the actual nonlinear source and time derivative. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionAssembly |
| 9 | |
| 10 | open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrectionData |
| 11 | EulerCorrectionOperators EulerSobolevCoefficientPressure EulerInviscidSobolevEvolution |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 15 | |
| 16 | local instance sourceTowerGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 17 | local instance sourceTowerSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 18 | |
| 19 | theorem FiniteFamily.rawSourcePath_value_base (F : FiniteFamily period hT A) |
| 20 | (C : ComparisonData period hT A) (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 21 | value period (F.rawSourcePath period q hq t) = |
| 22 | value period (F.rawSourcePath period 6 le_rfl t) := by |
| 23 | exact Nat.le_induction (P := fun n hn => value period (F.rawSourcePath period n hn t) = |
| 24 | value period (F.rawSourcePath period 6 le_rfl t)) rfl |
| 25 | (fun n hn ih => (F.rawSourcePath_value_succ period C n hn t).trans ih) q hq |
| 26 | |
| 27 | /-- One actual source field, represented continuously at every finite order. -/ |
| 28 | def FiniteFamily.rawSourceTower (F : FiniteFamily period hT A) |
| 29 | (C : ComparisonData period hT A) : FieldTower period T where |
| 30 | field := (valueOperator period 6).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 31 | (F.rawSourcePath period 6 le_rfl) |
| 32 | realization q := (restrictOperator period (by omega : q ≤ q+6)).compLeftContinuous ℝ |
| 33 | (Icc (0 : ℝ) T) (F.rawSourcePath period (q+6) (by omega)) |
| 34 | value_eq q t := F.rawSourcePath_value_base period C (q+6) (by omega) t |
| 35 | |
| 36 | theorem FiniteFamily.rawSourcePath_eq_realization (F : FiniteFamily period hT A) |
| 37 | (C : ComparisonData period hT A) (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 38 | F.rawSourcePath period q hq t = (F.rawSourceTower period C).realization q t := by |
| 39 | apply value_injective period |
| 40 | exact (F.rawSourcePath_value_base period C q hq t).trans |
| 41 | ((F.rawSourceTower period C).value_eq q t).symm |
| 42 | |
| 43 | /-- The literal signed pressure equation defines a continuous all-order |
| 44 | field, subsequently identified with the genuine time derivative. -/ |
| 45 | def FiniteFamily.timeDerivativeTower (F : FiniteFamily period hT A) |
| 46 | (C : ComparisonData period hT A) : FieldTower period T where |
| 47 | field := -(F.rawSourceTower period C).field - |
| 48 | ⟨fun t => (A.metric.coefficient t).operator (F.commonPressure period t), |
| 49 | A.metric_continuous.clm_apply (F.commonPressure period).continuous⟩ |
| 50 | realization q := -(F.rawSourceTower period C).realization q - |
| 51 | ⟨fun t => coefficientSobolevOperator period (A.metric.jet q t) |
| 52 | ((F.pressureTower period C).realization q t), |
| 53 | (A.metric.continuous q).clm_apply ((F.pressureTower period C).realization q).continuous⟩ |
| 54 | value_eq q t := by |
| 55 | change -value period ((F.rawSourceTower period C).realization q t) - |
| 56 | value period (coefficientSobolevOperator period (A.metric.jet q t) |
| 57 | ((F.pressureTower period C).realization q t)) = _ |
| 58 | rw [coefficientSobolevOperator_value, (F.rawSourceTower period C).value_eq, |
| 59 | (F.pressureTower period C).value_eq] |
| 60 | rfl |
| 61 | |
| 62 | /-- The source returned by the constructed finite solver is exactly the |
| 63 | corresponding realization of the common derivative field. -/ |
| 64 | theorem FiniteFamily.source_eq_timeDerivativeTower (F : FiniteFamily period hT A) |
| 65 | (C : ComparisonData period hT A) (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 66 | ((A.atOrder period q).coefficients period hq).apply t (F.solution q hq t) = |
| 67 | (F.timeDerivativeTower period C).realization q t := by |
| 68 | rw [CorrectionData.source_sobolev] |
| 69 | change -F.rawSourcePath period q hq t - |
| 70 | coefficientSobolevOperator period (A.metric.jet q t) (F.signedPressurePath period q hq t) = _ |
| 71 | rw [F.rawSourcePath_eq_realization period C q hq t, |
| 72 | F.signedPressurePath_eq_realization period C q hq] |
| 73 | rfl |
| 74 | |
| 75 | end EulerCorrectionAssembly |
| 76 | |
| 77 | namespace EulerAllOrderDriftCorrection |
| 78 | |
| 79 | open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrectionData |
| 80 | EulerCorrectionOperators EulerVolterraConvolution EulerCorrectionAssembly |
| 81 | |
| 82 | variable (period : ℝ) [Fact (0 < period)] |
| 83 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 84 | |
| 85 | def Budget.rawSourceTower (B : Budget period hT A) : FieldTower period T := |
| 86 | (B.family period).rawSourceTower period (B.comparisonData period) |
| 87 | |
| 88 | def Budget.timeDerivativeTower (B : Budget period hT A) : FieldTower period T := |
| 89 | (B.family period).timeDerivativeTower period (B.comparisonData period) |
| 90 | |
| 91 | theorem Budget.rawSource_eq_realization (B : Budget period hT A) |
| 92 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 93 | (A.atOrder period q).rawSource period hq t ((B.fieldTower period).realization (q+1) t) = |
| 94 | (B.rawSourceTower period).realization q t := by |
| 95 | rw [← B.solution_eq_realization period q hq] |
| 96 | exact (B.family period).rawSourcePath_eq_realization period (B.comparisonData period) q hq t |
| 97 | |
| 98 | theorem Budget.source_eq_timeDerivativeTower (B : Budget period hT A) |
| 99 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 100 | ((A.atOrder period q).coefficients period hq).apply t |
| 101 | ((B.fieldTower period).realization (q+1) t) = |
| 102 | (B.timeDerivativeTower period).realization q t := by |
| 103 | rw [← B.solution_eq_realization period q hq] |
| 104 | exact (B.family period).source_eq_timeDerivativeTower period (B.comparisonData period) q hq t |
| 105 | |
| 106 | /-- At every interior time, this continuous all-order field is the actual |
| 107 | time derivative of the constructed common correction. -/ |
| 108 | theorem Budget.fieldTower_hasDerivAt_timeDerivativeTower (B : Budget period hT A) |
| 109 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 110 | HasDerivAt (extendPath T hT.le ((B.fieldTower period).realization q)) |
| 111 | ((B.timeDerivativeTower period).realization q ⟨t, ht.1.le, ht.2.le⟩) t := by |
| 112 | simpa only [B.source_eq_timeDerivativeTower period q hq] using |
| 113 | B.fieldTower_hasDerivAt period q hq t ht |
| 114 | |
| 115 | end EulerAllOrderDriftCorrection |