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.TimeCorrectionSource |
| 2 | |
| 3 | /-! Exact almost-everywhere restriction of the actual nonlinear source and pressure time fields. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerTimeCorrectionSource |
| 8 | |
| 9 | open MeasureTheory Set InnerProductSpace EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 10 | EulerSpatialSobolevInverse EulerSobolevCoefficientPressure EulerSobolevNonlinearCompatibility |
| 11 | EulerGevreyOrderZero EulerSobolevTransport EulerTimeLp EulerVolterraConvolution EulerCorrectionOperators |
| 12 | open scoped Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | local instance timeRestrictGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 17 | local instance timeRestrictSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 18 | |
| 19 | /-- The literal lower-order raw correction source obtained from genuine higher coefficient data. -/ |
| 20 | def lowerRawValue {q : ℕ} (hq : 6 ≤ q) (T : ℝ) |
| 21 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 22 | (C0 : CoefficientPath period (q+1) (Icc (0 : ℝ) T)) |
| 23 | (C : Fin 3 → CoefficientPath period (q+1) (Icc (0 : ℝ) T)) |
| 24 | (K0 : ∀ t, CoefficientJet period standardDirection q (C0.coefficient t)) |
| 25 | (K : ∀ i t, CoefficientJet period standardDirection q ((C i).coefficient t)) |
| 26 | (z : C(Icc (0 : ℝ) T, SobolevSpace period ((q+1)+1))) |
| 27 | (r e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) (t : Icc (0 : ℝ) T) : SobolevSpace period q := |
| 28 | transportBilinear period hq L hL (truncateOperator period (q+1) (z t)+e t) (e t) + |
| 29 | orderZeroSource period hq L hL (coefficientSobolevOperator period (K0 t)) |
| 30 | (fun i => coefficientSobolevOperator period (K i t)) (truncateOperator period (q+1) (z t)) |
| 31 | (truncateOperator period q (r t)) (truncateOperator period q (e t)) |
| 32 | |
| 33 | /-- The constructed energy-order raw source is a genuine higher regularity representative of the original correction source. -/ |
| 34 | theorem rawSourceTime_restriction {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 35 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 36 | (C0 : CoefficientPath period (q+1) (Icc (0 : ℝ) T)) |
| 37 | (C : Fin 3 → CoefficientPath period (q+1) (Icc (0 : ℝ) T)) |
| 38 | (K0 : ∀ t, CoefficientJet period standardDirection q (C0.coefficient t)) |
| 39 | (K : ∀ i t, CoefficientJet period standardDirection q ((C i).coefficient t)) |
| 40 | (z : C(Icc (0 : ℝ) T, SobolevSpace period ((q+1)+1))) |
| 41 | (r e : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 42 | (U : TimeLp T (SobolevSpace period ((q+1)+1))) |
| 43 | (hU : (fun t => truncateOperator period (q+1) (U t)) =ᵐ[timeMeasure T] extendPath T hT e) : |
| 44 | (fun t => truncateOperator period q |
| 45 | (rawSourceTime period (by omega : 6 ≤ q+1) T hT L hL C0.operatorPath (fun i => (C i).operatorPath) z r e U t)) =ᵐ[timeMeasure T] |
| 46 | fun t => lowerRawValue period hq T L hL C0 C K0 K z r e (projIcc 0 T hT t) := by |
| 47 | filter_upwards [rawSourceTime_ae period (by omega : 6 ≤ q+1) T hT L hL C0.operatorPath |
| 48 | (fun i => (C i).operatorPath) z r e U, hU] with t ht hu |
| 49 | have h := restrict_raw_source period hq L hL (C0.coefficient (projIcc 0 T hT t)) |
| 50 | (C0.jet (projIcc 0 T hT t)) (K0 (projIcc 0 T hT t)) |
| 51 | (fun i => (C i).coefficient (projIcc 0 T hT t)) |
| 52 | (fun i => (C i).jet (projIcc 0 T hT t)) (fun i => K i (projIcc 0 T hT t)) |
| 53 | (extendPath T hT z t) (extendPath T hT r t) (extendPath T hT e t) (U t) hu |
| 54 | exact (congrArg (truncateOperator period q) ht).trans h |
| 55 | |
| 56 | /-- Actual signed coercive pressure commutes with the energy-to-source Sobolev restriction almost everywhere. -/ |
| 57 | theorem pressureTime_restriction {q : ℕ} (T : ℝ) (hT : 0 ≤ T) |
| 58 | (G : CoefficientPath period (q+1) (Icc (0 : ℝ) T)) |
| 59 | (K : ∀ t, CoefficientJet period standardDirection q (G.coefficient t)) |
| 60 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 61 | (hpos : ∀ t x v, c*‖v‖^2 ≤ ⟪(G.coefficient t).coefficient x v,v⟫_ℝ) |
| 62 | (F : TimeLp T (SobolevSpace period (q+1))) (f : ℝ → SobolevSpace period q) |
| 63 | (hF : (fun t => truncateOperator period q (F t)) =ᵐ[timeMeasure T] f) : |
| 64 | (fun t => truncateOperator period q (pressureTime period T hT G κ m c hc hpos F t)) =ᵐ[timeMeasure T] |
| 65 | fun t => -(pressureSobolevOperator period (K (projIcc 0 T hT t)) κ m c hc (hpos _) (f t)) := by |
| 66 | filter_upwards [pressureTime_ae period T hT G κ m c hc hpos F, hF] with t ht hf |
| 67 | have hp := restrict_pressure period (by omega : q ≤ q+1) (G.jet (projIcc 0 T hT t)) |
| 68 | (K (projIcc 0 T hT t)) κ m c hc (hpos _) (F t) |
| 69 | have hp' : truncateOperator period q |
| 70 | (-(pressureSobolevOperator period (G.jet (projIcc 0 T hT t)) κ m c hc (hpos _) (F t))) = |
| 71 | -(pressureSobolevOperator period (K (projIcc 0 T hT t)) κ m c hc (hpos _) (f t)) := by |
| 72 | rw [map_neg] |
| 73 | exact congrArg (fun x : SobolevSpace period q => -x) |
| 74 | (hp.trans (congrArg (pressureSobolevOperator period (K (projIcc 0 T hT t)) κ m c hc (hpos _)) hf)) |
| 75 | exact (congrArg (truncateOperator period q) ht).trans hp' |
| 76 | |
| 77 | /-- The actual projected nonlinear mild source restricts to the original forcing almost everywhere. -/ |
| 78 | theorem projectedTime_restriction {q : ℕ} (T : ℝ) (hT : 0 ≤ T) |
| 79 | (G : CoefficientPath period (q+1) (Icc (0 : ℝ) T)) |
| 80 | (K : ∀ t, CoefficientJet period standardDirection q (G.coefficient t)) |
| 81 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 82 | (hpos : ∀ t x v, c*‖v‖^2 ≤ ⟪(G.coefficient t).coefficient x v,v⟫_ℝ) |
| 83 | (F : TimeLp T (SobolevSpace period (q+1))) (f : ℝ → SobolevSpace period q) |
| 84 | (hF : (fun t => truncateOperator period q (F t)) =ᵐ[timeMeasure T] f) : |
| 85 | (fun t => truncateOperator period q (projectedTime period T hT G κ m c hc hpos F t)) =ᵐ[timeMeasure T] |
| 86 | fun t => -(projectedSourceOperator period (K (projIcc 0 T hT t)) κ m c hc (hpos _) (f t)) := by |
| 87 | filter_upwards [projectedTime_ae period T hT G κ m c hc hpos F, hF] with t ht hf |
| 88 | have hp := restrict_projectedSource period (by omega : q ≤ q+1) (G.jet (projIcc 0 T hT t)) |
| 89 | (K (projIcc 0 T hT t)) κ m c hc (hpos _) (F t) |
| 90 | have hp' : truncateOperator period q |
| 91 | (-(projectedSourceOperator period (G.jet (projIcc 0 T hT t)) κ m c hc (hpos _) (F t))) = |
| 92 | -(projectedSourceOperator period (K (projIcc 0 T hT t)) κ m c hc (hpos _) (f t)) := by |
| 93 | rw [map_neg] |
| 94 | exact congrArg (fun x : SobolevSpace period q => -x) |
| 95 | (hp.trans (congrArg (projectedSourceOperator period (K (projIcc 0 T hT t)) κ m c hc (hpos _)) hf)) |
| 96 | exact (congrArg (truncateOperator period q) ht).trans hp' |
| 97 | |
| 98 | end EulerTimeCorrectionSource |