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.BaseTransportL2 |
| 2 | import Euler.TransportL2Bilinear |
| 3 | import Euler.SmoothInequalityTransfer |
| 4 | |
| 5 | /-! The genuine base transport commutator on finite Sobolev fields, with an H⁶-only bound. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerSobolevBaseCommutator |
| 10 | |
| 11 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 12 | EulerMetricTransport EulerTransportDerivatives EulerSobolevL2Product EulerSobolevTransport |
| 13 | EulerFunctionalVelocity EulerH6Nonlinear EulerSobolevTransportCommutator EulerSobolevWordLevel |
| 14 | EulerTransportL2Bilinear EulerBaseTransportL2 EulerSmoothInequalityTransfer EulerExternalTransportCommutator |
| 15 | open scoped ContDiff ENNReal Topology |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | local instance baseCommGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 20 | local instance baseCommSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 21 | |
| 22 | /-- The actual base derivative commutator, evaluated in L² on its genuine H⁷ domain. -/ |
| 23 | def baseCommutator (r : ℕ) (hr : r ≤ 6) (w : Fin r → Fin 4) |
| 24 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : |
| 25 | SobolevSpace period 7 →L[ℝ] SobolevSpace period 7 →L[ℝ] LiftL2 period := |
| 26 | ((ContinuousLinearMap.compL ℝ (SobolevSpace period 7) (SobolevSpace period 6) (LiftL2 period) |
| 27 | ((valueOperator period 0).comp (wordAtLevel period 0 r w (by omega : r+0 ≤ 6)))).comp |
| 28 | (transportBilinear period (by norm_num : 6 ≤ 6) L hL)) - |
| 29 | (transportL2Bilinear period (by norm_num : 3 ≤ 7) L).bilinearComp |
| 30 | (ContinuousLinearMap.id ℝ (SobolevSpace period 7)) (wordAtLevel period 1 r w (by omega : r+1 ≤ 7)) |
| 31 | |
| 32 | /-- The actual operands of the finite-Sobolev base commutator. -/ |
| 33 | theorem baseCommutator_apply (r : ℕ) (hr : r ≤ 6) (w : Fin r → Fin 4) |
| 34 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 35 | (u v : SobolevSpace period 7) : |
| 36 | baseCommutator period r hr w L hL u v = |
| 37 | value period (wordAtLevel period 0 r w (by omega : r+0 ≤ 6) (transportBilinear period (by norm_num : 6 ≤ 6) L hL u v)) - |
| 38 | transportL2Bilinear period (by norm_num : 3 ≤ 7) L u (wordAtLevel period 1 r w (by omega : r+1 ≤ 7) v) := rfl |
| 39 | |
| 40 | /-- Its actual L² representative is the literal classical base derivative commutator. -/ |
| 41 | theorem baseCommutator_ae (r : ℕ) (hr : r ≤ 6) (w : Fin r → Fin 4) |
| 42 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 43 | (u v : SobolevSpace period 7) (f g : LiftDomain period → Vector3) |
| 44 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 45 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 46 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 47 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) : |
| 48 | (baseCommutator period r hr w L hL u v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 49 | transportCommutator period w (velocityMap L ∘ f) g := by |
| 50 | let b := velocityMap L ∘ f |
| 51 | have hb := EulerVectorCylinder.postcomp_smooth period (velocityMap L) f hf |
| 52 | have ht := transport_ae_velocityMap period (by norm_num : 6 ≤ 6) L hL u v f g hu hv hg |
| 53 | have hfirst := wordAtLevel_ae period 0 r w (by omega : r+0 ≤ 6) |
| 54 | (transportBilinear period (by norm_num : 6 ≤ 6) L hL u v) (transportField period 3 b g) ht |
| 55 | (transportField_smooth period b g hb hg) |
| 56 | have hw := wordAtLevel_ae period 1 r w (by omega : r+1 ≤ 7) v g hv hg |
| 57 | have hsecond := transportL2Bilinear_ae period (by norm_num : 3 ≤ 7) L u |
| 58 | (wordAtLevel period 1 r w (by omega) v) f (iteratedFieldDerivative period w g) hu hw |
| 59 | (iteratedFieldDerivative_smooth period w g hg) |
| 60 | rw [baseCommutator_apply] |
| 61 | filter_upwards [Lp.coeFn_sub |
| 62 | (value period (wordAtLevel period 0 r w (by omega) (transportBilinear period (by norm_num : 6 ≤ 6) L hL u v))) |
| 63 | (transportL2Bilinear period (by norm_num : 3 ≤ 7) L u (wordAtLevel period 1 r w (by omega) v)), hfirst,hsecond] |
| 64 | with x hx h1 h2 |
| 65 | simp only [Pi.sub_apply] at hx |
| 66 | exact hx.trans (by rw [h1,h2]; rfl) |
| 67 | |
| 68 | /-- On actual smooth representatives, the base commutator has the H⁶-only norm bound. -/ |
| 69 | theorem baseCommutator_smooth_bound (r : ℕ) (hr : r ≤ 6) (w : Fin r → Fin 4) |
| 70 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 71 | (u v : SobolevSpace period 7) (f g : LiftDomain period → Vector3) |
| 72 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 73 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 74 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 75 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 76 | (hfL : ∀ j, ∀ a : Fin j → Fin 4, MemLp (iteratedFieldDerivative period a f) 2 (liftMeasure period)) |
| 77 | (hgL : ∀ j, ∀ a : Fin j → Fin 4, MemLp (iteratedFieldDerivative period a g) 2 (liftMeasure period)) : |
| 78 | ‖baseCommutator period r hr w L hL u v‖ ≤ baseTransportConstant period * |
| 79 | sumNorm period (restrictOperator period (by norm_num : 6 ≤ 7) u) * |
| 80 | sumNorm period (restrictOperator period (by norm_num : 6 ≤ 7) v) := by |
| 81 | have heq : ‖baseCommutator period r hr w L hL u v‖ = |
| 82 | (eLpNorm (transportCommutator period w (velocityMap L ∘ f) g) 2 (liftMeasure period)).toReal := by |
| 83 | simpa only [Lp.norm_def] using congrArg ENNReal.toReal |
| 84 | (eLpNorm_congr_ae (p := (2 : ℝ≥0∞)) (baseCommutator_ae period r hr w L hL u v f g hu hv hf hg)) |
| 85 | have h := (transport_base_L2 period hr w L hL f g hf hg hfL hgL).2 |
| 86 | rw [heq] |
| 87 | conv_rhs => rw [sumNorm_eq_classical period (restrictOperator period (by norm_num : 6 ≤ 7) u) f hu hf, |
| 88 | sumNorm_eq_classical period (restrictOperator period (by norm_num : 6 ≤ 7) v) g hv hg] |
| 89 | exact h |
| 90 | |
| 91 | /-- The genuine finite-Sobolev base commutator satisfies the same H⁶-only estimate, with no smoothness hypothesis. -/ |
| 92 | theorem baseCommutator_bound (r : ℕ) (hr : r ≤ 6) (w : Fin r → Fin 4) |
| 93 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 94 | (u v : SobolevSpace period 7) : |
| 95 | ‖baseCommutator period r hr w L hL u v‖ ≤ baseTransportConstant period * |
| 96 | sumNorm period (restrictOperator period (by norm_num : 6 ≤ 7) u) * |
| 97 | sumNorm period (restrictOperator period (by norm_num : 6 ≤ 7) v) := by |
| 98 | have hS : Continuous (fun u : SobolevSpace period 7 => sumNorm period (restrictOperator period (by norm_num : 6 ≤ 7) u)) := |
| 99 | (continuous_sumNorm period 6).comp (restrictOperator period (by norm_num : 6 ≤ 7)).continuous |
| 100 | exact binary_le_of_smooth period |
| 101 | (fun p => ‖baseCommutator period r hr w L hL p.1 p.2‖) |
| 102 | (fun p => baseTransportConstant period * sumNorm period (restrictOperator period (by norm_num : 6 ≤ 7) p.1) * |
| 103 | sumNorm period (restrictOperator period (by norm_num : 6 ≤ 7) p.2)) |
| 104 | (baseCommutator period r hr w L hL).continuous₂.norm |
| 105 | (((hS.comp continuous_fst).const_mul (baseTransportConstant period)).mul (hS.comp continuous_snd)) |
| 106 | (fun a b f g ha hb hf hg hfL hgL => baseCommutator_smooth_bound period r hr w L hL a b f g ha hb hf hg hfL hgL) u v |
| 107 | |
| 108 | end EulerSobolevBaseCommutator |