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.PacketResidualTailActual |
| 2 | import Euler.PacketSourceResidual |
| 3 | |
| 4 | /-! Actual tail-grade and full residual fields for the source construction. |
| 5 | The full residual is identified with its finite tail by the equations of the |
| 6 | constructed mean and forward solutions. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketCylinderField |
| 11 | |
| 12 | open Set Finset EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion |
| 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 | (I Iprimary : EulerTransversePacketProvider.InitialData P D) |
| 18 | |
| 19 | def sourceTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : |
| 20 | Field P M.T (fun z => recursiveGrade (sourceOperators P M D I) N |
| 21 | (sourceProfiles P M D I Iprimary) z n) := |
| 22 | ProfileRegularity.tailGradeField M.T_pos |
| 23 | (fun i _ => sourceProfileWitness P M D hT I Iprimary i) |
| 24 | (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn |
| 25 | |
| 26 | def sourceLiteralTailGradeField (N n : ℕ) (hn : N+1 ≤ n) : |
| 27 | Field P M.T (fun z => slicedMomentumGrade (Icc (0 : ℝ) M.T) (N+1) |
| 28 | ((sourceOperators P M D I).inverseFrame z) |
| 29 | ((sourceOperators P M D I).strain z) |
| 30 | ((sourceOperators P M D I).normal z) |
| 31 | (assembledVelocity N (sourceProfiles P M D I Iprimary)) |
| 32 | (assembledPressure N (sourceProfiles P M D I Iprimary)) z n) := |
| 33 | ProfileRegularity.literalTailGradeField M.T_pos |
| 34 | (fun i _ => sourceProfileWitness P M D hT I Iprimary i) |
| 35 | (sourceCoefficientData P M D I hT) (profiles_zero _ _) n hn |
| 36 | |
| 37 | theorem sourceLiteralTailGradeField_path (N n : ℕ) (hn : N+1 ≤ n) : |
| 38 | (sourceLiteralTailGradeField P M D hT I Iprimary N n hn).path = |
| 39 | (sourceTailGradeField P M D hT I Iprimary N n hn).path := rfl |
| 40 | |
| 41 | def sourceTailSumField (N : ℕ) (κ : ℝ) : |
| 42 | Field P M.T (fun z => ∑ n ∈ Ico (N+1) (2*N+3), κ^n • |
| 43 | recursiveGrade (sourceOperators P M D I) N (sourceProfiles P M D I Iprimary) z n) := |
| 44 | ProfileRegularity.tailSumField M.T_pos |
| 45 | (fun i _ => sourceProfileWitness P M D hT I Iprimary i) |
| 46 | (sourceCoefficientData P M D I hT) (profiles_zero _ _) κ |
| 47 | |
| 48 | def sourceResidualField (Cagree : SourceCoefficientAgreement M D) |
| 49 | (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) (hκ : κ ≠ 0) : |
| 50 | Field P M.T (fun z => slicedMomentumResidual (Icc (0 : ℝ) M.T) κ |
| 51 | ((sourceOperators P M D I).inverseFrame z) |
| 52 | ((sourceOperators P M D I).strain z) |
| 53 | ((sourceOperators P M D I).normal z) |
| 54 | (fieldSum (N+1) κ (assembledVelocity N (sourceProfiles P M D I Iprimary))) |
| 55 | (fieldSum (N+1) κ (assembledPressure N (sourceProfiles P M D I Iprimary))) z) := |
| 56 | (sourceTailSumField P M D hT I Iprimary N κ).congr |
| 57 | (source_residual_tail P M D hT I Iprimary Cagree N hN κ hκ) |
| 58 | |
| 59 | end EulerPacketCylinderField |