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.SobolevParityOperators |
| 2 | import Euler.EulerCorrectionEquation |
| 3 | |
| 4 | /-! Joint odd symmetry of the actual correction source and its coercive pressure. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionParity |
| 9 | |
| 10 | open MeasureTheory InnerProductSpace EulerLiftedGradientSpace EulerPressureSpatialRegularity |
| 11 | EulerSpatialSobolevInverse EulerCylinderSobolev EulerCylinderSobolevSpace |
| 12 | EulerSobolevCoefficientPressure EulerSobolevTransport EulerCorrectionOperators |
| 13 | EulerCylinderReflection EulerGradientReflection EulerSobolevReflection EulerSobolevParityOperators |
| 14 | |
| 15 | variable {X Y : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 16 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 17 | |
| 18 | /-- Exact equivariance of the residual plus the linearized quadratic increment. -/ |
| 19 | theorem linearized_source_equivariant (R : X →L[ℝ] X) (S : Y →L[ℝ] Y) |
| 20 | (B : X →L[ℝ] X →L[ℝ] Y) (C : X →L[ℝ] Y) (z : X) (r : Y) |
| 21 | (hB : ∀ u v, S (B u v) = B (R u) (R v)) (hC : ∀ u, S (C u) = C (R u)) |
| 22 | (hz : R z = z) (hr : S r = r) (e : X) : |
| 23 | S (r + linearize B C z e + B e e) = r + linearize B C z (R e) + B (R e) (R e) := by |
| 24 | simp only [linearize_apply, map_add, hB, hC, hz, hr] |
| 25 | |
| 26 | variable (period : ℝ) [Fact (0 < period)] |
| 27 | |
| 28 | /-- The inherited Sobolev additive normed-group instance. -/ |
| 29 | local instance correctionParityGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 30 | /-- The inherited real Sobolev module instance. -/ |
| 31 | local instance correctionParitySpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 32 | |
| 33 | /-- Signed reflection on Sobolev fields has the literal signed L² value. -/ |
| 34 | theorem value_oddReflection {q : ℕ} (u : SobolevSpace period q) : |
| 35 | value period (oddReflection period q u) = -reflection period (value period u) := by |
| 36 | change -value period (sobolevReflection period q u) = _ |
| 37 | rw [value_sobolevReflection] |
| 38 | |
| 39 | /-- Actual almost-everywhere odd parity is precisely a fixed point of signed reflection. -/ |
| 40 | theorem oddReflection_fixed_of_ae {q : ℕ} (u : SobolevSpace period q) |
| 41 | (hu : ∀ᵐ x ∂liftMeasure period, value period u (-x) = -value period u x) : |
| 42 | oddReflection period q u = u := by |
| 43 | apply value_injective period |
| 44 | rw [value_oddReflection] |
| 45 | have hh : reflection period (value period u) = -value period u := by |
| 46 | apply Lp.ext |
| 47 | filter_upwards [reflection_ae period (value period u), Lp.coeFn_neg (value period u), hu] |
| 48 | with x h1 h2 h3 |
| 49 | rw [h1, h2] |
| 50 | exact h3 |
| 51 | rw [hh, neg_neg] |
| 52 | |
| 53 | /-- Signed reflection commutes with restriction to the next Sobolev order. -/ |
| 54 | theorem truncate_oddReflection {q : ℕ} (u : SobolevSpace period (q+1)) : |
| 55 | truncateOperator period q (oddReflection period (q+1) u) = |
| 56 | oddReflection period q (truncateOperator period q u) := by |
| 57 | simp only [oddReflection_apply, map_neg] |
| 58 | exact congrArg Neg.neg (truncate_reflection period u) |
| 59 | |
| 60 | /-- An actual even coefficient commutes with signed reflection. -/ |
| 61 | theorem coefficient_oddReflection {q : ℕ} {A : SmoothCoefficient period} |
| 62 | (K : CoefficientJet period standardDirection q A) |
| 63 | (hA : ∀ x, A.coefficient (-x) = A.coefficient x) (u : SobolevSpace period q) : |
| 64 | oddReflection period q (coefficientSobolevOperator period K u) = |
| 65 | coefficientSobolevOperator period K (oddReflection period q u) := by |
| 66 | simp only [oddReflection_apply, map_neg] |
| 67 | exact congrArg Neg.neg (coefficient_reflection period K hA u) |
| 68 | |
| 69 | /-- The actual pressure inverse commutes with signed reflection for an even metric. -/ |
| 70 | theorem pressure_oddReflection {q : ℕ} {A : SmoothCoefficient period} |
| 71 | (K : CoefficientJet period standardDirection q A) |
| 72 | (hA : ∀ x, A.coefficient (-x) = A.coefficient x) |
| 73 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 74 | (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v,v⟫_ℝ) (u : SobolevSpace period q) : |
| 75 | oddReflection period q (pressureSobolevOperator period K κ m c hc hpos u) = |
| 76 | pressureSobolevOperator period K κ m c hc hpos (oddReflection period q u) := by |
| 77 | simp only [oddReflection_apply, map_neg] |
| 78 | exact congrArg Neg.neg (pressureSobolev_reflection period K hA κ m c hc hpos u) |
| 79 | |
| 80 | /-- The actual pressure-corrected source commutes with signed reflection. -/ |
| 81 | theorem projectedSource_oddReflection {q : ℕ} {A : SmoothCoefficient period} |
| 82 | (K : CoefficientJet period standardDirection q A) |
| 83 | (hA : ∀ x, A.coefficient (-x) = A.coefficient x) |
| 84 | (κ : ℝ) (m : Vector3) (c : ℝ) (hc : 0 < c) |
| 85 | (hpos : ∀ x v, c * ‖v‖ ^ 2 ≤ ⟪A.coefficient x v,v⟫_ℝ) (u : SobolevSpace period q) : |
| 86 | oddReflection period q (projectedSourceOperator period K κ m c hc hpos u) = |
| 87 | projectedSourceOperator period K κ m c hc hpos (oddReflection period q u) := by |
| 88 | simp only [oddReflection_apply, map_neg] |
| 89 | exact congrArg Neg.neg (projectedSource_reflection period K hA κ m c hc hpos u) |
| 90 | |
| 91 | /-- The literal non-pressure correction source has odd-reflection symmetry |
| 92 | under the source's actual even linear and odd quadratic coefficients. -/ |
| 93 | theorem rawSource_oddReflection {q : ℕ} (hq : 6 ≤ q) {T : Type*} [TopologicalSpace T] |
| 94 | (D : CorrectionData period q T) (t : T) |
| 95 | (hL : ∀ x, (D.linear.coefficient t).coefficient (-x) = (D.linear.coefficient t).coefficient x) |
| 96 | (hQ : ∀ i x, ((D.quadratic i).coefficient t).coefficient (-x) = -((D.quadratic i).coefficient t).coefficient x) |
| 97 | (hz : oddReflection period (q+1) (D.approximation t) = D.approximation t) |
| 98 | (hr : oddReflection period q (D.residual t) = D.residual t) |
| 99 | (e : SobolevSpace period (q+1)) : |
| 100 | oddReflection period q (D.rawSource period hq t e) = |
| 101 | D.rawSource period hq t (oddReflection period (q+1) e) := by |
| 102 | let L := velocityComponents D.κ D.direction |
| 103 | let hLnorm := velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound |
| 104 | let F := eulerBilinear period hq L hLnorm (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) |
| 105 | let C := (coefficientSobolevOperator period (D.linear.jet t)).comp (truncateOperator period q) |
| 106 | have hF (u v : SobolevSpace period (q+1)) : oddReflection period q (F u v) = |
| 107 | F (oddReflection period (q+1) u) (oddReflection period (q+1) v) := |
| 108 | eulerBilinear_oddReflection period hq L hLnorm (fun i => (D.quadratic i).coefficient t) |
| 109 | (fun i => (D.quadratic i).jet t) hQ u v |
| 110 | have hC (u : SobolevSpace period (q+1)) : oddReflection period q (C u) = C (oddReflection period (q+1) u) := |
| 111 | (coefficient_oddReflection period (D.linear.jet t) hL (truncateOperator period q u)).trans |
| 112 | (congrArg (coefficientSobolevOperator period (D.linear.jet t)) (truncate_oddReflection period u).symm) |
| 113 | exact linearized_source_equivariant (oddReflection period (q+1)) (oddReflection period q) F C |
| 114 | (D.approximation t) (D.residual t) hF hC hz hr e |
| 115 | |
| 116 | /-- The genuine correction pressure transforms by signed reflection, |
| 117 | with its sign fixed by the actual pressure definition. -/ |
| 118 | theorem correction_pressure_oddReflection {q : ℕ} (hq : 6 ≤ q) {T : Type*} [TopologicalSpace T] |
| 119 | (D : CorrectionData period q T) (t : T) |
| 120 | (hG : ∀ x, (D.metric.coefficient t).coefficient (-x) = (D.metric.coefficient t).coefficient x) |
| 121 | (hL : ∀ x, (D.linear.coefficient t).coefficient (-x) = (D.linear.coefficient t).coefficient x) |
| 122 | (hQ : ∀ i x, ((D.quadratic i).coefficient t).coefficient (-x) = -((D.quadratic i).coefficient t).coefficient x) |
| 123 | (hz : oddReflection period (q+1) (D.approximation t) = D.approximation t) |
| 124 | (hr : oddReflection period q (D.residual t) = D.residual t) |
| 125 | (e : SobolevSpace period (q+1)) : |
| 126 | oddReflection period q (D.pressure period hq t e) = |
| 127 | D.pressure period hq t (oddReflection period (q+1) e) := by |
| 128 | change oddReflection period q (-(pressureSobolevOperator period (D.metric.jet t) D.κ D.direction |
| 129 | D.coercivity D.coercivity_pos (D.metric_pos t) (D.rawSource period hq t e))) = _ |
| 130 | rw [map_neg] |
| 131 | exact congrArg Neg.neg ((pressure_oddReflection period (D.metric.jet t) hG D.κ D.direction |
| 132 | D.coercivity D.coercivity_pos (D.metric_pos t) (D.rawSource period hq t e)).trans |
| 133 | (congrArg (pressureSobolevOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos |
| 134 | (D.metric_pos t)) (rawSource_oddReflection period hq D t hL hQ hz hr e))) |
| 135 | |
| 136 | /-- The literal projected nonlinear correction equation has the required |
| 137 | odd symmetry, derived from the concrete parity of its prescribed fields. -/ |
| 138 | theorem correction_source_oddReflection {q : ℕ} (hq : 6 ≤ q) {T : Type*} [TopologicalSpace T] |
| 139 | (D : CorrectionData period q T) (t : T) |
| 140 | (hG : ∀ x, (D.metric.coefficient t).coefficient (-x) = (D.metric.coefficient t).coefficient x) |
| 141 | (hL : ∀ x, (D.linear.coefficient t).coefficient (-x) = (D.linear.coefficient t).coefficient x) |
| 142 | (hQ : ∀ i x, ((D.quadratic i).coefficient t).coefficient (-x) = -((D.quadratic i).coefficient t).coefficient x) |
| 143 | (hz : oddReflection period (q+1) (D.approximation t) = D.approximation t) |
| 144 | (hr : oddReflection period q (D.residual t) = D.residual t) |
| 145 | (e : SobolevSpace period (q+1)) : |
| 146 | oddReflection period q ((D.coefficients period hq).apply t e) = |
| 147 | (D.coefficients period hq).apply t (oddReflection period (q+1) e) := by |
| 148 | change oddReflection period q (-(projectedSourceOperator period (D.metric.jet t) D.κ D.direction |
| 149 | D.coercivity D.coercivity_pos (D.metric_pos t) (D.rawSource period hq t e))) = _ |
| 150 | rw [map_neg] |
| 151 | exact congrArg Neg.neg ((projectedSource_oddReflection period (D.metric.jet t) hG D.κ D.direction |
| 152 | D.coercivity D.coercivity_pos (D.metric_pos t) (D.rawSource period hq t e)).trans |
| 153 | (congrArg (projectedSourceOperator period (D.metric.jet t) D.κ D.direction D.coercivity D.coercivity_pos |
| 154 | (D.metric_pos t)) (rawSource_oddReflection period hq D t hL hQ hz hr e))) |
| 155 | |
| 156 | end EulerCorrectionParity |