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.PacketRecursiveForcing |
| 2 | import Euler.PacketSlicedAssembly |
| 3 | import Euler.PacketRecursionAlgebra |
| 4 | |
| 5 | /-! Actual coefficient equations of the recursively constructed packet fields. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketProfileRecursion |
| 10 | |
| 11 | open EulerSmoothLimit EulerPacketPointJets EulerFiniteGrades EulerPacketResidual InnerProductSpace |
| 12 | |
| 13 | def assembledVelocity (N : ℕ) (a : ℕ → Profile) : ℕ → VectorField := |
| 14 | assemble N (fun i => (a i).high+(a i).mean) (fun i => (a i).corrector) |
| 15 | |
| 16 | def assembledPressure (N : ℕ) (a : ℕ → Profile) : ℕ → ScalarField := |
| 17 | assemble N (fun i => (a i).meanPressure) (fun i => (a i).highPressure) |
| 18 | |
| 19 | def pressureJets (N : ℕ) (a : ℕ → Profile) (z : Domain) : ℕ → ScalarJet := |
| 20 | assemble N (fun i => pressureJet (a i).meanPressure z) (fun i => pressureJet (a i).highPressure z) |
| 21 | |
| 22 | def recursiveGrade (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) (p : ℕ) : Space := |
| 23 | coefficient (N+1) (linearPart (O.strain z)) (slowPressure (O.inverseFrame z)) |
| 24 | (fastPressure (O.normal z)) (slowAdvection (O.inverseFrame z)) (fastAdvection (O.normal z)) |
| 25 | (assembledJets O N a z) (pressureJets N a z) p |
| 26 | |
| 27 | theorem slicedJet_assembledVelocity (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) |
| 28 | (hA : ∀ i, SliceDifferentiable O.interval (a i).high z) |
| 29 | (hB : ∀ i, SliceDifferentiable O.interval (a i).mean z) |
| 30 | (hC : ∀ i, SliceDifferentiable O.interval (a i).corrector z) (i : ℕ) : |
| 31 | slicedJet O.interval (assembledVelocity N a i) z=assembledJets O N a z i := by |
| 32 | unfold assembledVelocity |
| 33 | rw [slicedJet_assemble O.interval N i _ _ z (fun j _ => (hA j).add (hB j)) (fun j _ => hC j)] |
| 34 | have h : (fun j => slicedJet O.interval ((a j).high+(a j).mean) z)= |
| 35 | (fun j => slicedJet O.interval (a j).high z+slicedJet O.interval (a j).mean z) := |
| 36 | funext fun j => slicedJet_add (hA j) (hB j) |
| 37 | rw [h] |
| 38 | rfl |
| 39 | |
| 40 | theorem pressureJet_assembledPressure (N : ℕ) (a : ℕ → Profile) (z : Domain) |
| 41 | (hq : ∀ i, DifferentiableAt ℝ (fun y => (a i).meanPressure (z.1,y)) z.2) |
| 42 | (hπ : ∀ i, DifferentiableAt ℝ (fun y => (a i).highPressure (z.1,y)) z.2) (i : ℕ) : |
| 43 | pressureJet (assembledPressure N a i) z=pressureJets N a z i := |
| 44 | pressureJet_assemble N i _ _ z (fun j _ => hq j) (fun j _ => hπ j) |
| 45 | |
| 46 | /-- The coefficient is that of the literal finite sum, with actual interval derivatives. -/ |
| 47 | theorem recursiveGrade_eq_actual (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) |
| 48 | (hA : ∀ i, SliceDifferentiable O.interval (a i).high z) |
| 49 | (hB : ∀ i, SliceDifferentiable O.interval (a i).mean z) |
| 50 | (hC : ∀ i, SliceDifferentiable O.interval (a i).corrector z) |
| 51 | (hq : ∀ i, DifferentiableAt ℝ (fun y => (a i).meanPressure (z.1,y)) z.2) |
| 52 | (hπ : ∀ i, DifferentiableAt ℝ (fun y => (a i).highPressure (z.1,y)) z.2) (p : ℕ) : |
| 53 | slicedMomentumGrade O.interval (N+1) (O.inverseFrame z) (O.strain z) (O.normal z) |
| 54 | (assembledVelocity N a) (assembledPressure N a) z p=recursiveGrade O N a z p := by |
| 55 | have hv := funext (slicedJet_assembledVelocity O N a z hA hB hC) |
| 56 | have hp := funext (pressureJet_assembledPressure N a z hq hπ) |
| 57 | unfold slicedMomentumGrade |
| 58 | rw [hv, hp] |
| 59 | rfl |
| 60 | |
| 61 | /-- Solving the two linear equations used by the recursion cancels the whole grade. -/ |
| 62 | theorem recursiveGrade_eq_zero (O : Operators) (primary : Profile) (hm : primary.mean=0) |
| 63 | (N p : ℕ) (hp : 2 ≤ p) (hpN : p ≤ N) (z : Domain) |
| 64 | (hprimary : ⟪O.normal z,primary.high z⟫_ℝ=0) |
| 65 | (hhigh : ⟪O.normal z,(profiles O primary p).high z⟫_ℝ=0) |
| 66 | (hqθ : ∀ i ≤ N, fastPressure (O.normal z) (pressureJet (profiles O primary i).meanPressure z)=0) |
| 67 | (hmeanEquation : linearPart (O.strain z) (slicedJet O.interval (profiles O primary p).mean z)+ |
| 68 | slowPressure (O.inverseFrame z) (pressureJet (profiles O primary p).meanPressure z)= |
| 69 | meanForce O p (profiles O primary) z) |
| 70 | (hhighEquation : linearPart (O.strain z) (slicedJet O.interval (profiles O primary p).high z)+ |
| 71 | fastPressure (O.normal z) (pressureJet (profiles O primary p).highPressure z)= |
| 72 | highForce O p (profiles O primary) z) : |
| 73 | recursiveGrade O N (profiles O primary) z p=0 := by |
| 74 | have he : |
| 75 | (linearPart (O.strain z) (slicedJet O.interval (profiles O primary p).high z)+ |
| 76 | fastPressure (O.normal z) (pressureJet (profiles O primary p).highPressure z))+ |
| 77 | (linearPart (O.strain z) (slicedJet O.interval (profiles O primary p).mean z)+ |
| 78 | slowPressure (O.inverseFrame z) (pressureJet (profiles O primary p).meanPressure z))= |
| 79 | fullForce O N p (profiles O primary) z := by |
| 80 | rw [hhighEquation, hmeanEquation, add_comm] |
| 81 | exact recursive_forces_sum O primary hm N p hp hpN z hprimary hhigh |
| 82 | unfold recursiveGrade assembledJets pressureJets |
| 83 | rw [coefficient_assembled N p (by omega) hpN _ _ _ _ _ _ _ _ _ _ hqθ, he] |
| 84 | unfold fullForce nonlinearGrade assembledJets |
| 85 | abel |
| 86 | |
| 87 | end EulerPacketProfileRecursion |