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.CorrectionAssemblyParity |
| 2 | import Euler.CorrectionAssemblyReconstruction |
| 3 | |
| 4 | /-! Pointwise parity and canonical normalization of the assembled actual pressure. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGraphPressurePotential |
| 9 | |
| 10 | open EulerLiftedGradientSpace |
| 11 | |
| 12 | /-- The physical phase graph respects joint spatial and angular reflection. -/ |
| 13 | theorem cylinderGraph_neg (period k : ℝ) (m x : Vector3) : |
| 14 | cylinderGraph period k m (-x) = -cylinderGraph period k m x := by |
| 15 | simp [cylinderGraph] |
| 16 | |
| 17 | end EulerGraphPressurePotential |
| 18 | |
| 19 | namespace EulerCanonicalGraphPotential |
| 20 | |
| 21 | open EulerLiftedGradientSpace |
| 22 | |
| 23 | /-- The canonical radial scalar potential of an odd vector field is even. |
| 24 | This identity does not need a choice of additive gauge or a potential-existence assumption. -/ |
| 25 | theorem radialPotential_even (V : Vector3 → Vector3) |
| 26 | (hV : ∀ x, V (-x) = -V x) (x : Vector3) : |
| 27 | radialPotential V (-x) = radialPotential V x := by |
| 28 | simp only [radialPotential, smul_neg, hV, inner_neg_neg] |
| 29 | |
| 30 | end EulerCanonicalGraphPotential |
| 31 | |
| 32 | namespace EulerCorrectionAssembly |
| 33 | |
| 34 | open MeasureTheory Set EulerLiftedGradientSpace EulerAllOrderCorrectionData |
| 35 | EulerGraphPressurePotential EulerCanonicalGraphPotential |
| 36 | open scoped ContDiff |
| 37 | |
| 38 | variable (period : ℝ) [Fact (0 < period)] |
| 39 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 40 | |
| 41 | /-- The canonical pressure representative is pointwise odd, as a consequence |
| 42 | of genuine PDE uniqueness and parity of the prescribed data. -/ |
| 43 | theorem FiniteFamily.pointPressure_odd (F : FiniteFamily period hT A) |
| 44 | (C : ComparisonData period hT A) (P : ParityData period A) |
| 45 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 46 | F.pointPressure period t (-x) = -F.pointPressure period t x := |
| 47 | continuous_representative_odd period (F.commonPressure period t) |
| 48 | (F.pointPressure period t) (F.commonPressure_odd period C P t) |
| 49 | (Continuous.uncurry_left t (F.pointPressure_joint_continuous period)) |
| 50 | (F.pointPressure_ae period t) x |
| 51 | |
| 52 | /-- The actual signed pressure-gradient vector on the physical phase graph is odd. -/ |
| 53 | theorem FiniteFamily.graphPressure_odd (F : FiniteFamily period hT A) |
| 54 | (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) |
| 55 | (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 56 | F.graphPressure period k t (-x) = -F.graphPressure period k t x := by |
| 57 | unfold FiniteFamily.graphPressure |
| 58 | rw [cylinderGraph_neg, F.pointPressure_odd period C P, smul_neg] |
| 59 | |
| 60 | /-- The origin-normalized scalar pressure is even at every time. |
| 61 | In particular parity is an exact identity, not merely equality modulo a constant. -/ |
| 62 | theorem FiniteFamily.normalizedGraphPotential_even (F : FiniteFamily period hT A) |
| 63 | (C : ComparisonData period hT A) (P : ParityData period A) (k : ℝ) |
| 64 | (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 65 | F.normalizedGraphPotential period k t (-x) = |
| 66 | F.normalizedGraphPotential period k t x := |
| 67 | radialPotential_even _ (F.graphPressure_odd period C P k t) x |
| 68 | |
| 69 | /-- Any smooth potential of the same graph field agrees with the canonical |
| 70 | radial potential after subtracting its value at the origin. -/ |
| 71 | theorem FiniteFamily.normalizedGraphPotential_eq_sub (F : FiniteFamily period hT A) |
| 72 | (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) |
| 73 | (hq : ContDiff ℝ ∞ q) |
| 74 | (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (x : Vector3) : |
| 75 | F.normalizedGraphPotential period k t x = q x - q 0 := |
| 76 | radialPotential_eq_sub _ |
| 77 | (Continuous.uncurry_left t (F.graphPressure_joint_continuous period k)) q hq hgrad x |
| 78 | |
| 79 | /-- The constructed scalar pressure is the unique smooth potential of its |
| 80 | graph field with the prescribed zero value at the origin. -/ |
| 81 | theorem FiniteFamily.normalizedGraphPotential_unique (F : FiniteFamily period hT A) |
| 82 | (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) |
| 83 | (hq : ContDiff ℝ ∞ q) |
| 84 | (hgrad : ∀ x, gradient q x = F.graphPressure period k t x) (hq0 : q 0 = 0) : |
| 85 | F.normalizedGraphPotential period k t = q := by |
| 86 | funext x |
| 87 | rw [F.normalizedGraphPotential_eq_sub period k t q hq hgrad x, hq0, sub_zero] |
| 88 | |
| 89 | end EulerCorrectionAssembly |