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.FunctionalVelocity |
| 2 | import Euler.SobolevWordLevel |
| 3 | import Euler.GevreyCorrectionSplit |
| 4 | |
| 5 | /-! The genuine external transport commutator as a bounded bilinear Sobolev operator. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerSobolevTransportCommutator |
| 10 | |
| 11 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 12 | EulerSpatialSobolevInverse EulerMetricTransport EulerSobolevWordBlocks EulerH6Pressure EulerStrongSmoothJet |
| 13 | EulerSobolevGevreyOperators EulerSobolevWordLevel EulerSobolevTransport EulerSobolevL2Product |
| 14 | EulerFunctionalVelocity EulerH6Nonlinear EulerVectorCylinder EulerExternalTransportCommutator EulerTransportDerivatives |
| 15 | open scoped ContDiff ENNReal Topology |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | local instance commutatorGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 20 | local instance commutatorSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 21 | local instance commutatorBilinearGroup (q r : ℕ) : SeminormedAddCommGroup |
| 22 | (SobolevSpace period q →L[ℝ] SobolevSpace period q →L[ℝ] SobolevSpace period r) := inferInstance |
| 23 | |
| 24 | /-- The actual difference D^w(z·D e)−z·D(D^w e), with all operands on their genuine Sobolev domains. -/ |
| 25 | def externalCommutator {s : ℕ} (hs : 6 ≤ s) (n : ℕ) (w : Fin n → Fin 4) (hn : n+6 ≤ s) |
| 26 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : |
| 27 | SobolevSpace period (s+1) →L[ℝ] SobolevSpace period (s+1) →L[ℝ] SobolevSpace period 6 := |
| 28 | ((ContinuousLinearMap.compL ℝ (SobolevSpace period (s+1)) (SobolevSpace period s) (SobolevSpace period 6) |
| 29 | (wordAtLevel period 6 n w hn)).comp (transportBilinear period hs L hL)) - |
| 30 | (transportBilinear period (by norm_num : 6 ≤ 6) L hL).bilinearComp |
| 31 | (restrictOperator period (by omega : 7 ≤ s+1)) (wordAtLevel period 7 n w (by omega : n+7 ≤ s+1)) |
| 32 | |
| 33 | /-- Explicit actual Sobolev operands of the transport commutator. -/ |
| 34 | theorem externalCommutator_apply {s : ℕ} (hs : 6 ≤ s) (n : ℕ) (w : Fin n → Fin 4) (hn : n+6 ≤ s) |
| 35 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 36 | (u v : SobolevSpace period (s+1)) : |
| 37 | externalCommutator period hs n w hn L hL u v = |
| 38 | wordAtLevel period 6 n w hn (transportBilinear period hs L hL u v) - |
| 39 | transportBilinear period (by norm_num : 6 ≤ 6) L hL |
| 40 | (restrictOperator period (by omega : 7 ≤ s+1) u) |
| 41 | (wordAtLevel period 7 n w (by omega : n+7 ≤ s+1) v) := rfl |
| 42 | |
| 43 | omit [Fact (0 < period)] in |
| 44 | /-- Classical transport of smooth cylinder fields is smooth. -/ |
| 45 | theorem transportField_smooth (b : LiftDomain period → EulerSobolev.Domain 4) (g : LiftDomain period → Vector3) |
| 46 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 47 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 48 | ∀ x, ContDiff ℝ ∞ (localFieldLift period (transportField period 3 b g) x) := by |
| 49 | apply smooth_sum period Finset.univ |
| 50 | intro i _ x |
| 51 | exact (postcomp_smooth period (coordinate 4 i) b hb x).smul (fieldDerivative_smooth period _ g hg x) |
| 52 | |
| 53 | /-- The actual Sobolev transport is the classical transport by its assembled four-dimensional velocity. -/ |
| 54 | theorem transport_ae_velocityMap {s : ℕ} (hs : 6 ≤ s) |
| 55 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 56 | (u v : SobolevSpace period (s+1)) (f g : LiftDomain period → Vector3) |
| 57 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 58 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 59 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 60 | (value period (transportBilinear period hs L hL u v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 61 | transportField period 3 (velocityMap L ∘ f) g := by |
| 62 | have heq : (fun x => ∑ i : Fin 4, L i (f x) • fieldDerivative period (standardDirection i) g x) = |
| 63 | transportField period 3 (velocityMap L ∘ f) g := by |
| 64 | funext x |
| 65 | simp only [transportField, Finset.sum_apply, Function.comp_apply, velocityMap_apply] |
| 66 | rw [← heq] |
| 67 | exact transportBilinear_ae period hs L hL u v f g hu hv hg |
| 68 | |
| 69 | /-- On genuine smooth representatives the bounded Sobolev commutator is exactly the classical derivative commutator. -/ |
| 70 | theorem externalCommutator_ae {s : ℕ} (hs : 6 ≤ s) (n : ℕ) (w : Fin n → Fin 4) (hn : n+6 ≤ s) |
| 71 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 72 | (u v : SobolevSpace period (s+1)) (f g : LiftDomain period → Vector3) |
| 73 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 74 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 75 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 76 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 77 | (value period (externalCommutator period hs n w hn L hL u v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 78 | transportCommutator period w (velocityMap L ∘ f) g := by |
| 79 | let b := velocityMap L ∘ f |
| 80 | have hb := postcomp_smooth period (velocityMap L) f hf |
| 81 | have hT := transport_ae_velocityMap period hs L hL u v f g hu hv hg |
| 82 | have hfirst := wordAtLevel_ae period 6 n w hn (transportBilinear period hs L hL u v) |
| 83 | (transportField period 3 b g) hT (transportField_smooth period b g hb hg) |
| 84 | have hw := wordAtLevel_ae period 7 n w (by omega : n+7 ≤ s+1) v g hv hg |
| 85 | have hsecond := transport_ae_velocityMap period (by norm_num : 6 ≤ 6) L hL |
| 86 | (restrictOperator period (by omega : 7 ≤ s+1) u) (wordAtLevel period 7 n w (by omega) v) |
| 87 | f (iteratedFieldDerivative period w g) hu hw (iteratedFieldDerivative_smooth period w g hg) |
| 88 | rw [externalCommutator_apply] |
| 89 | change ((valueOperator period 6) (_-_) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] _ |
| 90 | rw [map_sub] |
| 91 | filter_upwards [Lp.coeFn_sub (value period (wordAtLevel period 6 n w hn (transportBilinear period hs L hL u v))) |
| 92 | (value period (transportBilinear period (by norm_num : 6 ≤ 6) L hL |
| 93 | (restrictOperator period (by omega : 7 ≤ s+1) u) (wordAtLevel period 7 n w (by omega) v))), hfirst,hsecond] |
| 94 | with x hx h1 h2 |
| 95 | simp only [Pi.sub_apply] at hx |
| 96 | exact hx.trans (by rw [h1,h2]; rfl) |
| 97 | |
| 98 | omit [Fact (0 < period)] in |
| 99 | /-- The classical external transport commutator is smooth for smooth fields. -/ |
| 100 | theorem transportCommutator_smooth {n : ℕ} (w : Fin n → Fin 4) |
| 101 | (b : LiftDomain period → EulerSobolev.Domain 4) (g : LiftDomain period → Vector3) |
| 102 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) |
| 103 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 104 | ∀ x, ContDiff ℝ ∞ (localFieldLift period (transportCommutator period w b g) x) := by |
| 105 | intro x |
| 106 | exact (iteratedFieldDerivative_smooth period w (transportField period 3 b g) |
| 107 | (transportField_smooth period b g hb hg) x).sub |
| 108 | (transportField_smooth period b (iteratedFieldDerivative period w g) hb (iteratedFieldDerivative_smooth period w g hg) x) |
| 109 | |
| 110 | /-- The actual Sobolev commutator norm equals the source's classical H⁶ norm whenever smooth representatives are available. -/ |
| 111 | theorem externalCommutator_sumNorm {s : ℕ} (hs : 6 ≤ s) (n : ℕ) (w : Fin n → Fin 4) (hn : n+6 ≤ s) |
| 112 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 113 | (u v : SobolevSpace period (s+1)) (f g : LiftDomain period → Vector3) |
| 114 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 115 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 116 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 117 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 118 | sumNorm period (externalCommutator period hs n w hn L hL u v) = |
| 119 | liftSobolevNorm period 6 (transportCommutator period w (velocityMap L ∘ f) g) := |
| 120 | sumNorm_eq_classical period _ _ (externalCommutator_ae period hs n w hn L hL u v f g hu hv hf hg) |
| 121 | (transportCommutator_smooth period w _ g (postcomp_smooth period (velocityMap L) f hf) hg) |
| 122 | |
| 123 | end EulerSobolevTransportCommutator |