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.CorrectionDifferencePDE |
| 2 | |
| 3 | /-! The literal difference equation of two actual inviscid corrections. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerInviscidDifferencePDE |
| 8 | |
| 9 | open Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCorrectionOperators |
| 10 | EulerCorrectionDifferencePDE EulerVolterraConvolution |
| 11 | |
| 12 | variable (period : ℝ) [Fact (0 < period)] |
| 13 | |
| 14 | /-- Subtracting the actual inviscid correction equations gives the zero-viscosity difference equation. -/ |
| 15 | theorem inviscid_difference_hasDerivAt {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 16 | (D : CorrectionData period q (Icc (0 : ℝ) T)) |
| 17 | (u v : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) |
| 18 | (hu : ∀ t (ht : t ∈ Ioo 0 T), |
| 19 | HasDerivAt (fun r => value period (extendPath T hT u r)) |
| 20 | (value period ((D.coefficients period hq).apply ⟨t,ht.1.le,ht.2.le⟩ (u ⟨t,ht.1.le,ht.2.le⟩))) t) |
| 21 | (hv : ∀ t (ht : t ∈ Ioo 0 T), |
| 22 | HasDerivAt (fun r => value period (extendPath T hT v r)) |
| 23 | (value period ((D.coefficients period hq).apply ⟨t,ht.1.le,ht.2.le⟩ (v ⟨t,ht.1.le,ht.2.le⟩))) t) |
| 24 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 25 | HasDerivAt (fun r => value period (extendPath T hT u r)-value period (extendPath T hT v r)) |
| 26 | (differenceRhs period D hq 0 0 ⟨t,ht.1.le,ht.2.le⟩ (u ⟨t,ht.1.le,ht.2.le⟩) (v ⟨t,ht.1.le,ht.2.le⟩)) t := by |
| 27 | have hd := (hu t ht).sub (hv t ht) |
| 28 | rw [D.source_value period hq,D.source_value period hq] at hd |
| 29 | apply hd.congr_deriv |
| 30 | have he := differenceRhs_eq_sub period D hq 0 0 ⟨t,ht.1.le,ht.2.le⟩ |
| 31 | (u ⟨t,ht.1.le,ht.2.le⟩) (v ⟨t,ht.1.le,ht.2.le⟩) |
| 32 | simpa only [zero_smul,zero_sub] using he.symm |
| 33 | |
| 34 | end EulerInviscidDifferencePDE |