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.PacketActivationFrame |
| 2 | import Euler.PacketActivationRay |
| 3 | import Euler.PacketPrimaryUncut |
| 4 | |
| 5 | /-! Actual center initial data for the geometric propagation theorem. |
| 6 | The selected terminal coordinate drives the same stationary history and |
| 7 | homogeneous continuation used in the constructed packet. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketActivationHistory |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerTransversePacketProvider EulerTransverseActivationSelection |
| 15 | EulerPacketMovingFrame EulerPacketNormalizedPrimary EulerPacketCrossProduct |
| 16 | EulerPacketPrimaryFactorization |
| 17 | |
| 18 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 19 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 20 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 21 | |
| 22 | theorem exists_activated_primary |
| 23 | (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) (hmv : ⟪m τ,v τ⟫_ℝ=0) |
| 24 | (hchoice : D.m₀=activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) |
| 25 | (cross (unit (m τ)) (unit (v τ)))) |
| 26 | (hHs : ∀ t, (B.H.field t 0).IsSymmetric) |
| 27 | (h CM CH ζ a ε : ℝ) (hh : 0 < h) (hLayer : 1 ≤ h*τ) |
| 28 | (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hζ : 0 ≤ ζ) (hε : 0 < ε) |
| 29 | (hM : ∀ t : Icc (0 : ℝ) τ, ‖(D.initial τ hτ hτT.le).M.field t 0‖ ≤ CM*h) |
| 30 | (hHnorm : ‖B.coefficients.labelHessian 0‖ ≤ CH*h^2) |
| 31 | (hζsmall : 16*(activationConstant CM CH+1)*ζ ≤ 1) |
| 32 | (hB : ‖D.M.field ⟨τ,hτ.le,hτT.le⟩ 0- |
| 33 | h • rankOne ℝ (unit (v τ)) (unit (m τ))‖ ≤ ζ*h) |
| 34 | (hBpp : ⟪D.M.field ⟨τ,hτ.le,hτT.le⟩ 0 (unit (m τ)),unit (m τ)⟫_ℝ < 0) : |
| 35 | let s₀ := activationRayScale (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) |
| 36 | (cross (unit (m τ)) (unit (v τ))) |
| 37 | 0 < s₀ ∧ |
| 38 | scaledRay m v (fun s => D.normal.field (D.clamp s) 0) s₀ τ a ε 0 = ![0,0,1] ∧ |
| 39 | ∃ ξ : U, ∃ lam : ℝ, ξ ≠ 0 ∧ 0 ≤ lam ∧ |
| 40 | lam ≤ 8*(activationConstant CM CH+1)/ε ∧ |
| 41 | ‖ξ‖ ≤ (8*(activationConstant CM CH+1)*D.inverseBound)/h ∧ |
| 42 | scaledVelocity m v (fun s => uncutVelocity τ hτ hτT B ξ s 0) τ a ε 0 0 = -lam ∧ |
| 43 | scaledVelocity m v (fun s => uncutVelocity τ hτ hτT B ξ s 0) τ a ε 0 1 = 1 := by |
| 44 | dsimp only |
| 45 | have hnormal := actual_normal_of_activation_choice D ⟨τ,hτ.le,hτT.le⟩ 0 _ hchoice |
| 46 | have hp : ⟪(D.initial τ hτ hτT.le).normal.field ⟨τ,hτ.le,le_rfl⟩ 0,unit (m τ)⟫_ℝ=0 := by |
| 47 | change ⟪D.normal.field ⟨τ,hτ.le,hτT.le⟩ 0,unit (m τ)⟫_ℝ=0 |
| 48 | rw [hnormal,real_inner_smul_left,real_inner_comm,inner_cross_first,mul_zero] |
| 49 | have hq : ⟪(D.initial τ hτ hτT.le).normal.field ⟨τ,hτ.le,le_rfl⟩ 0,unit (v τ)⟫_ℝ=0 := by |
| 50 | change ⟪D.normal.field ⟨τ,hτ.le,hτT.le⟩ 0,unit (v τ)⟫_ℝ=0 |
| 51 | rw [hnormal,real_inner_smul_left,real_inner_comm,inner_cross_second,mul_zero] |
| 52 | obtain ⟨ξ,hξ,hqξ,hplo,hphi,hξnorm⟩ := select_physical_history_coordinate B hHs |
| 53 | h CM CH ζ hh hLayer hCM hCH hζ hM hHnorm |
| 54 | (unit (m τ)) (unit (v τ)) (unit_norm hm) (unit_norm hv) (unit_inner_zero hmv) |
| 55 | hp hq hζsmall hB hBpp |
| 56 | have hs := actual_activation_scaled_ray D m v ⟨τ,hτ.le,hτT.le⟩ a ε hm hv hmv hchoice |
| 57 | refine ⟨hs.1,hs.2,ξ,-⟪B.coefficients.labelVelocity 0 ξ ⟨τ,hτ.le,le_rfl⟩,unit (m τ)⟫_ℝ/ε, |
| 58 | hξ,?_⟩ |
| 59 | have hw : uncutVelocity τ hτ hτT B ξ τ 0 = B.coefficients.labelVelocity 0 ξ ⟨τ,hτ.le,le_rfl⟩ := |
| 60 | uncutVelocity_history τ hτ hτT B ξ ⟨τ,hτ.le,le_rfl⟩ 0 |
| 61 | have hpw : ⟪unit (m τ),uncutVelocity τ hτ hτT B ξ τ 0⟫_ℝ = |
| 62 | ⟪B.coefficients.labelVelocity 0 ξ ⟨τ,hτ.le,le_rfl⟩,unit (m τ)⟫_ℝ := by |
| 63 | rw [hw,real_inner_comm] |
| 64 | have hqw : ⟪unit (v τ),uncutVelocity τ hτ hτT B ξ τ 0⟫_ℝ=1 := by |
| 65 | rw [hw,real_inner_comm] |
| 66 | exact hqξ |
| 67 | have hplo' : -(8*(activationConstant CM CH+1)) ≤ |
| 68 | ⟪B.coefficients.labelVelocity 0 ξ ⟨τ,hτ.le,le_rfl⟩,unit (m τ)⟫_ℝ := by |
| 69 | convert! hplo using 1 |
| 70 | ring |
| 71 | have hvinit := activation_scaled_velocity (a := a) hε hplo' hphi hpw hqw |
| 72 | refine ⟨hvinit.1,hvinit.2.1,?_,hvinit.2.2.1,hvinit.2.2.2⟩ |
| 73 | apply hξnorm.trans |
| 74 | apply div_le_div_of_nonneg_right _ hh.le |
| 75 | exact mul_le_mul_of_nonneg_left (D.initial_inverseBound_le τ hτ hτT.le) (by |
| 76 | unfold activationConstant |
| 77 | positivity) |
| 78 | |
| 79 | end EulerPacketActivationHistory |