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.AllOrderDriftBudget |
| 2 | import Euler.GevreyUniformConstants |
| 3 | |
| 4 | /-! Actual constant coefficient towers for the ordinary Euler correction |
| 5 | equation: identity pressure metric, zero lower-order coefficients, spatial |
| 6 | scale one and angular direction zero. No solution is included in the data. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerConstantCorrection |
| 11 | |
| 12 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolev |
| 14 | EulerAllOrderCorrectionData EulerCorrectionEnergyData EulerJetProductBounds |
| 15 | EulerH6Pressure EulerSobolevGevreyOperators EulerMetricTransport |
| 16 | EulerTransportDerivatives EulerGevreyUniformConstants EulerEnergyMetricPaths |
| 17 | EulerVolterraConvolution |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable (P : ℝ) [Fact (0 < P)] |
| 21 | |
| 22 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 23 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 24 | private local instance : NormedAddCommGroup (LiftTangent →L[ℝ] Space →L[ℝ] Space) := inferInstance |
| 25 | private local instance : NormedSpace ℝ (LiftTangent →L[ℝ] Space →L[ℝ] Space) := inferInstance |
| 26 | private local instance : NormedAddCommGroup (LiftTangent →L[ℝ] LiftTangent →L[ℝ] Space →L[ℝ] Space) := inferInstance |
| 27 | private local instance : NormedSpace ℝ (LiftTangent →L[ℝ] LiftTangent →L[ℝ] Space →L[ℝ] Space) := inferInstance |
| 28 | |
| 29 | def coefficient (A : Space →L[ℝ] Space) : SmoothCoefficient P where |
| 30 | coefficient _ := A |
| 31 | smooth _ := contDiff_const |
| 32 | bound := ‖A‖₊ |
| 33 | norm_bound _ := le_rfl |
| 34 | firstBound := 0 |
| 35 | norm_first _ := by |
| 36 | change ‖fderiv ℝ (fun _ : LiftTangent => A) 0‖ ≤ 0 |
| 37 | simp only [fderiv_const_apply,norm_zero,le_refl] |
| 38 | secondBound := 0 |
| 39 | norm_second _ y := by |
| 40 | change ‖fderiv ℝ (fderiv ℝ (fun _ : LiftTangent => A)) y‖ ≤ 0 |
| 41 | simp only [fderiv_fun_const,fderiv_zero,Pi.zero_apply,norm_zero,le_refl] |
| 42 | |
| 43 | def jet (A : Space →L[ℝ] Space) : |
| 44 | (q : ℕ) → EulerSpatialSobolevInverse.CoefficientJet P standardDirection q (coefficient P A) |
| 45 | | 0 => .zero _ |
| 46 | | q+1 => .succ (fun _ => coefficient P 0) (fun _ => jet 0 q) |
| 47 | (fun i _ => by |
| 48 | change (0 : Space →L[ℝ] Space)=(fderiv ℝ (fun _ : LiftTangent => A) 0) (standardDirection i) |
| 49 | simp) |
| 50 | |
| 51 | omit [Fact (0 < P)] in |
| 52 | theorem jet_boundLevel (A : Space →L[ℝ] Space) (q r : ℕ) : |
| 53 | boundLevel P (jet P A q) r = if r=0 then ‖A‖ else 0 := by |
| 54 | induction q generalizing A r with |
| 55 | | zero => cases r <;> simp [jet,boundLevel,coefficient] |
| 56 | | succ q ih => |
| 57 | cases r with |
| 58 | | zero => simp [jet, boundLevel, coefficient] |
| 59 | | succ r => |
| 60 | simp only [jet] |
| 61 | rw [boundLevel] |
| 62 | simp [ih] |
| 63 | |
| 64 | omit [Fact (0 < P)] in |
| 65 | theorem jet_zero_coefficientBlock (q b n : ℕ) : |
| 66 | coefficientBlock P (jet P (0 : Space →L[ℝ] Space) q) b n=0 := by |
| 67 | simp only [coefficientBlock,jet_boundLevel,norm_zero,ite_self,Finset.sum_const_zero,mul_zero] |
| 68 | |
| 69 | omit [Fact (0 < P)] in |
| 70 | theorem jet_positive_coefficientBlock (A : Space →L[ℝ] Space) (q b n : ℕ) (hn : 0 < n) : |
| 71 | coefficientBlock P (jet P A q) b n=0 := by |
| 72 | unfold coefficientBlock |
| 73 | have hz (r : ℕ) : boundLevel P (jet P A q) (n+r)=0 := by |
| 74 | rw [jet_boundLevel,ite_eq_right (by omega)] |
| 75 | simp only [hz,Finset.sum_const_zero,mul_zero] |
| 76 | |
| 77 | omit [Fact (0 < P)] in |
| 78 | theorem jet_zero_weightedCoefficient (q b N : ℕ) (ρ : ℝ) : |
| 79 | weightedCoefficient P (jet P (0 : Space →L[ℝ] Space) q) b N ρ=0 := by |
| 80 | simp only [weightedCoefficient,jet_zero_coefficientBlock,mul_zero,Finset.sum_const_zero] |
| 81 | |
| 82 | theorem coefficient_operator_id : |
| 83 | (coefficient P (ContinuousLinearMap.id ℝ Space)).operator=ContinuousLinearMap.id ℝ (LiftL2 P) := by |
| 84 | apply ContinuousLinearMap.ext |
| 85 | intro u |
| 86 | apply Lp.ext |
| 87 | filter_upwards [(coefficient P (ContinuousLinearMap.id ℝ Space)).operator_ae u] with x hx |
| 88 | exact hx |
| 89 | |
| 90 | theorem coefficient_operator_zero : |
| 91 | (coefficient P (0 : Space →L[ℝ] Space)).operator=0 := by |
| 92 | apply ContinuousLinearMap.ext |
| 93 | intro u |
| 94 | apply Lp.ext |
| 95 | filter_upwards [(coefficient P (0 : Space →L[ℝ] Space)).operator_ae u, |
| 96 | Lp.coeFn_zero Space 2 (liftMeasure P)] with x hx hz |
| 97 | exact hx.trans hz.symm |
| 98 | |
| 99 | def tower (T : ℝ) (A : Space →L[ℝ] Space) : CoefficientTower P T where |
| 100 | coefficient _ := coefficient P A |
| 101 | jet q _ := jet P A q |
| 102 | continuous _ := continuous_const |
| 103 | |
| 104 | def data {T : ℝ} (F R : FieldTower P T) : EulerAllOrderCorrectionData.Data P T where |
| 105 | κ := 1 |
| 106 | direction := 0 |
| 107 | scale_bound := by norm_num |
| 108 | direction_bound := by simp only [norm_zero,zero_le_one] |
| 109 | metric := tower P T (ContinuousLinearMap.id ℝ Space) |
| 110 | metric_continuous := by |
| 111 | change Continuous (fun _ : Icc (0 : ℝ) T => (coefficient P (ContinuousLinearMap.id ℝ Space)).operator) |
| 112 | exact continuous_const |
| 113 | coercivity := 1 |
| 114 | coercivity_pos := zero_lt_one |
| 115 | metric_pos _ _ v := by |
| 116 | change 1*‖v‖^2 ≤ ⟪v,v⟫_ℝ |
| 117 | simp only [one_mul,real_inner_self_eq_norm_sq,le_refl] |
| 118 | linear := tower P T 0 |
| 119 | quadratic _ := tower P T 0 |
| 120 | approximation := F |
| 121 | residual := R |
| 122 | |
| 123 | def metricBudget {T : ℝ} (hT : 0 ≤ T) (F R : FieldTower P T) : |
| 124 | MetricBudget P T hT ((data P F R).atOrder P 1) where |
| 125 | metric _ := coefficient P (ContinuousLinearMap.id ℝ Space) |
| 126 | continuous := continuous_const |
| 127 | derivative := 0 |
| 128 | hasDeriv t _ := by |
| 129 | change HasDerivAt (fun _ => (coefficient P (ContinuousLinearMap.id ℝ Space)).operator) 0 t |
| 130 | exact hasDerivAt_const t _ |
| 131 | c := 1 |
| 132 | c_pos := zero_lt_one |
| 133 | symmetric _ _ _ _ := rfl |
| 134 | coercive _ _ v := by simp only [coefficient,id_apply,one_pow,one_mul,real_inner_self_eq_norm_sq,le_refl] |
| 135 | inverse _ _ v := by change v=v; rfl |
| 136 | bound := 1 |
| 137 | first := 0 |
| 138 | time := 0 |
| 139 | bound_nonneg := zero_le_one |
| 140 | first_nonneg := le_rfl |
| 141 | time_nonneg := le_rfl |
| 142 | bound_le _ := by simp only [coefficient,coe_nnnorm]; exact norm_id_le |
| 143 | first_le _ := le_rfl |
| 144 | time_le _ := by simp only [ContinuousMap.zero_apply,norm_zero,le_refl] |
| 145 | |
| 146 | def pressureBound : ℝ := 9^729 |
| 147 | |
| 148 | theorem pressureBound_one_le : 1 ≤ pressureBound := |
| 149 | one_le_pow₀ (by norm_num : (1 : ℝ) ≤ 9) |
| 150 | |
| 151 | omit [Fact (0 < P)] in |
| 152 | theorem identity_base (q r : ℕ) : |
| 153 | boundLevel P (jet P (ContinuousLinearMap.id ℝ Space) q) r ≤ 1 := by |
| 154 | rw [jet_boundLevel] |
| 155 | split_ifs |
| 156 | · exact norm_id_le |
| 157 | · exact zero_le_one |
| 158 | |
| 159 | omit [Fact (0 < P)] in |
| 160 | theorem identity_pressure (q : ℕ) (hq : 6 ≤ q) : |
| 161 | (EulerH6Pressure.CoefficientJet.restrict (jet P (ContinuousLinearMap.id ℝ Space) q) |
| 162 | 5 (by omega)).pressureConstant 1 ≤ pressureBound ∧ |
| 163 | (EulerH6Pressure.CoefficientJet.restrict (jet P (ContinuousLinearMap.id ℝ Space) q) |
| 164 | 6 hq).pressureConstant 1 ≤ pressureBound := by |
| 165 | simpa only [mul_one,pressureBound] using fixed_pressure_constants P hq |
| 166 | (jet P (ContinuousLinearMap.id ℝ Space) q) 1 1 zero_lt_one le_rfl (by norm_num) |
| 167 | (fun r _ => identity_base P q r) |
| 168 | |
| 169 | end EulerConstantCorrection |