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.AllOrderCorrectionStability |
| 2 | |
| 3 | /-! Constructed compatible inviscid corrections at every finite Sobolev order. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerAllOrderCorrectionFamily |
| 8 | |
| 9 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 10 | EulerCorrectionOperators EulerCorrectionEnergyData EulerAllOrderCorrectionData |
| 11 | EulerAllOrderCorrectionBudget EulerCorrectionStabilityBudget EulerCorrectionLowerData |
| 12 | EulerInviscidCorrectionCompatibility EulerGevreyMetricEstimate EulerVolterraConvolution |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The actual finite-order correction chosen from the proved global nonlinear construction. -/ |
| 18 | def solution {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 19 | (q : ℕ) (hq : 6 ≤ q) : C(Icc (0 : ℝ) T,SobolevSpace period (q+1)) := |
| 20 | Classical.choose (finite_exists period hT A B q hq) |
| 21 | |
| 22 | /-- The constructed finite-order correction has zero initial trace. -/ |
| 23 | theorem solution_initial {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 24 | (q : ℕ) (hq : 6 ≤ q) : solution period hT A B q hq ⟨0,le_rfl,hT.le⟩=0 := |
| 25 | (Classical.choose_spec (finite_exists period hT A B q hq)).1 |
| 26 | |
| 27 | /-- The constructed finite-order correction satisfies the actual lifted divergence constraint. -/ |
| 28 | theorem solution_divergence {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 29 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 30 | value period (solution period hT A B q hq t) ∈ divergenceFreeSpace period A.κ A.direction := |
| 31 | (Classical.choose_spec (finite_exists period hT A B q hq)).2.1 t |
| 32 | |
| 33 | /-- Every retained cutoff of the constructed correction has the proved common energy bound. -/ |
| 34 | theorem solution_energy {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 35 | (q : ℕ) (hq : 6 ≤ q) (P : ℕ) (hPN : P ≤ q-4) (hP : P+6 ≤ q+1) (t : Icc (0 : ℝ) T) : |
| 36 | energyNorm period P hP (B.radius t) (B.metric.operatorPath period t) |
| 37 | (solution period hT A B q hq t) ≤ B.delta/2 := |
| 38 | (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.1 P hPN hP t |
| 39 | |
| 40 | /-- The constructed correction satisfies the actual nonlinear projected-pressure equation at every interior time. -/ |
| 41 | theorem solution_hasDerivAt {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 42 | (q : ℕ) (hq : 6 ≤ q) (t : ℝ) (ht : t ∈ Ioo 0 T) : |
| 43 | HasDerivAt (fun r => value period (extendPath T hT.le (solution period hT A B q hq) r)) |
| 44 | (value period (((A.atOrder period q).coefficients period hq).apply |
| 45 | ⟨t,ht.1.le,ht.2.le⟩ (solution period hT A B q hq ⟨t,ht.1.le,ht.2.le⟩))) t := |
| 46 | (Classical.choose_spec (finite_exists period hT A B q hq)).2.2.2 t ht |
| 47 | |
| 48 | /-- The separately constructed solutions are genuinely the same correction after restriction; uniqueness is proved from their actual equations. -/ |
| 49 | theorem solution_compatible {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 50 | (q : ℕ) (hq : 6 ≤ q) : |
| 51 | (truncateOperator period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 52 | (solution period hT A B (q+1) (hq.trans (Nat.le_succ q))) = solution period hT A B q hq := by |
| 53 | have hs : StabilityBudget period hT.le |
| 54 | (lowerData period (A.atOrder period (q+1)) (A.metric.jet q) (A.linear.jet q) |
| 55 | (fun i => (A.quadratic i).jet q) (A.metric.continuous q) (A.linear.continuous q) |
| 56 | (fun i => (A.quadratic i).continuous q)) := by |
| 57 | rw [A.lower_atOrder period q] |
| 58 | exact stabilityBudget period hT A B q |
| 59 | apply inviscid_corrections_compatible period hq T hT.le (A.atOrder period (q+1)) |
| 60 | (A.metric.jet q) (A.linear.jet q) (fun i => (A.quadratic i).jet q) |
| 61 | (A.metric.continuous q) (A.linear.continuous q) (fun i => (A.quadratic i).continuous q) |
| 62 | (solution period hT A B (q+1) (hq.trans (Nat.le_succ q))) |
| 63 | (solution_hasDerivAt period hT A B (q+1) (hq.trans (Nat.le_succ q))) hs |
| 64 | (solution period hT A B q hq) |
| 65 | · simpa only [A.lower_atOrder period q] using solution_hasDerivAt period hT A B q hq |
| 66 | · rw [solution_initial,solution_initial,map_zero] |
| 67 | · intro t |
| 68 | change value period (A.approximation.realization ((q+1)+1) t) ∈ _ |
| 69 | rw [A.approximation.value_eq] |
| 70 | exact B.divergence t |
| 71 | · exact solution_divergence period hT A B (q+1) (hq.trans (Nat.le_succ q)) |
| 72 | · exact solution_divergence period hT A B q hq |
| 73 | |
| 74 | /-- Adjacent finite-order solutions have exactly the same underlying L² field. -/ |
| 75 | theorem solution_value_succ {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 76 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 77 | value period (solution period hT A B (q+1) (hq.trans (Nat.le_succ q)) t) = |
| 78 | value period (solution period hT A B q hq t) := |
| 79 | congrArg (fun f => value period (f t)) (solution_compatible period hT A B q hq) |
| 80 | |
| 81 | end EulerAllOrderCorrectionFamily |