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.AllOrderDriftFinite |
| 2 | import Euler.CorrectionAssemblyPressureParity |
| 3 | |
| 4 | /-! Actual common pressure and a canonically normalized scalar graph pressure |
| 5 | constructed from all-order drift-aware input budgets. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerAllOrderDriftCorrection |
| 10 | |
| 11 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 12 | EulerAllOrderCorrectionData EulerCorrectionAssembly EulerGraphPressurePotential |
| 13 | EulerMetricTransport EulerCylinderReflection EulerSobolevReflection EulerCorrectionOperators |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | variable {T : ℝ} {hT : 0 < T} {A : Data period T} |
| 18 | |
| 19 | /-- The actual signed L² pressure of the family constructed from drift-aware budgets. -/ |
| 20 | def Budget.commonPressure (B : Budget period hT A) : |
| 21 | C(Icc (0 : ℝ) T, LiftL2 period) := |
| 22 | (B.family period).commonPressure period |
| 23 | |
| 24 | /-- Every constructed finite signed pressure realizes this same common L² pressure. -/ |
| 25 | theorem Budget.signedPressurePath_value_common (B : Budget period hT A) |
| 26 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 27 | value period ((B.family period).signedPressurePath period q hq t) = |
| 28 | B.commonPressure period t := |
| 29 | (B.family period).signedPressurePath_value_common period (B.comparisonData period) q hq t |
| 30 | |
| 31 | /-- The constructed pressure lies in the genuine closed lifted gradient space. -/ |
| 32 | theorem Budget.commonPressure_gradient (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 33 | B.commonPressure period t ∈ gradientSpace period A.κ A.direction := |
| 34 | (B.family period).commonPressure_gradient period t |
| 35 | |
| 36 | /-- Actual continuous Sobolev realizations at every order of the same constructed pressure. -/ |
| 37 | def Budget.pressureTower (B : Budget period hT A) : FieldTower period T := |
| 38 | (B.family period).pressureTower period (B.comparisonData period) |
| 39 | |
| 40 | /-- The all-order tower represents exactly the pressure selected from the finite construction. -/ |
| 41 | theorem Budget.pressureTower_value (B : Budget period hT A) |
| 42 | (q : ℕ) (t : Icc (0 : ℝ) T) : |
| 43 | value period ((B.pressureTower period).realization q t) = B.commonPressure period t := |
| 44 | (B.pressureTower period).value_eq q t |
| 45 | |
| 46 | /-- Evaluating the genuine finite-order pressure solver on the constructed correction |
| 47 | gives exactly the corresponding realization of the common pressure tower. -/ |
| 48 | theorem Budget.pressure_eq_realization (B : Budget period hT A) |
| 49 | (q : ℕ) (hq : 6 ≤ q) (t : Icc (0 : ℝ) T) : |
| 50 | (A.atOrder period q).pressure period hq t (B.solution period q hq t) = |
| 51 | (B.pressureTower period).realization q t := |
| 52 | congrArg (fun f => f t) |
| 53 | ((B.family period).signedPressurePath_eq_realization period (B.comparisonData period) q hq) |
| 54 | |
| 55 | /-- Bounded Sobolev evaluation fixes a canonical pointwise representative of the pressure. -/ |
| 56 | def Budget.pointPressure (B : Budget period hT A) |
| 57 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : Vector3 := |
| 58 | (B.family period).pointPressure period t x |
| 59 | |
| 60 | /-- The canonical representative agrees almost everywhere with the actual constructed pressure. -/ |
| 61 | theorem Budget.pointPressure_ae (B : Budget period hT A) (t : Icc (0 : ℝ) T) : |
| 62 | (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 63 | B.pointPressure period t := |
| 64 | (B.family period).pointPressure_ae period t |
| 65 | |
| 66 | /-- The selected actual pressure representative is jointly continuous, including endpoint times. -/ |
| 67 | theorem Budget.pointPressure_joint_continuous (B : Budget period hT A) : |
| 68 | Continuous (B.pointPressure period).uncurry := |
| 69 | (B.family period).pointPressure_joint_continuous period |
| 70 | |
| 71 | /-- The same pressure representative is smooth in all cylinder coordinates at every time. -/ |
| 72 | theorem Budget.pointPressure_smooth (B : Budget period hT A) |
| 73 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 74 | ContDiff ℝ ∞ (localFieldLift period (B.pointPressure period t) x) := |
| 75 | (B.family period).pointPressure_smooth period (B.comparisonData period) t x |
| 76 | |
| 77 | /-- The actual graph pressure-gradient vector field of the constructed correction. -/ |
| 78 | def Budget.graphPressure (B : Budget period hT A) (k : ℝ) |
| 79 | (t : Icc (0 : ℝ) T) (x : Vector3) : Vector3 := |
| 80 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) |
| 81 | |
| 82 | /-- The actual graph vector field is jointly continuous in time and space. -/ |
| 83 | theorem Budget.graphPressure_joint_continuous (B : Budget period hT A) (k : ℝ) : |
| 84 | Continuous (B.graphPressure period k).uncurry := |
| 85 | (B.family period).graphPressure_joint_continuous period k |
| 86 | |
| 87 | /-- Reciprocal-frequency graph restriction of the actual pressure has a genuine smooth potential. -/ |
| 88 | theorem Budget.graphPressure_has_potential (B : Budget period hT A) |
| 89 | (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| 90 | ∃ q : Vector3 → ℝ, ContDiff ℝ ∞ q ∧ |
| 91 | ∀ x, gradient q x = B.graphPressure period k t x := |
| 92 | (B.family period).graphPressure_has_potential period (B.comparisonData period) k hk t |
| 93 | |
| 94 | /-- The scalar graph pressure constructed by radial integration, with its additive gauge fixed at zero. -/ |
| 95 | def Budget.normalizedGraphPotential (B : Budget period hT A) (k : ℝ) |
| 96 | (t : Icc (0 : ℝ) T) (x : Vector3) : ℝ := |
| 97 | (B.family period).normalizedGraphPotential period k t x |
| 98 | |
| 99 | /-- The constructed scalar pressure vanishes at the origin at every time. -/ |
| 100 | theorem Budget.normalizedGraphPotential_zero (B : Budget period hT A) |
| 101 | (k : ℝ) (t : Icc (0 : ℝ) T) : B.normalizedGraphPotential period k t 0 = 0 := |
| 102 | (B.family period).normalizedGraphPotential_zero period k t |
| 103 | |
| 104 | /-- Fixing the gauge by the same radial formula at every time preserves joint continuity. -/ |
| 105 | theorem Budget.normalizedGraphPotential_joint_continuous (B : Budget period hT A) (k : ℝ) : |
| 106 | Continuous (B.normalizedGraphPotential period k).uncurry := |
| 107 | (B.family period).normalizedGraphPotential_joint_continuous period k |
| 108 | |
| 109 | /-- The actual normalized scalar pressure is spatially smooth on each time slice. -/ |
| 110 | theorem Budget.normalizedGraphPotential_smooth (B : Budget period hT A) |
| 111 | (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) : |
| 112 | ContDiff ℝ ∞ (B.normalizedGraphPotential period k t) := |
| 113 | (B.family period).normalizedGraphPotential_smooth period (B.comparisonData period) k hk t |
| 114 | |
| 115 | /-- Its actual scalar gradient is precisely the signed pressure from the constructed correction. -/ |
| 116 | theorem Budget.normalizedGraphPotential_gradient (B : Budget period hT A) |
| 117 | (k : ℝ) (hk : k * A.κ = 1) (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 118 | gradient (B.normalizedGraphPotential period k t) x = |
| 119 | A.κ • B.pointPressure period t (cylinderGraph period k A.direction x) := |
| 120 | (B.family period).normalizedGraphPotential_gradient period (B.comparisonData period) k hk t x |
| 121 | |
| 122 | /-- No second normalized smooth potential can represent the same actual graph pressure. -/ |
| 123 | theorem Budget.normalizedGraphPotential_unique (B : Budget period hT A) |
| 124 | (k : ℝ) (t : Icc (0 : ℝ) T) (q : Vector3 → ℝ) |
| 125 | (hq : ContDiff ℝ ∞ q) |
| 126 | (hgrad : ∀ x, gradient q x = B.graphPressure period k t x) (hq0 : q 0 = 0) : |
| 127 | B.normalizedGraphPotential period k t = q := |
| 128 | (B.family period).normalizedGraphPotential_unique period k t q hq hgrad hq0 |
| 129 | |
| 130 | /-- Prescribed odd data produce an odd actual common pressure gradient. -/ |
| 131 | theorem Budget.commonPressure_odd (B : Budget period hT A) (P : ParityData period A) |
| 132 | (t : Icc (0 : ℝ) T) : |
| 133 | -reflection period (B.commonPressure period t) = B.commonPressure period t := |
| 134 | (B.family period).commonPressure_odd period (B.comparisonData period) P t |
| 135 | |
| 136 | /-- Oddness holds pointwise for the canonical pressure representative. -/ |
| 137 | theorem Budget.pointPressure_odd (B : Budget period hT A) (P : ParityData period A) |
| 138 | (t : Icc (0 : ℝ) T) (x : LiftDomain period) : |
| 139 | B.pointPressure period t (-x) = -B.pointPressure period t x := |
| 140 | (B.family period).pointPressure_odd period (B.comparisonData period) P t x |
| 141 | |
| 142 | /-- The signed pressure gradient remains odd after physical phase-graph restriction. -/ |
| 143 | theorem Budget.graphPressure_odd (B : Budget period hT A) (P : ParityData period A) |
| 144 | (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 145 | B.graphPressure period k t (-x) = -B.graphPressure period k t x := |
| 146 | (B.family period).graphPressure_odd period (B.comparisonData period) P k t x |
| 147 | |
| 148 | /-- The same canonical normalization makes the scalar graph pressure exactly even. -/ |
| 149 | theorem Budget.normalizedGraphPotential_even (B : Budget period hT A) (P : ParityData period A) |
| 150 | (k : ℝ) (t : Icc (0 : ℝ) T) (x : Vector3) : |
| 151 | B.normalizedGraphPotential period k t (-x) = B.normalizedGraphPotential period k t x := |
| 152 | (B.family period).normalizedGraphPotential_even period (B.comparisonData period) P k t x |
| 153 | |
| 154 | /-- The all-order drift-aware input budget constructs a common actual pressure, |
| 155 | a jointly continuous smooth spatial representative, and a canonically normalized |
| 156 | smooth scalar graph potential. No correction solution or pressure is assumed. -/ |
| 157 | theorem exists_normalized_pressure (B : Budget period hT A) (k : ℝ) (hk : k * A.κ = 1) : |
| 158 | ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) |
| 159 | (Q : Icc (0 : ℝ) T → Vector3 → ℝ), |
| 160 | (∀ t, (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ |
| 161 | Continuous p.uncurry ∧ |
| 162 | (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ |
| 163 | Continuous Q.uncurry ∧ (∀ t, Q t 0 = 0) ∧ |
| 164 | (∀ t, ContDiff ℝ ∞ (Q t)) ∧ |
| 165 | ∀ t x, gradient (Q t) x = A.κ • p t (cylinderGraph period k A.direction x) := |
| 166 | ⟨B.pointPressure period, B.normalizedGraphPotential period k, |
| 167 | B.pointPressure_ae period, B.pointPressure_joint_continuous period, |
| 168 | B.pointPressure_smooth period, B.normalizedGraphPotential_joint_continuous period k, |
| 169 | B.normalizedGraphPotential_zero period k, B.normalizedGraphPotential_smooth period k hk, |
| 170 | B.normalizedGraphPotential_gradient period k hk⟩ |
| 171 | |
| 172 | /-- With parity of the prescribed data, the same constructed pressure representative |
| 173 | is odd and its canonically normalized scalar graph potential is even. -/ |
| 174 | theorem exists_odd_normalized_pressure (B : Budget period hT A) (P : ParityData period A) |
| 175 | (k : ℝ) (hk : k * A.κ = 1) : |
| 176 | ∃ (p : Icc (0 : ℝ) T → LiftDomain period → Vector3) |
| 177 | (Q : Icc (0 : ℝ) T → Vector3 → ℝ), |
| 178 | (∀ t, (B.commonPressure period t : LiftDomain period → Vector3) =ᵐ[liftMeasure period] p t) ∧ |
| 179 | Continuous p.uncurry ∧ |
| 180 | (∀ t x, ContDiff ℝ ∞ (localFieldLift period (p t) x)) ∧ |
| 181 | (∀ t x, p t (-x) = -p t x) ∧ |
| 182 | Continuous Q.uncurry ∧ (∀ t, Q t 0 = 0) ∧ |
| 183 | (∀ t, ContDiff ℝ ∞ (Q t)) ∧ (∀ t x, Q t (-x) = Q t x) ∧ |
| 184 | ∀ t x, gradient (Q t) x = A.κ • p t (cylinderGraph period k A.direction x) := |
| 185 | ⟨B.pointPressure period, B.normalizedGraphPotential period k, |
| 186 | B.pointPressure_ae period, B.pointPressure_joint_continuous period, |
| 187 | B.pointPressure_smooth period, B.pointPressure_odd period P, |
| 188 | B.normalizedGraphPotential_joint_continuous period k, B.normalizedGraphPotential_zero period k, |
| 189 | B.normalizedGraphPotential_smooth period k hk, B.normalizedGraphPotential_even period P k, |
| 190 | B.normalizedGraphPotential_gradient period k hk⟩ |
| 191 | |
| 192 | end EulerAllOrderDriftCorrection |