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.PacketSourcePiola |
| 2 | import Euler.PacketCylinderMeanSolenoidal |
| 3 | import Euler.PacketJetAssembly |
| 4 | |
| 5 | /-! |
| 6 | # The actual finite source packet satisfies the lifted L² constraint |
| 7 | |
| 8 | The terminal corrector is retained in the finite assembly. Each genuine Piola |
| 9 | pair and every inverse-frame mean belongs to the same closed constraint space. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerPacketCylinderField |
| 15 | |
| 16 | open Set MeasureTheory Finset EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 17 | EulerPacketProfileRecursion EulerFiniteGrades |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 21 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 22 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 23 | (I Iprimary : EulerTransversePacketProvider.InitialData P D) |
| 24 | |
| 25 | def sourcePacketPullbackField (N : ℕ) (κ : ℝ) : |
| 26 | Field P M.T (fun z => (sourceOperators P M D I).inverseFrame z |
| 27 | (fieldSum (N+1) κ (assembledVelocity N (sourceProfiles P M D I Iprimary)) z)) := by |
| 28 | let a := sourceProfiles P M D I Iprimary |
| 29 | let term := fun i : ℕ => |
| 30 | (sourcePairField P M D hT I Iprimary κ (i+1)).add |
| 31 | ((sourceMeanPullbackField P M D hT I Iprimary (i+1)).smul (κ^(i+1))) |
| 32 | let total := Field.finsetSum (range N) _ term |
| 33 | refine total.congr ?_ |
| 34 | intro t x θ |
| 35 | have ha0 : a 0 = 0 := profiles_zero _ _ |
| 36 | have hu0 : (a 0).high+(a 0).mean = (0 : VectorField) := by rw [ha0]; simp |
| 37 | have hc0 : (a 0).corrector = (0 : VectorField) := by rw [ha0]; rfl |
| 38 | have he := fieldSum_assemble_from_one N κ (fun i => (a i).high+(a i).mean) |
| 39 | (fun i => (a i).corrector) hu0 hc0 (t,(x,θ)) |
| 40 | change (sourceOperators P M D I).inverseFrame (t,(x,θ)) |
| 41 | (fieldSum (N+1) κ (assemble N (fun i => (a i).high+(a i).mean) |
| 42 | (fun i => (a i).corrector)) (t,(x,θ))) = _ |
| 43 | rw [he,map_sum,Finset.sum_apply] |
| 44 | apply sum_congr rfl |
| 45 | intro i _ |
| 46 | change (sourceOperators P M D I).inverseFrame (t,(x,θ)) |
| 47 | (κ^(i+1) • ((a (i+1)).high (t,(x,θ))+(a (i+1)).mean (t,(x,θ))) + |
| 48 | κ^(i+2) • (a (i+1)).corrector (t,(x,θ))) = |
| 49 | (sourceOperators P M D I).inverseFrame (t,(x,θ)) |
| 50 | (κ^(i+1) • (a (i+1)).high (t,(x,θ)) + κ^(i+2) • (a (i+1)).corrector (t,(x,θ))) + |
| 51 | κ^(i+1) • (sourceOperators P M D I).inverseFrame (t,(x,θ)) ((a (i+1)).mean (t,(x,θ))) |
| 52 | simp only [map_add,map_smul,smul_add] |
| 53 | abel |
| 54 | |
| 55 | theorem sourcePacketPullbackField_path (N : ℕ) (κ : ℝ) : |
| 56 | (sourcePacketPullbackField P M D hT I Iprimary N κ).path = |
| 57 | ∑ i ∈ range N, ((sourcePairField P M D hT I Iprimary κ (i+1)).path + |
| 58 | κ^(i+1) • (sourceMeanPullbackField P M D hT I Iprimary (i+1)).path) := rfl |
| 59 | |
| 60 | theorem sourcePacketPullbackField_mem (A : SourceCoefficientAgreement M D) |
| 61 | (N : ℕ) (κ : ℝ) (t : Icc (0 : ℝ) M.T) |
| 62 | (Ξ : Space → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
| 63 | (hF : ∀ x, fderiv ℝ Ξ x = D.F.field (sourceTime M D hT t) x) |
| 64 | (hdet : ∀ x, (EulerPacketPiola.operatorMatrix (D.F.field (sourceTime M D hT t) x)).det = 1) : |
| 65 | (sourcePacketPullbackField P M D hT I Iprimary N κ).path t ∈ divergenceFreeSpace P κ D.m₀ := by |
| 66 | rw [sourcePacketPullbackField_path] |
| 67 | have he : (∑ i ∈ range N, ((sourcePairField P M D hT I Iprimary κ (i+1)).path + |
| 68 | κ^(i+1) • (sourceMeanPullbackField P M D hT I Iprimary (i+1)).path)) t = |
| 69 | ∑ i ∈ range N, ((sourcePairField P M D hT I Iprimary κ (i+1)).path t + |
| 70 | κ^(i+1) • (sourceMeanPullbackField P M D hT I Iprimary (i+1)).path t) := |
| 71 | map_sum (ContinuousMap.evalCLM ℝ t) _ (range N) |
| 72 | rw [he] |
| 73 | apply (divergenceFreeSpace P κ D.m₀).sum_mem |
| 74 | intro i _ |
| 75 | apply (divergenceFreeSpace P κ D.m₀).add_mem |
| 76 | · exact sourcePairField_mem P M D hT I Iprimary κ (i+1) (by omega) t Ξ hΞ hF hdet |
| 77 | · exact (divergenceFreeSpace P κ D.m₀).smul_mem (κ^(i+1)) |
| 78 | (sourceMeanPullbackField_mem P M D hT I Iprimary A κ D.m₀ (i+1) t) |
| 79 | |
| 80 | end EulerPacketCylinderField |