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.SharpPhysicalPhase |
| 2 | |
| 3 | noncomputable section |
| 4 | namespace NavierStokes.SharpPhysicalCarrier |
| 5 | open Set Function |
| 6 | open ProblemStatement PhysicalGraphBounds SharpPhaseJetAlgebra SharpPhysicalPhase |
| 7 | open scoped ContDiff |
| 8 | |
| 9 | private theorem nat_le_infty (k : ℕ) : (k : WithTop ℕ∞) ≤ ∞ := |
| 10 | WithTop.coe_le_coe.mpr le_top |
| 11 | |
| 12 | /-- The manuscript's common Cartesian derivative cost for an oscillatory factor. -/ |
| 13 | def derivativeCost (h : ℝ) : ℝ := 1 + 3*h/2 |
| 14 | |
| 15 | /-- The printed physical loss includes one derivative for potential recovery. -/ |
| 16 | def physicalLoss (h : ℝ) (m : ℕ) : ℝ := |
| 17 | 2*CoordinateAlgebra.A h + ((m:ℝ)+1)*derivativeCost h |
| 18 | |
| 19 | /-- A real physical phase with sharp positive jets gives the exact linear |
| 20 | carrier loss. Slow powers remain explicit, and are not absorbed into `Q`. -/ |
| 21 | theorem carrier_geometric_bound {h a b : ℝ} (hh : 0 ≤ h) (ha : 0 < a) |
| 22 | (m : ℕ) (g d e A B H : ℝ) (hA : 0 ≤ A) (hB : 1 ≤ B) |
| 23 | (he : 0 ≤ e) (hH : 0 ≤ H) : |
| 24 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ w : SpaceTime, |
| 25 | scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → |
| 26 | ∀ (amp : LiftPoint → ℂ) (Φ : SpaceTime → ℝ) (j : ℤ), |
| 27 | ContDiff ℝ ∞ amp → ContDiff ℝ ∞ Φ → |(j:ℝ)| ≤ H → |
| 28 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i amp (physicalLift h n w)‖ ≤ |
| 29 | A * ChartScales.Q n ^ g * ChartScales.S n ^ d) → |
| 30 | (∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ w‖ ≤ |
| 31 | (B * ChartScales.S n ^ e * ChartScales.Q n ^ (-(1+h))) ^ i) → |
| 32 | ‖iteratedFDeriv ℝ m (fun z => amp (physicalLift h n z) * |
| 33 | character ((ChartScales.carrier h n:ℝ)*(j:ℝ)) (Φ z)) w‖ ≤ |
| 34 | C * ChartScales.Q n ^ (g-(m:ℝ)*derivativeCost h) * |
| 35 | ChartScales.S n ^ (d+e*(m:ℝ)) := by |
| 36 | obtain ⟨K, hK, hgraph⟩ := SharpGraphBounds.physicalLift_positive_jet_bound (b := b) hh ha m |
| 37 | let C := (2:ℝ)^m*(m.factorial:ℝ)^2*A*(1+2*H)^m*(K+B)^m |
| 38 | have hK0 : 0 ≤ K := by linarith |
| 39 | have hB0 : 0 ≤ B := by linarith |
| 40 | refine ⟨C, by dsimp [C]; positivity, ?_⟩ |
| 41 | intro n hn w hw ht amp Φ j hamp hΦ hj hab hph |
| 42 | have hQ := ChartScales.Q_pos n |
| 43 | have hS := ChartScales.S_pos (show 1 ≤ n by omega) |
| 44 | have hS1 := S_ge_one (show 1 ≤ n by omega) |
| 45 | have hSe : 1 ≤ ChartScales.S n ^ e := Real.one_le_rpow hS1 he |
| 46 | let U := (K+B)*ChartScales.S n^e*ChartScales.Q n^(-(1+h)) |
| 47 | have hU : 0 ≤ U := by dsimp [U]; positivity |
| 48 | have hscale : 1 ≤ ChartScales.Q n ^ (-h/2) := by |
| 49 | have hb := Real.rpow_le_rpow_of_exponent_ge hQ (ChartScales.Q_le_one n) (show -h/2 ≤ 0 by linarith) |
| 50 | simpa only [Real.rpow_zero] using hb |
| 51 | let M := (1+2*H)*ChartScales.Q n^(-h/2) |
| 52 | have hM : 1 ≤ M := one_le_mul_of_one_le_of_one_le (by linarith) hscale |
| 53 | have hM0 : 0 ≤ M := by linarith |
| 54 | have hc : |(ChartScales.carrier h n:ℝ)*(j:ℝ)| ≤ M := by |
| 55 | rw [abs_mul, abs_of_nonneg (Nat.cast_nonneg _)] |
| 56 | calc |
| 57 | _ ≤ (2*ChartScales.Q n^(-h/2))*H := |
| 58 | mul_le_mul (carrier_upper hh n) hj (abs_nonneg _) (by positivity) |
| 59 | _ ≤ M := by dsimp [M]; nlinarith [Real.rpow_nonneg hQ.le (-h/2)] |
| 60 | let W : Set SpaceTime := {z | radialProjection z ≠ 0} |
| 61 | have hW : IsOpen W := axisFree_open.preimage radialProjection.continuous |
| 62 | have hwW : w ∈ W := scaledRadial_ne_zero (annulus_axisFree ha hw) |
| 63 | have hgraphU : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i (physicalLift h n) w‖ ≤ U^i := by |
| 64 | intro i hi him |
| 65 | apply (hgraph n hn w hw ht i hi him).trans |
| 66 | have hqpow : ChartScales.Q n^(-(i:ℝ)*(1+h)) = (ChartScales.Q n^(-(1+h)))^i := by |
| 67 | rw [← Real.rpow_mul_natCast hQ.le] |
| 68 | congr 1 |
| 69 | ring |
| 70 | rw [hqpow] |
| 71 | calc |
| 72 | _ ≤ K^i*(ChartScales.Q n^(-(1+h)))^i := |
| 73 | mul_le_mul_of_nonneg_right (by simpa only [pow_one] using pow_le_pow_right₀ hK hi) (by positivity) |
| 74 | _ = (K*ChartScales.Q n^(-(1+h)))^i := (mul_pow _ _ _).symm |
| 75 | _ ≤ U^i := by |
| 76 | apply pow_le_pow_left₀ (by positivity) |
| 77 | dsimp [U] |
| 78 | apply mul_le_mul_of_nonneg_right _ (Real.rpow_nonneg hQ.le _) |
| 79 | exact (show K ≤ K+B by linarith).trans (le_mul_of_one_le_right (by linarith) hSe) |
| 80 | have hphaseU : ∀ i, 1 ≤ i → i ≤ m → ‖iteratedFDeriv ℝ i Φ w‖ ≤ U^i := by |
| 81 | intro i hi him |
| 82 | apply (hph i hi him).trans |
| 83 | apply pow_le_pow_left₀ (by positivity) |
| 84 | dsimp [U] |
| 85 | gcongr |
| 86 | linarith |
| 87 | have hampj := composition_geometric_on hW (physicalLift_smooth h n) hamp hwW m |
| 88 | (show 0 ≤ A*ChartScales.Q n^g*ChartScales.S n^d by positivity) hU hab hgraphU |
| 89 | have hcharj := composition_geometric hΦ (character_smooth ((ChartScales.carrier h n:ℝ)*(j:ℝ))) |
| 90 | w m (pow_nonneg hM0 m) hU |
| 91 | (fun i hi => by |
| 92 | rw [norm_character_jet] |
| 93 | exact (pow_le_pow_left₀ (abs_nonneg _) hc i).trans (pow_le_pow_right₀ hM hi)) hphaseU |
| 94 | have hampW : ContDiffOn ℝ ∞ (amp ∘ physicalLift h n) W := |
| 95 | hamp.contDiffOn.comp (physicalLift_smooth h n) (mapsTo_univ _ _) |
| 96 | have hprod := product_geometric_on hW hampW |
| 97 | ((character_smooth _).comp hΦ).contDiffOn hwW m |
| 98 | (show 0 ≤ (m.factorial:ℝ)*(A*ChartScales.Q n^g*ChartScales.S n^d) by positivity) |
| 99 | (show 0 ≤ (m.factorial:ℝ)*M^m by positivity) hU hampj hcharj |
| 100 | apply hprod.trans_eq |
| 101 | have hqpow : ChartScales.Q n^g * (ChartScales.Q n^(-h/2))^m * |
| 102 | (ChartScales.Q n^(-(1+h)))^m = ChartScales.Q n^(g-(m:ℝ)*derivativeCost h) := by |
| 103 | rw [← Real.rpow_mul_natCast hQ.le, ← Real.rpow_mul_natCast hQ.le, |
| 104 | ← Real.rpow_add hQ, ← Real.rpow_add hQ] |
| 105 | congr 1 |
| 106 | unfold derivativeCost |
| 107 | ring |
| 108 | have hspow : ChartScales.S n^d * (ChartScales.S n^e)^m = ChartScales.S n^(d+e*(m:ℝ)) := by |
| 109 | rw [← Real.rpow_mul_natCast hS.le, ← Real.rpow_add hS] |
| 110 | dsimp [M, U, C] |
| 111 | rw [mul_pow, mul_pow, mul_pow] |
| 112 | calc |
| 113 | _ = (2:ℝ)^m*(m.factorial:ℝ)^2*A*(1+2*H)^m*(K+B)^m * |
| 114 | (ChartScales.Q n^g*(ChartScales.Q n^(-h/2))^m*(ChartScales.Q n^(-(1+h)))^m) * |
| 115 | (ChartScales.S n^d*(ChartScales.S n^e)^m) := by ring |
| 116 | _ = _ := by rw [hqpow,hspow] |
| 117 | |
| 118 | |
| 119 | |
| 120 | /-- The exact native carrier, with genuine base-profile hypotheses and all |
| 121 | polar branches covered, has the printed cost per Cartesian derivative. -/ |
| 122 | theorem native_carrier_bound {h a b r0 P B dBase : ℝ} |
| 123 | (hh : 0 ≤ h) (ha : 0 < a) (hr0 : 0 ≤ r0) (hP : 1 ≤ P) (hB : 1 ≤ B) |
| 124 | (hdBase : 0 ≤ dBase) (m : ℕ) (g dAmp A H : ℝ) (hA : 0 ≤ A) (hH : 0 ≤ H) : |
| 125 | ∃ C : ℝ, 0 ≤ C ∧ ∀ n : ℕ, 4 ≤ n → ∀ w : SpaceTime, |
| 126 | scaledRadial n w ∈ annulus a b → |w.1| ≤ 1 → |
| 127 | ∀ (chart : PolarCharts.Index) (center : Plane) (p pz x0 : ℝ), |
| 128 | |p| ≤ P → |pz| ≤ P → |x0| ≤ P → |
| 129 | |etaCoordinate (nativeGraph h n w - center)| ≤ r0 → |
| 130 | ∀ (amp : LiftPoint → ℂ) (F G : Slow → ℝ) (j : ℤ), |
| 131 | ContDiff ℝ ∞ amp → ContDiff ℝ ∞ F → ContDiff ℝ ∞ G → |(j:ℝ)| ≤ H → |
| 132 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i amp (physicalLift h n w)‖ ≤ |
| 133 | A * ChartScales.Q n^g * ChartScales.S n^dAmp) → |
| 134 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i F |
| 135 | (slowMap (PolarCharts.chart a chart) h n w)‖ ≤ B*ChartScales.S n^dBase) → |
| 136 | (∀ i ≤ m, ‖iteratedFDeriv ℝ i G |
| 137 | (slowMap (PolarCharts.chart a chart) h n w)‖ ≤ B*ChartScales.S n^dBase) → |
| 138 | ‖iteratedFDeriv ℝ m ((fun y => amp y * |
| 139 | character ((ChartScales.carrier h n:ℝ)*(j:ℝ)) |
| 140 | (liftedPhase (PolarCharts.chart a chart) h n center r0 p pz x0 F G y)) ∘ |
| 141 | physicalLift h n) w‖ ≤ |
| 142 | C*ChartScales.Q n^(g-(m:ℝ)*derivativeCost h)* |
| 143 | ChartScales.S n^(dAmp+(dBase+1)*(m:ℝ)) := by |
| 144 | obtain ⟨K, hK, hpolar⟩ := PolarCharts.chart_finiteJets_uniform ha b m |
| 145 | let V := 1+2*r0*ChartScales.Tg |
| 146 | have hV : 1 ≤ V := by dsimp [V]; nlinarith [ChartScales.Tg_pos] |
| 147 | obtain ⟨BP, hBP, hphase⟩ := SharpPhysicalPhase.physicalPhase_geometric_bound hh hK hV hP hB hdBase m |
| 148 | obtain ⟨C, hC, hbound⟩ := carrier_geometric_bound (b := b) hh ha m |
| 149 | g dAmp (dBase+1) A BP H hA hBP (by linarith) hH |
| 150 | refine ⟨C,hC,?_⟩ |
| 151 | intro n hn w hw ht chart center p pz x0 hp hpz hx0 hslot amp F G j hamp hF hG hj hab hFb hGb |
| 152 | have hκ := PolarCharts.chart_contDiff ha chart |
| 153 | have hκb : ∀ i ≤ m, ‖iteratedFDeriv ℝ i (PolarCharts.chart a chart) (scaledRadial n w)‖ ≤ K := |
| 154 | fun i hi => hpolar chart i hi _ hw.1 |
| 155 | have hv : |slotTime h n center r0 w| ≤ V*ChartScales.S n := by |
| 156 | unfold slotTime |
| 157 | rw [abs_div, abs_of_pos (ChartScales.timeCoefficient_pos h n), div_eq_mul_inv] |
| 158 | have hnum : |etaCoordinate (nativeGraph h n w-center)+r0| ≤ 2*r0 := by |
| 159 | have ht := abs_add_le (etaCoordinate (nativeGraph h n w-center)) r0 |
| 160 | rw [abs_of_nonneg hr0] at ht |
| 161 | linarith |
| 162 | calc |
| 163 | _ ≤ (2*r0)*(ChartScales.Tg*ChartScales.S n) := |
| 164 | mul_le_mul hnum (ChartScales.timeCoefficient_inv_upper h hh hn) |
| 165 | (inv_nonneg.mpr (ChartScales.timeCoefficient_pos h n).le) (by positivity) |
| 166 | _ ≤ _ := by dsimp [V]; nlinarith [ChartScales.S_pos (show 1 ≤ n by omega)] |
| 167 | exact hbound n hn w hw ht amp |
| 168 | (liftedPhase (PolarCharts.chart a chart) h n center r0 p pz x0 F G ∘ physicalLift h n) j |
| 169 | hamp (SharpPhysicalPhase.physicalPhase_smooth hκ h n center r0 p pz x0 hF hG) hj hab |
| 170 | (hphase _ hκ n hn center r0 p pz x0 hp hpz hx0 F G hF hG w hκb hv hFb hGb) |
| 171 | |
| 172 | end NavierStokes.SharpPhysicalCarrier |