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

chore(Euler/Weighted): delete 1 declaration nothing uses #324
Merged
+0 −96 Euler/WeightedSobolevEnergy.lean View file
| @@ -16,100 +16,4 @@ open scoped ContDiff ENNReal NNReal Topology | ||
| 16 | 16 | |
| 17 | 17 | variable (period : ℝ) [Fact (0 < period)] |
| 18 | 18 | |
| 19 | -/-- The finite Gevrey-weighted integral energy inequality derived from the actual viscous PDE. | |
| 20 | -The signed radius term is retained exactly, and no differentiability of the unregularized norm is assumed. -/ | |
| 21 | -theorem weighted_sobolev_energy_integral {α β : Type*} [Fintype α] [Fintype β] {q : ℕ} (hq : 3 ≤ q) | |
| 22 | - (order : α → ℕ) (ρ ρ' : ℝ → ℝ) | |
| 23 | - (κ : ℝ) (m : Vector3) (K G : ℝ → SmoothCoefficient period) | |
| 24 | - (e : α → β → ℝ → SobolevSpace period 2) (e' p forcing : α → β → ℝ → LiftL2 period) | |
| 25 | - (z : ℝ → SobolevSpace period q) | |
| 26 | - (s t c ν : ℝ) (K' : ℝ → LiftL2 period →L[ℝ] LiftL2 period) (B : ℝ → ℝ≥0) | |
| 27 | - (hst : s ≤ t) (hc : 0 < c) (hν : 0 ≤ ν) | |
| 28 | - (hρc : ContinuousOn ρ (Icc s t)) (hρpos : ∀ u ∈ Icc s t, 0 < ρ u) | |
| 29 | - (hρd : ∀ u ∈ Ioo s t, HasDerivAt ρ (ρ' u) u) | |
| 30 | - (hKc : ContinuousOn (fun u => (K u).operator) (Icc s t)) | |
| 31 | - (hec : ∀ i j, ContinuousOn (fun u => value period (e i j u)) (Icc s t)) | |
| 32 | - (hKt : ∀ u ∈ Ioo s t, HasDerivAt (fun v => (K v).operator) (K' u) u) | |
| 33 | - (het : ∀ i j u, u ∈ Ioo s t → HasDerivAt (fun v => value period (e i j v)) (e' i j u) u) | |
| 34 | - (hsym : ∀ u ∈ Ioo s t, ∀ x v w, | |
| 35 | - ⟪(K u).coefficient x v, w⟫_ℝ = ⟪v, (K u).coefficient x w⟫_ℝ) | |
| 36 | - (hpos : ∀ u ∈ Icc s t, ∀ x v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).coefficient x v, v⟫_ℝ) | |
| 37 | - (hKG : ∀ u ∈ Ioo s t, ∀ x v, (K u).coefficient x ((G u).coefficient x v) = v) | |
| 38 | - (hediv : ∀ i j u, u ∈ Ioo s t → value period (e i j u) ∈ divergenceFreeSpace period κ m) | |
| 39 | - (hp : ∀ i j u, u ∈ Ioo s t → p i j u ∈ gradientSpace period κ m) | |
| 40 | - (hz : ∀ u ∈ Ioo s t, value period (z u) ∈ divergenceFreeSpace period κ m) | |
| 41 | - (hzB : ∀ u ∈ Ioo s t, ∀ᵐ x ∂liftMeasure period, ‖value period (z u) x‖ ≤ B u) | |
| 42 | - (heq : ∀ i j u, u ∈ Ioo s t → e' i j u + | |
| 43 | - transportOperator period hq κ m (z u) (restrictOperator period (by norm_num : 1 ≤ 2) (e i j u)) + | |
| 44 | - (G u).operator (p i j u) = forcing i j u + ν • jetLaplacian period (toJet period (e i j u))) | |
| 45 | - (hAint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 46 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) + | |
| 47 | - (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i)) (Icc s t)) | |
| 48 | - (hFint : ∀ i, IntegrableOn (fun u => weight (ρ u) (order i) * | |
| 49 | - ((((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u))) (Icc s t)) : | |
| 50 | - weightedMetricSum (ρ t) order (K t).operator (fun i j => value period (e i j t)) - | |
| 51 | - weightedMetricSum (ρ s) order (K s).operator (fun i j => value period (e i j s)) ≤ | |
| 52 | - ∫ u in s..t, | |
| 53 | - viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) * | |
| 54 | - weightedMetricSum (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 55 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 56 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 57 | - let Q := fun i u => familyEnergy (K u).operator (fun j => value period (e i j u)) | |
| 58 | - let a := fun u => viscousGrowthCoefficient period (K u) (K' u) κ m c ν (B u) | |
| 59 | - let F := fun i u => (((K u).bound : ℝ) / c) * familyNorm (fun j => forcing i j u) | |
| 60 | - let w := fun i u => weight (ρ u) (order i) | |
| 61 | - let w' := fun i u => (ρ' u / ρ u) * (order i : ℝ) * weight (ρ u) (order i) | |
| 62 | - let A := fun i u => w i u * a u + w' i u | |
| 63 | - let Ψ := fun i u => A i u * √(Q i u) + w i u * F i u | |
| 64 | - have hQ (i : α) : ContinuousOn (Q i) (Icc s t) := | |
| 65 | - continuousOn_finsetSum Finset.univ (fun j _ => (hKc.clm_apply (hec i j)).inner (hec i j)) | |
| 66 | - have hQ0 (i : α) (u : ℝ) (hu : u ∈ Icc s t) : 0 ≤ Q i u := by | |
| 67 | - have hcoer : ∀ v, c ^ 2 * ‖v‖ ^ 2 ≤ ⟪(K u).operator v, v⟫_ℝ := | |
| 68 | - coefficientOperator_coercive (K u).coefficient (K u).measurable (K u).bound | |
| 69 | - (K u).norm_bound (c ^ 2) (hpos u hu) | |
| 70 | - exact (mul_nonneg (sq_nonneg c) (familySquaredNorm_nonneg _)).trans | |
| 71 | - (familyEnergy_coercive (K u).operator (fun j => value period (e i j u)) c hcoer) | |
| 72 | - have hregd (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 73 | - DifferentiableAt ℝ (fun v => √(Q i v + δ ^ 2)) u := by | |
| 74 | - have hsymL : ∀ v w, ⟪(K u).operator v, w⟫_ℝ = ⟪v, (K u).operator w⟫_ℝ := | |
| 75 | - coefficientOperator_inner_swap (K u).coefficient (K u).measurable | |
| 76 | - (K u).bound (K u).norm_bound (hsym u hu) | |
| 77 | - have hd : HasDerivAt (Q i) (∑ j, (⟪K' u (value period (e i j u)), value period (e i j u)⟫_ℝ + | |
| 78 | - 2 * ⟪(K u).operator (value period (e i j u)), e' i j u⟫_ℝ)) u := | |
| 79 | - HasDerivAt.fun_sum (u := Finset.univ) (fun j _ => | |
| 80 | - metric_energy_hasDerivAt (fun v => (K v).operator) (fun v => value period (e i j v)) u (K' u) (e' i j u) | |
| 81 | - (hKt u hu) (het i j u hu) hsymL) | |
| 82 | - have hq := hQ0 i u ⟨hu.1.le, hu.2.le⟩ | |
| 83 | - exact (HasDerivAt.sqrt (hd.add_const (δ ^ 2)) (by nlinarith : Q i u + δ ^ 2 ≠ 0)).differentiableAt | |
| 84 | - have hreg (i : α) (δ : ℝ) (hδ : 0 < δ) (u : ℝ) (hu : u ∈ Ioo s t) : | |
| 85 | - deriv (fun v => √(Q i v + δ ^ 2)) u ≤ a u * √(Q i u + δ ^ 2) + F i u := by | |
| 86 | - exact finite_sobolev_viscous_energy period hq κ m K (G u) (e i) u δ c ν (K' u) | |
| 87 | - (fun j => e' i j u) (fun j => p i j u) (fun j => forcing i j u) (z u) | |
| 88 | - hδ hc hν (hKt u hu) (fun j => het i j u hu) | |
| 89 | - (hsym u hu) (hpos u ⟨hu.1.le, hu.2.le⟩) (hKG u hu) (fun j => hediv i j u hu) | |
| 90 | - (fun j => hp i j u hu) (hz u hu) (B u) (hzB u hu) (fun j => heq i j u hu) | |
| 91 | - | |
| 92 | - have hi (i : α) : w i t * √(Q i t) - w i s * √(Q i s) ≤ ∫ u in s..t, Ψ i u := by | |
| 93 | - apply weighted_root_integral_of_deriv_bound (Q i) a (F i) (w i) (w' i) s t | |
| 94 | - hst (hQ i) (hQ0 i) ?_ ?_ ?_ (hregd i) (hreg i) (hAint i) (hFint i) | |
| 95 | - · exact (hρc.pow (order i)).div_const (((order i).factorial : ℝ) ^ 2) | |
| 96 | - · intro u hu | |
| 97 | - exact (weight_pos (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i)).le | |
| 98 | - · intro u hu | |
| 99 | - exact weight_hasDerivAt ρ (ρ' u) u (hρd u hu) (hρpos u ⟨hu.1.le, hu.2.le⟩) (order i) | |
| 100 | - have hΨ (i : α) : IntervalIntegrable (Ψ i) volume s t := by | |
| 101 | - apply (intervalIntegrable_iff_integrableOn_Icc_of_le hst).mpr | |
| 102 | - exact ((hAint i).mul_continuousOn (hQ i).sqrt isCompact_Icc).add (hFint i) | |
| 103 | - have hsum := Finset.sum_le_sum (fun i (_ : i ∈ (Finset.univ : Finset α)) => hi i) | |
| 104 | - rw [Finset.sum_sub_distrib] at hsum | |
| 105 | - rw [← intervalIntegral.integral_finsetSum (fun i _ => hΨ i)] at hsum | |
| 106 | - have halg (u : ℝ) : (∑ i, Ψ i u) = | |
| 107 | - a u * weightedMetricSum (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 108 | - (ρ' u / ρ u) * weightedMetricLoss (ρ u) order (K u).operator (fun i j => value period (e i j u)) + | |
| 109 | - (((K u).bound : ℝ) / c) * weightedForcingSum (ρ u) order (fun i j => forcing i j u) := by | |
| 110 | - simp only [Ψ, A, w, w', F, Q, weightedMetricSum, weightedMetricLoss, weightedForcingSum, | |
| 111 | - familyMetricNorm, add_mul, Finset.sum_add_distrib, Finset.mul_sum] | |
| 112 | - simp only [mul_comm, mul_left_comm, mul_assoc] | |
| 113 | - simpa only [halg, w, Q, a, weightedMetricSum, familyMetricNorm] using hsum | |
| 114 | - | |
| 115 | 19 | end EulerWeightedSobolevEnergy |
+29 −0 routes/s1-euler-weighted-2/README.md added View file
| @@ -0,0 +1,29 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-euler-weighted-2 | |
| 6 | + | |
| 7 | +Wave 2 of S-1 (#10), the family `Euler/Weighted*`: one declaration of that family that nothing | |
| 8 | +uses, cut again from Treant's run of 2026-12-03 (TitiSkywalker/NavierStokesAndEuler, upstream | |
| 9 | +`f9e8bc5`) against the declaration graph of main under this project's rule that the paper's | |
| 10 | +results stay. | |
| 11 | + | |
| 12 | +Deleted here, 96 lines in 1 file, deletions only: | |
| 13 | + | |
| 14 | +- `EulerWeightedSobolevEnergy.weighted_sobolev_energy_integral` (`Euler/WeightedSobolevEnergy.lean`) | |
| 15 | + | |
| 16 | +The declaration is not reached by a result of the paper and its docstring cites no numbered | |
| 17 | +result (no Lemma, Theorem, Proposition, Corollary, Section or Equation). After the change | |
| 18 | +`git grep -n -w weighted_sobolev_energy_integral` finds nothing in the tree, so no remaining | |
| 19 | +declaration names it. `python3 checks/challenge.py .` ends with `ok`. | |
| 20 | + | |
| 21 | +`Euler/WeightedSobolevEnergy.lean` keeps its imports and its namespace, which the file header and | |
| 22 | +the `open` lines still describe; no declaration of it remains. | |
| 23 | + | |
| 24 | +## Next | |
| 25 | + | |
| 26 | +The build check decides the rest. If a later unit needs `weighted_sobolev_energy_integral`, it is | |
| 27 | +in this file's parent commit: restore it there rather than rewrite it. The wave-1 unit | |
| 28 | +(`routes/s1-euler-weighted-1`) deleted `weighted_cylinder_energy_integral` and | |
| 29 | +`weightedForcingSum_sum_le` from other files of the family. | |