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.SourceCylinderForcing |
| 2 | import Euler.LpCylinderTimeWeight |
| 3 | import Euler.OperatorGevreyCalculus |
| 4 | |
| 5 | /-! |
| 6 | # Same-radius bounds for the actual forward time right side |
| 7 | |
| 8 | The coordinate and physical right sides are the literal bounded coefficient |
| 9 | expressions in (12) and its physical reconstruction. They preserve the input |
| 10 | external radius and shift. Scalar time weights commute with these expressions; |
| 11 | in particular no derivative of the positive profile is used. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerSourceCylinderTimeBounds |
| 17 | |
| 18 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients EulerLiftedGradientSpace |
| 19 | EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular |
| 20 | EulerSourceCylinderForcing EulerSourceForwardCoefficient EulerTransverseForwardCoefficientGevrey |
| 21 | EulerOperatorGevreyCalculus EulerGevrey EulerParameterWordGevrey EulerTimeLpGramGevrey |
| 22 | EulerContinuousTimeWeight |
| 23 | open scoped ContDiff BoundedContinuousFunction |
| 24 | |
| 25 | variable (P : ℝ) [Fact (0 < P)] |
| 26 | {K U E ι : Type*} [TopologicalSpace K] [CompactSpace K] |
| 27 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 28 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] [Fintype ι] |
| 29 | (S : Set Space) (hS : MeasurableSet S) |
| 30 | (Q Q₁ : SmoothCoefficientPath K (U →L[ℝ] E)) |
| 31 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 32 | (f : C(K,Supported P E S hS)) (a : C(K,Supported P U S hS)) |
| 33 | |
| 34 | def coordinateRhs : C(K,Supported P U S hS) := |
| 35 | supportedMultiplierMap P S hS (sourceGenerator Q Q₁ c hc hQ) a+ |
| 36 | projectedForcing P S hS Q c hc hQ f |
| 37 | |
| 38 | def physicalRhs : C(K,Supported P E S hS) := |
| 39 | supportedMultiplierMap P S hS Q₁.field a+ |
| 40 | supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a) |
| 41 | |
| 42 | theorem coordinateRhs_contDiff |
| 43 | (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) |
| 44 | (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : |
| 45 | ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b |
| 46 | (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) := by |
| 47 | have h₁ := supported_product_orbit_contDiff P (sourceGenerator Q Q₁ c hc hQ) |
| 48 | (sourceGenerator_translation_contDiff Q Q₁ c hc hQ) S hS a ha |
| 49 | have h₂ := projectedForcing_contDiff P S hS Q c hc hQ f hf |
| 50 | simpa only [coordinateRhs,map_add] using h₁.add h₂ |
| 51 | |
| 52 | theorem physicalRhs_contDiff |
| 53 | (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) |
| 54 | (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) : |
| 55 | ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b |
| 56 | (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) := by |
| 57 | have h₁ := supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha |
| 58 | have h₂ := supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS |
| 59 | (coordinateRhs P S hS Q Q₁ c hc hQ f a) (coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha) |
| 60 | simpa only [physicalRhs,map_add] using h₁.add h₂ |
| 61 | |
| 62 | def coordinateCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := |
| 63 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (18*Ri*C₀*C₁)*Da+ |
| 64 | 3*sobolevCoefficientAmplitude ι q (4*Ri) (3*Ri*C₀)*Df |
| 65 | |
| 66 | def physicalCost (ι : Type*) [Fintype ι] (q : ℕ) (Ri C₀ C₁ Df Da : ℝ) : ℝ := |
| 67 | 3*sobolevCoefficientAmplitude ι q (4*Ri) C₁*Da+ |
| 68 | 3*sobolevCoefficientAmplitude ι q (4*Ri) C₀*coordinateCost ι q Ri C₀ C₁ Df Da |
| 69 | |
| 70 | theorem coordinateRhs_block_bound |
| 71 | (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) |
| 72 | (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) |
| 73 | (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) |
| 74 | (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) |
| 75 | (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) |
| 76 | (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) |
| 77 | (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) |
| 78 | (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) |
| 79 | (d : ℕ) |
| 80 | (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) |
| 81 | (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) |
| 82 | (n : ℕ) : |
| 83 | block directions q (fun b : LiftTangent => pathTranslate P b |
| 84 | (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ |
| 85 | coordinateCost ι q Ri C₀ C₁ Df Da*majorant R d n := by |
| 86 | obtain ⟨hi,-⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi |
| 87 | let B := sourceGenerator Q Q₁ c hc hQ |
| 88 | have hB := sourceGenerator_translation_contDiff Q Q₁ c hc hQ |
| 89 | have hbB := sourceGenerator_translation_bound Q Q₁ c hc hQ Rc C₀ C₁ Ri hRc hC₀ hC₁ hRi hbQ hbQ₁ |
| 90 | have hfirst := product_orbit_block_bound P B hB directions hd q (includePath P S hS a) ha |
| 91 | (4*Ri) (18*Ri*C₀*C₁) R Da (by positivity) (by positivity) hDa hR hbB d hba n |
| 92 | have hsecond := projectedForcing_block_bound P S hS Q c hc hQ directions hd q f hf |
| 93 | Rc C₀ Ri R Df hRc hC₀ hDf hRi hR hbQ d hbf n |
| 94 | have hsum := block_add_le directions q |
| 95 | (fun b : LiftTangent => pathTranslate P b (includePath P S hS |
| 96 | (supportedMultiplierMap P S hS B a))) |
| 97 | (fun b : LiftTangent => pathTranslate P b (includePath P S hS |
| 98 | (projectedForcing P S hS Q c hc hQ f))) |
| 99 | (supported_product_orbit_contDiff P B hB S hS a ha) |
| 100 | (projectedForcing_contDiff P S hS Q c hc hQ f hf) n 0 |
| 101 | have hbound := hsum.trans (add_le_add hfirst hsecond) |
| 102 | simpa only [coordinateRhs,coordinateCost,B,map_add,Pi.add_def,add_mul] using hbound |
| 103 | |
| 104 | theorem physicalRhs_block_bound |
| 105 | (directions : ι → LiftTangent) (hd : ∀ i, ‖directions i‖ ≤ 1) (q : ℕ) |
| 106 | (hf : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS f))) |
| 107 | (ha : ContDiff ℝ ∞ (fun b : LiftTangent => pathTranslate P b (includePath P S hS a))) |
| 108 | (Rc C₀ C₁ Ri R Df Da : ℝ) (hRc : 0 ≤ Rc) (hC₀ : 0 ≤ C₀) (hC₁ : 0 ≤ C₁) |
| 109 | (hDf : 0 ≤ Df) (hDa : 0 ≤ Da) (hRi : 2*gramCost c C₀ 1*(Rc+1) ≤ Ri) |
| 110 | (hR : sobolevCoefficientRadius ι (4*Ri) ≤ R) |
| 111 | (hbQ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q.field t : Space → U →L[ℝ] E) x‖ ≤ C₀*majorant Rc 0 n) |
| 112 | (hbQ₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (Q₁.field t : Space → U →L[ℝ] E) x‖ ≤ C₁*majorant Rc 0 n) |
| 113 | (d : ℕ) |
| 114 | (hbf : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS f)) n 0 ≤ Df*majorant R d n) |
| 115 | (hba : ∀ n, block directions q (fun b : LiftTangent => pathTranslate P b (includePath P S hS a)) n 0 ≤ Da*majorant R d n) |
| 116 | (n : ℕ) : |
| 117 | block directions q (fun b : LiftTangent => pathTranslate P b |
| 118 | (includePath P S hS (physicalRhs P S hS Q Q₁ c hc hQ f a))) n 0 ≤ |
| 119 | physicalCost ι q Ri C₀ C₁ Df Da*majorant R d n := by |
| 120 | obtain ⟨hi,hbase⟩ := inverseRadius_bounds c C₀ Rc Ri hc hRc hRi |
| 121 | have hq (j : ℕ) (b : Space) : |
| 122 | ‖iteratedFDeriv ℝ j (translateCoefficientPath Q.field) b‖ ≤ C₀*majorant (4*Ri) 0 j := |
| 123 | (Q.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₀ (majorant_nonneg Rc hRc 0 j)) (hbQ j) b).trans |
| 124 | (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₀) |
| 125 | have hq₁ (j : ℕ) (b : Space) : |
| 126 | ‖iteratedFDeriv ℝ j (translateCoefficientPath Q₁.field) b‖ ≤ C₁*majorant (4*Ri) 0 j := |
| 127 | (Q₁.norm_iteratedFDeriv_translation_le j _ (mul_nonneg hC₁ (majorant_nonneg Rc hRc 0 j)) (hbQ₁ j) b).trans |
| 128 | (mul_le_mul_of_nonneg_left (majorant_radius_mono Rc (4*Ri) hRc hbase 0 j) hC₁) |
| 129 | have hcost : 0 ≤ coordinateCost ι q Ri C₀ C₁ Df Da := by |
| 130 | unfold coordinateCost |
| 131 | exact add_nonneg |
| 132 | (mul_nonneg (mul_nonneg (by norm_num) |
| 133 | (sobolevCoefficientAmplitude_nonneg q (4*Ri) (18*Ri*C₀*C₁) (by positivity) (by positivity))) hDa) |
| 134 | (mul_nonneg (mul_nonneg (by norm_num) |
| 135 | (sobolevCoefficientAmplitude_nonneg q (4*Ri) (3*Ri*C₀) (by positivity) (by positivity))) hDf) |
| 136 | have hcoord := coordinateRhs_contDiff P S hS Q Q₁ c hc hQ f a hf ha |
| 137 | have hbcoord := coordinateRhs_block_bound P S hS Q Q₁ c hc hQ f a directions hd q hf ha |
| 138 | Rc C₀ C₁ Ri R Df Da hRc hC₀ hC₁ hDf hDa hRi hR hbQ hbQ₁ d hbf hba |
| 139 | have hfirst := product_orbit_block_bound P Q₁.field Q₁.translation_contDiff directions hd q |
| 140 | (includePath P S hS a) ha (4*Ri) C₁ R Da (by positivity) hC₁ hDa hR hq₁ d hba n |
| 141 | have hsecond := product_orbit_block_bound P Q.field Q.translation_contDiff directions hd q |
| 142 | (includePath P S hS (coordinateRhs P S hS Q Q₁ c hc hQ f a)) hcoord |
| 143 | (4*Ri) C₀ R (coordinateCost ι q Ri C₀ C₁ Df Da) (by positivity) hC₀ hcost hR hq d hbcoord n |
| 144 | have hsum := block_add_le directions q |
| 145 | (fun b : LiftTangent => pathTranslate P b (includePath P S hS (supportedMultiplierMap P S hS Q₁.field a))) |
| 146 | (fun b : LiftTangent => pathTranslate P b (includePath P S hS |
| 147 | (supportedMultiplierMap P S hS Q.field (coordinateRhs P S hS Q Q₁ c hc hQ f a)))) |
| 148 | (supported_product_orbit_contDiff P Q₁.field Q₁.translation_contDiff S hS a ha) |
| 149 | (supported_product_orbit_contDiff P Q.field Q.translation_contDiff S hS _ hcoord) n 0 |
| 150 | have hbound := hsum.trans (add_le_add hfirst hsecond) |
| 151 | simpa only [physicalRhs,physicalCost,map_add,Pi.add_def,add_mul] using hbound |
| 152 | |
| 153 | theorem coordinateRhs_weight (g : C(K,ℝ)) : |
| 154 | coordinateRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = |
| 155 | weight g (coordinateRhs P S hS Q Q₁ c hc hQ f a) := by |
| 156 | simp only [coordinateRhs,projectedForcing,supportedMultiplier_weight,map_add] |
| 157 | |
| 158 | theorem physicalRhs_weight (g : C(K,ℝ)) : |
| 159 | physicalRhs P S hS Q Q₁ c hc hQ (weight g f) (weight g a) = |
| 160 | weight g (physicalRhs P S hS Q Q₁ c hc hQ f a) := by |
| 161 | simp only [physicalRhs,coordinateRhs_weight,supportedMultiplier_weight,map_add] |
| 162 | |
| 163 | end EulerSourceCylinderTimeBounds |