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.SobolevTransportCommutator |
| 2 | |
| 3 | /-! The actual finite-Sobolev external transport commutator satisfies the Gevrey radius-loss bound. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerSobolevTransportCommutator |
| 8 | |
| 9 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 10 | EulerSpatialSobolevInverse EulerMetricTransport EulerH6Pressure EulerPacketWeights |
| 11 | EulerSobolevGevreyOperators EulerSobolevWordLevel EulerSobolevTransport EulerSobolevL2Product |
| 12 | EulerFunctionalVelocity EulerH6Nonlinear EulerVectorCylinder EulerExternalTransportCommutator |
| 13 | EulerSobolevGevreyProduct EulerSobolevHeat |
| 14 | open scoped ContDiff ENNReal Topology |
| 15 | |
| 16 | variable (period : ℝ) [Fact (0 < period)] |
| 17 | |
| 18 | local instance weightedCommGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 19 | local instance weightedCommSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 20 | |
| 21 | /-- The actual finite weighted derivative-loss norm. -/ |
| 22 | def weightedLoss {s : ℕ} (q N : ℕ) (ρ : ℝ) (u : SobolevSpace period s) : ℝ := |
| 23 | ∑ n ∈ Finset.range (N+1), (n : ℝ)*weight ρ n*blockNorm period (toJet period u) q n |
| 24 | |
| 25 | theorem weightedLoss_nonneg {s : ℕ} (q N : ℕ) (ρ : ℝ) (hρ : 0 < ρ) (u : SobolevSpace period s) : |
| 26 | 0 ≤ weightedLoss period q N ρ u := |
| 27 | Finset.sum_nonneg fun n _ => mul_nonneg (mul_nonneg (Nat.cast_nonneg n) (weight_pos hρ n).le) (blockNorm_nonneg _) |
| 28 | |
| 29 | /-- Continuity of the actual finite loss norm. -/ |
| 30 | theorem continuous_weightedLoss {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) : |
| 31 | Continuous (weightedLoss period (s := s) q N ρ) := by |
| 32 | apply continuous_finsetSum |
| 33 | intro n hn |
| 34 | exact (continuous_blockNorm period (by have := Finset.mem_range.mp hn; omega : n+q ≤ s)).const_mul _ |
| 35 | |
| 36 | /-- Exact identification of weighted complete-Sobolev blocks with classical representative norms. -/ |
| 37 | theorem weightedNorm_eq_classical {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 38 | (u : SobolevSpace period s) (f : LiftDomain period → Vector3) |
| 39 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 40 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 41 | weightedNorm period q N ρ u = ∑ n ∈ Finset.range (N+1), weight ρ n*wordSobolevNorm period q n f := by |
| 42 | apply Finset.sum_congr rfl |
| 43 | intro n hn |
| 44 | rw [blockNorm_eq_classical period (toJet period u) (by have := Finset.mem_range.mp hn; omega) f hu hf] |
| 45 | |
| 46 | /-- The same exact identification for the derivative-loss norm. -/ |
| 47 | theorem weightedLoss_eq_classical {s : ℕ} (q N : ℕ) (hN : N+q ≤ s) (ρ : ℝ) |
| 48 | (u : SobolevSpace period s) (f : LiftDomain period → Vector3) |
| 49 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 50 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) : |
| 51 | weightedLoss period q N ρ u = ∑ n ∈ Finset.range (N+1), (n : ℝ)*weight ρ n*wordSobolevNorm period q n f := by |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro n hn |
| 54 | rw [blockNorm_eq_classical period (toJet period u) (by have := Finset.mem_range.mp hn; omega) f hu hf] |
| 55 | |
| 56 | /-- Weighted sum of the genuine H⁶ external transport commutators. -/ |
| 57 | def weightedCommutatorNorm {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) |
| 58 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 59 | (u v : SobolevSpace period (s+1)) : ℝ := |
| 60 | ∑ n : Fin (N+1), weight ρ n.val * ∑ w : Fin n.val → Fin 4, |
| 61 | sumNorm period (externalCommutator period hs n.val w (by have := n.isLt; omega) L hL u v) |
| 62 | |
| 63 | /-- The weighted commutator expression is continuous in its actual finite-Sobolev inputs. -/ |
| 64 | theorem continuous_weightedCommutatorNorm {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) (ρ : ℝ) |
| 65 | (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) : |
| 66 | Continuous (fun p : SobolevSpace period (s+1) × SobolevSpace period (s+1) => |
| 67 | weightedCommutatorNorm period hs N hN ρ L hL p.1 p.2) := by |
| 68 | apply continuous_finsetSum |
| 69 | intro n _ |
| 70 | apply Continuous.const_mul |
| 71 | apply continuous_finsetSum |
| 72 | intro w _ |
| 73 | exact (continuous_sumNorm period 6).comp |
| 74 | (externalCommutator period hs n.val w (by have := n.isLt; omega) L hL).continuous₂ |
| 75 | |
| 76 | /-- The external commutator bound for actual smooth representatives depends only on derivatives inside the energy cutoff. -/ |
| 77 | theorem weightedCommutator_smooth_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 78 | (ρ : ℝ) (hρ : 0 < ρ) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 79 | (u v : SobolevSpace period (s+1)) (f g : LiftDomain period → Vector3) |
| 80 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 81 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 82 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 83 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 84 | (hfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) |
| 85 | (hgL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) : |
| 86 | weightedCommutatorNorm period hs N hN ρ L hL u v ≤ |
| 87 | (4*productConstant period 3)*ρ⁻¹*weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v := by |
| 88 | let b := velocityMap L ∘ f |
| 89 | have hb := postcomp_smooth period (velocityMap L) f hf |
| 90 | have hbL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w b) 2 (liftMeasure period) := |
| 91 | fun j w => postcomp_word_memLp period (le_refl j) (velocityMap L) f hf (fun r _ a => hfL r a) w |
| 92 | have heq : weightedCommutatorNorm period hs N hN ρ L hL u v = |
| 93 | ∑ n ∈ Finset.range (N+1), weight ρ n*transportCommutatorNorm period n b g := by |
| 94 | rw [← Fin.sum_univ_eq_sum_range] |
| 95 | apply Finset.sum_congr rfl |
| 96 | intro n _ |
| 97 | congr 1 |
| 98 | apply Finset.sum_congr rfl |
| 99 | intro w _ |
| 100 | exact externalCommutator_sumNorm period hs n.val w (by have := n.isLt; omega) L hL u v f g hu hv hf hg |
| 101 | rw [heq, weightedNorm_eq_classical period 6 N (by omega) ρ u f hu hf, |
| 102 | weightedLoss_eq_classical period 6 N (by omega) ρ v g hv hg] |
| 103 | have ht := transportCommutator_weighted_bound period N ρ hρ b g hb hg hbL hgL |
| 104 | have hbnd : (∑ n ∈ Finset.range (N+1), weight ρ n*wordSobolevNorm period 6 n b) ≤ |
| 105 | 4 * ∑ n ∈ Finset.range (N+1), weight ρ n*wordSobolevNorm period 6 n f := by |
| 106 | rw [Finset.mul_sum] |
| 107 | exact Finset.sum_le_sum fun n _ => |
| 108 | (mul_le_mul_of_nonneg_left (velocityMap_word_bound period 6 n L hL f hf hfL) (weight_pos hρ n).le).trans_eq (by ring) |
| 109 | have hz : 0 ≤ ∑ n ∈ Finset.range (N+1), (n : ℝ)*weight ρ n*wordSobolevNorm period 6 n g := |
| 110 | Finset.sum_nonneg fun n _ => mul_nonneg (mul_nonneg (Nat.cast_nonneg n) (weight_pos hρ n).le) |
| 111 | (wordSobolevNorm_nonneg period 6 n g) |
| 112 | have hcoef : 0 ≤ productConstant period 3*ρ⁻¹ := mul_nonneg (productConstant_nonneg period 3) (inv_nonneg.mpr hρ.le) |
| 113 | exact ht.trans ((mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left hbnd hcoef) hz).trans_eq (by ring)) |
| 114 | |
| 115 | /-- The genuine finite-Sobolev external transport commutator has the cutoff-independent radius-loss bound. |
| 116 | One additional derivative is used only to define the individual terms; it does not occur in the bound. -/ |
| 117 | theorem weightedCommutator_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 118 | (ρ : ℝ) (hρ : 0 < ρ) (L : Fin 4 → Vector3 →L[ℝ] ℝ) (hL : ∀ i, ‖L i‖ ≤ 1) |
| 119 | (u v : SobolevSpace period (s+1)) : |
| 120 | weightedCommutatorNorm period hs N hN ρ L hL u v ≤ |
| 121 | (4*productConstant period 3)*ρ⁻¹*weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v := by |
| 122 | let U : ℕ → SobolevSpace period (s+1) := fun n => restrictOperator period (by omega : s+1 ≤ s+1+3) (smoothApprox period (s+1) n u) |
| 123 | let V : ℕ → SobolevSpace period (s+1) := fun n => restrictOperator period (by omega : s+1 ≤ s+1+3) (smoothApprox period (s+1) n v) |
| 124 | have hU : Filter.Tendsto U Filter.atTop (𝓝 u) := smoothApprox_tendsto period u |
| 125 | have hV : Filter.Tendsto V Filter.atTop (𝓝 v) := smoothApprox_tendsto period v |
| 126 | have hpairs : Filter.Tendsto (fun n => (U n,V n)) Filter.atTop (𝓝 (u,v)) := hU.prodMk_nhds hV |
| 127 | have hC : Filter.Tendsto |
| 128 | (fun p : SobolevSpace period (s+1) × SobolevSpace period (s+1) => weightedCommutatorNorm period hs N hN ρ L hL p.1 p.2) |
| 129 | (𝓝 (u,v)) (𝓝 (weightedCommutatorNorm period hs N hN ρ L hL u v)) := |
| 130 | (continuous_weightedCommutatorNorm period hs N hN ρ L hL).tendsto (u,v) |
| 131 | have hleft := hC.comp hpairs |
| 132 | have hW : Continuous (weightedNorm period (s := s+1) 6 N ρ) := continuous_weighted_blockNorm period N (by omega) ρ |
| 133 | have hY : Continuous (weightedLoss period (s := s+1) 6 N ρ) := continuous_weightedLoss period 6 N (by omega) ρ |
| 134 | have hright : Filter.Tendsto (fun n => (4*productConstant period 3)*ρ⁻¹*weightedNorm period 6 N ρ (U n)*weightedLoss period 6 N ρ (V n)) |
| 135 | Filter.atTop (𝓝 ((4*productConstant period 3)*ρ⁻¹*weightedNorm period 6 N ρ u*weightedLoss period 6 N ρ v)) := |
| 136 | ((hW.tendsto u |>.comp hU).const_mul ((4*productConstant period 3)*ρ⁻¹)).mul (hY.tendsto v |>.comp hV) |
| 137 | apply le_of_tendsto_of_tendsto hleft hright |
| 138 | apply Filter.Eventually.of_forall |
| 139 | intro n |
| 140 | obtain ⟨f,hf,hfs,hfL⟩ := smoothApprox_representative_all period n u |
| 141 | obtain ⟨g,hg,hgs,hgL⟩ := smoothApprox_representative_all period n v |
| 142 | exact weightedCommutator_smooth_bound period hs N hN ρ hρ L hL (U n) (V n) f g hf hg hfs hgs hfL hgL |
| 143 | |
| 144 | end EulerSobolevTransportCommutator |