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.LocalPhysicalCopyBounds |
| 2 | |
| 3 | /-! |
| 4 | # Cartesian source classes for actual native copies |
| 5 | |
| 6 | The cylindrical radius and the Cartesian rotation are evaluated directly on |
| 7 | the lift. Their derivatives are bounded on a fixed annulus, and the original |
| 8 | flat weight is pulled back exactly. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | open Set Function Filter |
| 14 | open scoped Topology ContDiff |
| 15 | |
| 16 | namespace NavierStokes.CartesianCopySource |
| 17 | |
| 18 | open WeightedClasses LabelSumBounds PhysicalClassBounds |
| 19 | |
| 20 | abbrev Plane := PhysicalGraphBounds.Plane |
| 21 | abbrev LiftPoint := PhysicalWaveSum.LiftPoint |
| 22 | abbrev Native := PhysicalClassBounds.CylindricalPoint |
| 23 | abbrev ComplexVector := HarmonicCalculus.ComplexVector |
| 24 | |
| 25 | private theorem nat_le_infty (m : ℕ) : (m : WithTop ℕ∞) ≤ ∞ := |
| 26 | ENat.natCast_le_of_coe_top_le_withTop le_rfl m |
| 27 | |
| 28 | theorem cylindricalMap_continuous : Continuous cylindricalMap := |
| 29 | ((Real.continuous_sqrt.comp ((continuous_fst.pow 2).add (continuous_snd.pow 2))).comp |
| 30 | PhysicalGraphBounds.liftXY.continuous).prodMk slowFast.continuous |
| 31 | |
| 32 | /-- Restriction to a padded annulus and the genuine native domain. The |
| 33 | weight, edge distance, viscosity and slow scales are unchanged by pullback. -/ |
| 34 | noncomputable def pullStrip (s : StripData Native) (a b : ℝ) (ha : 0 < a) : StripData LiftPoint where |
| 35 | domain := cylindricalDomain a b ∩ cylindricalMap ⁻¹' s.domain |
| 36 | isOpen_domain := (cylindricalDomain_open a b).inter (s.isOpen_domain.preimage cylindricalMap_continuous) |
| 37 | epsilon := s.epsilon |
| 38 | epsilon_pos := s.epsilon_pos |
| 39 | epsilon_le_one := s.epsilon_le_one |
| 40 | slow := s.slow |
| 41 | one_le_slow := s.one_le_slow |
| 42 | delta x := s.delta (cylindricalMap x) |
| 43 | delta_pos _ hx := s.delta_pos _ hx.2 |
| 44 | zeta x := s.zeta (cylindricalMap x) |
| 45 | zeta_smooth := s.zeta_smooth.comp ((cylindricalMap_smooth ha).mono inter_subset_left) (fun _ hx => hx.2) |
| 46 | zeta_nonneg _ hx := s.zeta_nonneg _ hx.2 |
| 47 | |
| 48 | @[simp] theorem pullStrip_zeta (s : StripData Native) (a b : ℝ) (ha : 0 < a) (x : LiftPoint) : |
| 49 | (pullStrip s a b ha).zeta x = s.zeta (cylindricalMap x) := rfl |
| 50 | |
| 51 | @[simp] theorem pullStrip_growth (s : StripData Native) (a b : ℝ) (ha : 0 < a) |
| 52 | (n : ℕ) (x : LiftPoint) : |
| 53 | (pullStrip s a b ha).growth n x = s.growth n (cylindricalMap x) := rfl |
| 54 | |
| 55 | section Pullback |
| 56 | |
| 57 | variable {ι : Type*} {E : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 58 | {s : StripData Native} {w : ι → ℕ → Native → ℝ} {f : ι → ℕ → Native → E} {α : ℝ} |
| 59 | {a b : ℝ} (ha : 0 < a) |
| 60 | |
| 61 | /-- Constants are chosen before labels, bands and copies. No positive |
| 62 | minimum of the flat weight occurs in this composition argument. -/ |
| 63 | theorem uniform_pullback (hf : UniformClass s w α f) : |
| 64 | UniformClass (pullStrip s a b ha) (fun l n x => w l n (cylindricalMap x)) α |
| 65 | (fun l n x => f l n (cylindricalMap x)) := by |
| 66 | refine ⟨fun l n x hx => hf.weight_nonneg l n _ hx.2, |
| 67 | fun l n => (hf.smooth l n).comp ((cylindricalMap_smooth ha).mono inter_subset_left) |
| 68 | (fun _ hx => hx.2), ?_⟩ |
| 69 | intro m |
| 70 | obtain ⟨C, hC, p, hbound⟩ := hf.bounds m |
| 71 | obtain ⟨B, hB, hmap⟩ := cylindricalMap_positiveJets (b := b) ha m |
| 72 | refine ⟨(m.factorial : ℝ) * C * B ^ m, by positivity, p, ?_⟩ |
| 73 | intro l n x hx j hj |
| 74 | have hA := majorant_nonneg s (w l) α hC p n (cylindricalMap x) (hf.weight_nonneg l n _ hx.2) |
| 75 | have hb := LocalPhysicalCopyBounds.composition_jet_bound_on |
| 76 | (pullStrip s a b ha).isOpen_domain s.isOpen_domain (hf.smooth l n) |
| 77 | ((cylindricalMap_smooth ha).mono inter_subset_left) (fun _ hz => hz.2) hx m hA hB |
| 78 | (hbound l n _ hx.2) (hmap x hx.1) j hj |
| 79 | exact hb.trans_eq (by change _ = (m.factorial : ℝ) * C * B ^ m * s.epsilon n ^ α * s.growth n (cylindricalMap x) ^ p * w l n (cylindricalMap x); unfold majorant; ring) |
| 80 | |
| 81 | variable {cL cR L : ℝ} {ρ : Native → ℝ} |
| 82 | |
| 83 | theorem flatGeometry_pullback (hflat : FlatGeometry s cL cR L ρ) : |
| 84 | FlatGeometry (pullStrip s a b ha) cL cR L (fun x => ρ (cylindricalMap x)) := |
| 85 | ⟨hflat.left_pos, hflat.right_pos, fun _ hx => hflat.position _ hx.2, |
| 86 | fun _ hx => hflat.delta_eq _ hx.2, fun _ hx => hflat.zeta_eq _ hx.2⟩ |
| 87 | |
| 88 | theorem sourceBounds_pullback {h : ℝ} (hf : LocalPhysicalCopyBounds.LocalSourceBounds s h α w f) : |
| 89 | LocalPhysicalCopyBounds.LocalSourceBounds (pullStrip s a b ha) h α |
| 90 | (fun l n x => w l n (cylindricalMap x)) (fun l n x => f l n (cylindricalMap x)) := by |
| 91 | refine ⟨uniform_pullback ha hf.uniform, ?_, ?_, hf.epsilon_eq, hf.slow_le⟩ |
| 92 | · obtain ⟨cL, cR, L, ρ, hflat⟩ := hf.flat_geometry |
| 93 | exact ⟨cL, cR, L, _, flatGeometry_pullback ha hflat⟩ |
| 94 | · obtain ⟨c, hc, hb⟩ := hf.weight_le |
| 95 | exact ⟨c, hc, fun l n x hx => hb l n _ hx.2⟩ |
| 96 | |
| 97 | end Pullback |
| 98 | |
| 99 | /-! ## Actual Cartesian rotation -/ |
| 100 | |
| 101 | noncomputable def horizontal : ComplexVector →L[ℝ] ComplexVector := |
| 102 | ContinuousLinearMap.pi ![ContinuousLinearMap.proj 0, ContinuousLinearMap.proj 1, 0] |
| 103 | |
| 104 | noncomputable def connection : ComplexVector →L[ℝ] ComplexVector := |
| 105 | ContinuousLinearMap.pi ![-ContinuousLinearMap.proj 1, ContinuousLinearMap.proj 0, 0] |
| 106 | |
| 107 | noncomputable def vertical : ComplexVector →L[ℝ] ComplexVector := |
| 108 | ContinuousLinearMap.pi ![0, 0, ContinuousLinearMap.proj 2] |
| 109 | |
| 110 | noncomputable def rotationMap (y : Plane) : ComplexVector →L[ℝ] ComplexVector := |
| 111 | (y.1 / cartesianRadius y) • horizontal + (y.2 / cartesianRadius y) • connection + vertical |
| 112 | |
| 113 | theorem rotationMap_apply (y : Plane) (v : ComplexVector) : |
| 114 | rotationMap y v = ![(y.1 / cartesianRadius y : ℝ) • v 0 - (y.2 / cartesianRadius y : ℝ) • v 1, |
| 115 | (y.2 / cartesianRadius y : ℝ) • v 0 + (y.1 / cartesianRadius y : ℝ) • v 1, v 2] := by |
| 116 | ext i |
| 117 | fin_cases i <;> simp [rotationMap, horizontal, connection, vertical, sub_eq_add_neg, add_comm] |
| 118 | |
| 119 | theorem rotationMap_smooth : ContDiffOn ℝ ∞ rotationMap {y : Plane | y ≠ 0} := by |
| 120 | have hr : ∀ y : Plane, y ≠ 0 → cartesianRadius y ≠ 0 := by |
| 121 | intro y hy |
| 122 | exact (Real.sqrt_pos.mpr (PhysicalGraphBounds.sum_sq_pos hy)).ne' |
| 123 | exact (((contDiffOn_fst.div cartesianRadius_smooth hr).smul contDiffOn_const).add |
| 124 | ((contDiffOn_snd.div cartesianRadius_smooth hr).smul contDiffOn_const)).add contDiffOn_const |
| 125 | |
| 126 | /-- Actual all-order rotation jets have uniform bounds on the padded |
| 127 | annulus, independently of every slow and auxiliary coordinate. -/ |
| 128 | theorem rotationMap_jets {a b : ℝ} (ha : 0 < a) (m : ℕ) : |
| 129 | ∃ C : ℝ, 1 ≤ C ∧ ∀ x ∈ cylindricalDomain a b, ∀ j ≤ m, |
| 130 | ‖iteratedFDeriv ℝ j (fun y => rotationMap (PhysicalGraphBounds.liftXY y)) x‖ ≤ C := by |
| 131 | obtain ⟨C, hC, hb⟩ := PhysicalGraphBounds.compact_jet_bound |
| 132 | PhysicalGraphBounds.axisFree_open rotationMap_smooth |
| 133 | (PhysicalGraphBounds.isCompact_annulus (a / 2) (b + 1)) |
| 134 | (PhysicalGraphBounds.annulus_axisFree (half_pos ha)) m |
| 135 | refine ⟨C, hC, ?_⟩ |
| 136 | intro x hx j hj |
| 137 | have hann : PhysicalGraphBounds.liftXY x ∈ PhysicalGraphBounds.annulus (a / 2) (b + 1) := by |
| 138 | refine ⟨?_, hx.1.le⟩ |
| 139 | simpa only [Metric.mem_closedBall, dist_zero_right] using hx.2.le |
| 140 | exact (PhysicalGraphBounds.norm_jet_comp_linear PhysicalGraphBounds.axisFree_open rotationMap_smooth |
| 141 | PhysicalGraphBounds.liftXY (cylindricalDomain_axisFree ha hx) j).trans |
| 142 | ((mul_le_mul (hb j hj _ hann) |
| 143 | (pow_le_one₀ (norm_nonneg _) PhysicalGraphBounds.norm_liftXY_le) |
| 144 | (by positivity) (zero_le_one.trans hC)).trans_eq (mul_one C)) |
| 145 | |
| 146 | theorem rotation_uniform {ι : Type*} (s : StripData Native) {a b : ℝ} (ha : 0 < a) : |
| 147 | UniformClass (pullStrip s a b ha) (fun (_ : ι) _ _ => 1) 0 |
| 148 | (fun _ _ x => rotationMap (PhysicalGraphBounds.liftXY x)) := by |
| 149 | refine ⟨fun _ _ _ _ => zero_le_one, fun _ _ => rotationMap_smooth.comp |
| 150 | PhysicalGraphBounds.liftXY.contDiff.contDiffOn (fun _ hx => cylindricalDomain_axisFree ha hx.1), ?_⟩ |
| 151 | intro m |
| 152 | obtain ⟨C, hC, hb⟩ := rotationMap_jets (b := b) ha m |
| 153 | refine ⟨C, zero_le_one.trans hC, 0, ?_⟩ |
| 154 | intro l n x hx j hj |
| 155 | simpa only [majorant, Real.rpow_zero, pow_zero, mul_one] using hb x hx.1 j hj |
| 156 | |
| 157 | noncomputable def rotatedSource {ι : Type*} (f : ι → ℕ → Native → ComplexVector) |
| 158 | (l : ι) (n : ℕ) (x : LiftPoint) : ComplexVector := |
| 159 | rotationMap (PhysicalGraphBounds.liftXY x) (f l n (cylindricalMap x)) |
| 160 | |
| 161 | theorem uniform_rotated {ι : Type*} {s : StripData Native} {w : ι → ℕ → Native → ℝ} |
| 162 | {f : ι → ℕ → Native → ComplexVector} {α a b : ℝ} (ha : 0 < a) |
| 163 | (hf : UniformClass s w α f) : |
| 164 | UniformClass (pullStrip s a b ha) (fun l n x => w l n (cylindricalMap x)) α (rotatedSource f) := by |
| 165 | have he := (rotation_uniform (ι := ι) s (b := b) ha).bilinear (uniform_pullback ha hf) |
| 166 | (ContinuousLinearMap.apply ℝ ComplexVector).flip |
| 167 | simp only [one_mul, zero_add, ContinuousLinearMap.flip_apply, ContinuousLinearMap.apply_apply] at he ⊢ |
| 168 | exact he |
| 169 | |
| 170 | theorem sourceBounds_rotated {ι : Type*} {s : StripData Native} {w : ι → ℕ → Native → ℝ} |
| 171 | {f : ι → ℕ → Native → ComplexVector} {α h a b : ℝ} (ha : 0 < a) |
| 172 | (hf : LocalPhysicalCopyBounds.LocalSourceBounds s h α w f) : |
| 173 | LocalPhysicalCopyBounds.LocalSourceBounds (pullStrip s a b ha) h α |
| 174 | (fun l n x => w l n (cylindricalMap x)) (rotatedSource f) := by |
| 175 | have hp := sourceBounds_pullback (b := b) ha hf |
| 176 | exact ⟨uniform_rotated ha hf.uniform, hp.flat_geometry, hp.weight_le, hp.epsilon_eq, hp.slow_le⟩ |
| 177 | |
| 178 | theorem sourceBounds_rotated_component {ι : Type*} {s : StripData Native} {w : ι → ℕ → Native → ℝ} |
| 179 | {f : ι → ℕ → Native → ComplexVector} {α h a b : ℝ} (ha : 0 < a) |
| 180 | (hf : LocalPhysicalCopyBounds.LocalSourceBounds s h α w f) (i : Fin 3) : |
| 181 | LocalPhysicalCopyBounds.LocalSourceBounds (pullStrip s a b ha) h α |
| 182 | (fun l n x => w l n (cylindricalMap x)) (fun l n x => rotatedSource f l n x i) := by |
| 183 | have hp := sourceBounds_rotated (b := b) ha hf |
| 184 | exact ⟨hp.uniform.map (ContinuousLinearMap.proj i), hp.flat_geometry, |
| 185 | hp.weight_le, hp.epsilon_eq, hp.slow_le⟩ |
| 186 | |
| 187 | end NavierStokes.CartesianCopySource |