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.PhysicalStageBounds |
| 2 | |
| 3 | noncomputable section |
| 4 | |
| 5 | namespace NavierStokes.SharpGluedStageBounds |
| 6 | |
| 7 | open Set Function Filter ProblemStatement PhysicalWaveSum |
| 8 | open scoped Topology ContDiff BigOperators |
| 9 | |
| 10 | /-- A power-log bound on every point of a fixed physical sublevel. -/ |
| 11 | def LogBound {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 12 | (h qbig : ℝ) (f : SpaceTime → V) (m : ℕ) (r : ℝ) : Prop := |
| 13 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 14 | physicalQ h w ≤ 1 → ‖iteratedFDeriv ℝ m f w‖ ≤ |
| 15 | C * physicalQ h w ^ r * (1 + |Real.log (physicalQ h w)|)^N |
| 16 | |
| 17 | section Algebra |
| 18 | |
| 19 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 20 | {h qbig r s : ℝ} {f g : SpaceTime → V} {m : ℕ} |
| 21 | |
| 22 | theorem LogBound.of_bound |
| 23 | (hf : ∃ C : ℝ, 0 ≤ C ∧ ∀ w ∈ CutStageEstimates.physicalSublevel h qbig, |
| 24 | physicalQ h w ≤ 1 → ‖iteratedFDeriv ℝ m f w‖ ≤ C * physicalQ h w ^ r) : |
| 25 | LogBound h qbig f m r := by |
| 26 | obtain ⟨C,hC,hb⟩ := hf |
| 27 | exact ⟨C,hC,0,fun w hw hq => by simpa only [pow_zero,mul_one] using hb w hw hq⟩ |
| 28 | |
| 29 | theorem LogBound.mono_domain {qsmall : ℝ} (hf : LogBound h qbig f m r) |
| 30 | (hq : qsmall ≤ qbig) : LogBound h qsmall f m r := by |
| 31 | obtain ⟨C,hC,N,hb⟩ := hf |
| 32 | exact ⟨C,hC,N,fun w hw hqw => hb w ⟨hw.1,hw.2.trans_le hq⟩ hqw⟩ |
| 33 | |
| 34 | theorem LogBound.weaken (hf : LogBound h qbig f m r) |
| 35 | (hh : 0 < h) (hh1 : h < 1/2) (hs : s ≤ r) : LogBound h qbig f m s := by |
| 36 | obtain ⟨C,hC,N,hb⟩ := hf |
| 37 | refine ⟨C,hC,N,fun w hw hq => (hb w hw hq).trans ?_⟩ |
| 38 | exact mul_le_mul_of_nonneg_right |
| 39 | (mul_le_mul_of_nonneg_left |
| 40 | (Real.rpow_le_rpow_of_exponent_ge (physicalQ_pos hh hh1 hw.1) hq hs) hC) (by positivity) |
| 41 | |
| 42 | theorem LogBound.add (hf : LogBound h qbig f m r) (hg : LogBound h qbig g m r) |
| 43 | (hh : 0 < h) (hh1 : h < 1/2) |
| 44 | (sf : ContDiffOn ℝ ∞ f (CutStageEstimates.physicalSublevel h qbig)) |
| 45 | (sg : ContDiffOn ℝ ∞ g (CutStageEstimates.physicalSublevel h qbig)) : |
| 46 | LogBound h qbig (fun w => f w + g w) m r := by |
| 47 | obtain ⟨C,hC,N,hf⟩ := hf |
| 48 | obtain ⟨D,hD,M,hg⟩ := hg |
| 49 | refine ⟨C+D,add_nonneg hC hD,N+M,?_⟩ |
| 50 | intro w hw hq |
| 51 | have hq0 := physicalQ_pos hh hh1 hw.1 |
| 52 | have hL : 1 ≤ 1+|Real.log (physicalQ h w)| := by linarith [abs_nonneg (Real.log (physicalQ h w))] |
| 53 | have hf' := (hf w hw hq).trans (mul_le_mul_of_nonneg_left |
| 54 | (pow_le_pow_right₀ hL (Nat.le_add_right N M)) (mul_nonneg hC (Real.rpow_nonneg hq0.le r))) |
| 55 | have hg' := (hg w hw hq).trans (mul_le_mul_of_nonneg_left |
| 56 | (pow_le_pow_right₀ hL (Nat.le_add_left M N)) (mul_nonneg hD (Real.rpow_nonneg hq0.le r))) |
| 57 | exact (ResidualStability.norm_jet_add_le |
| 58 | (CutStageEstimates.physicalSublevel_open hh hh1 qbig) sf sg hw m).trans |
| 59 | ((add_le_add hf' hg').trans_eq (by ring)) |
| 60 | |
| 61 | theorem LogBound.congr (hf : LogBound h qbig f m r) |
| 62 | (hh : 0 < h) (hh1 : h < 1/2) |
| 63 | (he : EqOn f g (CutStageEstimates.physicalSublevel h qbig)) : LogBound h qbig g m r := by |
| 64 | obtain ⟨C,hC,N,hb⟩ := hf |
| 65 | refine ⟨C,hC,N,?_⟩ |
| 66 | intro w hw hq |
| 67 | rw [← ResidualStability.iteratedFDeriv_eqOn |
| 68 | (CutStageEstimates.physicalSublevel_open hh hh1 qbig) he m hw] |
| 69 | exact hb w hw hq |
| 70 | |
| 71 | end Algebra |
| 72 | |
| 73 | section Sums |
| 74 | |
| 75 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 76 | {h qbig r : ℝ} {m : ℕ} |
| 77 | |
| 78 | theorem LogBound.zero : LogBound h qbig (fun _ : SpaceTime => (0 : V)) m r := by |
| 79 | refine ⟨0,le_rfl,0,?_⟩ |
| 80 | intro w hw hq |
| 81 | simp only [iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero, zero_mul, le_refl] |
| 82 | |
| 83 | theorem LogBound.finset_sum {ι : Type*} (s : Finset ι) {f : ι → SpaceTime → V} |
| 84 | (hh : 0 < h) (hh1 : h < 1/2) |
| 85 | (hs : ∀ i ∈ s, ContDiffOn ℝ ∞ (f i) (CutStageEstimates.physicalSublevel h qbig)) |
| 86 | (hb : ∀ i ∈ s, LogBound h qbig (f i) m r) : |
| 87 | LogBound h qbig (fun w => ∑ i ∈ s, f i w) m r := by |
| 88 | classical |
| 89 | induction s using Finset.induction_on with |
| 90 | | empty => simpa only [Finset.sum_empty] using (LogBound.zero (h := h) (qbig := qbig) (m := m) (r := r) (V := V)) |
| 91 | | @insert i s hi ih => |
| 92 | simp only [Finset.sum_insert hi] |
| 93 | apply (hb i (Finset.mem_insert_self i s)).add |
| 94 | (ih (fun j hj => hs j (Finset.mem_insert_of_mem hj)) |
| 95 | (fun j hj => hb j (Finset.mem_insert_of_mem hj))) hh hh1 |
| 96 | (hs i (Finset.mem_insert_self i s)) |
| 97 | exact ContDiffOn.sum (fun j hj => hs j (Finset.mem_insert_of_mem hj)) |
| 98 | |
| 99 | end Sums |
| 100 | |
| 101 | theorem LogBound.spatialCurl {h qbig r : ℝ} {m : ℕ} {f : VelocityField} |
| 102 | (hf : LogBound h qbig f (m+1) r) (hh : 0 < h) (hh1 : h < 1/2) |
| 103 | (hs : ContDiffOn ℝ ∞ f (CutStageEstimates.physicalSublevel h qbig)) : |
| 104 | LogBound h qbig (SpatialCurl.spatialCurl f) m r := by |
| 105 | obtain ⟨C,hC,N,hb⟩ := hf |
| 106 | refine ⟨‖PhysicalClassBounds.jointCurl‖*C,mul_nonneg (norm_nonneg PhysicalClassBounds.jointCurl) hC,N,?_⟩ |
| 107 | intro w hw hq |
| 108 | exact (PhysicalClassBounds.spatialCurl_jet_bound |
| 109 | (CutStageEstimates.physicalSublevel_open hh hh1 qbig) hs hw m).trans |
| 110 | ((mul_le_mul_of_nonneg_left (hb w hw hq) (norm_nonneg PhysicalClassBounds.jointCurl)).trans_eq (by ring)) |
| 111 | |
| 112 | end NavierStokes.SharpGluedStageBounds |