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.CorrectionAssemblyPressure |
| 2 | import Euler.CanonicalGraphPotential |
| 3 | import Euler.CommonPressureRepresentative |
| 4 | |
| 5 | /-! Canonical smooth pressure reconstruction for the generic finite-solution assembly. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerCorrectionAssembly |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerAllOrderCorrectionData |
| 12 | EulerMetricTransport EulerSmoothPressureRepresentative EulerSobolevPointEvaluation |
| 13 | EulerSobolevJointEvaluation EulerGraphPressurePotential EulerCanonicalGraphPotential |
| 14 | |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 19 | |
| 20 | /-- Bounded evaluation of the actual finite pressure fixes a canonical common pressure representative. -/ |
| 21 | def FiniteFamily.pointPressure (F : FiniteFamily period hT A) |
| 22 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 23 | pointEvaluation period x (restrictOperator period (by omega : 3 ≤ 6) |
| 24 | (F.signedPressurePath period 6 le_rfl t)) |
| 25 | |
| 26 | /-- The canonical pressure represents the actual common signed L² pressure. -/ |
| 27 | theorem FiniteFamily.pointPressure_ae (F : FiniteFamily period hT A) (t : Icc (0 : ℝ) T) : |
| 28 | (F.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 29 | F.pointPressure period t := |
| 30 | representative_ae period (restrictOperator period (by omega : 3 ≤ 6) |
| 31 | (F.signedPressurePath period 6 le_rfl t)) |
| 32 | |
| 33 | /-- The canonical pressure is jointly continuous in time and the cylinder point. -/ |
| 34 | theorem FiniteFamily.pointPressure_joint_continuous (F : FiniteFamily period hT A) : |
| 35 | Continuous (F.pointPressure period).uncurry := |
| 36 | path_representative_joint_continuous period |
| 37 | ((restrictOperator period (by omega : 3 ≤ 6)).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 38 | (F.signedPressurePath period 6 le_rfl)) |
| 39 | |
| 40 | /-- Proved pressure coherence supplies spatial smoothness of the canonical pressure representative. -/ |
| 41 | theorem FiniteFamily.pointPressure_smooth (F : FiniteFamily period hT A) (C : ComparisonData period hT A) |
| 42 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 43 | ContDiff ℝ ∞ (localFieldLift period (F.pointPressure period t) x) := by |
| 44 | obtain ⟨g, hg, ha⟩ := exists_smooth_representative period (F.commonPressure period t) |
| 45 | (fun n => F.pressureJet period C n t) |
| 46 | have he : F.pointPressure period t = g := |
| 47 | representative_eq period _ g (smoothField_continuous period g hg) ha |
| 48 | rw [he] |
| 49 | exact hg x |
| 50 | |
| 51 | /-- The genuine signed pressure-gradient vector field on the oscillatory physical graph. -/ |
| 52 | def FiniteFamily.graphPressure (F : FiniteFamily period hT A) (k : ℝ) |
| 53 | (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := |
| 54 | A.κ • F.pointPressure period t (cylinderGraph period k A.direction x) |
| 55 | |
| 56 | /-- The actual graph pressure-gradient field is jointly continuous. -/ |
| 57 | theorem FiniteFamily.graphPressure_joint_continuous (F : FiniteFamily period hT A) (k : ℝ) : |
| 58 | Continuous (F.graphPressure period k).uncurry := |
| 59 | ((F.pointPressure_joint_continuous period).comp |
| 60 | (continuous_fst.prodMk |
| 61 | ((EulerCommonPressureRepresentative.cylinderGraph_continuous period k A.direction).comp continuous_snd))).const_smul A.κ |
| 62 | |
| 63 | /-- The actual common pressure has a genuine smooth scalar potential on each reciprocal-frequency graph. -/ |
| 64 | theorem FiniteFamily.graphPressure_has_potential (F : FiniteFamily period hT A) |
| 65 | (C : ComparisonData period hT A) (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| 66 | ∃ q : Vector3 → ℝ, ContDiff ℝ ∞ q ∧ |
| 67 | ∀ x, gradient q x = F.graphPressure period k t x := |
| 68 | gradientSpace_has_graph_potential period A.κ k hk A.direction |
| 69 | (F.commonPressure period t) (F.commonPressure_gradient period t) |
| 70 | (F.pointPressure period t) (F.pointPressure_ae period t) (F.pointPressure_smooth period C t) |
| 71 | |
| 72 | /-- The actual graph pressure reconstructed by a canonical radial integral based at the origin. -/ |
| 73 | def FiniteFamily.normalizedGraphPotential (F : FiniteFamily period hT A) (k : ℝ) |
| 74 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 75 | radialPotential (F.graphPressure period k t) x |
| 76 | |
| 77 | /-- The reconstructed scalar pressure has zero value at the origin at every time. -/ |
| 78 | theorem FiniteFamily.normalizedGraphPotential_zero (F : FiniteFamily period hT A) (k : ℝ) |
| 79 | (t : Icc (0 : ℝ) T) : F.normalizedGraphPotential period k t 0 = 0 := |
| 80 | radialPotential_zero _ |
| 81 | |
| 82 | /-- The normalized scalar pressure is jointly continuous, including both endpoint time slices. -/ |
| 83 | theorem FiniteFamily.normalizedGraphPotential_joint_continuous (F : FiniteFamily period hT A) (k : ℝ) : |
| 84 | Continuous (F.normalizedGraphPotential period k).uncurry := |
| 85 | radialPotential_joint_continuous _ (F.graphPressure_joint_continuous period k) |
| 86 | |
| 87 | /-- The normalized scalar pressure is spatially smooth at every time. -/ |
| 88 | theorem FiniteFamily.normalizedGraphPotential_smooth (F : FiniteFamily period hT A) |
| 89 | (C : ComparisonData period hT A) (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| 90 | ContDiff ℝ ∞ (F.normalizedGraphPotential period k t) := by |
| 91 | obtain ⟨q, hq, hg⟩ := F.graphPressure_has_potential period C k hk t |
| 92 | exact radialPotential_smooth _ |
| 93 | (Continuous.uncurry_left t (F.graphPressure_joint_continuous period k)) q hq hg |
| 94 | |
| 95 | /-- The canonical scalar pressure has the actual signed graph pressure as its gradient. -/ |
| 96 | theorem FiniteFamily.normalizedGraphPotential_gradient (F : FiniteFamily period hT A) |
| 97 | (C : ComparisonData period hT A) (k : ℝ) (hk : k * A.κ = 1) |
| 98 | (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 99 | gradient (F.normalizedGraphPotential period k t) x = |
| 100 | A.κ • F.pointPressure period t (cylinderGraph period k A.direction x) := by |
| 101 | obtain ⟨q, hq, hg⟩ := F.graphPressure_has_potential period C k hk t |
| 102 | exact radialPotential_gradient _ |
| 103 | (Continuous.uncurry_left t (F.graphPressure_joint_continuous period k)) q hq hg x |
| 104 | |
| 105 | end EulerCorrectionAssembly |