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.PacketActivationInitial |
| 2 | import Euler.PacketActivationLipschitz |
| 3 | |
| 4 | /-! The actual source normal and the same selected terminal coordinate |
| 5 | give the scaled neighboring-label initial errors. Their constants only |
| 6 | involve coefficient norms, the terminal size, and the stated scaling. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketActivationHistory |
| 11 | |
| 12 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerTransversePacketProvider EulerTransverseActivationSelection |
| 14 | EulerPacketMovingFrame EulerPacketNormalizedPrimary EulerPacketCrossProduct |
| 15 | EulerPacketPrimaryFactorization EulerPacketRay |
| 16 | |
| 17 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 18 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 19 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 20 | |
| 21 | theorem uncutVelocity_activation_difference (ξ : U) (x y : Space) : |
| 22 | ‖uncutVelocity τ hτ hτT B ξ τ x-uncutVelocity τ hτ hτT B ξ τ y‖ ≤ |
| 23 | historyLabelDifferenceCost B*‖x-y‖*‖ξ‖ := by |
| 24 | have hx := uncutVelocity_history τ hτ hτT B ξ ⟨τ,hτ.le,le_rfl⟩ x |
| 25 | have hy := uncutVelocity_history τ hτ hτT B ξ ⟨τ,hτ.le,le_rfl⟩ y |
| 26 | change uncutVelocity τ hτ hτT B ξ τ x = _ at hx |
| 27 | change uncutVelocity τ hτ hτT B ξ τ y = _ at hy |
| 28 | rw [hx,hy] |
| 29 | exact labelVelocity_point_difference B x y ξ ⟨τ,hτ.le,le_rfl⟩ |
| 30 | |
| 31 | theorem actual_scaled_velocity_initial_error |
| 32 | (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) |
| 33 | (ξ : U) (a ε lam : ℝ) (hε : 0 < ε) (hε1 : ε ≤ 1) |
| 34 | (hu : scaledVelocity m v (fun s => uncutVelocity τ hτ hτT B ξ s 0) τ a ε 0 0 = -lam) |
| 35 | (hw : scaledVelocity m v (fun s => uncutVelocity τ hτ hτT B ξ s 0) τ a ε 0 1 = 1) |
| 36 | (x : Space) : |
| 37 | |scaledVelocity m v (fun s => uncutVelocity τ hτ hτT B ξ s x) τ a ε 0 1-1|+ |
| 38 | |scaledVelocity m v (fun s => uncutVelocity τ hτ hτT B ξ s x) τ a ε 0 0+lam| ≤ |
| 39 | 2*historyLabelDifferenceCost B*‖x‖*‖ξ‖/ε := by |
| 40 | have hd := uncutVelocity_activation_difference τ hτ hτT B ξ x 0 |
| 41 | rw [sub_zero] at hd |
| 42 | have he := scaledVelocity_initial_difference_le (m := m) (v := v) |
| 43 | (x := fun s => uncutVelocity τ hτ hτT B ξ s x) |
| 44 | (y := fun s => uncutVelocity τ hτ hτT B ξ s 0) (t₀ := τ) (a := a) (ε := ε) |
| 45 | hm hv hε hε1 hd |
| 46 | rw [hu,hw,sub_neg_eq_add] at he |
| 47 | convert! he using 1 <;> ring |
| 48 | |
| 49 | omit [CompleteSpace U] in |
| 50 | theorem actual_scaled_ray_initial_error |
| 51 | (m v : ℝ → Space) (hm : m τ ≠ 0) (hv : v τ ≠ 0) (hmv : ⟪m τ,v τ⟫_ℝ=0) |
| 52 | (hchoice : D.m₀=activationDirection (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) |
| 53 | (cross (unit (m τ)) (unit (v τ)))) |
| 54 | (a ε : ℝ) (hε : 0 < ε) (hε1 : ε ≤ 1) (x : Space) : |
| 55 | let s₀ := activationRayScale (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) |
| 56 | (cross (unit (m τ)) (unit (v τ))) |
| 57 | norm3 (scaledRay m v (fun s => D.normal.field (D.clamp s) x) s₀ τ a ε 0 0) |
| 58 | (scaledRay m v (fun s => D.normal.field (D.clamp s) x) s₀ τ a ε 0 1) |
| 59 | (scaledRay m v (fun s => D.normal.field (D.clamp s) x) s₀ τ a ε 0 2-1) ≤ |
| 60 | 3*‖D.normal.derivative.field‖*‖x‖/(s₀*ε) := by |
| 61 | dsimp only |
| 62 | have hs := actual_activation_scaled_ray D m v ⟨τ,hτ.le,hτT.le⟩ a ε hm hv hmv hchoice |
| 63 | have hn := actual_normal_of_activation_choice D ⟨τ,hτ.le,hτT.le⟩ 0 _ hchoice |
| 64 | have hd := coefficient_difference D.normal ⟨τ,hτ.le,hτT.le⟩ x 0 |
| 65 | rw [sub_zero,hn] at hd |
| 66 | have hclamp : D.clamp τ = ⟨τ,hτ.le,hτT.le⟩ := Data.clamp_coe D ⟨τ,hτ.le,hτT.le⟩ |
| 67 | have hd' : ‖D.normal.field (D.clamp τ) x- |
| 68 | activationRayScale (D.deformationEquiv ⟨τ,hτ.le,hτT.le⟩ 0) |
| 69 | (cross (unit (m τ)) (unit (v τ))) • cross (unit (m τ)) (unit (v τ))‖ ≤ |
| 70 | ‖D.normal.derivative.field‖*‖x‖ := by rw [hclamp]; exact hd |
| 71 | convert! scaledRay_initial_error (m := m) (v := v) |
| 72 | (r := fun s => D.normal.field (D.clamp s) x) (t₀ := τ) (a := a) (ε := ε) |
| 73 | hs.1 hm hv hmv hε hε1 hd' using 1 |
| 74 | ring |
| 75 | |
| 76 | end EulerPacketActivationHistory |