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.TransversePacketPiolaData |
| 2 | import Euler.PacketCylinderField |
| 3 | import Euler.PacketCylinderCoefficientData |
| 4 | import Euler.PacketCylinderFieldSupport |
| 5 | import Euler.PacketSourceMeanZero |
| 6 | import Euler.PacketCylinderFieldUnique |
| 7 | |
| 8 | /-! The genuine Piola constraint for every generated source high/corrector pair. -/ |
| 9 | |
| 10 | /-! ## From `Euler/PacketCylinderPiolaCorrector.lean` |
| 11 | |
| 12 | The text of `Euler/PacketCylinderPiolaCorrector.lean`, folded into this file, which was its only importer. -/ |
| 13 | |
| 14 | section |
| 15 | |
| 16 | /-! The literal raw curl-corrector equals the genuine periodic Piola corrector. -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerPacketCylinderField |
| 21 | |
| 22 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 23 | EulerMetricTransport EulerCylinderSmoothOrbit EulerPacketProfileRecursion |
| 24 | EulerPacketAngularPotential EulerPacketPeriodicPotential EulerPacketPiola |
| 25 | |
| 26 | variable {P : ℝ} [Fact (0 < P)] |
| 27 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 28 | (D : EulerTransversePacketProvider.Data U) {raw : VectorField} |
| 29 | (G : Field P D.T raw) (t : Icc (0 : ℝ) D.T) |
| 30 | |
| 31 | theorem rawMean_pointField |
| 32 | (hm : ∀ x, (∫ θ in (0 : ℝ)..P, raw (t,(x,θ))) = 0) (x : Space) : |
| 33 | (∫ θ in (0 : ℝ)..P, pointField P G.path G.orbit t (x,(θ : AddCircle P))) = 0 := by |
| 34 | convert hm x using 1 |
| 35 | apply intervalIntegral.integral_congr |
| 36 | intro θ _ |
| 37 | exact (G.raw_eq t x θ).symm |
| 38 | |
| 39 | theorem rawCorrector_eq_lifted |
| 40 | (hm : ∀ x, (∫ θ in (0 : ℝ)..P, raw (t,(x,θ))) = 0) (x : Space) (θ : ℝ) : |
| 41 | D.curlCorrector P raw (t,(x,θ)) = |
| 42 | EulerPacketConstructedPiola.corrector P (D.deformationEquiv t) D.m₀ |
| 43 | (pointField P G.path G.orbit t) (x,(θ : AddCircle P)) := by |
| 44 | let A := pointField P G.path G.orbit t |
| 45 | let Q := EulerPacketPeriodicPotential.field P (D.normal.field t) A |
| 46 | have hAc : Continuous A := smoothField_continuous P A (pointField_smooth P G.path G.orbit t) |
| 47 | have hAm : ∀ y, (∫ s in (0 : ℝ)..P, A (y,(s : AddCircle P))) = 0 := |
| 48 | rawMean_pointField D G t hm |
| 49 | have hQ : (fun y : LiftTangent => D.rawPotential P raw (t,y)) = |
| 50 | fun y : LiftTangent => Q (y.1,(y.2 : AddCircle P)) := by |
| 51 | funext y |
| 52 | have hraw : (fun s : ℝ => raw (t,(y.1,s))) = |
| 53 | fun s : ℝ => A (y.1,(s : AddCircle P)) := funext (fun s => G.raw_eq t y.1 s) |
| 54 | change potential P (D.normal.field (D.clamp t) y.1) |
| 55 | (fun s : ℝ => raw (t,(y.1,s))) y.2 = _ |
| 56 | rw [EulerTransversePacketProvider.Data.clamp_coe,hraw] |
| 57 | have hc := field_cover P (D.normal.field t) A hAc hAm y |
| 58 | simpa only [Q,coveringMap,coveringPotential,localFieldLift,Prod.fst_zero, |
| 59 | Prod.snd_zero,zero_add] using hc.symm |
| 60 | change EulerMeanBoundary.curlMatrix |
| 61 | ((fderiv ℝ (fun y : LiftTangent => D.rawPotential P raw (t,y)) (x,θ)).comp |
| 62 | ((ContinuousLinearMap.inl ℝ Space ℝ).comp (D.FInv.field (D.clamp t) x))) = _ |
| 63 | rw [EulerTransversePacketProvider.Data.clamp_coe,hQ,coverField_fderiv] |
| 64 | rfl |
| 65 | |
| 66 | end EulerPacketCylinderField |
| 67 | end |
| 68 | |
| 69 | end |
| 70 | |
| 71 | /-! ## From `Euler/PacketCylinderPiolaPair.lean` |
| 72 | |
| 73 | The text of `Euler/PacketCylinderPiolaPair.lean`, folded into this file, which was its only importer. -/ |
| 74 | |
| 75 | section |
| 76 | |
| 77 | /-! Every actual compact high/corrector pair is a member of the closed lifted solenoidal space. -/ |
| 78 | |
| 79 | noncomputable section |
| 80 | |
| 81 | namespace EulerPacketCylinderField |
| 82 | |
| 83 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerMetricTransport |
| 84 | EulerCylinderSmoothOrbit EulerLpCylinderPaths EulerPacketProfileRecursion |
| 85 | EulerPacketConstructedPiola |
| 86 | open scoped ContDiff |
| 87 | |
| 88 | variable {P : ℝ} [Fact (0 < P)] |
| 89 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 90 | (D : EulerTransversePacketProvider.Data U) |
| 91 | |
| 92 | def packetInverseCoefficient : MatrixCoefficient D.T |
| 93 | (fun z => D.FInv.field (D.clamp z.1) z.2.1) where |
| 94 | path := D.FInv.field |
| 95 | orbit := D.FInv.translation_contDiff |
| 96 | raw_eq t _ _ := by rw [EulerTransversePacketProvider.Data.clamp_coe] |
| 97 | |
| 98 | def piolaPairRaw (κ : ℝ) (raw : VectorField) (p : ℕ) : VectorField := fun z => |
| 99 | D.FInv.field (D.clamp z.1) z.2.1 (κ^p • raw z+κ^(p+1) • D.curlCorrector P raw z) |
| 100 | |
| 101 | def piolaPairField {raw : VectorField} (G : Field P D.T raw) |
| 102 | (C : Field P D.T (D.curlCorrector P raw)) (κ : ℝ) (p : ℕ) : |
| 103 | Field P D.T (piolaPairRaw (P := P) D κ raw p) := |
| 104 | (packetInverseCoefficient D).multiply ((G.smul (κ^p)).add (C.smul (κ^(p+1)))) |
| 105 | |
| 106 | theorem piolaPairField_mem {raw : VectorField} (G : Field P D.T raw) |
| 107 | (C : Field P D.T (D.curlCorrector P raw)) (κ : ℝ) (p : ℕ) (t : Icc (0 : ℝ) D.T) |
| 108 | (Ξ : Space → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
| 109 | (hF : ∀ x, fderiv ℝ Ξ x = D.F.field t x) |
| 110 | (hdet : ∀ x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det = 1) |
| 111 | (hs : G.path t ∈ Supported P Space D.support D.support_measurable) |
| 112 | (hm : ∀ x, (∫ θ in (0 : ℝ)..P, raw (t,(x,θ))) = 0) |
| 113 | (htan : ∀ x θ, inner ℝ (D.normalField (t,(x,θ))) (raw (t,(x,θ))) = 0) : |
| 114 | (piolaPairField D G C κ p).path t ∈ divergenceFreeSpace P κ D.m₀ := by |
| 115 | let A := pointField P G.path G.orbit t |
| 116 | have hA : ∀ x, ContDiff ℝ ∞ (localFieldLift P A x) := pointField_smooth P G.path G.orbit t |
| 117 | have hAc : HasCompactSupport A := by |
| 118 | change HasCompactSupport (pointField P G.path G.orbit t) |
| 119 | rw [pointField_eq_representative] |
| 120 | exact representative_hasCompactSupport P D.support D.support_measurable D.support_compact |
| 121 | (G.path t) (path_evaluation_smooth P G.path G.orbit t) hs |
| 122 | have hAm : ∀ x, (∫ θ in (0 : ℝ)..P, A (x,(θ : AddCircle P))) = 0 := |
| 123 | rawMean_pointField D G t hm |
| 124 | have hN : ContDiff ℝ ∞ (EulerPacketConstructedPiola.normal (D.deformationEquiv t) D.m₀) := |
| 125 | D.normal.smooth t |
| 126 | have hAt : ∀ z, inner ℝ (EulerPacketConstructedPiola.normal (D.deformationEquiv t) D.m₀ z.1) |
| 127 | (A z) = 0 := by |
| 128 | intro z |
| 129 | obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective z.2 |
| 130 | have ht := htan z.1 θ |
| 131 | rw [EulerTransversePacketProvider.Data.normalField, |
| 132 | EulerTransversePacketProvider.Data.clamp_coe,G.raw_eq,hθ] at ht |
| 133 | exact ht |
| 134 | let L := pairLp P κ D.m₀ Ξ A hΞ hAc (D.deformationEquiv t) hN D.initialNormal_ne_zero hA hAm p |
| 135 | have hL : L ∈ divergenceFreeSpace P κ D.m₀ := |
| 136 | pairLp_mem P κ D.m₀ Ξ A hΞ hAc (D.deformationEquiv t) hN D.initialNormal_ne_zero hA hAm p |
| 137 | have hLrep := pairLp_ae P κ D.m₀ Ξ A hΞ hAc (D.deformationEquiv t) hN |
| 138 | D.initialNormal_ne_zero hA hAm hF hdet hAt p |
| 139 | let H := piolaPairField D G C κ p |
| 140 | have he : H.path t = L := by |
| 141 | apply Lp.ext |
| 142 | filter_upwards [pointField_ae P H.path H.orbit t,hLrep] with z hp' hl |
| 143 | obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective z.2 |
| 144 | have hh := H.raw_eq t z.1 θ |
| 145 | rw [hθ] at hh |
| 146 | calc |
| 147 | H.path t z = pointField P H.path H.orbit t z := hp' |
| 148 | _ = piolaPairRaw (P := P) D κ raw p (t,(z.1,θ)) := hh.symm |
| 149 | _ = (D.deformationEquiv t z.1).symm |
| 150 | (κ^p • A z+κ^(p+1) • EulerPacketConstructedPiola.corrector P |
| 151 | (D.deformationEquiv t) D.m₀ A z) := by |
| 152 | change D.FInv.field (D.clamp t) z.1 |
| 153 | (κ^p • raw (t,(z.1,θ))+κ^(p+1) • D.curlCorrector P raw (t,(z.1,θ))) = _ |
| 154 | rw [EulerTransversePacketProvider.Data.clamp_coe,G.raw_eq, |
| 155 | rawCorrector_eq_lifted D G t hm,hθ] |
| 156 | rfl |
| 157 | _ = L z := hl.symm |
| 158 | rw [show (piolaPairField D G C κ p).path t = L from he] |
| 159 | exact hL |
| 160 | |
| 161 | end EulerPacketCylinderField |
| 162 | end |
| 163 | |
| 164 | end |
| 165 | |
| 166 | noncomputable section |
| 167 | |
| 168 | namespace EulerPacketCylinderField |
| 169 | |
| 170 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 171 | EulerPacketProfileRecursion EulerLpCylinderPaths |
| 172 | open scoped ContDiff |
| 173 | |
| 174 | theorem Field.changeTime_apply {P T T' : ℝ} [Fact (0 < P)] {raw : VectorField} |
| 175 | (G : Field P T raw) (h : T = T') (t : Icc (0 : ℝ) T) : |
| 176 | (G.changeTime h).path ⟨t,by rw [← h]; exact t.property⟩ = G.path t := by |
| 177 | subst T' |
| 178 | rfl |
| 179 | |
| 180 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 181 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 182 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 183 | (I Iprimary : EulerTransversePacketProvider.InitialData P D) |
| 184 | |
| 185 | def sourceTime (t : Icc (0 : ℝ) M.T) : Icc (0 : ℝ) D.T := |
| 186 | ⟨t,by rw [← hT]; exact t.property⟩ |
| 187 | |
| 188 | def sourcePairField (κ : ℝ) (p : ℕ) : |
| 189 | Field P M.T (fun z => (sourceOperators P M D I).inverseFrame z |
| 190 | (κ^p • (sourceProfiles P M D I Iprimary p).high z + |
| 191 | κ^(p+1) • (sourceProfiles P M D I Iprimary p).corrector z)) := |
| 192 | (sourceCoefficientData P M D I hT).inverse.multiply |
| 193 | (((sourceProfileWitness P M D hT I Iprimary p).high.smul (κ^p)).add |
| 194 | ((sourceProfileWitness P M D hT I Iprimary p).corrector.smul (κ^(p+1)))) |
| 195 | |
| 196 | theorem sourcePairField_mem (κ : ℝ) (p : ℕ) (hp : 1 ≤ p) (t : Icc (0 : ℝ) M.T) |
| 197 | (Ξ : Space → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
| 198 | (hF : ∀ x, fderiv ℝ Ξ x = D.F.field (sourceTime M D hT t) x) |
| 199 | (hdet : ∀ x, (EulerPacketPiola.operatorMatrix (D.F.field (sourceTime M D hT t) x)).det = 1) : |
| 200 | (sourcePairField P M D hT I Iprimary κ p).path t ∈ divergenceFreeSpace P κ D.m₀ := by |
| 201 | let W := sourceProfileWitness P M D hT I Iprimary p |
| 202 | let G := W.high.changeTime hT |
| 203 | let C := (W.corrector.congr (fun _ _ _ => by rw [source_corrector_eq P M D I Iprimary p hp])).changeTime hT |
| 204 | let V := piolaPairField D G C κ p |
| 205 | have hs : G.path (sourceTime M D hT t) ∈ Supported P Space D.support D.support_measurable := |
| 206 | G.supported_of_raw_zero D.support D.support_measurable |
| 207 | (raw_zero_changeTime hT D.support W.high_zero) _ |
| 208 | have hm : ∀ x, (∫ θ in (0 : ℝ)..P, |
| 209 | (sourceProfiles P M D I Iprimary p).high (sourceTime M D hT t,(x,θ))) = 0 := |
| 210 | source_high_mean_zero P M D hT I Iprimary p _ |
| 211 | have ht : ∀ x θ, inner ℝ (D.normalField (sourceTime M D hT t,(x,θ))) |
| 212 | ((sourceProfiles P M D I Iprimary p).high (sourceTime M D hT t,(x,θ))) = 0 := |
| 213 | source_high_tangent P M D hT I Iprimary p _ |
| 214 | have hV : V.path (sourceTime M D hT t) ∈ divergenceFreeSpace P κ D.m₀ := |
| 215 | piolaPairField_mem D G C κ p (sourceTime M D hT t) Ξ hΞ hF hdet hs hm ht |
| 216 | let H := sourcePairField P M D hT I Iprimary κ p |
| 217 | have he : (H.changeTime hT).path = V.path := by |
| 218 | apply Field.path_eq_of_raw_eq |
| 219 | intro r x θ |
| 220 | change D.FInv.field (D.clamp r) x |
| 221 | (κ^p • (sourceProfiles P M D I Iprimary p).high (r,(x,θ)) + |
| 222 | κ^(p+1) • D.curlCorrector P (sourceProfiles P M D I Iprimary p).high (r,(x,θ))) = |
| 223 | D.FInv.field (D.clamp r) x |
| 224 | (κ^p • (sourceProfiles P M D I Iprimary p).high (r,(x,θ)) + |
| 225 | κ^(p+1) • (sourceProfiles P M D I Iprimary p).corrector (r,(x,θ))) |
| 226 | rw [source_corrector_eq P M D I Iprimary p hp] |
| 227 | have hev : H.path t = V.path (sourceTime M D hT t) := |
| 228 | (H.changeTime_apply hT t).symm.trans (congrArg (fun q => q (sourceTime M D hT t)) he) |
| 229 | rw [hev] |
| 230 | exact hV |
| 231 | |
| 232 | end EulerPacketCylinderField |