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.PacketJoinedSourcePiola |
| 2 | import Euler.PacketJetAssembly |
| 3 | |
| 4 | /-! The actual finite joined packet, including its terminal corrector, satisfies the lifted constraint. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set MeasureTheory Finset EulerSmoothLimit EulerLiftedGradientSpace EulerPacketPointJets |
| 11 | EulerPacketProfileRecursion EulerFiniteGrades |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | variable (P : ℝ) [Fact (0 < P)] (M : EulerMeanPacketProvider.Data) |
| 15 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 16 | (D : EulerTransversePacketProvider.Data U) (hT : M.T = D.T) |
| 17 | (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 18 | (B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)) |
| 19 | (primary : Profile) (hprimary : ProfileRegularity P M.T M.T_pos.le D.support primary) |
| 20 | |
| 21 | def joinedPacketPullbackField (N : ℕ) (κ : ℝ) : |
| 22 | Field P M.T (fun z => (joinedSourceOperators P M D τ hτ hτT B).inverseFrame z |
| 23 | (fieldSum (N+1) κ (assembledVelocity N (joinedSourceProfiles P M D τ hτ hτT B primary)) z)) := by |
| 24 | let a := joinedSourceProfiles P M D τ hτ hτT B primary |
| 25 | let term := fun i : ℕ => |
| 26 | (joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).add |
| 27 | ((joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).smul (κ^(i+1))) |
| 28 | let total := Field.finsetSum (range N) _ term |
| 29 | refine total.congr ?_ |
| 30 | intro t x θ |
| 31 | have ha0 : a 0 = 0 := profiles_zero _ _ |
| 32 | have hu0 : (a 0).high+(a 0).mean = (0 : VectorField) := by rw [ha0]; simp |
| 33 | have hc0 : (a 0).corrector = (0 : VectorField) := by rw [ha0]; rfl |
| 34 | have he := fieldSum_assemble_from_one N κ (fun i => (a i).high+(a i).mean) |
| 35 | (fun i => (a i).corrector) hu0 hc0 (t,(x,θ)) |
| 36 | change (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) |
| 37 | (fieldSum (N+1) κ (assemble N (fun i => (a i).high+(a i).mean) |
| 38 | (fun i => (a i).corrector)) (t,(x,θ))) = _ |
| 39 | rw [he,map_sum,Finset.sum_apply] |
| 40 | apply sum_congr rfl |
| 41 | intro i _ |
| 42 | change (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) |
| 43 | (κ^(i+1) • ((a (i+1)).high (t,(x,θ))+(a (i+1)).mean (t,(x,θ))) + |
| 44 | κ^(i+2) • (a (i+1)).corrector (t,(x,θ))) = |
| 45 | (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) |
| 46 | (κ^(i+1) • (a (i+1)).high (t,(x,θ)) + κ^(i+2) • (a (i+1)).corrector (t,(x,θ))) + |
| 47 | κ^(i+1) • (joinedSourceOperators P M D τ hτ hτT B).inverseFrame (t,(x,θ)) ((a (i+1)).mean (t,(x,θ))) |
| 48 | simp only [map_add,map_smul,smul_add] |
| 49 | abel |
| 50 | |
| 51 | theorem joinedPacketPullbackField_path (N : ℕ) (κ : ℝ) : |
| 52 | (joinedPacketPullbackField P M D hT τ hτ hτT B primary hprimary N κ).path = |
| 53 | ∑ i ∈ range N, ((joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).path + |
| 54 | κ^(i+1) • (joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).path) := rfl |
| 55 | |
| 56 | theorem joinedPacketPullbackField_mem |
| 57 | (hmean : primary.mean = 0) |
| 58 | (hc : primary.corrector = D.curlCorrector P primary.high) |
| 59 | (hm : ∀ (t : Icc (0 : ℝ) M.T) x, (∫ θ in (0 : ℝ)..P, primary.high (t,(x,θ))) = 0) |
| 60 | (ht : ∀ (t : Icc (0 : ℝ) M.T) x θ, |
| 61 | inner ℝ (D.normalField (t,(x,θ))) (primary.high (t,(x,θ))) = 0) |
| 62 | (A : SourceCoefficientAgreement M D) (N : ℕ) (κ : ℝ) (t : Icc (0 : ℝ) M.T) |
| 63 | (Ξ : Space → Space) (hΞ : ContDiff ℝ ∞ Ξ) |
| 64 | (hF : ∀ x, fderiv ℝ Ξ x = D.F.field (sourceTime M D hT t) x) |
| 65 | (hdet : ∀ x, (EulerPacketPiola.operatorMatrix (D.F.field (sourceTime M D hT t) x)).det = 1) : |
| 66 | (joinedPacketPullbackField P M D hT τ hτ hτT B primary hprimary N κ).path t ∈ |
| 67 | divergenceFreeSpace P κ D.m₀ := by |
| 68 | rw [joinedPacketPullbackField_path] |
| 69 | have he : (∑ i ∈ range N, ((joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).path + |
| 70 | κ^(i+1) • (joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).path)) t = |
| 71 | ∑ i ∈ range N, ((joinedPairField P M D hT τ hτ hτT B primary hprimary κ (i+1)).path t + |
| 72 | κ^(i+1) • (joinedMeanPullbackField P M D hT τ hτ hτT B primary hprimary (i+1)).path t) := |
| 73 | map_sum (ContinuousMap.evalCLM ℝ t) _ (range N) |
| 74 | rw [he] |
| 75 | apply (divergenceFreeSpace P κ D.m₀).sum_mem |
| 76 | intro i _ |
| 77 | apply (divergenceFreeSpace P κ D.m₀).add_mem |
| 78 | · exact joinedPairField_mem P M D hT τ hτ hτT B primary hprimary hc hm ht κ (i+1) (by omega) t Ξ hΞ hF hdet |
| 79 | · exact (divergenceFreeSpace P κ D.m₀).smul_mem (κ^(i+1)) |
| 80 | (joinedMeanPullbackField_mem P M D hT τ hτ hτT B primary hprimary hmean A κ D.m₀ (i+1) t) |
| 81 | |
| 82 | end EulerPacketCylinderField |