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.GluedStageEstimates |
| 2 | import NavierStokes.SharpPhysicalLogBounds |
| 3 | |
| 4 | noncomputable section |
| 5 | |
| 6 | namespace NavierStokes.SharpParticularGluing |
| 7 | |
| 8 | open Set Function Filter ProblemStatement PhysicalWaveSum SharpGluedStageBounds |
| 9 | open CorrectionInitialization.ActualPrimary CorrectionStep |
| 10 | open scoped Topology ContDiff BigOperators |
| 11 | |
| 12 | theorem glued_bound_of_local {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 13 | {N : ℕ} {f : ℕ → SpaceTime → V} {qbig r : ℝ} (m : ℕ) |
| 14 | (hf : ValidDyadicBandCover.Compatible h N f) (hq : qbig ≤ ChartScales.Q N) |
| 15 | (hb : ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, ∀ n, N ≤ n → ∀ w ∈ ValidDyadicBandCover.band h n, |
| 16 | physicalQ h w ≤ ChartScales.Q n → physicalQ h w ≤ 1 → |
| 17 | ‖iteratedFDeriv ℝ m (f n) w‖ ≤ C * physicalQ h w ^ r * (1+|Real.log (physicalQ h w)|)^P) : |
| 18 | LogBound h qbig (ValidDyadicBandCover.field h N f) m r := by |
| 19 | obtain ⟨C,hC,P,hb⟩ := hb |
| 20 | refine ⟨C,hC,P,fun w hw hqw => ?_⟩ |
| 21 | exact ValidDyadicBandCover.field_jet_bound_at outgoing.data.h_pos outgoing.data.h_lt_half |
| 22 | hf hw.1 (hw.2.le.trans hq) m (fun n hn hband hcomp => hb n hn w hband hcomp hqw) |
| 23 | |
| 24 | private theorem choose_mode_constants {P : ℤ → ℝ → ℕ → Prop} |
| 25 | (hP : ∀ k, k ≠ 0 → ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, P k C N) : |
| 26 | ∃ C : ℤ → ℝ, (∀ k, 0 ≤ C k) ∧ ∃ N : ℤ → ℕ, ∀ k, k ≠ 0 → P k (C k) (N k) := by |
| 27 | classical |
| 28 | have hs (k : ℤ) : ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, k ≠ 0 → P k C N := by |
| 29 | by_cases hk : k = 0 |
| 30 | · exact ⟨0,le_rfl,0,fun hn => (hn hk).elim⟩ |
| 31 | · obtain ⟨C,hC,N,hb⟩ := hP k hk |
| 32 | exact ⟨C,hC,N,fun _ => hb⟩ |
| 33 | choose C hC N hb using hs |
| 34 | exact ⟨C,hC,N,hb⟩ |
| 35 | |
| 36 | section HarmonicSums |
| 37 | |
| 38 | variable {B N0 : ℕ} {σ : ℝ} {x : CycleState (ActualInitialization.Index B N0)} |
| 39 | (H : ActualParticularCycleData.Invariant σ x) |
| 40 | (hGeom : ActualCarrierGeometry.geometricThreshold ≤ N0) |
| 41 | |
| 42 | include H hGeom |
| 43 | |
| 44 | theorem localPotential_bound_of_modes (m : ℕ) {r : ℝ} |
| 45 | (hb : ∀ k : ℤ, k ≠ 0 → ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, |
| 46 | ∀ (l : ActualParticularStageControls.Label B N0) (n : ℕ), 4 ≤ n → |
| 47 | ∀ w ∈ ValidDyadicBandCover.band h n, physicalQ h w ≤ 1 → |
| 48 | ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPotentialMode |
| 49 | (ActualCycleParameters.particularState x) l k n) w‖ ≤ |
| 50 | C * physicalQ h w ^ r * (1+|Real.log (physicalQ h w)|)^P) : |
| 51 | ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ w ∈ ValidDyadicBandCover.band h n, |
| 52 | physicalQ h w ≤ 1 → ‖iteratedFDeriv ℝ m (ActualValidBandWaves.localPotential x n) w‖ ≤ |
| 53 | C * physicalQ h w ^ r * (1+|Real.log (physicalQ h w)|)^P := by |
| 54 | classical |
| 55 | obtain ⟨C,hC,P,hb⟩ := choose_mode_constants hb |
| 56 | let modes := ParticularWaveAssembly.modes x.coefficients.residualBand |
| 57 | refine ⟨2250*∑ k ∈ modes,C k,mul_nonneg (by norm_num) (Finset.sum_nonneg (fun k _ => hC k)), |
| 58 | ∑ k ∈ modes,P k,?_⟩ |
| 59 | intro n hn w hw hq |
| 60 | have hq0 := physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1 |
| 61 | have hL : 1 ≤ 1+|Real.log (physicalQ h w)| := by linarith [abs_nonneg (Real.log (physicalQ h w))] |
| 62 | have he := CurrentParticularLabelBounds.localPotential_jet_bound_of_invariant H hGeom n m hw |
| 63 | (fun k => C k*physicalQ h w^r*(1+|Real.log (physicalQ h w)|)^(∑ k ∈ modes,P k)) |
| 64 | (fun k _ => mul_nonneg (mul_nonneg (hC k) (Real.rpow_nonneg hq0.le r)) (by positivity)) |
| 65 | (by |
| 66 | intro l hl k hk hc |
| 67 | apply (hb k ((ParticularWaveAssembly.mem_modes _ _).mp hk).1 l n hn w hw hq).trans |
| 68 | apply mul_le_mul_of_nonneg_left _ (mul_nonneg (hC k) (Real.rpow_nonneg hq0.le r)) |
| 69 | exact pow_le_pow_right₀ hL (Finset.single_le_sum (by intros; omega) hk)) |
| 70 | exact he.trans_eq (by rw [← Finset.sum_mul, ← Finset.sum_mul]; ring) |
| 71 | |
| 72 | theorem localPressure_bound_of_modes (m : ℕ) {r : ℝ} |
| 73 | (hb : ∀ k : ℤ, k ≠ 0 → ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, |
| 74 | ∀ (l : ActualParticularStageControls.Label B N0) (n : ℕ), 4 ≤ n → |
| 75 | ∀ w ∈ ValidDyadicBandCover.band h n, physicalQ h w ≤ 1 → |
| 76 | ‖iteratedFDeriv ℝ m (ActualCurrentParticularPhysical.localPressureMode |
| 77 | (ActualCycleParameters.particularState x) l k n) w‖ ≤ |
| 78 | C * physicalQ h w ^ r * (1+|Real.log (physicalQ h w)|)^P) : |
| 79 | ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ w ∈ ValidDyadicBandCover.band h n, |
| 80 | physicalQ h w ≤ 1 → ‖iteratedFDeriv ℝ m (ActualValidBandWaves.localPressure x n) w‖ ≤ |
| 81 | C * physicalQ h w ^ r * (1+|Real.log (physicalQ h w)|)^P := by |
| 82 | classical |
| 83 | obtain ⟨C,hC,P,hb⟩ := choose_mode_constants hb |
| 84 | let modes := ParticularWaveAssembly.modes x.coefficients.residualBand |
| 85 | refine ⟨2250*∑ k ∈ modes,C k,mul_nonneg (by norm_num) (Finset.sum_nonneg (fun k _ => hC k)), |
| 86 | ∑ k ∈ modes,P k,?_⟩ |
| 87 | intro n hn w hw hq |
| 88 | have hq0 := physicalQ_pos outgoing.data.h_pos outgoing.data.h_lt_half hw.1 |
| 89 | have hL : 1 ≤ 1+|Real.log (physicalQ h w)| := by linarith [abs_nonneg (Real.log (physicalQ h w))] |
| 90 | have he := CurrentParticularLabelBounds.localPressure_jet_bound_of_invariant H hGeom n m hw |
| 91 | (fun k => C k*physicalQ h w^r*(1+|Real.log (physicalQ h w)|)^(∑ k ∈ modes,P k)) |
| 92 | (fun k _ => mul_nonneg (mul_nonneg (hC k) (Real.rpow_nonneg hq0.le r)) (by positivity)) |
| 93 | (by |
| 94 | intro l hl k hk hc |
| 95 | apply (hb k ((ParticularWaveAssembly.mem_modes _ _).mp hk).1 l n hn w hw hq).trans |
| 96 | apply mul_le_mul_of_nonneg_left _ (mul_nonneg (hC k) (Real.rpow_nonneg hq0.le r)) |
| 97 | exact pow_le_pow_right₀ hL (Finset.single_le_sum (by intros; omega) hk)) |
| 98 | exact he.trans_eq (by rw [← Finset.sum_mul, ← Finset.sum_mul]; ring) |
| 99 | |
| 100 | end HarmonicSums |
| 101 | |
| 102 | end NavierStokes.SharpParticularGluing |