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.PacketLiftedCoefficient |
| 2 | import Euler.LiftedSmoothTimeFieldBounds |
| 3 | import Euler.PacketFieldJetLp |
| 4 | import Euler.CylinderJetLpAlgebra |
| 5 | |
| 6 | /-! One fixed coefficient radius controls both the true cover sup norms |
| 7 | and the actual cylinder L² norms of the corrected lifted velocity. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | |
| 12 | namespace EulerAllOrderDriftCorrection |
| 13 | |
| 14 | open Set MeasureTheory EulerAllOrderCorrectionData EulerLiftedGradientSpace EulerSmoothLimit |
| 15 | EulerPacketCylinderField EulerPacketProfileRecursion EulerCylinderSmoothOrbit |
| 16 | EulerLiftedSmoothTimeField EulerLiftedTransportTrace EulerMetricTransport |
| 17 | EulerCylinderCoordinates EulerCylinderSobolevSpace EulerSobolevGevreyOperators |
| 18 | EulerCylinderJetLp EulerCylinderCoverDescent |
| 19 | open scoped ContDiff BoundedContinuousFunction |
| 20 | |
| 21 | def liftedInputConstant (P : ℝ) [Fact (0 < P)] : ℝ := 1 + sobolevEmbeddingConstant P 3 |
| 22 | |
| 23 | def liftedInputRadius (R ρ : ℝ) : ℝ := |
| 24 | 1 + ‖coordinateEquiv.symm.toContinuousLinearMap‖ * (R + ρ⁻¹) |
| 25 | |
| 26 | theorem liftedInputConstant_one_le (P : ℝ) [Fact (0 < P)] : 1 ≤ liftedInputConstant P := by |
| 27 | have h := sobolevEmbeddingConstant_nonneg P 3 |
| 28 | dsimp [liftedInputConstant] |
| 29 | linarith |
| 30 | |
| 31 | theorem liftedInputConstant_embedding_le (P : ℝ) [Fact (0 < P)] : |
| 32 | sobolevEmbeddingConstant P 3 ≤ liftedInputConstant P := by |
| 33 | dsimp [liftedInputConstant] |
| 34 | linarith |
| 35 | |
| 36 | theorem liftedInputRadius_pos (R ρ : ℝ) (hR : 0 ≤ R) (hρ : 0 < ρ) : |
| 37 | 0 < liftedInputRadius R ρ := by |
| 38 | dsimp [liftedInputRadius] |
| 39 | positivity |
| 40 | |
| 41 | theorem liftedInputRadius_packet (R ρ : ℝ) (_hR : 0 ≤ R) (hρ : 0 < ρ) : |
| 42 | ‖coordinateEquiv.symm.toContinuousLinearMap‖ * R ≤ liftedInputRadius R ρ := by |
| 43 | have h := mul_nonneg (norm_nonneg coordinateEquiv.symm.toContinuousLinearMap) (inv_nonneg.mpr hρ.le) |
| 44 | dsimp [liftedInputRadius] |
| 45 | nlinarith |
| 46 | |
| 47 | theorem liftedInputRadius_error (R ρ : ℝ) (hR : 0 ≤ R) : |
| 48 | ‖coordinateEquiv.symm.toContinuousLinearMap‖ * ρ⁻¹ ≤ liftedInputRadius R ρ := by |
| 49 | have h := mul_nonneg (norm_nonneg coordinateEquiv.symm.toContinuousLinearMap) hR |
| 50 | dsimp [liftedInputRadius] |
| 51 | nlinarith |
| 52 | |
| 53 | private theorem jet_envelope_mono {C D R S : ℝ} (hD : 0 ≤ D) (hR : 0 ≤ R) |
| 54 | (hCD : C ≤ D) (hRS : R ≤ S) (n : ℕ) : |
| 55 | C*R^n*(n.factorial : ℝ)^2 ≤ D*S^n*(n.factorial : ℝ)^2 := by |
| 56 | exact mul_le_mul_of_nonneg_right |
| 57 | (mul_le_mul hCD (pow_le_pow_left₀ hR hRS n) (pow_nonneg hR n) hD) |
| 58 | (sq_nonneg _) |
| 59 | |
| 60 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} {hT : 0 < T} {A : Data P T} |
| 61 | (B : Budget P hT A) {raw : VectorField} |
| 62 | |
| 63 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent [×n]→L[ℝ] Space) := inferInstance |
| 64 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent [×n]→L[ℝ] Space) := inferInstance |
| 65 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent [×n]→L[ℝ] LiftTangent) := inferInstance |
| 66 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent [×n]→L[ℝ] LiftTangent) := inferInstance |
| 67 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] Space)) := inferInstance |
| 68 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] Space)) := inferInstance |
| 69 | private local instance (n : ℕ) : NormedAddCommGroup (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 70 | private local instance (n : ℕ) : NormedSpace ℝ (LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 71 | private local instance (n : ℕ) : NormedAddCommGroup C(Icc (0 : ℝ) T, |
| 72 | LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] Space)) := inferInstance |
| 73 | private local instance (n : ℕ) : NormedAddCommGroup C(Icc (0 : ℝ) T, |
| 74 | LiftTangent →ᵇ (LiftTangent [×n]→L[ℝ] LiftTangent)) := inferInstance |
| 75 | |
| 76 | private theorem pointField_map (G : Field P T raw) (L : Space →L[ℝ] Space) |
| 77 | (t : Icc (0 : ℝ) T) : |
| 78 | (G.map L).toFieldTower.pointField t = fun q => L (G.toFieldTower.pointField t q) := by |
| 79 | funext q |
| 80 | have h : (G.map L).toFieldTower.pointField t (coveringMap P (sectionPoint P q)) = |
| 81 | L (G.toFieldTower.pointField t (coveringMap P (sectionPoint P q))) := by |
| 82 | change (G.map L).toFieldTower.pointField t |
| 83 | ((sectionPoint P q).1,((sectionPoint P q).2 : AddCircle P)) = |
| 84 | L (G.toFieldTower.pointField t ((sectionPoint P q).1,((sectionPoint P q).2 : AddCircle P))) |
| 85 | rw [(G.map L).toFieldTower_pointField_raw, G.toFieldTower_pointField_raw] |
| 86 | simpa only [coveringMap_sectionPoint] using h |
| 87 | |
| 88 | theorem Budget.liftedPacketCoefficient_jetSeries (G : Field P T raw) |
| 89 | (hG : A.approximation = G.toFieldTower) (n : ℕ) (t : Icc (0 : ℝ) T) : |
| 90 | (fun q => jetSeries P ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) q n) = |
| 91 | tensor P (fun q => transportDirection A.κ A.direction |
| 92 | ((B.correctedFieldTower P).pointField t q)) n := by |
| 93 | have he : ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) = |
| 94 | fun x => transportDirection A.κ A.direction ((B.correctedFieldTower P).pointField t (coveringMap P x)) := |
| 95 | funext (B.liftedPacketCoefficient_eq_corrected P G hG t) |
| 96 | rw [he] |
| 97 | rfl |
| 98 | |
| 99 | theorem Budget.liftedPacketCoefficient_memLp (G : Field P T raw) |
| 100 | (hG : A.approximation = G.toFieldTower) (n : ℕ) (t : Icc (0 : ℝ) T) : |
| 101 | MemLp (fun q => jetSeries P ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) q n) |
| 102 | 2 (liftMeasure P) := by |
| 103 | rw [B.liftedPacketCoefficient_jetSeries P G hG] |
| 104 | exact tensor_map_memLp P (transportLinear A.κ A.direction) _ |
| 105 | ((B.correctedFieldTower P).pointField_smooth t) n ((B.correctedFieldTower P).coverTensor_memLp n t) |
| 106 | |
| 107 | theorem Budget.liftedPacketCoefficient_jet_bound (G : Field P T raw) |
| 108 | (k R ρ C0 Cn Ce : ℝ) (hk : 1 ≤ k) (hκ : A.κ = k⁻¹) (hm : ‖A.direction‖ ≤ 1) |
| 109 | (hR : 0 ≤ R) (hρ : 0 < ρ) (hC0 : 0 ≤ C0) (hCn : 0 ≤ Cn) (hCe : 0 ≤ Ce) |
| 110 | (hG : G.WordBound 6 R C0 0) |
| 111 | (hN : (G.map (normalComponentMap A.direction)).WordBound 6 R (Cn/k) 0) |
| 112 | (hE : ∀ n (t : Icc (0 : ℝ) T), |
| 113 | weightedNorm P 6 n ρ ((B.fieldTower P).realization (n+6) t) ≤ Ce) (n : ℕ) : |
| 114 | ‖(B.liftedPacketCoefficient P G).jet n‖ ≤ |
| 115 | (liftedInputConstant P*((C0+Cn)/k+2*Ce)) * (liftedInputRadius R ρ)^n * (n.factorial : ℝ)^2 := by |
| 116 | have hK : 0 ≤ liftedInputConstant P := (zero_le_one.trans (liftedInputConstant_one_le P)) |
| 117 | have hk0 : 0 < k := by linarith |
| 118 | have hA' (j : ℕ) : ‖G.toSmoothTimeField.jet j‖ ≤ |
| 119 | (liftedInputConstant P*C0)*(liftedInputRadius R ρ)^j*(j.factorial : ℝ)^2 := |
| 120 | (hG.toSmoothTimeField_jet_bound (by norm_num) hR hC0 j).trans |
| 121 | (jet_envelope_mono (mul_nonneg hK hC0) |
| 122 | (mul_nonneg (norm_nonneg _) hR) |
| 123 | (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hC0) |
| 124 | (liftedInputRadius_packet R ρ hR hρ) j) |
| 125 | have hN' (j : ℕ) : ‖(G.toSmoothTimeField.map (normalComponentMap A.direction)).jet j‖ ≤ |
| 126 | ((liftedInputConstant P*Cn)/k)*(liftedInputRadius R ρ)^j*(j.factorial : ℝ)^2 := by |
| 127 | rw [← G.toSmoothTimeField_map_jet] |
| 128 | have hn := (hN.toSmoothTimeField_jet_bound (by norm_num) hR (div_nonneg hCn hk0.le) j).trans |
| 129 | (jet_envelope_mono (mul_nonneg hK (div_nonneg hCn hk0.le)) |
| 130 | (mul_nonneg (norm_nonneg _) hR) |
| 131 | (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) (div_nonneg hCn hk0.le)) |
| 132 | (liftedInputRadius_packet R ρ hR hρ) j) |
| 133 | simpa only [mul_div_assoc] using hn |
| 134 | have hE' (j : ℕ) : ‖(B.correctionCoefficient P).jet j‖ ≤ |
| 135 | (liftedInputConstant P*Ce)*(liftedInputRadius R ρ)^j*(j.factorial : ℝ)^2 := |
| 136 | ((B.fieldTower P).toSmoothTimeField_jet_weighted j ρ Ce hρ hCe (hE j)).trans |
| 137 | (jet_envelope_mono (mul_nonneg hK hCe) |
| 138 | (mul_nonneg (norm_nonneg _) (inv_nonneg.mpr hρ.le)) |
| 139 | (mul_le_mul_of_nonneg_right (liftedInputConstant_embedding_le P) hCe) |
| 140 | (liftedInputRadius_error R ρ hR) j) |
| 141 | have h := lift_add_inverse_scale_bound G.toSmoothTimeField (B.correctionCoefficient P) |
| 142 | k hk A.direction hm (liftedInputRadius R ρ) (liftedInputConstant P*C0) |
| 143 | (liftedInputConstant P*Cn) (liftedInputConstant P*Ce) |
| 144 | (liftedInputRadius_pos R ρ hR hρ).le (mul_nonneg hK hCe) hA' hN' hE' n |
| 145 | change ‖(lift (G.toSmoothTimeField.add (B.correctionCoefficient P)) A.κ A.direction).jet n‖ ≤ _ |
| 146 | rw [hκ] |
| 147 | apply h.trans_eq |
| 148 | ring |
| 149 | |
| 150 | theorem Budget.liftedPacketCoefficient_L2_bound (G : Field P T raw) |
| 151 | (hGfield : A.approximation = G.toFieldTower) |
| 152 | (k R ρ C0 Cn Ce : ℝ) (hk : 1 ≤ k) (hκ : A.κ = k⁻¹) (hm : ‖A.direction‖ ≤ 1) |
| 153 | (hR : 0 ≤ R) (hρ : 0 < ρ) (hC0 : 0 ≤ C0) (hCn : 0 ≤ Cn) (hCe : 0 ≤ Ce) |
| 154 | (hG : G.WordBound 6 R C0 0) |
| 155 | (hN : (G.map (normalComponentMap A.direction)).WordBound 6 R (Cn/k) 0) |
| 156 | (hE : ∀ n (t : Icc (0 : ℝ) T), |
| 157 | weightedNorm P 6 n ρ ((B.fieldTower P).realization (n+6) t) ≤ Ce) |
| 158 | (n : ℕ) (t : Icc (0 : ℝ) T) : |
| 159 | (eLpNorm (fun q => jetSeries P |
| 160 | ((B.liftedPacketCoefficient P G).field t : LiftTangent → LiftTangent) q n) 2 (liftMeasure P)).toReal ≤ |
| 161 | (liftedInputConstant P*((C0+Cn)/k+2*Ce)) * (liftedInputRadius R ρ)^n * (n.factorial : ℝ)^2 := by |
| 162 | have hk0 : 0 < k := by linarith |
| 163 | have hA' := (hG.coverTensor_bound n t).trans |
| 164 | (jet_envelope_mono hC0 (mul_nonneg (norm_nonneg _) hR) le_rfl |
| 165 | (liftedInputRadius_packet R ρ hR hρ) n) |
| 166 | have hN' := (hN.coverTensor_bound n t).trans |
| 167 | (jet_envelope_mono (div_nonneg hCn hk0.le) (mul_nonneg (norm_nonneg _) hR) le_rfl |
| 168 | (liftedInputRadius_packet R ρ hR hρ) n) |
| 169 | rw [pointField_map P G (normalComponentMap A.direction) t] at hN' |
| 170 | have hE' := ((B.fieldTower P).coverTensor_weighted n ρ Ce hρ t (hE n t)).trans |
| 171 | (jet_envelope_mono hCe (mul_nonneg (norm_nonneg _) (inv_nonneg.mpr hρ.le)) le_rfl |
| 172 | (liftedInputRadius_error R ρ hR) n) |
| 173 | rw [B.liftedPacketCoefficient_jetSeries P G hGfield, |
| 174 | B.correctedFieldTower_eq P, FieldTower.add_pointField, hGfield] |
| 175 | have h := tensor_transport_add_norm_le P A.κ A.direction |
| 176 | (G.toFieldTower.pointField t) ((B.fieldTower P).pointField t) |
| 177 | (G.toFieldTower.pointField_smooth t) ((B.fieldTower P).pointField_smooth t) n |
| 178 | (G.toFieldTower.coverTensor_memLp n t) ((B.fieldTower P).coverTensor_memLp n t) |
| 179 | have hb := h.trans (add_le_add (add_le_add |
| 180 | (mul_le_mul_of_nonneg_left hA' (abs_nonneg A.κ)) hN') |
| 181 | (mul_le_mul_of_nonneg_left hE' (add_nonneg (abs_nonneg A.κ) (norm_nonneg A.direction)))) |
| 182 | have hki : |A.κ| ≤ 1 := by |
| 183 | rw [hκ, abs_of_pos (inv_pos.mpr hk0)] |
| 184 | exact inv_le_one_of_one_le₀ hk |
| 185 | have hcoef : |A.κ| * C0+Cn/k+(|A.κ| + ‖A.direction‖)*Ce ≤ (C0+Cn)/k+2*Ce := by |
| 186 | have he := mul_le_mul_of_nonneg_right (add_le_add hki hm) hCe |
| 187 | calc |
| 188 | _ ≤ |A.κ| * C0+Cn/k+(1+1)*Ce := add_le_add le_rfl he |
| 189 | _ = _ := by rw [hκ, abs_of_pos (inv_pos.mpr hk0)]; ring |
| 190 | have hcoef' : |A.κ| * C0+Cn/k+(|A.κ| + ‖A.direction‖)*Ce ≤ |
| 191 | liftedInputConstant P*((C0+Cn)/k+2*Ce) := |
| 192 | hcoef.trans (by |
| 193 | have hn : 0 ≤ (C0+Cn)/k+2*Ce := by positivity |
| 194 | simpa only [one_mul] using mul_le_mul_of_nonneg_right (liftedInputConstant_one_le P) hn) |
| 195 | apply hb.trans |
| 196 | calc |
| 197 | _ = (|A.κ| * C0+Cn/k+(|A.κ| + ‖A.direction‖)*Ce) * |
| 198 | (liftedInputRadius R ρ)^n*(n.factorial : ℝ)^2 := by ring |
| 199 | _ ≤ _ := mul_le_mul_of_nonneg_right |
| 200 | (mul_le_mul_of_nonneg_right hcoef' (pow_nonneg (liftedInputRadius_pos R ρ hR hρ).le n)) |
| 201 | (sq_nonneg _) |
| 202 | |
| 203 | end EulerAllOrderDriftCorrection |