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.SharpCurrentPhysicalPhase |
| 2 | |
| 3 | noncomputable section |
| 4 | namespace NavierStokes.SharpCurrentModeJets |
| 5 | open Set Function Filter ProblemStatement CorrectionInitialization |
| 6 | open LocalPhysicalCopyBounds SharpCurrentPhysicalPhase |
| 7 | open scoped ContDiff Topology |
| 8 | |
| 9 | private theorem nat_le_infty (k : ℕ) : (k : WithTop ℕ∞) ≤ ∞ := |
| 10 | WithTop.coe_le_coe.mpr le_top |
| 11 | |
| 12 | theorem commonLift_smoothNear (n d : ℕ) {w : SpaceTime} |
| 13 | (hw : PhysicalGraphBounds.radialProjection w ≠ 0) : |
| 14 | SmoothNear (PhysicalWaveSum.commonLift h n d) w := |
| 15 | ⟨_, PhysicalGraphBounds.axisFree_open.preimage PhysicalGraphBounds.radialProjection.continuous, |
| 16 | hw, (PhysicalWaveSum.downLift d).contDiff.comp_contDiffOn (PhysicalGraphBounds.physicalLift_smooth h n)⟩ |
| 17 | |
| 18 | theorem lift_mode_bound {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 19 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 20 | {a b : ℝ} (ha : 0 < a) (Δ m : ℕ) (g A : ℝ) (e : ℕ) (hA : 0 ≤ A) (j : ℤ) : |
| 21 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 22 | ∀ c : PolarCharts.Index, ∀ i : ActualPhaseJetBounds.CopyIndex B N0, ∀ w : SpaceTime, |
| 23 | PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |w.1| ≤ 1 → |
| 24 | fullMap a c n d w ∈ ActualPhaseJetBounds.phaseCell n i → |
| 25 | ∀ f : PhysicalWaveSum.LiftPoint → E, SmoothNear f (PhysicalWaveSum.commonLift h n d w) → |
| 26 | (∀ r ≤ m, ‖iteratedFDeriv ℝ r f (PhysicalWaveSum.commonLift h n d w)‖ ≤ |
| 27 | A*ChartScales.Q n^g*ChartScales.S n^e) → |
| 28 | ‖iteratedFDeriv ℝ m (fun y => PhysicalGraphBounds.character (j:ℝ) |
| 29 | (ActualCurrentCarrierJets.weightedPhase i.1 n (nativeMap a c n d y)) • |
| 30 | f (PhysicalWaveSum.commonLift h n d y)) w‖ ≤ |
| 31 | C*ChartScales.Q n^(g-(m:ℝ)*SharpPhysicalCarrier.derivativeCost h)*ChartScales.S n^p := by |
| 32 | obtain ⟨K,hK,hk⟩ := SharpCommonGraphJets.common_jets (E := E) (b := b) |
| 33 | ActualPrimary.outgoing.data.h_pos.le ha Δ m |
| 34 | obtain ⟨D,hD,p,hp⟩ := weightedPhase_positive_jets (B := B) (N0 := N0) (b := b) ha Δ m |
| 35 | let M := 1+|(j:ℝ)| |
| 36 | have hM : 1 ≤ M := le_add_of_nonneg_right (abs_nonneg _) |
| 37 | let C := (2:ℝ)^m*(m.factorial:ℝ)*M^m*D^m*K*A |
| 38 | refine ⟨C,by dsimp [C]; positivity,e+p*m,?_⟩ |
| 39 | intro n hn d hd c i w hw ht hi f hf hfb |
| 40 | have hQ := ChartScales.Q_pos n |
| 41 | have hS := PhysicalGraphBounds.S_ge_one (show 1 ≤ n by omega) |
| 42 | have haxis := PhysicalGraphBounds.scaledRadial_ne_zero (PhysicalGraphBounds.annulus_axisFree ha hw) |
| 43 | let V := ChartScales.Q n^(-SharpPhysicalCarrier.derivativeCost h) |
| 44 | have hV : 0 ≤ V := (Real.rpow_pos_of_pos hQ _).le |
| 45 | have hDb : 1 ≤ D*ChartScales.S n^p := one_le_mul_of_one_le_of_one_le hD (one_le_pow₀ hS) |
| 46 | have hfb' : ∀ r ≤ m, ‖iteratedFDeriv ℝ r (f ∘ PhysicalWaveSum.commonLift h n d) w‖ ≤ |
| 47 | (K*A*ChartScales.Q n^g*ChartScales.S n^e)*V^r := by |
| 48 | intro r hr |
| 49 | apply (hk n hn d hd w hw ht f hf _ (by positivity) hfb r hr).trans |
| 50 | dsimp [V] |
| 51 | rw [← Real.rpow_mul_natCast hQ.le] |
| 52 | have hcost : -(SharpPhysicalCarrier.derivativeCost h)*(r:ℝ) ≤ -(r:ℝ)*(1+h) := by |
| 53 | have hh : 0 ≤ h := ActualPrimary.outgoing.data.h_pos.le |
| 54 | have hr0 : (0:ℝ) ≤ r := Nat.cast_nonneg _ |
| 55 | unfold SharpPhysicalCarrier.derivativeCost |
| 56 | nlinarith |
| 57 | calc |
| 58 | _ ≤ K*(A*ChartScales.Q n^g*ChartScales.S n^e)* |
| 59 | ChartScales.Q n^(-SharpPhysicalCarrier.derivativeCost h*(r:ℝ)) := |
| 60 | mul_le_mul_of_nonneg_left (Real.rpow_le_rpow_of_exponent_ge hQ (ChartScales.Q_le_one n) hcost) |
| 61 | (by positivity) |
| 62 | _ = _ := by ring |
| 63 | have hph : ∀ r, 1 ≤ r → r ≤ m → |
| 64 | ‖iteratedFDeriv ℝ r (ActualCurrentCarrierJets.weightedPhase i.1 n ∘ nativeMap a c n d) w‖ ≤ |
| 65 | (D*ChartScales.S n^p)*V^r := by |
| 66 | intro r hr hrm |
| 67 | apply (hp n hn d hd c i w hw ht hi r hr hrm).trans_eq |
| 68 | dsimp [V] |
| 69 | rw [← Real.rpow_mul_natCast hQ.le] |
| 70 | congr 2 |
| 71 | ring |
| 72 | have hb := SharpGeometricModeJets.modulated (c := (j:ℝ)) |
| 73 | (smoothNear_comp hf (commonLift_smoothNear n d haxis)) |
| 74 | (weightedPhase_smoothNear ha c n d haxis hi) m |
| 75 | (by positivity) hDb hV hM (by dsimp [M]; linarith [abs_nonneg (j:ℝ)]) hfb' hph |
| 76 | apply hb.trans_eq |
| 77 | dsimp [V,C] |
| 78 | rw [mul_pow, ← pow_mul, pow_add, ← Real.rpow_mul_natCast hQ.le, |
| 79 | Real.rpow_sub hQ] |
| 80 | have hpow : ChartScales.Q n^(-SharpPhysicalCarrier.derivativeCost h*(m:ℝ)) = |
| 81 | (ChartScales.Q n^((m:ℝ)*SharpPhysicalCarrier.derivativeCost h))⁻¹ := by |
| 82 | rw [← Real.rpow_neg hQ.le] |
| 83 | congr 1 |
| 84 | ring |
| 85 | rw [hpow] |
| 86 | ring |
| 87 | |
| 88 | theorem native_mode_bound {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 89 | [NormedSpace ℂ E] [IsScalarTower ℝ ℂ E] |
| 90 | {a b : ℝ} (ha : 0 < a) (Δ m : ℕ) (g A : ℝ) (e : ℕ) (hA : 0 ≤ A) (j : ℤ) : |
| 91 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 92 | ∀ c : PolarCharts.Index, ∀ i : ActualPhaseJetBounds.CopyIndex B N0, ∀ w : SpaceTime, |
| 93 | PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |w.1| ≤ 1 → |
| 94 | fullMap a c n d w ∈ ActualPhaseJetBounds.phaseCell n i → |
| 95 | ∀ f : Native → E, SmoothNear f (nativeMap a c n d w) → |
| 96 | (∀ r ≤ m, ‖iteratedFDeriv ℝ r f (nativeMap a c n d w)‖ ≤ |
| 97 | A*ChartScales.Q n^g*ChartScales.S n^e) → |
| 98 | ‖iteratedFDeriv ℝ m (fun y => PhysicalGraphBounds.character (j:ℝ) |
| 99 | (ActualCurrentCarrierJets.weightedPhase i.1 n (nativeMap a c n d y)) • |
| 100 | f (nativeMap a c n d y)) w‖ ≤ |
| 101 | C*ChartScales.Q n^(g-(m:ℝ)*SharpPhysicalCarrier.derivativeCost h)*ChartScales.S n^p := by |
| 102 | obtain ⟨M,hM,hm⟩ := CurrentPhysicalChartJets.composition_jets (E := E) (b := b) ha m |
| 103 | obtain ⟨C,hC,p,hc⟩ := lift_mode_bound (E := E) (B := B) (N0 := N0) (b := b) |
| 104 | ha Δ m g (M*A) e (by positivity) j |
| 105 | refine ⟨C,hC,p,?_⟩ |
| 106 | intro n hn d hd c i w hw ht hi f hf hfb |
| 107 | have hQ := ChartScales.Q_pos n |
| 108 | have hS := PhysicalGraphBounds.S_ge_one (show 1 ≤ n by omega) |
| 109 | apply hc n hn d hd c i w hw ht hi (f ∘ CurrentPhysicalChartJets.chartMap a c) |
| 110 | (CurrentPhysicalChartJets.composition_smoothNear ha hf) |
| 111 | intro r hr |
| 112 | exact (hm c _ (PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hw) |
| 113 | f hf _ (by positivity) hfb r hr).trans_eq (by ring) |
| 114 | |
| 115 | theorem rotated_mode_bound {a b : ℝ} (ha : 0 < a) (Δ m : ℕ) |
| 116 | (g A : ℝ) (e : ℕ) (hA : 0 ≤ A) (j : ℤ) : |
| 117 | ∃ C : ℝ, 0 ≤ C ∧ ∃ p : ℕ, ∀ n : ℕ, 4 ≤ n → ∀ d : ℕ, d ≤ Δ → |
| 118 | ∀ c : PolarCharts.Index, ∀ i : ActualPhaseJetBounds.CopyIndex B N0, ∀ w : SpaceTime, |
| 119 | PhysicalGraphBounds.scaledRadial n w ∈ PhysicalGraphBounds.annulus a b → |w.1| ≤ 1 → |
| 120 | fullMap a c n d w ∈ ActualPhaseJetBounds.phaseCell n i → |
| 121 | ∀ f : Native → HarmonicCalculus.ComplexVector, SmoothNear f (nativeMap a c n d w) → |
| 122 | (∀ r ≤ m, ‖iteratedFDeriv ℝ r f (nativeMap a c n d w)‖ ≤ |
| 123 | A*ChartScales.Q n^g*ChartScales.S n^e) → |
| 124 | ‖iteratedFDeriv ℝ m (fun y => PhysicalGraphBounds.character (j:ℝ) |
| 125 | (ActualCurrentCarrierJets.weightedPhase i.1 n (nativeMap a c n d y)) • |
| 126 | CurrentPhysicalChartJets.rotated a c f (PhysicalWaveSum.commonLift h n d y)) w‖ ≤ |
| 127 | C*ChartScales.Q n^(g-(m:ℝ)*SharpPhysicalCarrier.derivativeCost h)*ChartScales.S n^p := by |
| 128 | obtain ⟨M,hM,hm⟩ := CurrentPhysicalChartJets.rotated_composition_jets (b := b) ha m |
| 129 | obtain ⟨C,hC,p,hc⟩ := lift_mode_bound (E := HarmonicCalculus.ComplexVector) |
| 130 | (B := B) (N0 := N0) (b := b) ha Δ m g (M*A) e (by positivity) j |
| 131 | refine ⟨C,hC,p,?_⟩ |
| 132 | intro n hn d hd c i w hw ht hi f hf hfb |
| 133 | have hQ := ChartScales.Q_pos n |
| 134 | have hS := PhysicalGraphBounds.S_ge_one (show 1 ≤ n by omega) |
| 135 | have hx := PhysicalClassBounds.commonLift_mem_cylindricalDomain ha h n d w hw |
| 136 | apply hc n hn d hd c i w hw ht hi (CurrentPhysicalChartJets.rotated a c f) |
| 137 | (CurrentPhysicalChartJets.rotated_smoothNear ha hx hf) |
| 138 | intro r hr |
| 139 | exact (hm c _ hx f hf _ (by positivity) hfb r hr).trans_eq (by ring) |
| 140 | |
| 141 | |
| 142 | theorem modulated_smoothNear {E F : Type*} |
| 143 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 144 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 145 | {a : E → F} {Φ : E → ℝ} {x : E} (ha : SmoothNear a x) (hΦ : SmoothNear Φ x) (c : ℝ) : |
| 146 | SmoothNear (fun y => PhysicalGraphBounds.character c (Φ y) • a y) x := by |
| 147 | obtain ⟨U,hU,hxU,ha⟩ := ha |
| 148 | obtain ⟨V,hV,hxV,hΦ⟩ := hΦ |
| 149 | exact ⟨U∩V,hU.inter hV,⟨hxU,hxV⟩, |
| 150 | ((PhysicalGraphBounds.character_smooth c).comp_contDiffOn (hΦ.mono inter_subset_right)).smul |
| 151 | (ha.mono inter_subset_left)⟩ |
| 152 | |
| 153 | theorem rotationMap_complex_smul (z : PhysicalGraphBounds.Plane) |
| 154 | (v : HarmonicCalculus.ComplexVector) (c : ℂ) : |
| 155 | CartesianCopySource.rotationMap z (c • v) = c • CartesianCopySource.rotationMap z v := by |
| 156 | ext i |
| 157 | fin_cases i <;> simp [CartesianCopySource.rotationMap_apply, Pi.smul_apply, Complex.real_smul] <;> ring |
| 158 | |
| 159 | theorem rescaled_log_bound {E F : Type*} |
| 160 | [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 161 | (m : ℕ) (g degree A K : ℝ) (p : ℕ) (hA : 0 ≤ A) (hK : 0 ≤ K) : |
| 162 | ∃ C : ℝ, 0 ≤ C ∧ ∃ P : ℕ, ∀ n : ℕ, 1 ≤ n → ∀ q : ℝ, 0 < q → |
| 163 | q/2 ≤ ChartScales.Q n → ChartScales.Q n ≤ 2*q → |
| 164 | ∀ w : SpaceTime, ∀ f : SpaceTime → E, SmoothNear f w → |
| 165 | ‖iteratedFDeriv ℝ m f w‖ ≤ A*ChartScales.Q n^g*ChartScales.S n^p → |
| 166 | ∀ L : E →L[ℝ] F, ‖L‖ ≤ K → |
| 167 | ‖iteratedFDeriv ℝ m (fun y => ChartScales.Q n^(-degree) • L (f y)) w‖ ≤ |
| 168 | C*q^(g-degree)*(1+|Real.log q|)^P := by |
| 169 | obtain ⟨D,hD,P,hd⟩ := SharpLogWeights.chart_weight_bound (g-degree) p |
| 170 | refine ⟨K*A*D,by positivity,P,?_⟩ |
| 171 | intro n hn q hq hlo hhi w f hf hfb L hL |
| 172 | have hQ := ChartScales.Q_pos n |
| 173 | have hS := PhysicalGraphBounds.S_ge_one hn |
| 174 | have hLf : ContDiffAt ℝ m (L ∘ f) w := |
| 175 | L.contDiff.contDiffAt.comp w (hf.contDiffAt.of_le (nat_le_infty m)) |
| 176 | change ‖iteratedFDeriv ℝ m (fun y => (ChartScales.Q n^(-degree):ℝ) • (L ∘ f) y) w‖ ≤ _ |
| 177 | rw [iteratedFDeriv_const_smul_apply' hLf, |
| 178 | norm_smul (ChartScales.Q n^(-degree):ℝ) (iteratedFDeriv ℝ m (L ∘ f) w), |
| 179 | Real.norm_of_nonneg (Real.rpow_pos_of_pos hQ _).le, |
| 180 | L.iteratedFDeriv_comp_left (hf.contDiffAt.of_le (nat_le_infty m)) le_rfl] |
| 181 | have hj := (L.norm_compContinuousMultilinearMap_le _).trans |
| 182 | (mul_le_mul hL hfb (norm_nonneg _) hK) |
| 183 | apply (mul_le_mul_of_nonneg_left hj (Real.rpow_pos_of_pos hQ _).le).trans |
| 184 | have he : ChartScales.Q n^(-degree)*ChartScales.Q n^g = ChartScales.Q n^(g-degree) := by |
| 185 | rw [← Real.rpow_add hQ] |
| 186 | congr 1 |
| 187 | ring |
| 188 | calc |
| 189 | _ = (K*A)*(ChartScales.Q n^(g-degree)*ChartScales.S n^(p:ℝ)) := by |
| 190 | rw [Real.rpow_natCast, ← he] |
| 191 | ring |
| 192 | _ ≤ (K*A)*(D*q^(g-degree)*(1+|Real.log q|)^P) := |
| 193 | mul_le_mul_of_nonneg_left (hd n hn q hq hlo hhi) (mul_nonneg hK hA) |
| 194 | _ = _ := by ring |
| 195 | |
| 196 | end NavierStokes.SharpCurrentModeJets |