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.AllOrderSmoothPressure |
| 2 | import Euler.SobolevJointEvaluation |
| 3 | |
| 4 | /-! A canonical, jointly continuous representative of the constructed common signed pressure. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCommonPressureRepresentative |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 11 | EulerAllOrderCorrectionData EulerAllOrderCorrectionBudget EulerAllOrderPressureCoherence |
| 12 | EulerAllOrderSmoothPressure EulerSobolevPointEvaluation EulerSobolevJointEvaluation |
| 13 | EulerSmoothPressureRepresentative EulerMetricTransport EulerGraphPressurePotential |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | /-- The canonical pointwise pressure, obtained by bounded evaluation of its actual continuous H3 realization. -/ |
| 19 | def pointPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 20 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 21 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) |
| 22 | (signedPressurePath period hT A B 6 le_rfl t)) |
| 23 | |
| 24 | /-- The canonical pointwise pressure represents the constructed common L² pressure. -/ |
| 25 | theorem pointPressure_ae {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 26 | (t : Icc (0 : ℝ) T) : |
| 27 | (commonPressure period hT A B t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 28 | pointPressure period hT A B t := |
| 29 | representative_ae period (restrictOperator period (by omega : 3 ≤ 6) |
| 30 | (signedPressurePath period hT A B 6 le_rfl t)) |
| 31 | |
| 32 | /-- The canonical pressure is jointly continuous in time and the actual cylinder point. -/ |
| 33 | theorem pointPressure_joint_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) |
| 34 | (B : Budget period hT A) : |
| 35 | Continuous (fun p : Icc (0 : ℝ) T × LiftDomain period => pointPressure period hT A B p.1 p.2) := |
| 36 | path_representative_joint_continuous period |
| 37 | ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 38 | (signedPressurePath period hT A B 6 le_rfl)) |
| 39 | |
| 40 | /-- The canonical pressure is continuous on each spatial slice. -/ |
| 41 | theorem pointPressure_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) |
| 42 | (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 43 | Continuous (pointPressure period hT A B t) := |
| 44 | representative_continuous period (restrictOperator period (by omega : 3 ≤ 6) |
| 45 | (signedPressurePath period hT A B 6 le_rfl t)) |
| 46 | |
| 47 | /-- These same canonical representatives are smooth in every spatial coordinate. -/ |
| 48 | theorem pointPressure_smooth {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 49 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 50 | ContDiff ℝ ∞ (localFieldLift period (pointPressure period hT A B t) x) := by |
| 51 | obtain ⟨g, hg, ha⟩ := exists_smooth_representative period (commonPressure period hT A B t) |
| 52 | (fun n => pressureJet period hT A B n t) |
| 53 | have he : pointPressure period hT A B t = g := |
| 54 | representative_eq period _ g (smoothField_continuous period g hg) ha |
| 55 | rw [he] |
| 56 | exact hg x |
| 57 | |
| 58 | omit [Fact (0 < period)] in |
| 59 | /-- The physical phase graph is a continuous map into the periodic cylinder. -/ |
| 60 | theorem cylinderGraph_continuous (k : ℝ) (m : Vector3) : |
| 61 | Continuous (cylinderGraph period k m) := by |
| 62 | unfold cylinderGraph |
| 63 | exact continuous_id.prodMk ((AddCircle.continuous_mk' period).comp |
| 64 | (continuous_const.mul (continuous_const.inner continuous_id))) |
| 65 | |
| 66 | /-- The genuine signed graph pressure-gradient vector field. -/ |
| 67 | def graphPressure {T : ℝ} (hT : 0 < T) (A : Data period T) (B : Budget period hT A) |
| 68 | (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := |
| 69 | A.κ • pointPressure period hT A B t (cylinderGraph period k A.direction x) |
| 70 | |
| 71 | /-- The actual graph pressure-gradient field is jointly continuous in time and space. -/ |
| 72 | theorem graphPressure_joint_continuous {T : ℝ} (hT : 0 < T) (A : Data period T) |
| 73 | (B : Budget period hT A) (k : ℝ) : |
| 74 | Continuous (graphPressure period hT A B k).uncurry := |
| 75 | ((pointPressure_joint_continuous period hT A B).comp |
| 76 | (continuous_fst.prodMk ((cylinderGraph_continuous period k A.direction).comp continuous_snd))).const_smul A.κ |
| 77 | |
| 78 | /-- Each actual canonical graph field has a genuine smooth potential by the proved lifted gradient-space reconstruction. -/ |
| 79 | theorem graphPressure_has_potential {T : ℝ} (hT : 0 < T) (A : Data period T) |
| 80 | (B : Budget period hT A) (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| 81 | ∃ q : Vector3 → ℝ, ContDiff ℝ ∞ q ∧ |
| 82 | ∀ x, gradient q x = graphPressure period hT A B k t x := |
| 83 | gradientSpace_has_graph_potential period A.κ k hk A.direction |
| 84 | (commonPressure period hT A B t) (commonPressure_gradient period hT A B t) |
| 85 | (pointPressure period hT A B t) (pointPressure_ae period hT A B t) |
| 86 | (pointPressure_smooth period hT A B t) |
| 87 | |
| 88 | end EulerCommonPressureRepresentative |