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.PacketCylinderPiolaPair |
| 2 | import Euler.PacketSourceMeanZero |
| 3 | import Euler.PacketCylinderFieldUnique |
| 4 | |
| 5 | /-! The genuine Piola constraint for every generated source high/corrector pair. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketCylinderField |
| 10 | |
| 11 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 12 | EulerPacketProfileRecursion EulerLpCylinderPaths |
| 13 | open scoped ContDiff |
| 14 | |
| 15 | theorem Field.changeTime_apply {P T T' : ℝ} [Fact (0 < P)] {raw : VectorField} |
| 16 | (G : Field P T raw) (h : T = T') (t : Icc (0 : ℝ) T) : |
| 17 | (G.changeTime h).path ⟨t,by rw [← h]; exact t.property⟩ = G.path t := by |
| 18 | subst T' |
| 19 | rfl |
| 20 | |
| 21 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 22 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 24 | (I Iprimary : EulerTransversePacketProvider.InitialData P D) |
| 25 | |
| 26 | def sourceTime (t : Icc (0 : ℝ) M.T) : Icc (0 : ℝ) D.T := |
| 27 | ⟨t,by rw [← hT]; exact t.property⟩ |
| 28 | |
| 29 | def sourcePairField (κ : ℝ) (p : ℕ) : |
| 30 | Field P M.T (fun z => (sourceOperators P M D I).inverseFrame z |
| 31 | (κ^p • (sourceProfiles P M D I Iprimary p).high z + |
| 32 | κ^(p+1) • (sourceProfiles P M D I Iprimary p).corrector z)) := |
| 33 | (sourceCoefficientData P M D I hT).inverse.multiply |
| 34 | (((sourceProfileWitness P M D hT I Iprimary p).high.smul (κ^p)).add |
| 35 | ((sourceProfileWitness P M D hT I Iprimary p).corrector.smul (κ^(p+1)))) |
| 36 | |
| 37 | theorem sourcePairField_mem (κ : ℝ) (p : ℕ) (hp : 1 ≤ p) (t : Icc (0 : ℝ) M.T) |
| 38 | (Ξ : Space → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
| 39 | (hF : ∀ x, fderiv ℝ Ξ x = D.F.field (sourceTime M D hT t) x) |
| 40 | (hdet : ∀ x, (EulerPacketPiola.operatorMatrix (D.F.field (sourceTime M D hT t) x)).det = 1) : |
| 41 | (sourcePairField P M D hT I Iprimary κ p).path t ∈ divergenceFreeSpace P κ D.m₀ := by |
| 42 | let W := sourceProfileWitness P M D hT I Iprimary p |
| 43 | let G := W.high.changeTime hT |
| 44 | let C := (W.corrector.congr (fun _ _ _ => by rw [source_corrector_eq P M D I Iprimary p hp])).changeTime hT |
| 45 | let V := piolaPairField D G C κ p |
| 46 | have hs : G.path (sourceTime M D hT t) ∈ Supported P Space D.support D.support_measurable := |
| 47 | G.supported_of_raw_zero D.support D.support_measurable |
| 48 | (raw_zero_changeTime hT D.support W.high_zero) _ |
| 49 | have hm : ∀ x, (∫ θ in (0 : ℝ)..P, |
| 50 | (sourceProfiles P M D I Iprimary p).high (sourceTime M D hT t,(x,θ))) = 0 := |
| 51 | source_high_mean_zero P M D hT I Iprimary p _ |
| 52 | have ht : ∀ x θ, inner ℝ (D.normalField (sourceTime M D hT t,(x,θ))) |
| 53 | ((sourceProfiles P M D I Iprimary p).high (sourceTime M D hT t,(x,θ))) = 0 := |
| 54 | source_high_tangent P M D hT I Iprimary p _ |
| 55 | have hV : V.path (sourceTime M D hT t) ∈ divergenceFreeSpace P κ D.m₀ := |
| 56 | piolaPairField_mem D G C κ p (sourceTime M D hT t) Ξ hΞ hF hdet hs hm ht |
| 57 | let H := sourcePairField P M D hT I Iprimary κ p |
| 58 | have he : (H.changeTime hT).path = V.path := by |
| 59 | apply Field.path_eq_of_raw_eq |
| 60 | intro r x θ |
| 61 | change D.FInv.field (D.clamp r) x |
| 62 | (κ^p • (sourceProfiles P M D I Iprimary p).high (r,(x,θ)) + |
| 63 | κ^(p+1) • D.curlCorrector P (sourceProfiles P M D I Iprimary p).high (r,(x,θ))) = |
| 64 | D.FInv.field (D.clamp r) x |
| 65 | (κ^p • (sourceProfiles P M D I Iprimary p).high (r,(x,θ)) + |
| 66 | κ^(p+1) • (sourceProfiles P M D I Iprimary p).corrector (r,(x,θ))) |
| 67 | rw [source_corrector_eq P M D I Iprimary p hp] |
| 68 | have hev : H.path t = V.path (sourceTime M D hT t) := |
| 69 | (H.changeTime_apply hT t).symm.trans (congrArg (fun q => q (sourceTime M D hT t)) he) |
| 70 | rw [hev] |
| 71 | exact hV |
| 72 | |
| 73 | end EulerPacketCylinderField |