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 | import NavierStokes.SharpPhysicalCopyBounds |
| 3 | |
| 4 | noncomputable section |
| 5 | namespace NavierStokes.PhysicalStageBounds.WaveData |
| 6 | open Set Function Filter ProblemStatement |
| 7 | open SharpPhysicalCarrier |
| 8 | open scoped Topology ContDiff BigOperators |
| 9 | |
| 10 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 11 | WithTop.coe_le_coe.mpr le_top |
| 12 | |
| 13 | variable {h : ℝ} {D : Type} [NormedAddCommGroup D] [NormedSpace ℝ D] {I K J : Type*} |
| 14 | |
| 15 | /-- Exact linear derivative loss for a genuine wave stage, derived from |
| 16 | its weighted native source, common-chart maps and phase profiles. -/ |
| 17 | theorem scalar_log_bound (W : WaveData h D I K J) |
| 18 | (hh : 0 < h) (hh1 : h < 1/2) (i : J) (m : ℕ) : |
| 19 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ PhysicalWaveSum.preterminal, |
| 20 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 21 | ‖iteratedFDeriv ℝ m (W.scalar i) w‖ ≤ |
| 22 | C*PhysicalWaveSum.physicalQ h w^(h*W.alpha+W.shift-(m:ℝ)*derivativeCost h)* |
| 23 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^N := by |
| 24 | obtain ⟨C,hC,N,hb⟩ := SharpPhysicalCopyBounds.physical_sum_log_bound_of_weighted |
| 25 | W.source_bounds (W.chart i) (W.chart_maps i) (W.carrier i) (W.support i) (W.smooth i) |
| 26 | hh hh1 W.lower_pos W.slow_nonneg W.width_nonneg W.frequency_one_le (W.frequencies i) m |
| 27 | exact ⟨C,hC,N,fun w hw hq => hb w hw (abs_time_le_one hh hh1 hw hq)⟩ |
| 28 | |
| 29 | theorem vector_log_bound (W : WaveData h D I K (Fin 3)) |
| 30 | (hh : 0 < h) (hh1 : h < 1/2) (m : ℕ) : |
| 31 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ PhysicalWaveSum.preterminal, |
| 32 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 33 | ‖iteratedFDeriv ℝ m W.vector w‖ ≤ |
| 34 | C*PhysicalWaveSum.physicalQ h w^(h*W.alpha+W.shift-(m:ℝ)*derivativeCost h)* |
| 35 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^N := by |
| 36 | classical |
| 37 | have hb := fun i => W.scalar_log_bound hh hh1 i m |
| 38 | choose C hC N hbound using hb |
| 39 | have hsum : 0 ≤ ∑ i, C i := Finset.sum_nonneg (fun i _ => hC i) |
| 40 | refine ⟨3*∑ i, C i, mul_nonneg (by norm_num) hsum, ∑ i, N i, ?_⟩ |
| 41 | intro w hw hq |
| 42 | have hq0 := PhysicalWaveSum.physicalQ_pos hh hh1 hw |
| 43 | have hL : 1 ≤ 1+|Real.log (PhysicalWaveSum.physicalQ h w)| := by linarith [abs_nonneg (Real.log (PhysicalWaveSum.physicalQ h w))] |
| 44 | have hci (i : Fin 3) : C i ≤ ∑ j, C j := |
| 45 | Finset.single_le_sum (fun j _ => hC j) (Finset.mem_univ i) |
| 46 | have hni (i : Fin 3) : N i ≤ ∑ j, N j := Finset.single_le_sum (by intros; omega) (Finset.mem_univ i) |
| 47 | have he := LocalPhysicalCopyBounds.vectorSum_jet_bound W.support W.smooth W.cells W.lower_pos hh hh1 hw m |
| 48 | (B := (∑ i, C i)*PhysicalWaveSum.physicalQ h w^(h*W.alpha+W.shift-(m:ℝ)*derivativeCost h)* |
| 49 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^(∑ i,N i)) |
| 50 | (fun i => (hbound i w hw hq).trans (mul_le_mul |
| 51 | (mul_le_mul_of_nonneg_right (hci i) (Real.rpow_nonneg hq0.le _)) |
| 52 | (pow_le_pow_right₀ hL (hni i)) (by positivity) (by positivity))) |
| 53 | exact he.trans_eq (by ring) |
| 54 | |
| 55 | theorem pressure_log_bound (W : WaveData h D I K Unit) |
| 56 | (hh : 0 < h) (hh1 : h < 1/2) (m : ℕ) : |
| 57 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ PhysicalWaveSum.preterminal, |
| 58 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 59 | ‖iteratedFDeriv ℝ m W.pressure w‖ ≤ |
| 60 | C*PhysicalWaveSum.physicalQ h w^(h*W.alpha+W.shift-(m:ℝ)*derivativeCost h)* |
| 61 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^N := by |
| 62 | obtain ⟨C,hC,N,hb⟩ := W.scalar_log_bound hh hh1 () m |
| 63 | refine ⟨‖Complex.reCLM‖*C, mul_nonneg (norm_nonneg _) hC,N,?_⟩ |
| 64 | intro w hw hq |
| 65 | have hs := ((W.scalar_smooth hh hh1 ()).contDiffAt |
| 66 | (PhysicalWaveSum.preterminal_open.mem_nhds hw)).of_le (nat_le_infty m) |
| 67 | have he := PhysicalWaveSum.norm_jet_linear_comp_at hs Complex.reCLM |
| 68 | exact he.trans ((mul_le_mul_of_nonneg_left (hb w hw hq) (norm_nonneg _)).trans_eq (by ring)) |
| 69 | |
| 70 | theorem curl_log_bound (W : WaveData h D I K (Fin 3)) |
| 71 | (hh : 0 < h) (hh1 : h < 1/2) (m : ℕ) : |
| 72 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ PhysicalWaveSum.preterminal, |
| 73 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 74 | ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl W.vector) w‖ ≤ |
| 75 | C*PhysicalWaveSum.physicalQ h w^(h*W.alpha+W.shift-((m:ℝ)+1)*derivativeCost h)* |
| 76 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^N := by |
| 77 | obtain ⟨C,hC,N,hb⟩ := W.vector_log_bound hh hh1 (m+1) |
| 78 | refine ⟨‖PhysicalClassBounds.jointCurl‖*C, mul_nonneg (norm_nonneg PhysicalClassBounds.jointCurl) hC,N,?_⟩ |
| 79 | intro w hw hq |
| 80 | have he := PhysicalClassBounds.spatialCurl_jet_bound PhysicalWaveSum.preterminal_open |
| 81 | (W.vector_smooth hh hh1) hw m |
| 82 | have hb' := hb w hw hq |
| 83 | simp only [Nat.cast_add,Nat.cast_one] at hb' |
| 84 | exact he.trans ((mul_le_mul_of_nonneg_left hb' (norm_nonneg PhysicalClassBounds.jointCurl)).trans_eq (by ring)) |
| 85 | |
| 86 | private theorem common_loss_bound {α σ q C : ℝ} {m k : ℕ} |
| 87 | (hh : 0 ≤ h) (hσ : -(2*CoordinateAlgebra.A h) ≤ σ) (hq : 0 < q) (hq1 : q ≤ 1) |
| 88 | (hC : 0 ≤ C) (hkm : k ≤ m+1) (N : ℕ) : |
| 89 | C*q^(h*α+σ-(k:ℝ)*derivativeCost h)*(1+|Real.log q|)^N ≤ |
| 90 | C*q^(h*α-physicalLoss h m)*(1+|Real.log q|)^N := by |
| 91 | have hcost : 0 ≤ derivativeCost h := by unfold derivativeCost; linarith |
| 92 | have hk : (k:ℝ) ≤ (m:ℝ)+1 := by exact_mod_cast hkm |
| 93 | have he : h*α-physicalLoss h m ≤ h*α+σ-(k:ℝ)*derivativeCost h := by |
| 94 | unfold physicalLoss |
| 95 | nlinarith |
| 96 | exact mul_le_mul_of_nonneg_right |
| 97 | (mul_le_mul_of_nonneg_left (Real.rpow_le_rpow_of_exponent_ge hq hq1 he) hC) (by positivity) |
| 98 | |
| 99 | /-- The full physical wave vector obeys the manuscript's common `ell_m`. -/ |
| 100 | theorem vector_printed_bound (W : WaveData h D I K (Fin 3)) |
| 101 | (hh : 0 < h) (hh1 : h < 1/2) (hshift : -(2*CoordinateAlgebra.A h) ≤ W.shift) (m : ℕ) : |
| 102 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ PhysicalWaveSum.preterminal, |
| 103 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 104 | ‖iteratedFDeriv ℝ m W.vector w‖ ≤ |
| 105 | C*PhysicalWaveSum.physicalQ h w^(h*W.alpha-physicalLoss h m)* |
| 106 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^N := by |
| 107 | obtain ⟨C,hC,N,hb⟩ := W.vector_log_bound hh hh1 m |
| 108 | exact ⟨C,hC,N,fun w hw hq => (hb w hw hq).trans |
| 109 | (common_loss_bound hh.le hshift (PhysicalWaveSum.physicalQ_pos hh hh1 hw) hq hC (by omega) N)⟩ |
| 110 | |
| 111 | /-- Pressure has the same printed loss, including the permitted `Q⁻²ᴬ` prefactor. -/ |
| 112 | theorem pressure_printed_bound (W : WaveData h D I K Unit) |
| 113 | (hh : 0 < h) (hh1 : h < 1/2) (hshift : -(2*CoordinateAlgebra.A h) ≤ W.shift) (m : ℕ) : |
| 114 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ PhysicalWaveSum.preterminal, |
| 115 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 116 | ‖iteratedFDeriv ℝ m W.pressure w‖ ≤ |
| 117 | C*PhysicalWaveSum.physicalQ h w^(h*W.alpha-physicalLoss h m)* |
| 118 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^N := by |
| 119 | obtain ⟨C,hC,N,hb⟩ := W.pressure_log_bound hh hh1 m |
| 120 | exact ⟨C,hC,N,fun w hw hq => (hb w hw hq).trans |
| 121 | (common_loss_bound hh.le hshift (PhysicalWaveSum.physicalQ_pos hh hh1 hw) hq hC (by omega) N)⟩ |
| 122 | |
| 123 | /-- Recovering velocity by the actual spatial curl is included in `ell_m`. -/ |
| 124 | theorem curl_printed_bound (W : WaveData h D I K (Fin 3)) |
| 125 | (hh : 0 < h) (hh1 : h < 1/2) (hshift : -(2*CoordinateAlgebra.A h) ≤ W.shift) (m : ℕ) : |
| 126 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ w ∈ PhysicalWaveSum.preterminal, |
| 127 | PhysicalWaveSum.physicalQ h w ≤ 1 → |
| 128 | ‖iteratedFDeriv ℝ m (SpatialCurl.spatialCurl W.vector) w‖ ≤ |
| 129 | C*PhysicalWaveSum.physicalQ h w^(h*W.alpha-physicalLoss h m)* |
| 130 | (1+|Real.log (PhysicalWaveSum.physicalQ h w)|)^N := by |
| 131 | obtain ⟨C,hC,N,hb⟩ := W.curl_log_bound hh hh1 m |
| 132 | refine ⟨C,hC,N,?_⟩ |
| 133 | intro w hw hq |
| 134 | apply (hb w hw hq).trans |
| 135 | simpa only [Nat.cast_add,Nat.cast_one] using |
| 136 | common_loss_bound (α := W.alpha) hh.le hshift (PhysicalWaveSum.physicalQ_pos hh hh1 hw) hq hC |
| 137 | (show m+1 ≤ m+1 from le_rfl) N |
| 138 | |
| 139 | end NavierStokes.PhysicalStageBounds.WaveData |