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 Euler.PacketPhysicalCoefficients |
| 2 | |
| 3 | /-! Continuity of the actual rescaled moving-frame matrices. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | |
| 8 | namespace EulerPacketMovingFrame |
| 9 | |
| 10 | open Set EulerSmoothLimit EulerPacketNormalizedPrimary EulerPacketRay InnerProductSpace |
| 11 | |
| 12 | theorem rescaledFrame_continuousOn (B D : ℝ → Space →L[ℝ] Space) |
| 13 | {m v : ℝ → Space} {S U : Set ℝ} {t₀ a ε : ℝ} |
| 14 | (hmap : MapsTo (physicalTime t₀ a ε) U S) |
| 15 | (hDc : ContinuousOn D S) |
| 16 | (hm : ∀ t ∈ S, HasDerivWithinAt m (-(B t).adjoint (m t)) S t) |
| 17 | (hv : ∀ t ∈ S, HasDerivWithinAt v (-(B t) (v t)+ |
| 18 | (2*⟪m t,(B t) (v t)⟫_ℝ/‖m t‖^2) • m t) S t) |
| 19 | (hm0 : ∀ t ∈ S, m t ≠ 0) (hv0 : ∀ t ∈ S, v t ≠ 0) |
| 20 | (hmv : ∀ t ∈ S, ⟪m t,v t⟫_ℝ = 0) : |
| 21 | ∀ i j, ContinuousOn (fun τ => rescaledFrame D m v t₀ a ε τ i j) U := by |
| 22 | have ht : ContinuousOn (physicalTime t₀ a ε) U := by unfold physicalTime; fun_prop |
| 23 | have hf : ∀ i, ContinuousOn (fun t => normalizedFrame m v t i) S := by |
| 24 | intro i t hts |
| 25 | exact (normalizedFrame_hasDerivWithinAt (B t) (hm t hts) (hv t hts) |
| 26 | (hm0 t hts) (hv0 t hts) (hmv t hts) i).continuousWithinAt |
| 27 | intro i j |
| 28 | exact ((hf i).comp ht hmap).inner ((hDc.comp ht hmap).clm_apply ((hf j).comp ht hmap)) |
| 29 | |
| 30 | theorem frameSkew_continuousOn {B : ℝ → Fin 3 → Fin 3 → ℝ} {U : Set ℝ} |
| 31 | (hB : ∀ i j, ContinuousOn (fun τ => B τ i j) U) : |
| 32 | ∀ i j, ContinuousOn (fun τ => frameSkew (B τ) i j) U := by |
| 33 | intro i j |
| 34 | unfold frameSkew |
| 35 | split_ifs <;> fun_prop |
| 36 | |
| 37 | theorem scaledRayEntry_continuousOn {M S : ℝ → Fin 3 → Fin 3 → ℝ} {U : Set ℝ} |
| 38 | (a ε : ℝ) (hM : ∀ i j, ContinuousOn (fun τ => M τ i j) U) |
| 39 | (hS : ∀ i j, ContinuousOn (fun τ => S τ i j) U) : |
| 40 | ∀ i j, ContinuousOn (fun τ => scaledRayEntry a ε (M τ) (S τ) i j) U := by |
| 41 | intro i j |
| 42 | unfold scaledRayEntry |
| 43 | fun_prop |
| 44 | |
| 45 | theorem scaledVelocityEntry_continuousOn {M : ℝ → Fin 3 → Fin 3 → ℝ} {U : Set ℝ} |
| 46 | (a ε : ℝ) (hM : ∀ i j, ContinuousOn (fun τ => M τ i j) U) : |
| 47 | ∀ i j, ContinuousOn (fun τ => scaledVelocityEntry a ε (M τ) i j) U := by |
| 48 | intro i j |
| 49 | unfold scaledVelocityEntry |
| 50 | fun_prop |
| 51 | |
| 52 | end EulerPacketMovingFrame |