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.SobolevL2Stability |
| 2 | import Euler.GevreyCorrectionSplit |
| 3 | |
| 4 | /-! Exact nonlinear correction differences and their genuine L² lower-order bounds. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerCorrectionDifference |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerSpatialSobolevInverse EulerCylinderSobolev |
| 11 | EulerCylinderSobolevSpace EulerSobolevL2Product EulerSobolevTransport EulerCorrectionOperators |
| 12 | EulerSobolevCoefficientPressure EulerSobolevL2Stability |
| 13 | open scoped Topology |
| 14 | |
| 15 | variable (period : ℝ) [Fact (0 < period)] |
| 16 | |
| 17 | /-- The actual lower-order part of the difference of two correction equations. -/ |
| 18 | def differenceRemainder {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 19 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) |
| 20 | (u v : SobolevSpace period (q+1)) : SobolevSpace period q := |
| 21 | transportBilinear period hq (velocityComponents D.κ D.direction) |
| 22 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (u-v) (D.approximation t+v) + |
| 23 | coefficientSobolevOperator period (D.linear.jet t) (truncateOperator period q (u-v)) + |
| 24 | algebraicBilinear period hq (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) |
| 25 | (D.approximation t+u) (u-v) + |
| 26 | algebraicBilinear period hq (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) |
| 27 | (u-v) (D.approximation t+v) |
| 28 | |
| 29 | /-- Exact bilinear subtraction exposes one cancellable top transport and the actual lower-order difference. -/ |
| 30 | theorem rawSource_sub {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 31 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) |
| 32 | (u v : SobolevSpace period (q+1)) : |
| 33 | D.rawSource period hq t u-D.rawSource period hq t v = |
| 34 | transportBilinear period hq (velocityComponents D.κ D.direction) |
| 35 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) (D.approximation t+u) (u-v)+ |
| 36 | differenceRemainder period D hq t u v := by |
| 37 | let B := eulerBilinear period hq (velocityComponents D.κ D.direction) |
| 38 | (velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound) |
| 39 | (fun i => coefficientSobolevOperator period ((D.quadratic i).jet t)) |
| 40 | let A := (coefficientSobolevOperator period (D.linear.jet t)).comp (truncateOperator period q) |
| 41 | change (D.residual t+linearize B A (D.approximation t) u+B u u)- |
| 42 | (D.residual t+linearize B A (D.approximation t) v+B v v)=_ |
| 43 | dsimp only [B,A] |
| 44 | simp only [differenceRemainder,linearize_apply,eulerBilinear,add_apply,map_add,map_sub,sub_apply, |
| 45 | ContinuousLinearMap.comp_apply] |
| 46 | abel |
| 47 | |
| 48 | /-- The actual algebraic quadratic term has an L² bound in its second input. -/ |
| 49 | theorem algebraic_norm {q : ℕ} (hq : 6 ≤ q) (C : Fin 3 → SmoothCoefficient period) |
| 50 | (K : ∀ i, CoefficientJet period standardDirection q (C i)) |
| 51 | (u v : SobolevSpace period (q+1)) : |
| 52 | ‖value period (algebraicBilinear period hq (fun i => coefficientSobolevOperator period (K i)) u v)‖ ≤ |
| 53 | ((∑ i : Fin 3, ((C i).bound : ℝ))*sobolevEmbeddingConstant period q)*‖u‖*‖value period v‖ := by |
| 54 | rw [algebraicBilinear_apply] |
| 55 | change ‖(valueOperator period q) (∑ i : Fin 3, _)‖ ≤ _ |
| 56 | rw [map_sum] |
| 57 | change ‖∑ i : Fin 3, value period (coefficientSobolevOperator period (K i) (coordinateProduct period hq i u v))‖ ≤ _ |
| 58 | have h := (norm_sum_le _ _).trans (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 3))) => |
| 59 | coordinate_coefficient_norm period hq (C i) (K i) i u v)) |
| 60 | simpa only [Finset.sum_mul] using h |
| 61 | |
| 62 | /-- The same actual algebraic quadratic term has an L² bound in its first input. -/ |
| 63 | theorem algebraic_reverse_norm {q : ℕ} (hq : 6 ≤ q) (C : Fin 3 → SmoothCoefficient period) |
| 64 | (K : ∀ i, CoefficientJet period standardDirection q (C i)) |
| 65 | (u v : SobolevSpace period (q+1)) : |
| 66 | ‖value period (algebraicBilinear period hq (fun i => coefficientSobolevOperator period (K i)) u v)‖ ≤ |
| 67 | ((∑ i : Fin 3, ((C i).bound : ℝ))*sobolevEmbeddingConstant period q)*‖v‖*‖value period u‖ := by |
| 68 | rw [algebraicBilinear_apply] |
| 69 | change ‖(valueOperator period q) (∑ i : Fin 3, _)‖ ≤ _ |
| 70 | rw [map_sum] |
| 71 | change ‖∑ i : Fin 3, value period (coefficientSobolevOperator period (K i) (coordinateProduct period hq i u v))‖ ≤ _ |
| 72 | have h := (norm_sum_le _ _).trans (Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset (Fin 3))) => |
| 73 | coordinate_coefficient_reverse_norm period hq (C i) (K i) i u v)) |
| 74 | simpa only [Finset.sum_mul] using h |
| 75 | |
| 76 | /-- The actual lower-order nonlinear difference is Lipschitz in L² with only fixed higher Sobolev norms in the coefficient. -/ |
| 77 | theorem differenceRemainder_norm {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 78 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) |
| 79 | (u v : SobolevSpace period (q+1)) : |
| 80 | ‖value period (differenceRemainder period D hq t u v)‖ ≤ |
| 81 | (((D.linear.coefficient t).bound : ℝ)+ |
| 82 | 4*sobolevEmbeddingConstant period q*‖D.approximation t+v‖+ |
| 83 | (∑ i : Fin 3, (((D.quadratic i).coefficient t).bound : ℝ))*sobolevEmbeddingConstant period q* |
| 84 | (‖D.approximation t+u‖+‖D.approximation t+v‖))*‖value period (u-v)‖ := by |
| 85 | let d := u-v |
| 86 | let L := velocityComponents D.κ D.direction |
| 87 | let hL := velocityComponents_norm D.κ D.direction D.scale_bound D.direction_bound |
| 88 | let C := fun i => coefficientSobolevOperator period ((D.quadratic i).jet t) |
| 89 | have htrans := transport_reverse_norm period hq L hL d (D.approximation t+v) |
| 90 | have halg1 := algebraic_norm period hq (fun i => (D.quadratic i).coefficient t) |
| 91 | (fun i => (D.quadratic i).jet t) (D.approximation t+u) d |
| 92 | have halg2 := algebraic_reverse_norm period hq (fun i => (D.quadratic i).coefficient t) |
| 93 | (fun i => (D.quadratic i).jet t) d (D.approximation t+v) |
| 94 | have hlin : ‖value period (coefficientSobolevOperator period (D.linear.jet t) (truncateOperator period q d))‖ ≤ |
| 95 | ((D.linear.coefficient t).bound : ℝ)*‖value period d‖ := by |
| 96 | rw [coefficientSobolevOperator_value,value_truncateOperator] |
| 97 | exact ((D.linear.coefficient t).operator.le_opNorm _).trans |
| 98 | (mul_le_mul_of_nonneg_right (EulerLiftedPressure.coefficientOperator_norm_le |
| 99 | (D.linear.coefficient t).coefficient (D.linear.coefficient t).measurable |
| 100 | (D.linear.coefficient t).bound (D.linear.coefficient t).norm_bound) (norm_nonneg _)) |
| 101 | have hsum : ‖value period (differenceRemainder period D hq t u v)‖ ≤ |
| 102 | ‖value period (transportBilinear period hq L hL d (D.approximation t+v))‖+ |
| 103 | ‖value period (coefficientSobolevOperator period (D.linear.jet t) (truncateOperator period q d))‖+ |
| 104 | ‖value period (algebraicBilinear period hq C (D.approximation t+u) d)‖+ |
| 105 | ‖value period (algebraicBilinear period hq C d (D.approximation t+v))‖ := by |
| 106 | change ‖(_+_+_+_ : LiftL2 period)‖ ≤ _ |
| 107 | exact (norm_add_le _ _).trans (add_le_add |
| 108 | ((norm_add_le _ _).trans (add_le_add (norm_add_le _ _) le_rfl)) le_rfl) |
| 109 | exact hsum.trans ((add_le_add (add_le_add (add_le_add htrans hlin) halg1) halg2).trans_eq (by dsimp [d]; ring)) |
| 110 | |
| 111 | end EulerCorrectionDifference |