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.ActualPrimaryDynamics |
| 2 | |
| 3 | /-! |
| 4 | # Exact dynamics of the selected signed unit |
| 5 | |
| 6 | The unit is the actual normalized primary pulse in the selected copy chart. |
| 7 | Its scalar signed amplitude is deliberately absent here. The time equation, |
| 8 | base action, and tangency germ therefore apply to either signed column before |
| 9 | the separate scalar multiplication and compact cutoff. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace NavierStokes.ActualSignedDynamics |
| 15 | |
| 16 | open Set Function Filter HarmonicCalculus |
| 17 | open CorrectionInitialization CorrectionInitialization.ActualPrimary |
| 18 | open ActualPrimaryDynamics |
| 19 | open scoped ContDiff Topology InnerProductSpace BigOperators |
| 20 | |
| 21 | |
| 22 | abbrev Native := ActualSignedGeometry.Native |
| 23 | abbrev Space := ProblemStatement.Space |
| 24 | |
| 25 | variable {B N0 : ℕ} |
| 26 | |
| 27 | /-- The actual unweighted unit, before choosing a periodic copy. -/ |
| 28 | noncomputable def nativeUnit (j : Fin 2) (L : Label B N0) (x : Native) : Space := |
| 29 | PrimaryPulseBounds.normalizedPulse ((phases B N0 j).frame L) |
| 30 | ((phases B N0 j).lam L) ((phases B N0 j).u L) ((phases B N0 j).L L) |
| 31 | (pulseCoordinates L x) |
| 32 | |
| 33 | /-- The selected native unit transported to the full free lift. -/ |
| 34 | noncomputable def unitPulse (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 35 | (k : TorusInverse.Frequency) (x : FullPoint) : Space := |
| 36 | nativeUnit j L (copyPoint j L n k x) |
| 37 | |
| 38 | noncomputable def unitMotion (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 39 | (k : TorusInverse.Frequency) (x : FullPoint) : Space := |
| 40 | (normalScale L n * clockScale L n) • |
| 41 | (phases B N0 j).phase.velocity L (phasePoint L (copyPoint j L n k x)) |
| 42 | |
| 43 | noncomputable def unitAction (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 44 | (k : TorusInverse.Frequency) (x : FullPoint) : Space →L[ℝ] Space := |
| 45 | clockScale L n • PrimaryCopyBridge.baseOperator |
| 46 | ((phases B N0 j).phase.F L (copyPoint j L n k x).1) |
| 47 | ((phases B N0 j).phase.shear L (phasePoint L (copyPoint j L n k x))) |
| 48 | |
| 49 | theorem pulseCoordinates_contDiff (L : Label B N0) : |
| 50 | ContDiff ℝ ∞ (pulseCoordinates L) := |
| 51 | contDiff_fst.prodMk (contDiff_snd.snd.div_const _) |
| 52 | |
| 53 | theorem nativeUnit_contDiffAt (j : Fin 2) (L : Label B N0) {x : Native} |
| 54 | (hp : x.1 ∈ (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 55 | (ht : x.2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) : |
| 56 | ContDiffAt ℝ ∞ (nativeUnit j L) x := by |
| 57 | have hz : pulseCoordinates L x ∈ |
| 58 | (PrimaryPulseBounds.productDomain |
| 59 | (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N) |
| 60 | (fun _ => Ioo (0 : ℝ) 1) (fun _ => isOpen_Ioo)).carrier L := by |
| 61 | exact ⟨hp, by simpa only [pulseCoordinates, length_sign] using ht⟩ |
| 62 | exact (((phases B N0 j).pulse_jets.smooth L).contDiffAt |
| 63 | ((PrimaryPulseBounds.productDomain _ _ _).isOpen L |>.mem_nhds hz)).comp x |
| 64 | (pulseCoordinates_contDiff L).contDiffAt |
| 65 | |
| 66 | theorem unitPulse_contDiffAt (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 67 | (k : TorusInverse.Frequency) {x : FullPoint} |
| 68 | (hp : (copyPoint j L n k x).1 ∈ |
| 69 | (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 70 | (ht : (copyPoint j L n k x).2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) : |
| 71 | ContDiffAt ℝ ∞ (unitPulse j L n k) x := |
| 72 | (nativeUnit_contDiffAt j L hp ht).comp x (copyPoint_smooth j L n k).contDiffAt |
| 73 | |
| 74 | /-- Unnormalizing the slot time gives the actual homogeneous projected ODE. -/ |
| 75 | theorem nativeUnit_hasDerivAt (j : Fin 2) (L : Label B N0) {x : Native} |
| 76 | (hp : x.1 ∈ (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 77 | (ht : x.2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) : |
| 78 | HasDerivAt (fun t => nativeUnit j L (x.1, (x.2.1,t))) |
| 79 | (TangentProjection.projectedRhs |
| 80 | ((phases B N0 j).phase.normal L (phasePoint L x)) |
| 81 | ((phases B N0 j).phase.velocity L (phasePoint L x)) |
| 82 | (nativeUnit j L x) |
| 83 | (PrimaryCopyBridge.baseOperator ((phases B N0 j).phase.F L x.1) |
| 84 | ((phases B N0 j).phase.shear L (phasePoint L x)) (nativeUnit j L x)) |
| 85 | 0 (((phases B N0 j).frame L).viscosity (phasePoint L x))) x.2.2 := by |
| 86 | let P := phases B N0 j |
| 87 | let ell := P.L L |
| 88 | have hL : 0 < ell := P.L_pos L |
| 89 | have hθ : x.2.2 / ell ∈ Ioo (0 : ℝ) 1 := ht |
| 90 | have hd := PrimaryPulseBounds.normalizedPulse_hasDerivAt (P.frame L) (P.lam L) (P.u L) hL |
| 91 | ((PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 92 | ((sourcePair L x.1 hp).coefficient_continuous j) hp ((sourcePair L x.1 hp).kinematics j) hθ |
| 93 | have hv : ell * (x.2.2 / ell) = x.2.2 := mul_div_cancel₀ _ hL.ne' |
| 94 | have htime : x.2.2 ∈ Icc (0 : ℝ) ell := by |
| 95 | have hz := mul_nonneg hL.le hθ.1.le |
| 96 | rw [hv] at hz |
| 97 | exact ⟨hz, (div_le_one hL).mp hθ.2.le⟩ |
| 98 | have hz : phasePoint L x ∈ |
| 99 | ((PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).slot P.V P.openV).carrier L := |
| 100 | ⟨hp, P.interval L htime⟩ |
| 101 | have hd' := hd.scomp x.2.2 ((hasDerivAt_id x.2.2).div_const ell) |
| 102 | simp only [hv, one_div, smul_smul, inv_mul_cancel₀ hL.ne', one_smul] at hd' |
| 103 | have he (t : ℝ) : nativeUnit j L (x.1,(x.2.1,t)) = |
| 104 | PrimaryPulseBounds.normalizedPulse (P.frame L) (P.lam L) (P.u L) ell (x.1,t/ell) := by |
| 105 | simp only [nativeUnit, pulseCoordinates, ell, P, length_sign] |
| 106 | simp only [he] |
| 107 | convert! hd' using 1 |
| 108 | rw [show (P.frame L).normal (x.1,x.2.2) = P.phase.normal L (phasePoint L x) from |
| 109 | frame_normal P L hz, |
| 110 | show (P.frame L).normalMotion (x.1,x.2.2) = P.phase.velocity L (phasePoint L x) from |
| 111 | frame_motion P L hz] |
| 112 | rfl |
| 113 | |
| 114 | /-- The copied unit satisfies the exact equation used by the signed principal. -/ |
| 115 | theorem unitPulse_ode (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 116 | (U : LocalSignedRequest.SlowRegion (2*h)) (k : TorusInverse.Frequency) {x : FullPoint} |
| 117 | (hR : 0 < x.1.1) (hT : 0 < x.1.2.1.1) |
| 118 | (hp : (copyPoint j L n k x).1 ∈ |
| 119 | (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 120 | (ht : (copyPoint j L n k x).2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) |
| 121 | (hc : (copyPoint j L n k x).2 ∈ (clockWindow L).core) : |
| 122 | along ((PrimaryResidualClass.directions (commonContext B)).fastField n) |
| 123 | (unitPulse j L n k) x = |
| 124 | TangentProjection.projectedRhs |
| 125 | ((chartCoefficients j L).normal |
| 126 | (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)) |
| 127 | (PrimaryResidualClass.directions (commonContext B)) n x) |
| 128 | (unitMotion j L n k x) (unitPulse j L n k x) |
| 129 | (unitAction j L n k x (unitPulse j L n k x)) 0 |
| 130 | (ChartScales.epsilon h n * (ChartScales.carrier h n : ℝ)^2 * |
| 131 | ‖(chartCoefficients j L).normal |
| 132 | (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)) |
| 133 | (PrimaryResidualClass.directions (commonContext B)) n x‖^2) := by |
| 134 | have hd := nativeUnit_hasDerivAt j L hp ht |
| 135 | have ha := along_copy j L n k (nativeUnit j L) hd |
| 136 | ((unitPulse_contDiffAt j L n k hp ht).differentiableAt (by simp)) |
| 137 | change along _ (unitPulse j L n k) x = _ at ha |
| 138 | rw [ha, normal_eq_copy j L n U k hR hT hc, damping_scale, frame_viscosity] |
| 139 | have hs := NormalScaling.projectedRhs_rescale |
| 140 | ((phases B N0 j).phase.normal L (phasePoint L (copyPoint j L n k x))) |
| 141 | ((phases B N0 j).phase.velocity L (phasePoint L (copyPoint j L n k x))) |
| 142 | (nativeUnit j L (copyPoint j L n k x)) |
| 143 | (PrimaryCopyBridge.baseOperator ((phases B N0 j).phase.F L (copyPoint j L n k x).1) |
| 144 | ((phases B N0 j).phase.shear L (phasePoint L (copyPoint j L n k x))) |
| 145 | (nativeUnit j L (copyPoint j L n k x))) |
| 146 | (0 : Space) (clockScale L n) 1 |
| 147 | (ChartScales.epsilon h (BaseChartJets.cellBand L) * |
| 148 | (ChartScales.carrier h (BaseChartJets.cellBand L) : ℝ)^2 * |
| 149 | ‖(phases B N0 j).phase.normal L (phasePoint L (copyPoint j L n k x))‖^2) |
| 150 | (normalScale_pos L n).ne' |
| 151 | simpa only [unitMotion, unitPulse, unitAction, _root_.smul_apply, |
| 152 | mul_one, one_smul, smul_zero] using hs.symm |
| 153 | |
| 154 | /-- The action in the unit ODE is exactly the chart's real base shear. -/ |
| 155 | theorem unitPulse_action (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 156 | (k : TorusInverse.Frequency) {x : FullPoint} |
| 157 | (hR : 0 < x.1.1) (hT : 0 < x.1.2.1.1) : |
| 158 | CurlClassBounds.complexify (unitAction j L n k x (unitPulse j L n k x)) = |
| 159 | LinearWaveResidual.shear ((chartCoefficients j L).radius n) |
| 160 | ((chartCoefficients j L).frequencyBase n) ((chartCoefficients j L).axialBase n) |
| 161 | ((PrimaryResidualClass.directions (commonContext B)).radialField n) |
| 162 | (fun y => CurlClassBounds.complexify (unitPulse j L n k y)) x := by |
| 163 | have hh := copy_shear_function j L n k (nativeUnit j L) hR hT |
| 164 | rw [SignedWaveUpdate.shear_smul] at hh |
| 165 | apply (smul_right_injective _ (velocityScale_pos L n).ne') |
| 166 | simpa only [unitAction, unitPulse, _root_.smul_apply, |
| 167 | map_smul, smul_smul, mul_comm] using hh.symm |
| 168 | |
| 169 | /-- The native unit is tangent even at the endpoints of its closed time interval. -/ |
| 170 | theorem nativeUnit_tangent (j : Fin 2) (L : Label B N0) {x : Native} |
| 171 | (hp : x.1 ∈ (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 172 | (ht : x.2.2 / (phases B N0 j).L L ∈ Icc (0 : ℝ) 1) : |
| 173 | ⟪(phases B N0 j).phase.normal L (phasePoint L x), nativeUnit j L x⟫_ℝ = 0 := by |
| 174 | let P := phases B N0 j |
| 175 | let ell := P.L L |
| 176 | have hL : 0 < ell := P.L_pos L |
| 177 | have hθ : x.2.2 / ell ∈ Icc (0 : ℝ) 1 := ht |
| 178 | have hv : ell * (x.2.2 / ell) = x.2.2 := mul_div_cancel₀ _ hL.ne' |
| 179 | have htime : x.2.2 ∈ Icc (0 : ℝ) ell := by |
| 180 | have hz := mul_nonneg hL.le hθ.1 |
| 181 | rw [hv] at hz |
| 182 | exact ⟨hz, (div_le_one hL).mp hθ.2⟩ |
| 183 | have hz : phasePoint L x ∈ |
| 184 | ((PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).slot P.V P.openV).carrier L := |
| 185 | ⟨hp, P.interval L htime⟩ |
| 186 | change ⟪P.phase.normal L (phasePoint L x), |
| 187 | PrimaryPulseBounds.normalizedPulse (P.frame L) (P.lam L) (P.u L) ell |
| 188 | (x.1, x.2.2 / ell)⟫_ℝ = 0 |
| 189 | rw [← frame_normal P L hz] |
| 190 | unfold PrimaryPulseBounds.normalizedPulse |
| 191 | simp only [hv] |
| 192 | exact (P.frame L).ambient_tangent _ _ |
| 193 | |
| 194 | /-- The actual chart normal agrees with its copied native expression on a |
| 195 | neighborhood of every point in the closed clock core. The proof differentiates |
| 196 | the padded plateau's phase germ, so the core itself need not be open. -/ |
| 197 | theorem normal_eq_copy_germ (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 198 | (U : LocalSignedRequest.SlowRegion (2*h)) (k : TorusInverse.Frequency) {x : FullPoint} |
| 199 | (hR : 0 < x.1.1) (hT : 0 < x.1.2.1.1) |
| 200 | (hc : (copyPoint j L n k x).2 ∈ (clockWindow L).core) : |
| 201 | (chartCoefficients j L).normal |
| 202 | (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)) |
| 203 | (PrimaryResidualClass.directions (commonContext B)) n =ᶠ[𝓝 x] |
| 204 | fun y => normalScale L n • |
| 205 | (phases B N0 j).phase.normal L (phasePoint L (copyPoint j L n k y)) := by |
| 206 | filter_upwards [(phase_germ j L n k hc).eventuallyEq_nhds, |
| 207 | (isOpen_lt continuous_const continuous_fst.fst).mem_nhds hR, |
| 208 | (isOpen_lt continuous_const continuous_fst.snd.fst.fst).mem_nhds hT] with y hy hyR hyT |
| 209 | obtain ⟨hF,hG⟩ := native_base_differentiable j L n k hyR hyT |
| 210 | have hp := PrimaryMaterialDefect.differentiableAt_phase |
| 211 | ((phases B N0 j).phase.epsilon L) ((phases B N0 j).phase.p L) |
| 212 | ((phases B N0 j).phase.pz L) ((phases B N0 j).phase.x0 L) |
| 213 | ((phases B N0 j).phase.F L) ((phases B N0 j).phase.G L) (slotPoint j L n k y) hF hG |
| 214 | have hd := (((hp.hasFDerivAt.comp y (slotPoint_hasFDerivAt j L n k y)).const_mul |
| 215 | ((ChartScales.carrier h (BaseChartJets.cellBand L) : ℝ) / (ChartScales.carrier h n : ℝ)))).congr_of_eventuallyEq hy |
| 216 | have htheta : PhaseCalculus.phaseNormal ((phases B N0 j).phase.epsilon L) |
| 217 | ((phases B N0 j).phase.p L) ((phases B N0 j).phase.pz L) ((phases B N0 j).phase.x0 L) |
| 218 | ((phases B N0 j).phase.F L) ((phases B N0 j).phase.G L) (slotPoint j L n k y) = |
| 219 | (phases B N0 j).phase.normal L (phasePoint L (copyPoint j L n k y)) := by |
| 220 | rw [PhaseCalculus.phaseNormal_formula _ _ _ _ _ _ (slotPoint j L n k y) |
| 221 | ((phases B N0 j).epsilon_ne L) hF hG] |
| 222 | unfold PhaseJetBounds.PhaseFamily.normal |
| 223 | simp only [phasePoint] |
| 224 | rw [PhaseCalculus.phaseNormal_formula _ _ _ _ _ _ |
| 225 | ((copyPoint j L n k y).1, ((phases B N0 j).phase.theta L, (copyPoint j L n k y).2.2)) |
| 226 | ((phases B N0 j).epsilon_ne L) hF hG] |
| 227 | rfl |
| 228 | rw [← htheta] |
| 229 | have hrad : (chartCoefficients j L).radius n y = y.1.1 := rfl |
| 230 | have heps : (phases B N0 j).phase.epsilon L = ChartScales.epsilon h (BaseChartJets.cellBand L) := rfl |
| 231 | ext i |
| 232 | fin_cases i <;> |
| 233 | simp [LinearWaveBounds.WaveCoefficients.normal, HarmonicCalculus.phaseNormal, |
| 234 | HarmonicCalculus.along, hd.fderiv, |
| 235 | ContinuousLinearMap.comp_apply, slotLinear_radial, slotLinear_angular j L n y, |
| 236 | slotLinear_axial, map_smul, smul_eq_mul, PiLp.smul_apply, |
| 237 | PhaseCalculus.phaseNormal, normalScale, hrad, heps] |
| 238 | · ring |
| 239 | · rw [slotPoint_radius] |
| 240 | field_simp [(radialScale_pos L n).ne', hyR.ne'] |
| 241 | · ring |
| 242 | |
| 243 | /-- True ambient tangency near every admissible closed-core point. -/ |
| 244 | theorem unitPulse_tangent_germ (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 245 | (U : LocalSignedRequest.SlowRegion (2*h)) (k : TorusInverse.Frequency) {x : FullPoint} |
| 246 | (hR : 0 < x.1.1) (hT : 0 < x.1.2.1.1) |
| 247 | (hp : (copyPoint j L n k x).1 ∈ |
| 248 | (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 249 | (ht : (copyPoint j L n k x).2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) |
| 250 | (hc : (copyPoint j L n k x).2 ∈ (clockWindow L).core) : |
| 251 | (fun y => ⟪(chartCoefficients j L).normal |
| 252 | (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)) |
| 253 | (PrimaryResidualClass.directions (commonContext B)) n y, unitPulse j L n k y⟫_ℝ) |
| 254 | =ᶠ[𝓝 x] fun _ => 0 := by |
| 255 | have hp' := (copyPoint_smooth j L n k).continuous.fst.continuousAt.eventually |
| 256 | ((PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).isOpen L |>.mem_nhds hp) |
| 257 | have ht' := ((copyPoint_smooth j L n k).continuous.snd.snd.div_const |
| 258 | ((phases B N0 j).L L)).continuousAt.eventually (isOpen_Ioo.mem_nhds ht) |
| 259 | filter_upwards [normal_eq_copy_germ j L n U k hR hT hc, hp', ht'] with y hy hyp hyt |
| 260 | rw [hy, inner_smul_left, unitPulse, nativeUnit_tangent j L hyp ⟨hyt.1.le, hyt.2.le⟩, mul_zero] |
| 261 | |
| 262 | theorem unitPulse_tangent (j : Fin 2) (L : Label B N0) (n : ℕ) |
| 263 | (U : LocalSignedRequest.SlowRegion (2*h)) (k : TorusInverse.Frequency) {x : FullPoint} |
| 264 | (hR : 0 < x.1.1) (hT : 0 < x.1.2.1.1) |
| 265 | (hp : (copyPoint j L n k x).1 ∈ |
| 266 | (PrimaryGeometryAssembly.domain nominal (choice B N0).prepared.N).carrier L) |
| 267 | (ht : (copyPoint j L n k x).2.2 / (phases B N0 j).L L ∈ Ioo (0 : ℝ) 1) |
| 268 | (hc : (copyPoint j L n k x).2 ∈ (clockWindow L).core) : |
| 269 | ⟪(chartCoefficients j L).normal |
| 270 | (HarmonicWaveInteraction.productStrip (BaseContextAssembly.nativeStrip nominal U)) |
| 271 | (PrimaryResidualClass.directions (commonContext B)) n x, unitPulse j L n k x⟫_ℝ = 0 := |
| 272 | (unitPulse_tangent_germ j L n U k hR hT hp ht hc).eq_of_nhds |
| 273 | |
| 274 | end NavierStokes.ActualSignedDynamics |