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.MeanCylinderSolenoidal |
| 2 | import Euler.PacketSourceEquations |
| 3 | import Euler.PacketSourceRegularity |
| 4 | |
| 5 | /-! The actual inverse-frame mean profiles satisfy the closed lifted divergence constraint. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketCylinderField |
| 10 | |
| 11 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace EulerMetricTransport |
| 12 | EulerCylinderSmoothOrbit EulerCylinderClassicalSolenoidal EulerMeanCylinderSolenoidal |
| 13 | EulerPacketPointJets EulerPacketProfileRecursion EulerVectorCalculus |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | theorem Field.mem_divergenceFree_of_angleIndependent {P T : ℝ} [Fact (0 < P)] |
| 17 | {raw : VectorField} (G : Field P T raw) (κ : ℝ) (m : Space) |
| 18 | (t : Icc (0 : ℝ) T) |
| 19 | (ha : ∀ x θ, raw (t,(x,θ)) = raw (t,(x,0))) |
| 20 | (hd : ∀ x, divergence (fun y : Space => raw (t,(y,0))) x = 0) : |
| 21 | G.path t ∈ divergenceFreeSpace P κ m := by |
| 22 | let f : Space → Space := fun y => raw (t,(y,0)) |
| 23 | have hf : ContDiff ℝ ∞ f := (G.raw_smooth t).comp (contDiff_id.prodMk contDiff_const) |
| 24 | have hr : (G.path t : LiftDomain P → Space) =ᵐ[liftMeasure P] fun z => f z.1 := by |
| 25 | filter_upwards [pointField_ae P G.path G.orbit t] with z hz |
| 26 | obtain ⟨θ,hθ⟩ := QuotientAddGroup.mk_surjective z.2 |
| 27 | have he := (G.raw_eq t z.1 θ).symm.trans (ha z.1 θ) |
| 28 | rw [hθ] at he |
| 29 | exact hz.trans he |
| 30 | apply mem_of_classical P κ m (G.path t) (fun z : LiftDomain P => f z.1) hr |
| 31 | · intro z |
| 32 | exact hf.comp (contDiff_const.add contDiff_fst) |
| 33 | · exact lift_classical_divergence P κ m f hf hd |
| 34 | |
| 35 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 36 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 37 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 38 | (I Iprimary : EulerTransversePacketProvider.InitialData P D) |
| 39 | |
| 40 | def sourceMeanPullbackField (p : ℕ) : |
| 41 | Field P M.T (fun z => (sourceOperators P M D I).inverseFrame z |
| 42 | ((sourceProfiles P M D I Iprimary p).mean z)) := |
| 43 | (sourceCoefficientData P M D I hT).inverse.multiply |
| 44 | (sourceProfileWitness P M D hT I Iprimary p).mean |
| 45 | |
| 46 | include hT in |
| 47 | theorem sourceMeanPullback_divergence (A : SourceCoefficientAgreement M D) |
| 48 | (p : ℕ) (t : Icc (0 : ℝ) M.T) (x : Space) : |
| 49 | divergence (fun y : Space => (sourceOperators P M D I).inverseFrame (t,(y,0)) |
| 50 | ((sourceProfiles P M D I Iprimary p).mean (t,(y,0)))) x = 0 := by |
| 51 | by_cases hp0 : p = 0 |
| 52 | · subst p |
| 53 | simp only [sourceProfiles,profiles_zero] |
| 54 | change divergence (fun y : Space => (sourceOperators P M D I).inverseFrame (t,(y,0)) 0) x = 0 |
| 55 | simp [divergence] |
| 56 | by_cases hp1 : p = 1 |
| 57 | · subst p |
| 58 | simp only [sourceProfiles,profiles_one,homogeneousPrimary,primaryProfile] |
| 59 | simp [divergence] |
| 60 | have hp : 2 ≤ p := by omega |
| 61 | let h : Nonempty (EulerMeanPacketProvider.Forcing M |
| 62 | (meanForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))) := |
| 63 | ⟨source_meanForcing P M D hT I Iprimary p hp⟩ |
| 64 | have he : sourceProfiles P M D I Iprimary p = |
| 65 | EulerPacketProfileRecursion.step (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary) := |
| 66 | profiles_step _ _ p hp |
| 67 | have hf : (fun y : Space => (sourceOperators P M D I).inverseFrame (t,(y,0)) |
| 68 | ((sourceProfiles P M D I Iprimary p).mean (t,(y,0)))) = |
| 69 | fun y => M.inverseFrame (t,(y,0)) |
| 70 | ((EulerMeanPacketProvider.meanSolve M |
| 71 | (meanForce (sourceOperators P M D I) p (sourceProfiles P M D I Iprimary))).1 (t,(y,0))) := by |
| 72 | funext y |
| 73 | rw [sourceInverse_eq_mean P M D I A t y 0,he] |
| 74 | rfl |
| 75 | rw [hf] |
| 76 | exact EulerMeanPacketProvider.meanSolve_divergence M _ h t x 0 |
| 77 | |
| 78 | theorem sourceMeanPullbackField_mem (A : SourceCoefficientAgreement M D) (κ : ℝ) (m : Space) |
| 79 | (p : ℕ) (t : Icc (0 : ℝ) M.T) : |
| 80 | (sourceMeanPullbackField P M D hT I Iprimary p).path t ∈ divergenceFreeSpace P κ m := by |
| 81 | apply Field.mem_divergenceFree_of_angleIndependent _ κ m t |
| 82 | · intro x θ |
| 83 | change D.FInv.field (D.clamp t) x ((sourceProfiles P M D I Iprimary p).mean (t,(x,θ))) = |
| 84 | D.FInv.field (D.clamp t) x ((sourceProfiles P M D I Iprimary p).mean (t,(x,0))) |
| 85 | rw [(sourceProfileWitness P M D hT I Iprimary p).mean_angle t x θ] |
| 86 | · exact sourceMeanPullback_divergence P M D hT I Iprimary A p t |
| 87 | |
| 88 | end EulerPacketCylinderField |