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.StaticEulerCorrection |
| 2 | import Euler.AllOrderDriftPressureBounds |
| 3 | import Euler.AllOrderDriftFieldDecomposition |
| 4 | |
| 5 | /-! Explicit bounds for the constructed small-data solution. All constants |
| 6 | are functions of the datum's supplied Gevrey bounds and the fixed period; |
| 7 | none depends on which datum realizes those bounds. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerStaticEuler |
| 12 | |
| 13 | open Set EulerSmoothLimit EulerLiftedGradientSpace EulerLpTranslation |
| 14 | EulerAllOrderDriftCorrection EulerAllOrderCorrectionData EulerSobolevGevreyOperators |
| 15 | EulerGevreyCorrectionSourceBounds EulerGevreyMetricEstimate EulerConstantCorrection |
| 16 | |
| 17 | /-- A fixed positive radius retained by the actual correction. -/ |
| 18 | def retainedRadius (R : ℝ) : ℝ := EulerSmallCorrection.initialRadius (mixedRadius R)/4 |
| 19 | |
| 20 | def baseErrorFactor : ℝ := metricAmplification 1/2 |
| 21 | |
| 22 | theorem retainedRadius_pos (R : ℝ) (hR : 0 ≤ R) : 0 < retainedRadius R := |
| 23 | div_pos (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)) (by norm_num) |
| 24 | |
| 25 | theorem retainedRadius_small (R : ℝ) (hR : 0 ≤ R) : |
| 26 | retainedRadius R*mixedRadius R ≤ 1/2 := by |
| 27 | have h := EulerSmallCorrection.initialRadius_mul _ (mixedRadius_nonneg R hR) |
| 28 | have hn := mul_nonneg (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)).le |
| 29 | (mixedRadius_nonneg R hR) |
| 30 | dsimp [retainedRadius] |
| 31 | nlinarith |
| 32 | |
| 33 | theorem baseErrorFactor_nonneg : 0 ≤ baseErrorFactor := |
| 34 | div_nonneg (zero_le_one.trans (metricAmplification_one_le (by norm_num : (0 : ℝ) < 1))) (by norm_num) |
| 35 | |
| 36 | variable (P : ℝ) [Fact (0 < P)] |
| 37 | |
| 38 | def staticSourceCost (R : ℝ) : ℝ := |
| 39 | sourceBound P 1 1 0 0 1 baseErrorFactor |
| 40 | ((8/EulerSmallCorrection.initialRadius (mixedRadius R))*baseErrorFactor) |
| 41 | |
| 42 | def staticTimeCost (R : ℝ) : ℝ := (1+2*pressureBound*(448*1+1))*staticSourceCost P R |
| 43 | |
| 44 | def staticPressureCost (R : ℝ) : ℝ := 2*pressureBound*staticSourceCost P R |
| 45 | |
| 46 | theorem staticSourceCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticSourceCost P R := |
| 47 | sourceBound_nonneg P zero_le_one zero_le_one le_rfl le_rfl zero_le_one baseErrorFactor_nonneg |
| 48 | (mul_nonneg (div_nonneg (by norm_num) |
| 49 | (EulerSmallCorrection.initialRadius_pos _ (mixedRadius_nonneg R hR)).le) baseErrorFactor_nonneg) |
| 50 | |
| 51 | theorem staticTimeCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticTimeCost P R := by |
| 52 | have hS := staticSourceCost_nonneg P R hR |
| 53 | have hP := zero_le_one.trans pressureBound_one_le |
| 54 | unfold staticTimeCost |
| 55 | positivity |
| 56 | |
| 57 | theorem staticPressureCost_nonneg (R : ℝ) (hR : 0 ≤ R) : 0 ≤ staticPressureCost P R := by |
| 58 | have hS := staticSourceCost_nonneg P R hR |
| 59 | have hP := zero_le_one.trans pressureBound_one_le |
| 60 | unfold staticPressureCost |
| 61 | positivity |
| 62 | |
| 63 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 64 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 65 | |
| 66 | theorem budget_retainedRadius : |
| 67 | (correctionBudget P u C R hC hR hu hdiv).reducedRadius P=retainedRadius R := rfl |
| 68 | |
| 69 | theorem budget_staticTimeCost (q : ℕ) (hq : 6 ≤ q) : |
| 70 | (correctionBudget P u C R hC hR hu hdiv).timeDerivativeCost P q hq=staticTimeCost P R := rfl |
| 71 | |
| 72 | theorem budget_staticPressureCost (q : ℕ) (hq : 6 ≤ q) : |
| 73 | (correctionBudget P u C R hC hR hu hdiv).pressureCost P q hq=staticPressureCost P R := rfl |
| 74 | |
| 75 | theorem correction_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 76 | weightedNorm P 6 n (retainedRadius R) |
| 77 | (((correctionBudget P u C R hC hR hu hdiv).fieldTower P).realization (n+6) t) ≤ |
| 78 | amplitude P C R hC hR*baseErrorFactor := by |
| 79 | have h := (correctionBudget P u C R hC hR hu hdiv).fieldTower_reducedNorm P (n+6) n le_rfl t |
| 80 | change _ ≤ metricAmplification 1*(amplitude P C R hC hR/2) at h |
| 81 | exact h.trans_eq (by unfold baseErrorFactor; ring) |
| 82 | |
| 83 | theorem exact_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 84 | weightedNorm P 6 n (retainedRadius R) |
| 85 | ((exactPacket P u C R hC hR hu hdiv).velocity.realization (n+6) t) ≤ |
| 86 | amplitude P C R hC hR*(2*mixedAmplitude P C R+baseErrorFactor) := by |
| 87 | have hw := EulerSmallCorrection.scaled_word (EulerStaticCylinder.field P 1 u) |
| 88 | (EulerStaticCylinder.field_wordBound P 1 u 6 C R hC hR hu) |
| 89 | (amplitude P C R hC hR) (amplitude_pos P C R hC hR).le |
| 90 | have hb := hw.toFieldTower_weightedNorm_le_two (mixedRadius_nonneg R hR) |
| 91 | (mul_nonneg (amplitude_pos P C R hC hR).le (mixedAmplitude_nonneg P C R hC hR)) |
| 92 | (n+6) n le_rfl (retainedRadius R) (retainedRadius_pos R hR) (retainedRadius_small R hR) t |
| 93 | change weightedNorm P 6 n (retainedRadius R) |
| 94 | (((EulerStaticCylinder.field P 1 u).smul (amplitude P C R hC hR)).toFieldTower.realization (n+6) t+ |
| 95 | ((correctionBudget P u C R hC hR hu hdiv).fieldTower P).realization (n+6) t) ≤ _ |
| 96 | apply (weightedNorm_add_le P 6 n le_rfl (retainedRadius R) (retainedRadius_pos R hR) _ _).trans |
| 97 | exact (add_le_add hb (correction_weighted P u C R hC hR hu hdiv n t)).trans_eq (by unfold mixedAmplitude; ring) |
| 98 | |
| 99 | theorem time_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 100 | weightedNorm P 6 n (retainedRadius R) |
| 101 | (((correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower P).realization (n+6) t) ≤ |
| 102 | amplitude P C R hC hR*staticTimeCost P R := by |
| 103 | have h := (correctionBudget P u C R hC hR hu hdiv).timeDerivativeTower_reducedNorm_delta |
| 104 | P (n+6) (by omega) n (by omega) (n+6) le_rfl t |
| 105 | rw [budget_retainedRadius,budget_staticTimeCost] at h |
| 106 | exact h.trans_eq (mul_comm _ _) |
| 107 | |
| 108 | theorem pressure_weighted (n : ℕ) (t : Icc (0 : ℝ) 1) : |
| 109 | weightedNorm P 6 n (retainedRadius R) |
| 110 | (((correctionBudget P u C R hC hR hu hdiv).pressureTower P).realization (n+6) t) ≤ |
| 111 | amplitude P C R hC hR*staticPressureCost P R := by |
| 112 | have h := (correctionBudget P u C R hC hR hu hdiv).pressureTower_reducedNorm_delta |
| 113 | P (n+6) (by omega) n (by omega) (n+6) le_rfl t |
| 114 | rw [budget_retainedRadius,budget_staticPressureCost] at h |
| 115 | exact h.trans_eq (mul_comm _ _) |
| 116 | |
| 117 | end EulerStaticEuler |