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 NavierStokes.UniformCone |
| 2 | |
| 3 | /-! |
| 4 | # The compact large-lag assertion of the seed cone lemma |
| 5 | |
| 6 | The coordinates here are the literal coordinates in `seed:cone-coordinates`. |
| 7 | The threshold is positive, includes its endpoint, and is common to every |
| 8 | point of the compact set, even when the shear magnitude crosses two. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set |
| 14 | |
| 15 | namespace NavierStokes.SeedConePaper |
| 16 | |
| 17 | /-- The squared shear parameter in the manuscript. -/ |
| 18 | def shearMagnitude (a b : ℝ) : ℝ := a * (1 + (-b / a) ^ 2) |
| 19 | |
| 20 | /-- The component of the stress in the unnormalized shear direction. -/ |
| 21 | def parallelStress (a b p₁ p₂ : ℝ) : ℝ := p₁ + (-b / a) * p₂ |
| 22 | |
| 23 | /-- The component of the stress in the orthogonal unnormalized direction. -/ |
| 24 | def transverseStress (a b p₁ p₂ : ℝ) : ℝ := p₂ - (-b / a) * p₁ |
| 25 | |
| 26 | /-- The two relaxed inequalities, including the positive radial shear. -/ |
| 27 | def RelaxedCone (a b p₁ p₂ : ℝ) : Prop := |
| 28 | 0 < a ∧ 2 < parallelStress a b p₁ p₂ ∧ |
| 29 | shearMagnitude a b < ConeAlgebra.coneBound |
| 30 | (parallelStress a b p₁ p₂) (transverseStress a b p₁ p₂) |
| 31 | |
| 32 | /-- The relaxed cone with the additional lower bound required by the waves. -/ |
| 33 | def AdmissibleCone (a b p₁ p₂ : ℝ) : Prop := |
| 34 | RelaxedCone a b p₁ p₂ ∧ 2 < shearMagnitude a b |
| 35 | |
| 36 | /-- The first assertion of `seed:cone-test`, in its original coordinates. -/ |
| 37 | theorem admissible_iff {a b p₁ p₂ : ℝ} (ha : 0 < a) |
| 38 | (hv : 2 < shearMagnitude a b) : |
| 39 | AdmissibleCone a b p₁ p₂ ↔ |
| 40 | shearMagnitude a b < parallelStress a b p₁ p₂ ∧ |
| 41 | (shearMagnitude a b - 2) * transverseStress a b p₁ p₂ ^ 2 < |
| 42 | 2 * (parallelStress a b p₁ p₂ - shearMagnitude a b) ^ 2 := by |
| 43 | simp only [AdmissibleCone, RelaxedCone, ha, hv, true_and, and_true] |
| 44 | exact ConeAlgebra.true_cone_iff hv |
| 45 | |
| 46 | /-- The compact large-lag assertion of `seed:cone-test`. The conclusion has |
| 47 | no lower bound on the shear magnitude. The theorem also covers an empty set. -/ |
| 48 | theorem compact_large_lag {K : Set (ℝ × ℝ × ℝ)} (hK : IsCompact K) |
| 49 | (ha : ∀ z ∈ K, 0 < z.1) |
| 50 | (hfirst : ∀ z ∈ K, 0 < z.1 - z.2.1 * z.2.2) |
| 51 | (hsecond : ∀ z ∈ K, |
| 52 | 2 * z.2.1 * z.2.2 + z.2.1 ^ 2 / z.1 + (z.1 - 2) * z.2.2 ^ 2 < 2) : |
| 53 | ∃ P : ℝ, 0 < P ∧ ∀ z ∈ K, ∀ p₁ : ℝ, P ≤ p₁ → |
| 54 | RelaxedCone z.1 z.2.1 p₁ (z.2.2 * p₁) := by |
| 55 | obtain ⟨_, p₀, _, hp₀, _, hlarge⟩ := |
| 56 | UniformCone.compact_equation_eleven hK |
| 57 | continuous_fst.continuousOn |
| 58 | (continuous_fst.comp continuous_snd).continuousOn |
| 59 | (continuous_snd.comp continuous_snd).continuousOn ha hfirst hsecond |
| 60 | refine ⟨p₀ + 1, by linarith, ?_⟩ |
| 61 | intro z hz p hp |
| 62 | obtain ⟨hP, hv⟩ := hlarge p (by linarith) z hz |
| 63 | have hparallel : parallelStress z.1 z.2.1 p (z.2.2 * p) = |
| 64 | p * (1 - z.2.1 * z.2.2 / z.1) := by |
| 65 | unfold parallelStress |
| 66 | ring |
| 67 | have htransverse : transverseStress z.1 z.2.1 p (z.2.2 * p) = |
| 68 | p * (z.2.2 + z.2.1 / z.1) := by |
| 69 | unfold transverseStress |
| 70 | ring |
| 71 | have hshear : shearMagnitude z.1 z.2.1 = |
| 72 | z.1 * (1 + (z.2.1 / z.1) ^ 2) := by |
| 73 | simp only [shearMagnitude, neg_div, neg_sq] |
| 74 | exact ⟨ha z hz, by rwa [hparallel], by rwa [hshear, hparallel, htransverse]⟩ |
| 75 | |
| 76 | /-- The same compact threshold gives admissibility at every point where |
| 77 | the extra strict shear inequality holds. -/ |
| 78 | theorem compact_large_lag_with_admissibility {K : Set (ℝ × ℝ × ℝ)} |
| 79 | (hK : IsCompact K) (ha : ∀ z ∈ K, 0 < z.1) |
| 80 | (hfirst : ∀ z ∈ K, 0 < z.1 - z.2.1 * z.2.2) |
| 81 | (hsecond : ∀ z ∈ K, |
| 82 | 2 * z.2.1 * z.2.2 + z.2.1 ^ 2 / z.1 + (z.1 - 2) * z.2.2 ^ 2 < 2) : |
| 83 | ∃ P : ℝ, 0 < P ∧ ∀ z ∈ K, ∀ p₁ : ℝ, P ≤ p₁ → |
| 84 | RelaxedCone z.1 z.2.1 p₁ (z.2.2 * p₁) ∧ |
| 85 | (2 < shearMagnitude z.1 z.2.1 → |
| 86 | AdmissibleCone z.1 z.2.1 p₁ (z.2.2 * p₁)) := by |
| 87 | obtain ⟨P, hP, hcone⟩ := compact_large_lag hK ha hfirst hsecond |
| 88 | exact ⟨P, hP, fun z hz p hp => ⟨hcone z hz p hp, |
| 89 | fun hv => ⟨hcone z hz p hp, hv⟩⟩⟩ |
| 90 | |
| 91 | end NavierStokes.SeedConePaper |