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.PacketCylinderMeanParity |
| 2 | import Euler.PacketCylinderKnownForce |
| 3 | |
| 4 | /-! The literal recursive force preserves joint odd parity from its actual prefix data. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerPacketCylinderField |
| 9 | |
| 10 | open Set Finset EulerSmoothLimit EulerPacketPointJets EulerPacketProfileRecursion EulerFiniteGrades |
| 11 | |
| 12 | structure PrefixOdd (T : ℝ) (p : ℕ) (a : ℕ → Profile) : Prop where |
| 13 | high : ∀ i, i < p → JointOdd T (a i).high |
| 14 | mean : ∀ i, i < p → JointOdd T (a i).mean |
| 15 | corrector : ∀ i, i < p → JointOdd T (a i).corrector |
| 16 | |
| 17 | theorem JointOdd.convolution {T : ℝ} (M n : ℕ) (f : ℕ → ℕ → VectorField) |
| 18 | (hf : ∀ i j, JointOdd T (f i j)) : |
| 19 | JointOdd T (fun z => ∑ i ∈ range (M+1), ∑ j ∈ range (M+1), |
| 20 | if i+j=n then f i j z else 0) := by |
| 21 | intro t x θ |
| 22 | rw [← sum_neg_distrib] |
| 23 | apply sum_congr rfl |
| 24 | intro i _ |
| 25 | rw [← sum_neg_distrib] |
| 26 | apply sum_congr rfl |
| 27 | intro j _ |
| 28 | by_cases h : i+j=n |
| 29 | · simp only [h,ite_true,hf i j t x θ] |
| 30 | · simp only [h,ite_false,neg_zero] |
| 31 | |
| 32 | variable {P T : ℝ} [Fact (0 < P)] {O : Operators} {p : ℕ} {a : ℕ → Profile} |
| 33 | |
| 34 | theorem PrefixOdd.knownJet_value_odd (H : PrefixOdd T p a) (hp : 1 ≤ p) (i : ℕ) : |
| 35 | JointOdd T (fun z => (knownJets O p a z i).1) := by |
| 36 | intro t x θ |
| 37 | by_cases hi : i < p |
| 38 | · by_cases hz : i = 0 |
| 39 | · subst i |
| 40 | simp [knownJets,history,velocityJet,show (0 : ℕ) < p by omega] |
| 41 | · simp only [knownJets,history,hi,ite_true,velocityJet,hz,ite_false] |
| 42 | change (a i).high (t,(-x,-θ)) + (a i).mean (t,(-x,-θ)) + |
| 43 | (a (i-1)).corrector (t,(-x,-θ)) = |
| 44 | -((a i).high (t,(x,θ)) + (a i).mean (t,(x,θ)) + (a (i-1)).corrector (t,(x,θ))) |
| 45 | rw [H.high i hi,H.mean i hi,H.corrector (i-1) (by omega),neg_add,neg_add] |
| 46 | · by_cases he : i = p |
| 47 | · subst i |
| 48 | simpa [knownJets,history,slicedJet] using H.corrector (p-1) (by omega) t x θ |
| 49 | · simp only [knownJets,history,hi,ite_false,he,Prod.fst_zero,neg_zero] |
| 50 | |
| 51 | theorem PrefixFields.nonlinear_odd (F : PrefixFields P T p a) (H : PrefixOdd T p a) |
| 52 | (hp : 1 ≤ p) |
| 53 | (hI : ∀ (t : Icc (0 : ℝ) T) x θ, O.inverseFrame (t,(-x,-θ)) = O.inverseFrame (t,(x,θ))) |
| 54 | (hN : ∀ (t : Icc (0 : ℝ) T) x θ, O.normal (t,(-x,-θ)) = O.normal (t,(x,θ))) : |
| 55 | JointOdd T (fun z => nonlinearGrade (p+1) p (O.inverseFrame z) (O.normal z) (knownJets O p a z)) := by |
| 56 | have hs (i j : ℕ) := (F.knownJet O hp j).slowAdvection_odd O.inverseFrame hI |
| 57 | (H.knownJet_value_odd (O := O) hp i) (H.knownJet_value_odd (O := O) hp j) |
| 58 | have ha (i j : ℕ) := (F.knownJet O hp j).fastAdvection_odd O.normal hN |
| 59 | (H.knownJet_value_odd (O := O) hp i) (H.knownJet_value_odd (O := O) hp j) |
| 60 | exact (JointOdd.convolution (p+1) p _ hs).add (JointOdd.convolution (p+1) (p+1) _ ha) |
| 61 | |
| 62 | theorem PrefixFields.knownForce_odd (F : PrefixFields P T p a) (H : PrefixOdd T p a) |
| 63 | (C : CoefficientData P T O) (hp : 1 ≤ p) (hT : 0 < T) |
| 64 | {corrector_t : VectorField} (Ct : Field P T corrector_t) |
| 65 | (hCt : TimeDerivative hT.le (F.corrector (p-1) (by omega)) Ct) |
| 66 | (hpressure : JointOdd T (pressureGradient (a (p-1)).highPressure)) |
| 67 | (hI : ∀ (t : Icc (0 : ℝ) T) x θ, O.inverseFrame (t,(-x,-θ)) = O.inverseFrame (t,(x,θ))) |
| 68 | (hM : ∀ (t : Icc (0 : ℝ) T) x θ, O.strain (t,(-x,-θ)) = O.strain (t,(x,θ))) |
| 69 | (hN : ∀ (t : Icc (0 : ℝ) T) x θ, O.normal (t,(-x,-θ)) = O.normal (t,(x,θ))) : |
| 70 | JointOdd T (EulerPacketProfileRecursion.knownForce O p a) := by |
| 71 | have hC := H.corrector (p-1) (by omega) |
| 72 | have ht : JointOdd T corrector_t := |
| 73 | (F.corrector (p-1) (by omega)).timeDerivative_odd Ct hT hCt hC |
| 74 | have hL : JointOdd T (fun z => linearPart (O.strain z) (slicedJet O.interval (a (p-1)).corrector z)) := by |
| 75 | intro t x θ |
| 76 | change (slicedJet O.interval (a (p-1)).corrector (t,(-x,-θ))).2 timeDirection + |
| 77 | O.strain (t,(-x,-θ)) ((a (p-1)).corrector (t,(-x,-θ))) = |
| 78 | -((slicedJet O.interval (a (p-1)).corrector (t,(x,θ))).2 timeDirection + |
| 79 | O.strain (t,(x,θ)) ((a (p-1)).corrector (t,(x,θ)))) |
| 80 | simp only [C.interval_eq,(F.corrector (p-1) (by omega)).slicedJet_temporal hT Ct hCt, |
| 81 | ht t x θ,hM t x θ,hC t x θ,map_neg,neg_add] |
| 82 | have hQ : JointOdd T (fun z => slowPressure (O.inverseFrame z) (pressureJet (a (p-1)).highPressure z)) := by |
| 83 | intro t x θ |
| 84 | change (O.inverseFrame (t,(-x,-θ))).adjoint (pressureGradient (a (p-1)).highPressure (t,(-x,-θ))) = |
| 85 | -((O.inverseFrame (t,(x,θ))).adjoint (pressureGradient (a (p-1)).highPressure (t,(x,θ)))) |
| 86 | rw [hI,hpressure,map_neg] |
| 87 | exact ((hL.add hQ).add (F.nonlinear_odd H hp hI hN)).neg |
| 88 | |
| 89 | end EulerPacketCylinderField |