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.PacketScaledVelocity |
| 2 | |
| 3 | /-! The physical activation data give the scaled initial conditions. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | |
| 8 | namespace EulerPacketMovingFrame |
| 9 | |
| 10 | open EulerSmoothLimit EulerPacketNormalizedPrimary EulerPacketCrossProduct |
| 11 | EulerPacketRay InnerProductSpace |
| 12 | |
| 13 | theorem scaledRay_initial {m v r : ℝ → Space} {s₀ t₀ a ε : ℝ} |
| 14 | (hs₀ : s₀ ≠ 0) (hm0 : m t₀ ≠ 0) (hv0 : v t₀ ≠ 0) (hmv : ⟪m t₀,v t₀⟫_ℝ = 0) |
| 15 | (hr : r t₀ = s₀ • cross (unit (m t₀)) (unit (v t₀))) : |
| 16 | scaledRay m v r s₀ t₀ a ε 0 = ![0,0,1] := by |
| 17 | have horth := orthonormal_iff_ite.mp (frame_orthonormal (unit (m t₀)) (unit (v t₀)) |
| 18 | (unit_inner_self hm0) (unit_inner_self hv0) (unit_inner_zero hmv)) |
| 19 | have hc (i : Fin 3) : movingRay m v r t₀ i = s₀*(if i = 2 then 1 else 0) := by |
| 20 | change ⟪frame (unit (m t₀)) (unit (v t₀)) i,r t₀⟫_ℝ = _ |
| 21 | rw [hr] |
| 22 | change ⟪frame (unit (m t₀)) (unit (v t₀)) i, |
| 23 | s₀ • frame (unit (m t₀)) (unit (v t₀)) 2⟫_ℝ = _ |
| 24 | rw [real_inner_smul_right, horth] |
| 25 | funext i |
| 26 | fin_cases i <;> norm_num [scaledRay, physicalTime, hc, rayScale, Fin.ext_iff, hs₀] |
| 27 | |
| 28 | /-- The signed physical `p` component in (26) becomes a nonnegative |
| 29 | scalar initial slope, with the expected factor `ε⁻¹`. -/ |
| 30 | theorem activation_scaled_velocity {m v w : ℝ → Space} {t₀ a ε C γ : ℝ} |
| 31 | (hε : 0 < ε) (hγlo : -C ≤ γ) (hγhi : γ ≤ 0) |
| 32 | (hp : ⟪unit (m t₀),w t₀⟫_ℝ = γ) (hq : ⟪unit (v t₀),w t₀⟫_ℝ = 1) : |
| 33 | 0 ≤ -γ/ε ∧ -γ/ε ≤ C/ε ∧ |
| 34 | scaledVelocity m v w t₀ a ε 0 0 = -(-γ/ε) ∧ |
| 35 | scaledVelocity m v w t₀ a ε 0 1 = 1 := by |
| 36 | have hu : scaledVelocity m v w t₀ a ε 0 0 = γ/ε := by |
| 37 | norm_num [scaledVelocity, movingVelocity, physicalTime, normalizedFrame, frame, |
| 38 | velocityScale, Fin.ext_iff, hp] |
| 39 | have hv : scaledVelocity m v w t₀ a ε 0 1 = 1 := by |
| 40 | norm_num [scaledVelocity, movingVelocity, physicalTime, normalizedFrame, frame, |
| 41 | velocityScale, Fin.ext_iff, hq] |
| 42 | refine ⟨div_nonneg (neg_nonneg.mpr hγhi) hε.le, |
| 43 | div_le_div_of_nonneg_right (by linarith only [hγlo]) hε.le, ?_, hv⟩ |
| 44 | rw [hu] |
| 45 | ring |
| 46 | |
| 47 | theorem activation_tangent_pairing {m v r w : ℝ → Space} {s₀ t₀ : ℝ} |
| 48 | (hr : r t₀ = s₀ • cross (unit (m t₀)) (unit (v t₀))) |
| 49 | (hw : ⟪cross (unit (m t₀)) (unit (v t₀)),w t₀⟫_ℝ = 0) : |
| 50 | ⟪r t₀,w t₀⟫_ℝ = 0 := by |
| 51 | rw [hr, real_inner_smul_left, hw, mul_zero] |
| 52 | |
| 53 | end EulerPacketMovingFrame |