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.PacketProfileRecursion |
| 2 | import Euler.FiniteGradeAssembly |
| 3 | |
| 4 | /-! The constructed recursive forcing equals the full nonlinear coefficient forcing. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketProfileRecursion |
| 9 | |
| 10 | open EulerSmoothLimit EulerPacketPointJets EulerFiniteGrades InnerProductSpace |
| 11 | |
| 12 | @[simp] theorem zero_high : (0 : Profile).high=0 := rfl |
| 13 | @[simp] theorem zero_mean : (0 : Profile).mean=0 := rfl |
| 14 | @[simp] theorem zero_corrector : (0 : Profile).corrector=0 := rfl |
| 15 | @[simp] theorem zero_highPressure : (0 : Profile).highPressure=0 := rfl |
| 16 | @[simp] theorem zero_meanPressure : (0 : Profile).meanPressure=0 := rfl |
| 17 | |
| 18 | theorem slicedJet_zero {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | (s : Set ℝ) (z : Domain) : slicedJet s (0 : Domain → E) z=0 := by |
| 20 | simp [slicedJet, joinDerivative] |
| 21 | |
| 22 | def assembledJets (O : Operators) (N : ℕ) (a : ℕ → Profile) (z : Domain) : ℕ → VectorJet := |
| 23 | assemble N (fun i => slicedJet O.interval (a i).high z+slicedJet O.interval (a i).mean z) |
| 24 | (fun i => slicedJet O.interval (a i).corrector z) |
| 25 | |
| 26 | theorem assembledJets_eq_velocityJet (O : Operators) (N : ℕ) (a : ℕ → Profile) |
| 27 | (ha : a 0=0) (z : Domain) (i : ℕ) (hi : i ≤ N) : |
| 28 | assembledJets O N a z i=velocityJet O.interval a z i := by |
| 29 | by_cases hz : i=0 |
| 30 | · subst i |
| 31 | unfold assembledJets |
| 32 | rw [assemble_zero N _ _ (by rw [ha]; simp [slicedJet_zero])] |
| 33 | simp [velocityJet] |
| 34 | · unfold assembledJets |
| 35 | rw [assemble_interior N i (by omega) hi] |
| 36 | simp only [velocityJet, hz, ite_false] |
| 37 | |
| 38 | theorem velocityJet_primary (O : Operators) (a : ℕ → Profile) (ha : a 0=0) |
| 39 | (hmean : (a 1).mean=0) (z : Domain) : |
| 40 | velocityJet O.interval a z 1=slicedJet O.interval (a 1).high z := by |
| 41 | simp only [velocityJet, one_ne_zero, ite_false, hmean, Nat.sub_self, ha] |
| 42 | simp [slicedJet_zero] |
| 43 | |
| 44 | theorem nonlinearGrade_cutoff (M K p : ℕ) (hM : p+1 ≤ M) (hK : p+1 ≤ K) |
| 45 | (FInv : Space →L[ℝ] Space) (m : Space) (u : ℕ → VectorJet) : |
| 46 | nonlinearGrade M p FInv m u=nonlinearGrade K p FInv m u := by |
| 47 | unfold nonlinearGrade |
| 48 | rw [convolution_eq_range M p (by omega), convolution_eq_range K p (by omega), |
| 49 | convolution_eq_range M (p+1) hM, convolution_eq_range K (p+1) hK] |
| 50 | |
| 51 | /-- Substituting the newly solved mean is the only change from the known forcing. -/ |
| 52 | theorem assembled_nonlinear_eq_known (O : Operators) (N p : ℕ) (hp : 2 ≤ p) (hpN : p ≤ N) |
| 53 | (a : ℕ → Profile) (ha : a 0=0) (hmean : (a 1).mean=0) (z : Domain) |
| 54 | (hprimary : ⟪O.normal z,(a 1).high z⟫_ℝ=0) (hhigh : ⟪O.normal z,(a p).high z⟫_ℝ=0) : |
| 55 | nonlinearGrade (N+1) p (O.inverseFrame z) (O.normal z) (assembledJets O N a z)= |
| 56 | nonlinearGrade (p+1) p (O.inverseFrame z) (O.normal z) (knownJets O p a z)+ |
| 57 | fastAdvection (O.normal z) (slicedJet O.interval (a p).mean z) |
| 58 | (slicedJet O.interval (a 1).high z) := by |
| 59 | have h₀ : knownJets O p a z 0=0 := by |
| 60 | simp [knownJets, history, velocityJet, show 0<p by omega] |
| 61 | have h₁ : knownJets O p a z 1=slicedJet O.interval (a 1).high z := by |
| 62 | simp only [knownJets, history, show 1<p by omega, ite_true] |
| 63 | exact velocityJet_primary O a ha hmean z |
| 64 | have hsame : ∀ i<p, assembledJets O N a z i=knownJets O p a z i := by |
| 65 | intro i hi |
| 66 | rw [assembledJets_eq_velocityJet O N a ha z i (by omega)] |
| 67 | simp only [knownJets, history, hi, ite_true] |
| 68 | have hnew : assembledJets O N a z p=knownJets O p a z p+ |
| 69 | (slicedJet O.interval (a p).high z+slicedJet O.interval (a p).mean z) := by |
| 70 | unfold assembledJets |
| 71 | rw [assemble_interior N p (by omega) hpN] |
| 72 | simp only [knownJets, history, lt_irrefl, ite_false, ite_true] |
| 73 | abel |
| 74 | have h := nonlinearGrade_update (N+1) p hp (by omega) (O.inverseFrame z) (O.normal z) |
| 75 | (knownJets O p a z) (assembledJets O N a z) (slicedJet O.interval (a p).high z) |
| 76 | (slicedJet O.interval (a p).mean z) h₀ hsame hnew |
| 77 | (by rw [h₁]; exact hprimary) hhigh |
| 78 | rw [h, h₁, nonlinearGrade_cutoff (N+1) (p+1) p (by omega) le_rfl] |
| 79 | |
| 80 | def fullForce (O : Operators) (N p : ℕ) (a : ℕ → Profile) : VectorField := |
| 81 | fun z => -(linearPart (O.strain z) (slicedJet O.interval (a (p-1)).corrector z)+ |
| 82 | slowPressure (O.inverseFrame z) (pressureJet (a (p-1)).highPressure z)+ |
| 83 | nonlinearGrade (N+1) p (O.inverseFrame z) (O.normal z) (assembledJets O N a z)) |
| 84 | |
| 85 | theorem knownForce_sub_interaction (O : Operators) (N p : ℕ) (hp : 2 ≤ p) (hpN : p ≤ N) |
| 86 | (a : ℕ → Profile) (ha : a 0=0) (hmean : (a 1).mean=0) (z : Domain) |
| 87 | (hprimary : ⟪O.normal z,(a 1).high z⟫_ℝ=0) (hhigh : ⟪O.normal z,(a p).high z⟫_ℝ=0) : |
| 88 | knownForce O p a z-fastAdvection (O.normal z) (slicedJet O.interval (a p).mean z) |
| 89 | (slicedJet O.interval (a 1).high z)=fullForce O N p a z := by |
| 90 | unfold knownForce fullForce |
| 91 | rw [assembled_nonlinear_eq_known O N p hp hpN a ha hmean z hprimary hhigh] |
| 92 | abel |
| 93 | |
| 94 | /-- The two right-hand sides actually generated by recursion sum to source (14). -/ |
| 95 | theorem recursive_forces_sum (O : Operators) (primary : Profile) (hmean : primary.mean=0) |
| 96 | (N p : ℕ) (hp : 2 ≤ p) (hpN : p ≤ N) (z : Domain) |
| 97 | (hprimary : ⟪O.normal z,primary.high z⟫_ℝ=0) |
| 98 | (hhigh : ⟪O.normal z,(profiles O primary p).high z⟫_ℝ=0) : |
| 99 | meanForce O p (profiles O primary) z+highForce O p (profiles O primary) z= |
| 100 | fullForce O N p (profiles O primary) z := by |
| 101 | have hm : (profiles O primary 1).mean=0 := by rw [profiles_one, hmean] |
| 102 | have ht : ⟪O.normal z,(profiles O primary 1).high z⟫_ℝ=0 := by |
| 103 | rw [profiles_one] |
| 104 | exact hprimary |
| 105 | have h := knownForce_sub_interaction O N p hp hpN (profiles O primary) |
| 106 | (profiles_zero O primary) hm z ht hhigh |
| 107 | unfold highForce |
| 108 | rw [← profiles_mean O primary p hp] |
| 109 | exact (by abel : meanForce O p (profiles O primary) z+ |
| 110 | (knownForce O p (profiles O primary) z-meanForce O p (profiles O primary) z- |
| 111 | fastAdvection (O.normal z) (slicedJet O.interval (profiles O primary p).mean z) |
| 112 | (slicedJet O.interval (profiles O primary 1).high z))= |
| 113 | knownForce O p (profiles O primary) z- |
| 114 | fastAdvection (O.normal z) (slicedJet O.interval (profiles O primary p).mean z) |
| 115 | (slicedJet O.interval (profiles O primary 1).high z)).trans h |
| 116 | |
| 117 | end EulerPacketProfileRecursion |