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.SharpLogWeights |
| 2 | |
| 3 | noncomputable section |
| 4 | namespace NavierStokes.SharpPhysicalLoss |
| 5 | open Set Function |
| 6 | open ProblemStatement PhysicalGraphBounds SharpPhysicalPhase SharpPhysicalCarrier |
| 7 | open scoped ContDiff |
| 8 | |
| 9 | private theorem nat_le_infty (k : ℕ) : (k : WithTop ℕ∞) ≤ ∞ := |
| 10 | WithTop.coe_le_coe.mpr le_top |
| 11 | |
| 12 | /-- Physical rescaling and any derivative order up to the recovery order |
| 13 | fit the exact loss printed in the manuscript. -/ |
| 14 | theorem rescale_with_common_loss {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 15 | {h σ g e C : ℝ} (hh : 0 ≤ h) (hσ : -(2*CoordinateAlgebra.A h) ≤ σ) (hC : 0 ≤ C) |
| 16 | (n m k : ℕ) (hkm : k ≤ m+1) {f : SpaceTime → E} {w : SpaceTime} |
| 17 | (hf : ContDiffAt ℝ ∞ f w) |
| 18 | (hb : ‖iteratedFDeriv ℝ k f w‖ ≤ C*ChartScales.Q n^(g-(k:ℝ)*derivativeCost h)*ChartScales.S n^e) : |
| 19 | ‖iteratedFDeriv ℝ k (fun z => ChartScales.Q n^σ • f z) w‖ ≤ |
| 20 | C*ChartScales.Q n^(g-physicalLoss h m)*ChartScales.S n^e := by |
| 21 | have hQ := ChartScales.Q_pos n |
| 22 | have hS : 0 ≤ ChartScales.S n := sq_nonneg (n:ℝ) |
| 23 | have hcost : 0 ≤ derivativeCost h := by unfold derivativeCost; linarith |
| 24 | have hk : (k:ℝ) ≤ (m:ℝ)+1 := by exact_mod_cast hkm |
| 25 | have hexp : g-physicalLoss h m ≤ σ+(g-(k:ℝ)*derivativeCost h) := by |
| 26 | unfold physicalLoss |
| 27 | nlinarith |
| 28 | rw [iteratedFDeriv_const_smul_apply' (hf.of_le (nat_le_infty k)), norm_smul, |
| 29 | Real.norm_of_nonneg (Real.rpow_nonneg hQ.le _)] |
| 30 | calc |
| 31 | _ ≤ ChartScales.Q n^σ * (C*ChartScales.Q n^(g-(k:ℝ)*derivativeCost h)*ChartScales.S n^e) := |
| 32 | mul_le_mul_of_nonneg_left hb (Real.rpow_nonneg hQ.le _) |
| 33 | _ = C*ChartScales.Q n^(σ+(g-(k:ℝ)*derivativeCost h))*ChartScales.S n^e := by |
| 34 | rw [Real.rpow_add hQ] |
| 35 | ring |
| 36 | _ ≤ _ := mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_left |
| 37 | (Real.rpow_le_rpow_of_exponent_ge hQ (ChartScales.Q_le_one n) hexp) hC) |
| 38 | (Real.rpow_nonneg hS _) |
| 39 | |
| 40 | /-- All four physical prefactors listed in the paper satisfy the common |
| 41 | rescaling hypothesis. -/ |
| 42 | theorem physical_prefactors (h : ℝ) (hh : 0 ≤ h) : |
| 43 | -(2*CoordinateAlgebra.A h) ≤ -CoordinateAlgebra.A h ∧ |
| 44 | -(2*CoordinateAlgebra.A h) ≤ -(2*CoordinateAlgebra.A h) ∧ |
| 45 | -(2*CoordinateAlgebra.A h) ≤ 1/2-CoordinateAlgebra.A h := by |
| 46 | unfold CoordinateAlgebra.A |
| 47 | constructor |
| 48 | · linarith |
| 49 | constructor |
| 50 | · rfl |
| 51 | · linarith |
| 52 | |
| 53 | /-- Actual rescaled native carriers obey the printed `ell_m` with a genuine |
| 54 | logarithmic factor. The extra derivative needed for velocity recovery is |
| 55 | already included on the left. All constants are uniform in band and label. -/ |
| 56 | theorem native_rescaled_log_bound {h a b r0 P B dBase : ℝ} |
| 57 | (hh : 0 ≤ h) (ha : 0 < a) (hr0 : 0 ≤ r0) (hP : 1 ≤ P) (hB : 1 ≤ B) |
| 58 | (hdBase : 0 ≤ dBase) (m : ℕ) (σ g dAmp A H : ℝ) |
| 59 | (hσ : -(2*CoordinateAlgebra.A h) ≤ σ) (hA : 0 ≤ A) (hH : 0 ≤ H) : |
| 60 | ∃ C : ℝ, 0 ≤ C ∧ ∃ N : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ w : SpaceTime, |
| 61 | scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → |
| 62 | ∀ q : ℝ, 0 < q → q/2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2*q → |
| 63 | ∀ (chart : PolarCharts.Index) (center : Plane) (p pz x0 : ℝ), |
| 64 | |p| ≤ P → |pz| ≤ P → |x0| ≤ P → |
| 65 | |etaCoordinate (nativeGraph h n w-center)| ≤ r0 → |
| 66 | ∀ (amp : LiftPoint → ℂ) (F G : Slow → ℝ) (j : ℤ), |
| 67 | ContDiff ℝ ∞ amp → ContDiff ℝ ∞ F → ContDiff ℝ ∞ G → |(j:ℝ)| ≤ H → |
| 68 | (∀ i ≤ m+1, ‖iteratedFDeriv ℝ i amp (physicalLift h n w)‖ ≤ |
| 69 | A*ChartScales.Q n^g*ChartScales.S n^dAmp) → |
| 70 | (∀ i ≤ m+1, ‖iteratedFDeriv ℝ i F |
| 71 | (slowMap (PolarCharts.chart a chart) h n w)‖ ≤ B*ChartScales.S n^dBase) → |
| 72 | (∀ i ≤ m+1, ‖iteratedFDeriv ℝ i G |
| 73 | (slowMap (PolarCharts.chart a chart) h n w)‖ ≤ B*ChartScales.S n^dBase) → |
| 74 | ‖iteratedFDeriv ℝ (m+1) (fun z => ChartScales.Q n^σ • |
| 75 | ((fun y => amp y * character ((ChartScales.carrier h n:ℝ)*(j:ℝ)) |
| 76 | (liftedPhase (PolarCharts.chart a chart) h n center r0 p pz x0 F G y)) ∘ |
| 77 | physicalLift h n) z) w‖ ≤ |
| 78 | C*q^(g-physicalLoss h m)*(1+|Real.log q|)^N := by |
| 79 | obtain ⟨C,hC,hbound⟩ := native_carrier_bound (b := b) hh ha hr0 hP hB hdBase |
| 80 | (m+1) g dAmp A H hA hH |
| 81 | obtain ⟨D,hD,N,hlog⟩ := SharpLogWeights.chart_weight_bound |
| 82 | (g-physicalLoss h m) (dAmp+(dBase+1)*((m+1:ℕ):ℝ)) |
| 83 | refine ⟨C*D, mul_nonneg hC hD.le, N, ?_⟩ |
| 84 | intro n hn w hw ht q hq hlo hhi chart center p pz x0 hp hpz hx0 hslot |
| 85 | amp F G j hamp hF hG hj hab hFb hGb |
| 86 | have hb := hbound n hn w hw ht chart center p pz x0 hp hpz hx0 hslot amp F G j |
| 87 | hamp hF hG hj hab hFb hGb |
| 88 | let W : Set SpaceTime := {z | radialProjection z ≠ 0} |
| 89 | have hW : IsOpen W := axisFree_open.preimage radialProjection.continuous |
| 90 | have hwW : w ∈ W := scaledRadial_ne_zero (annulus_axisFree ha hw) |
| 91 | have hκ := PolarCharts.chart_contDiff ha chart |
| 92 | have houter : ContDiff ℝ ∞ (fun y => amp y * character ((ChartScales.carrier h n:ℝ)*(j:ℝ)) |
| 93 | (liftedPhase (PolarCharts.chart a chart) h n center r0 p pz x0 F G y)) := |
| 94 | hamp.mul ((character_smooth _).comp (liftedPhase_smooth hκ h n center r0 p pz x0 hF hG)) |
| 95 | have hcomp : ContDiffAt ℝ ∞ ((fun y => amp y * character ((ChartScales.carrier h n:ℝ)*(j:ℝ)) |
| 96 | (liftedPhase (PolarCharts.chart a chart) h n center r0 p pz x0 F G y)) ∘ physicalLift h n) w := |
| 97 | houter.contDiffAt.comp w ((physicalLift_smooth h n).contDiffAt (hW.mem_nhds hwW)) |
| 98 | apply (rescale_with_common_loss hh hσ hC n m (m+1) le_rfl hcomp hb).trans |
| 99 | calc |
| 100 | _ = C*(ChartScales.Q n^(g-physicalLoss h m)* |
| 101 | ChartScales.S n^(dAmp+(dBase+1)*((m+1:ℕ):ℝ))) := by ring |
| 102 | _ ≤ C*(D*q^(g-physicalLoss h m)*(1+|Real.log q|)^N) := |
| 103 | mul_le_mul_of_nonneg_left (hlog n (by omega) q hq hlo hhi) hC |
| 104 | _ = _ := by ring |
| 105 | |
| 106 | end NavierStokes.SharpPhysicalLoss |