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.PacketRecursiveBase |
| 2 | |
| 3 | /-! The literal residual of the generated finite packet contains only the uncancelled tail. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketProfileRecursion |
| 8 | |
| 9 | open EulerSmoothLimit EulerPacketPointJets EulerFiniteGrades InnerProductSpace Finset |
| 10 | |
| 11 | /-- The generated profiles satisfy the actual closed-interval residual identity |
| 12 | when their two concrete linear solves satisfy their defining equations. -/ |
| 13 | theorem recursive_residual_tail (O : Operators) (A : VectorField) (π : ScalarField) |
| 14 | (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) (hκ : κ ≠ 0) (z : Domain) |
| 15 | (hs : UniqueDiffWithinAt ℝ O.interval z.1) |
| 16 | (hA : ∀ i, SliceDifferentiable O.interval (profiles O (primaryProfile O A π) i).high z) |
| 17 | (hB : ∀ i, SliceDifferentiable O.interval (profiles O (primaryProfile O A π) i).mean z) |
| 18 | (hC : ∀ i, SliceDifferentiable O.interval (profiles O (primaryProfile O A π) i).corrector z) |
| 19 | (hq : ∀ i, DifferentiableAt ℝ |
| 20 | (fun y => (profiles O (primaryProfile O A π) i).meanPressure (z.1,y)) z.2) |
| 21 | (hπ : ∀ i, DifferentiableAt ℝ |
| 22 | (fun y => (profiles O (primaryProfile O A π) i).highPressure (z.1,y)) z.2) |
| 23 | (hqθ : ∀ i ≤ N, fastPressure (O.normal z) |
| 24 | (pressureJet (profiles O (primaryProfile O A π) i).meanPressure z)=0) |
| 25 | (htan : ⟪O.normal z,A z⟫_ℝ=0) |
| 26 | (hprimary : linearPart (O.strain z) (slicedJet O.interval A z)+ |
| 27 | fastPressure (O.normal z) (pressureJet π z)=0) |
| 28 | (hhigh : ∀ p, 2 ≤ p → p ≤ N → |
| 29 | ⟪O.normal z,(profiles O (primaryProfile O A π) p).high z⟫_ℝ=0) |
| 30 | (hmeanEquation : ∀ p, 2 ≤ p → p ≤ N → |
| 31 | linearPart (O.strain z) (slicedJet O.interval (profiles O (primaryProfile O A π) p).mean z)+ |
| 32 | slowPressure (O.inverseFrame z) (pressureJet (profiles O (primaryProfile O A π) p).meanPressure z)= |
| 33 | meanForce O p (profiles O (primaryProfile O A π)) z) |
| 34 | (hhighEquation : ∀ p, 2 ≤ p → p ≤ N → |
| 35 | linearPart (O.strain z) (slicedJet O.interval (profiles O (primaryProfile O A π) p).high z)+ |
| 36 | fastPressure (O.normal z) (pressureJet (profiles O (primaryProfile O A π) p).highPressure z)= |
| 37 | highForce O p (profiles O (primaryProfile O A π)) z) : |
| 38 | slicedMomentumResidual O.interval κ (O.inverseFrame z) (O.strain z) (O.normal z) |
| 39 | (fieldSum (N+1) κ (assembledVelocity N (profiles O (primaryProfile O A π)))) |
| 40 | (fieldSum (N+1) κ (assembledPressure N (profiles O (primaryProfile O A π)))) z= |
| 41 | ∑ n ∈ Ico (N+1) (2*N+3), κ^n • recursiveGrade O N (profiles O (primaryProfile O A π)) z n := by |
| 42 | let a := profiles O (primaryProfile O A π) |
| 43 | have hv : ∀ i, SliceDifferentiable O.interval (assembledVelocity N a i) z := |
| 44 | fun i => sliceDifferentiable_assemble O.interval N i _ _ z |
| 45 | (fun j _ => (hA j).add (hB j)) (fun j _ => hC j) |
| 46 | have hp : ∀ i, DifferentiableAt ℝ (fun y => assembledPressure N a i (z.1,y)) z.2 := |
| 47 | fun i => spatialDifferentiable_assemble N i _ _ z (fun j _ => hq j) (fun j _ => hπ j) |
| 48 | have hu0 : slicedJet O.interval (assembledVelocity N a 0) z=0 := by |
| 49 | rw [slicedJet_assembledVelocity O N a z hA hB hC] |
| 50 | exact assembledJets_zero O N a (profiles_zero O _) z |
| 51 | have hp0 : fastPressure (O.normal z) (pressureJet (assembledPressure N a 0) z)=0 := by |
| 52 | rw [pressureJet_assembledPressure N a z hq hπ, pressureJets_zero N a (profiles_zero O _) z, |
| 53 | map_zero] |
| 54 | have hc : ∀ n ≤ N, |
| 55 | slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) |
| 56 | (assembledVelocity N a) (assembledPressure N a) z n=0 := by |
| 57 | intro n hn |
| 58 | rw [recursiveGrade_eq_actual O N a z hA hB hC hq hπ] |
| 59 | by_cases hn0 : n=0 |
| 60 | · subst n |
| 61 | exact recursiveGrade_zero O _ N z hqθ |
| 62 | by_cases hn1 : n=1 |
| 63 | · subst n |
| 64 | exact recursiveGrade_one O A π N hN z hqθ htan hprimary |
| 65 | · have hn2 : 2 ≤ n := by omega |
| 66 | exact recursiveGrade_eq_zero O _ rfl N n hn2 hn z htan (hhigh n hn2 hn) hqθ |
| 67 | (hmeanEquation n hn2 hn) (hhighEquation n hn2 hn) |
| 68 | have h := slicedMomentum_fieldSum_tail O.interval N κ hκ (O.inverseFrame z) (O.strain z) |
| 69 | (O.normal z) (assembledVelocity N a) (assembledPressure N a) z hs |
| 70 | (fun i _ => (hv i).1) (fun i _ => (hv i).2) (fun i _ => hp i) hu0 hp0 hc |
| 71 | rw [h] |
| 72 | apply sum_congr rfl |
| 73 | intro n _ |
| 74 | rw [recursiveGrade_eq_actual O N a z hA hB hC hq hπ] |
| 75 | |
| 76 | end EulerPacketProfileRecursion |