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.CorrectionParity |
| 2 | import Euler.InviscidCorrectionUniqueness |
| 3 | |
| 4 | /-! Odd parity of actual inviscid correction solutions, proved by genuine PDE uniqueness. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerInviscidCorrectionParity |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace |
| 11 | EulerCorrectionOperators EulerCorrectionStabilityBudget EulerInviscidCorrectionUniqueness |
| 12 | EulerVolterraConvolution EulerCylinderReflection EulerSobolevReflection EulerCorrectionParity |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The inherited finite Sobolev normed-group instance. -/ |
| 18 | local instance inviscidParityGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 19 | /-- The inherited real finite Sobolev module instance. -/ |
| 20 | local instance inviscidParitySpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 21 | |
| 22 | /-- Every actual zero-initial inviscid correction is odd under the |
| 23 | source's genuine parity hypotheses on the prescribed fields and coefficients. |
| 24 | The reflected path solves the literal same equation; uniqueness is proved |
| 25 | by the existing metric-energy theorem, not assumed. -/ |
| 26 | theorem inviscid_correction_odd {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 27 | (D : CorrectionData period q (Icc (0 : ℝ) T)) (B : StabilityBudget period hT D) |
| 28 | (hG : ∀ t x, (D.metric.coefficient t).coefficient (-x) = (D.metric.coefficient t).coefficient x) |
| 29 | (hL : ∀ t x, (D.linear.coefficient t).coefficient (-x) = (D.linear.coefficient t).coefficient x) |
| 30 | (hQ : ∀ t i x, ((D.quadratic i).coefficient t).coefficient (-x) = -((D.quadratic i).coefficient t).coefficient x) |
| 31 | (hzOdd : ∀ t, oddReflection period (q+1) (D.approximation t) = D.approximation t) |
| 32 | (hrOdd : ∀ t, oddReflection period q (D.residual t) = D.residual t) |
| 33 | (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) |
| 34 | (hi : u ⟨0,le_rfl,hT⟩ = 0) |
| 35 | (hu : ∀ t (ht : t ∈ Ioo 0 T), |
| 36 | HasDerivAt (fun r => value period (extendPath T hT u r)) |
| 37 | (value period ((D.coefficients period hq).apply ⟨t,ht.1.le,ht.2.le⟩ (u ⟨t,ht.1.le,ht.2.le⟩))) t) |
| 38 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 39 | (hud : ∀ t, value period (u t) ∈ divergenceFreeSpace period D.κ D.direction) : |
| 40 | ∀ t, oddReflection period (q+1) (u t) = u t := by |
| 41 | let v := (oddReflection period (q+1)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u |
| 42 | have hv0 : v ⟨0,le_rfl,hT⟩ = 0 := by |
| 43 | change oddReflection period (q+1) (u ⟨0,le_rfl,hT⟩) = 0 |
| 44 | rw [hi, map_zero] |
| 45 | have hv : ∀ t (ht : t ∈ Ioo 0 T), |
| 46 | HasDerivAt (fun r => value period (extendPath T hT v r)) |
| 47 | (value period ((D.coefficients period hq).apply ⟨t,ht.1.le,ht.2.le⟩ (v ⟨t,ht.1.le,ht.2.le⟩))) t := by |
| 48 | intro t ht |
| 49 | let τ : Icc (0 : ℝ) T := ⟨t,ht.1.le,ht.2.le⟩ |
| 50 | have hd := ((reflection period).toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt t (hu t ht)).neg |
| 51 | have he := congrArg (value period (q := q)) |
| 52 | (correction_source_oddReflection period hq D τ (hG τ) (hL τ) (hQ τ) (hzOdd τ) (hrOdd τ) (u τ)) |
| 53 | rw [value_oddReflection] at he |
| 54 | convert! hd using 1 |
| 55 | · funext r |
| 56 | change value period (oddReflection period (q+1) (u (projIcc 0 T hT r))) = |
| 57 | -reflection period (value period (u (projIcc 0 T hT r))) |
| 58 | exact value_oddReflection period _ |
| 59 | · exact he.symm |
| 60 | have hvd : ∀ t, value period (v t) ∈ divergenceFreeSpace period D.κ D.direction := by |
| 61 | intro t |
| 62 | exact oddReflection_divergenceFree period D.κ D.direction (u t) (hud t) |
| 63 | have he := inviscid_correction_unique period hq T hT D B u v (hi.trans hv0.symm) hu hv hz hud hvd |
| 64 | intro t |
| 65 | exact (congrArg (fun f => f t) he).symm |
| 66 | |
| 67 | /-- The actual signed coercive correction pressure has odd gradient parity |
| 68 | at every time once the correction parity has been established. -/ |
| 69 | theorem inviscid_correction_pressure_odd {q : ℕ} (hq : 6 ≤ q) {T : Type*} [TopologicalSpace T] |
| 70 | (D : CorrectionData period q T) (t : T) |
| 71 | (hG : ∀ x, (D.metric.coefficient t).coefficient (-x) = (D.metric.coefficient t).coefficient x) |
| 72 | (hL : ∀ x, (D.linear.coefficient t).coefficient (-x) = (D.linear.coefficient t).coefficient x) |
| 73 | (hQ : ∀ i x, ((D.quadratic i).coefficient t).coefficient (-x) = -((D.quadratic i).coefficient t).coefficient x) |
| 74 | (hz : oddReflection period (q+1) (D.approximation t) = D.approximation t) |
| 75 | (hr : oddReflection period q (D.residual t) = D.residual t) |
| 76 | (u : SobolevSpace period (q+1)) (hu : oddReflection period (q+1) u = u) : |
| 77 | oddReflection period q (D.pressure period hq t u) = D.pressure period hq t u := by |
| 78 | have hh := correction_pressure_oddReflection period hq D t hG hL hQ hz hr u |
| 79 | rwa [hu] at hh |
| 80 | |
| 81 | end EulerInviscidCorrectionParity |