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.CorrectionSourceRestriction |
| 2 | import Euler.InviscidCorrectionUniqueness |
| 3 | |
| 4 | /-! Actual inviscid corrections agree across compatible Sobolev levels. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerInviscidCorrectionRestriction |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 11 | EulerSpatialSobolevInverse EulerCorrectionOperators EulerSobolevCoefficientPressure EulerCorrectionLowerData |
| 12 | EulerCorrectionSourceRestriction EulerQuadraticSource EulerVolterraConvolution |
| 13 | EulerCorrectionStabilityBudget EulerInviscidCorrectionUniqueness |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The literal inviscid equation is preserved by lowering the actual Sobolev order. -/ |
| 18 | theorem inviscid_equation_restrict {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 19 | (D : CorrectionData period (q+1) (Icc (0 : ℝ) T)) |
| 20 | (KG : ∀ t, CoefficientJet period standardDirection q (D.metric.coefficient t)) |
| 21 | (KL : ∀ t, CoefficientJet period standardDirection q (D.linear.coefficient t)) |
| 22 | (KQ : ∀ i t, CoefficientJet period standardDirection q ((D.quadratic i).coefficient t)) |
| 23 | (hG : Continuous (fun t => coefficientSobolevOperator period (KG t))) |
| 24 | (hL : Continuous (fun t => coefficientSobolevOperator period (KL t))) |
| 25 | (hQ : ∀ i, Continuous (fun t => coefficientSobolevOperator period (KQ i t))) |
| 26 | (u : C(Icc (0 : ℝ) T,SobolevSpace period ((q+1)+1))) |
| 27 | (hu : ∀ t (ht : t ∈ Ioo 0 T), |
| 28 | HasDerivAt (fun r => value period (extendPath T hT u r)) |
| 29 | (value period ((D.coefficients period (by omega : 6 ≤ q+1)).apply |
| 30 | ⟨t,ht.1.le,ht.2.le⟩ (u ⟨t,ht.1.le,ht.2.le⟩))) t) |
| 31 | (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 32 | HasDerivAt (fun r => value period (extendPath T hT |
| 33 | ((truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u) r)) |
| 34 | (value period (((lowerData period D KG KL KQ hG hL hQ).coefficients period hq).apply |
| 35 | ⟨t,ht.1.le,ht.2.le⟩ (truncateOperator period (q+1) (u ⟨t,ht.1.le,ht.2.le⟩)))) t := by |
| 36 | have hs := congrArg (value period (q := q)) |
| 37 | (truncate_source period hq D KG KL KQ hG hL hQ ⟨t,ht.1.le,ht.2.le⟩ (u ⟨t,ht.1.le,ht.2.le⟩)) |
| 38 | rw [value_truncateOperator] at hs |
| 39 | exact (hu t ht).congr_deriv hs |
| 40 | |
| 41 | end EulerInviscidCorrectionRestriction |