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.HeatAllOrders |
| 2 | import Euler.UnshiftedProducts |
| 3 | import Euler.H6NonlinearPressure |
| 4 | import Euler.SobolevProduct |
| 5 | |
| 6 | /-! The actual complete Sobolev product obeys the finite Gevrey H⁶ algebra bound, including nonsmooth inputs. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerSobolevGevreyProduct |
| 11 | |
| 12 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCylinderSobolev |
| 13 | EulerSpatialSobolevInverse EulerMetricTransport EulerSobolevL2Product EulerH6Nonlinear |
| 14 | EulerH6Pressure EulerJetProductBounds EulerPacketWeights EulerSobolevHeat EulerVectorCylinder |
| 15 | open scoped Topology ContDiff ENNReal |
| 16 | |
| 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | |
| 19 | local instance gevreySobolevGroup (q : ℕ) : NormedAddCommGroup (SobolevSpace period q) := inferInstance |
| 20 | local instance gevreySobolevSpace (q : ℕ) : NormedSpace ℝ (SobolevSpace period q) := inferInstance |
| 21 | |
| 22 | /-- The external Hq block is a continuous function of the actual finite Sobolev class. -/ |
| 23 | theorem continuous_blockNorm {s q n : ℕ} (h : n+q ≤ s) : |
| 24 | Continuous (fun u : SobolevSpace period s => blockNorm period (toJet period u) q n) := by |
| 25 | unfold blockNorm |
| 26 | apply continuous_finsetSum |
| 27 | intro r hr |
| 28 | have hnr : n+r ≤ s := by have := Finset.mem_range.mp hr; omega |
| 29 | simp only [levelNorm_eq_words] |
| 30 | apply continuous_finsetSum |
| 31 | intro w _ |
| 32 | have he : (fun u : SobolevSpace period s => ‖(toJet period u).word w‖) = |
| 33 | fun u => ‖wordOperator period (q := s) ⟨⟨n+r, Nat.lt_succ_of_le hnr⟩, w⟩ u‖ := by |
| 34 | funext u |
| 35 | rw [toJet_word period u hnr] |
| 36 | rfl |
| 37 | rw [he] |
| 38 | exact (wordOperator period (q := s) ⟨⟨n+r, Nat.lt_succ_of_le hnr⟩, w⟩).continuous.norm |
| 39 | |
| 40 | /-- Every truncated weighted block norm is continuous on its genuine Sobolev domain. -/ |
| 41 | theorem continuous_weighted_blockNorm {s q : ℕ} (N : ℕ) (h : N+q ≤ s) (ρ : ℝ) : |
| 42 | Continuous (fun u : SobolevSpace period s => |
| 43 | ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period u) q n) := by |
| 44 | apply continuous_finsetSum |
| 45 | intro n hn |
| 46 | exact (continuous_blockNorm period (by have := Finset.mem_range.mp hn; omega : n+q ≤ s)).const_mul _ |
| 47 | |
| 48 | /-- On actual smooth H∞ representatives, the complete product has the cutoff-independent weighted H⁶ bound. -/ |
| 49 | theorem product_weighted_bound_smooth {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 50 | (ρ : ℝ) (hρ : 0 < ρ) (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) |
| 51 | (u v : SobolevSpace period s) (f g : LiftDomain period → Vector3) |
| 52 | (hu : (value period u : LiftDomain period → Vector3) =ᵐ[liftMeasure period] f) |
| 53 | (hv : (value period v : LiftDomain period → Vector3) =ᵐ[liftMeasure period] g) |
| 54 | (hf : ∀ x, ContDiff ℝ ∞ (localFieldLift period f x)) |
| 55 | (hg : ∀ x, ContDiff ℝ ∞ (localFieldLift period g x)) |
| 56 | (hfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w f) 2 (liftMeasure period)) |
| 57 | (hgL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w g) 2 (liftMeasure period)) : |
| 58 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period (productHq period hs L hL u v)) 6 n) ≤ |
| 59 | productConstant period 3 * (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period u) 6 n) * |
| 60 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period v) 6 n) := by |
| 61 | have hLf := postcomp_smooth period L f hf |
| 62 | have hLfL : ∀ j, ∀ w : Fin j → Fin 4, MemLp (iteratedFieldDerivative period w (L ∘ f)) 2 (liftMeasure period) := |
| 63 | fun j w => postcomp_word_memLp period (le_refl j) L f hf (fun r _ a => hfL r a) w |
| 64 | have hp : (value period (productHq period hs L hL u v) : LiftDomain period → Vector3) =ᵐ[liftMeasure period] |
| 65 | (fun x => L (f x) • g x) := by |
| 66 | filter_upwards [productHq_ae period hs L hL u v, hu, hv] with x hx hux hvx |
| 67 | rw [hx, hux, hvx] |
| 68 | have hps : ∀ x, ContDiff ℝ ∞ (localFieldLift period (fun x => L (f x) • g x) x) := |
| 69 | fun x => (hLf x).smul (hg x) |
| 70 | have heq (a : SobolevSpace period s) (b : LiftDomain period → Vector3) |
| 71 | (ha : (value period a : LiftDomain period → Vector3) =ᵐ[liftMeasure period] b) |
| 72 | (hb : ∀ x, ContDiff ℝ ∞ (localFieldLift period b x)) : |
| 73 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period a) 6 n) = |
| 74 | ∑ n ∈ Finset.range (N+1), weight ρ n * wordSobolevNorm period 6 n b := by |
| 75 | apply Finset.sum_congr rfl |
| 76 | intro n hn |
| 77 | rw [blockNorm_eq_classical period (toJet period a) (by have := Finset.mem_range.mp hn; omega) b ha hb] |
| 78 | rw [heq _ _ hp hps, heq u f hu hf, heq v g hv hg] |
| 79 | apply (product_unshifted_weighted_bound period 3 N ρ hρ (L ∘ f) g hLf hg hLfL hgL).trans |
| 80 | apply mul_le_mul_of_nonneg_right _ (Finset.sum_nonneg fun n _ => |
| 81 | mul_nonneg (weight_pos hρ n).le (wordSobolevNorm_nonneg period 6 n g)) |
| 82 | apply mul_le_mul_of_nonneg_left _ (productConstant_nonneg period 3) |
| 83 | apply Finset.sum_le_sum |
| 84 | intro n _ |
| 85 | exact mul_le_mul_of_nonneg_left (wordSobolevNorm_postcomp_le period 6 n L hL f hf hfL) (weight_pos hρ n).le |
| 86 | |
| 87 | /-- Continuity of the actual product in both finite-Sobolev inputs. -/ |
| 88 | theorem continuous_product {s : ℕ} (hs : 6 ≤ s) (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) : |
| 89 | Continuous (fun p : SobolevSpace period s × SobolevSpace period s => productHq period hs L hL p.1 p.2) := |
| 90 | (productHqBilinear period hs L hL).continuous₂ |
| 91 | |
| 92 | /-- The cutoff-independent Gevrey product bound holds for actual finite Sobolev inputs, by genuine H∞ approximation and continuity. -/ |
| 93 | theorem product_weighted_bound {s : ℕ} (hs : 6 ≤ s) (N : ℕ) (hN : N+6 ≤ s) |
| 94 | (ρ : ℝ) (hρ : 0 < ρ) (L : Vector3 →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) |
| 95 | (u v : SobolevSpace period s) : |
| 96 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period (productHq period hs L hL u v)) 6 n) ≤ |
| 97 | productConstant period 3 * (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period u) 6 n) * |
| 98 | (∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period v) 6 n) := by |
| 99 | let U : ℕ → SobolevSpace period s := fun n => restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n u) |
| 100 | let V : ℕ → SobolevSpace period s := fun n => restrictOperator period (by omega : s ≤ s+3) (smoothApprox period s n v) |
| 101 | let W := fun a : SobolevSpace period s => ∑ n ∈ Finset.range (N+1), weight ρ n * blockNorm period (toJet period a) 6 n |
| 102 | have hU : Filter.Tendsto U Filter.atTop (𝓝 u) := smoothApprox_tendsto period u |
| 103 | have hV : Filter.Tendsto V Filter.atTop (𝓝 v) := smoothApprox_tendsto period v |
| 104 | have hW : Continuous W := continuous_weighted_blockNorm period N hN ρ |
| 105 | have hp : Filter.Tendsto (fun n => productHq period hs L hL (U n) (V n)) Filter.atTop |
| 106 | (𝓝 (productHq period hs L hL u v)) := |
| 107 | by |
| 108 | have hpairs : Filter.Tendsto (fun n => (U n, V n)) Filter.atTop (𝓝 (u,v)) := hU.prodMk_nhds hV |
| 109 | have hcont : Filter.Tendsto |
| 110 | (fun p : SobolevSpace period s × SobolevSpace period s => productHq period hs L hL p.1 p.2) |
| 111 | (𝓝 (u,v)) (𝓝 (productHq period hs L hL u v)) := (continuous_product period hs L hL).tendsto (u,v) |
| 112 | have hcomp := hcont.comp hpairs |
| 113 | exact hcomp |
| 114 | have hleft : Filter.Tendsto (fun n => W (productHq period hs L hL (U n) (V n))) Filter.atTop |
| 115 | (𝓝 (W (productHq period hs L hL u v))) := (hW.tendsto _).comp hp |
| 116 | have hright : Filter.Tendsto (fun n => productConstant period 3 * W (U n) * W (V n)) Filter.atTop |
| 117 | (𝓝 (productConstant period 3 * W u * W v)) := |
| 118 | ((hW.tendsto u |>.comp hU).const_mul (productConstant period 3)).mul (hW.tendsto v |>.comp hV) |
| 119 | apply le_of_tendsto_of_tendsto hleft hright |
| 120 | apply Filter.Eventually.of_forall |
| 121 | intro n |
| 122 | obtain ⟨f,hf,hfs,hfL⟩ := smoothApprox_representative_all period n u |
| 123 | obtain ⟨g,hg,hgs,hgL⟩ := smoothApprox_representative_all period n v |
| 124 | exact product_weighted_bound_smooth period hs N hN ρ hρ L hL (U n) (V n) f g hf hg hfs hgs hfL hgL |
| 125 | |
| 126 | end EulerSobolevGevreyProduct |