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.InviscidCorrectionRestriction |
| 2 | import Euler.InviscidCorrectionUniqueness |
| 3 | |
| 4 | /-! Actual inviscid corrections agree across compatible Sobolev levels. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerInviscidCorrectionCompatibility |
| 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 | /-- Actual inviscid corrections constructed at neighboring Sobolev orders coincide after restriction. -/ |
| 18 | theorem inviscid_corrections_compatible {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 | (B : StabilityBudget period hT (lowerData period D KG KL KQ hG hL hQ)) |
| 32 | (v : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) |
| 33 | (hv : ∀ t (ht : t ∈ Ioo 0 T), |
| 34 | HasDerivAt (fun r => value period (extendPath T hT v r)) |
| 35 | (value period (((lowerData period D KG KL KQ hG hL hQ).coefficients period hq).apply |
| 36 | ⟨t,ht.1.le,ht.2.le⟩ (v ⟨t,ht.1.le,ht.2.le⟩))) t) |
| 37 | (hi : truncateOperator period (q+1) (u ⟨0,le_rfl,hT⟩) = v ⟨0,le_rfl,hT⟩) |
| 38 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 39 | (hud : ∀ t, value period (u t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 40 | (hvd : ∀ t, value period (v t) ∈ divergenceFreeSpace period D.κ D.direction) : |
| 41 | (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u = v := by |
| 42 | let w := (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u |
| 43 | apply inviscid_correction_unique period hq T hT (lowerData period D KG KL KQ hG hL hQ) B w v hi |
| 44 | · exact EulerInviscidCorrectionRestriction.inviscid_equation_restrict period hq T hT D KG KL KQ hG hL hQ u hu |
| 45 | · exact hv |
| 46 | · exact hz |
| 47 | · exact hud |
| 48 | · exact hvd |
| 49 | |
| 50 | end EulerInviscidCorrectionCompatibility |