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.PacketActivationHistory |
| 2 | |
| 3 | /-! Actual activation data for the packet's own stationary history. The |
| 4 | terminal coordinate and its signed velocity components are constructed |
| 5 | from the source Dirichlet-to-Neumann argument. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketActivationHistory |
| 10 | |
| 11 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 12 | EulerTransversePacketProvider EulerTimeLp EulerInitialTimePrimitive |
| 13 | EulerVolterraConvolution EulerTransverseEndpointEnergy EulerTransverseEndpointVelocity |
| 14 | EulerTransverseEndpointUniqueness EulerTransverseEndpointParameter EulerTransverseEndpointCoordinates |
| 15 | EulerTransverseInitialCoordinates EulerTransverseFrameCoordinates EulerTransverseSourceCoefficientPath |
| 16 | EulerTransverseActivationSelection EulerTransverseActivationTrial |
| 17 | |
| 18 | variable {U V : Type*} |
| 19 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 20 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 21 | {D : Data U} (B : HistoryData D) |
| 22 | |
| 23 | theorem select_history_coordinate |
| 24 | (R : V →ₗᵢ[ℝ] Space) |
| 25 | (hR : ∀ Y, ⟪D.normal.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0,R Y⟫_ℝ=0) |
| 26 | (hHs : ∀ t, (B.H.field t 0).IsSymmetric) |
| 27 | (h CM CH ε : ℝ) (hh : 0 < h) (hLayer : 1 ≤ h*D.T) |
| 28 | (hCM : 0 ≤ CM) (hCH : 0 ≤ CH) (hε : 0 ≤ ε) |
| 29 | (hM : ∀ t, ‖D.M.field t 0‖ ≤ CM*h) |
| 30 | (hHnorm : ‖B.coefficients.labelHessian 0‖ ≤ CH*h^2) |
| 31 | (p q : V) (hp : ‖p‖=1) (hq : ‖q‖=1) (hpq : ⟪p,q⟫_ℝ=0) |
| 32 | (hεsmall : 16*(activationConstant CM CH+1)*ε ≤ 1) |
| 33 | (hB : ‖terminalPerturbation D.T D.T_pos.le R (pathEvaluation 0 D.M.field) p q h‖ ≤ ε*h) |
| 34 | (hBpp : ⟪terminalPerturbation D.T D.T_pos.le R (pathEvaluation 0 D.M.field) p q h p,p⟫_ℝ < 0) : |
| 35 | ∃ ξ : U, ξ ≠ 0 ∧ |
| 36 | ⟪B.coefficients.labelVelocity 0 ξ ⟨D.T,D.T_pos.le,le_rfl⟩,R q⟫_ℝ=1 ∧ |
| 37 | -8*(activationConstant CM CH+1) ≤ |
| 38 | ⟪B.coefficients.labelVelocity 0 ξ ⟨D.T,D.T_pos.le,le_rfl⟩,R p⟫_ℝ ∧ |
| 39 | ⟪B.coefficients.labelVelocity 0 ξ ⟨D.T,D.T_pos.le,le_rfl⟩,R p⟫_ℝ ≤ 0 ∧ |
| 40 | ‖ξ‖ ≤ (8*(activationConstant CM CH+1)*D.inverseBound)/h := by |
| 41 | let C := B.coefficients |
| 42 | let m : C(Icc (0 : ℝ) D.T,Space) := pathEvaluation 0 D.normal.field |
| 43 | let m₁ : C(Icc (0 : ℝ) D.T,Space) := pathEvaluation 0 D.normalDerivative |
| 44 | let M : C(Icc (0 : ℝ) D.T,Space →L[ℝ] Space) := pathEvaluation 0 D.M.field |
| 45 | have hne : ∀ t, m t ≠ 0 := fun t => HistoryData.normal_ne_zero t 0 |
| 46 | have hdm : ∀ t : Icc (0 : ℝ) D.T, |
| 47 | HasDerivWithinAt (extendPath D.T D.T_pos.le m) (m₁ t) (Icc (0 : ℝ) D.T) t := by |
| 48 | intro t |
| 49 | have hd := D.normal_hasDerivWithinAt t t.property 0 |
| 50 | convert! hd using 1 |
| 51 | simp only [extendPath,projIcc_of_mem D.T_pos.le t.property] |
| 52 | rfl |
| 53 | have hRay : ∀ t, m₁ t = -(M t).adjoint (m t) := fun t => D.normalDerivative_apply t 0 |
| 54 | have hm : ∀ t v, ⟪m t,C.labelFrame 0 t v⟫_ℝ=0 := fun t v => D.frame_tangent t 0 v |
| 55 | have hRange : ∀ t η, ⟪m t,η⟫_ℝ=0 → ∃ v : U, C.labelFrame 0 t v=η := |
| 56 | fun t η ht => D.frame_range t 0 η ht |
| 57 | obtain ⟨Y,hY⟩ := select_actual_activation D.T D.T_pos (C.labelFrame 0) (C.labelFrameDerivative 0) |
| 58 | C.lower C.lower_pos (C.labelFrame_lower 0) (C.labelFrame_derivative 0) |
| 59 | m m₁ hne hdm hm hRange R hR (C.labelHessian 0) hHs |
| 60 | B.potential B.potential_nonneg (C.labelHessian_upper 0) B.small M hRay |
| 61 | h CM CH ε hh hLayer hCM hCH hε hM hHnorm p q hp hq hpq hεsmall hB hBpp |
| 62 | let L := activationTrial D.T D.T_pos.le m m₁ hne R.toContinuousLinearMap h |
| 63 | have hL : ∀ Z t, ⟪D.normal.field t 0,initialPrimitive D.T D.T_pos.le (L Z) t⟫_ℝ=0 := |
| 64 | activationTrial_tangent D.T D.T_pos.le m m₁ hne R.toContinuousLinearMap hdm h |
| 65 | have hLT : ∀ Z, initialPrimitive D.T D.T_pos.le (L Z) ⟨D.T,D.T_pos.le,le_rfl⟩=R Z := |
| 66 | activationTrial_terminal D.T D.T_pos.le m m₁ hne R.toContinuousLinearMap hdm h hLayer hR |
| 67 | obtain ⟨ξ,hξ⟩ := D.frame_range ⟨D.T,D.T_pos.le,le_rfl⟩ 0 (R Y) (hR Y) |
| 68 | have ht : initialRealPrimitive D.T (L Y) D.T = |
| 69 | D.frame.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0 ξ := (hLT Y).trans hξ.symm |
| 70 | have hw := history_eq_stationary_of_terminal B 0 L hL Y ξ ht ⟨D.T,D.T_pos.le,le_rfl⟩ |
| 71 | rcases hY with ⟨_,_,_,_,_,hwq,hwpl,hwpu,hsize⟩ |
| 72 | have hqv : ⟪B.coefficients.labelVelocity 0 ξ ⟨D.T,D.T_pos.le,le_rfl⟩,R q⟫_ℝ=1 := by |
| 73 | rw [hw] |
| 74 | convert! hwq using 1 |
| 75 | simp only [stationaryCorrectedVelocity,stationaryDerivative,L,C,m,M, |
| 76 | extendPath,projIcc_of_mem D.T_pos.le (show D.T ∈ Icc (0 : ℝ) D.T from ⟨D.T_pos.le,le_rfl⟩)] |
| 77 | rfl |
| 78 | have hpl : -8*(activationConstant CM CH+1) ≤ |
| 79 | ⟪B.coefficients.labelVelocity 0 ξ ⟨D.T,D.T_pos.le,le_rfl⟩,R p⟫_ℝ := by |
| 80 | rw [hw] |
| 81 | convert! hwpl using 1 |
| 82 | simp only [stationaryCorrectedVelocity,stationaryDerivative,L,C,m,M, |
| 83 | extendPath,projIcc_of_mem D.T_pos.le (show D.T ∈ Icc (0 : ℝ) D.T from ⟨D.T_pos.le,le_rfl⟩)] |
| 84 | rfl |
| 85 | have hpu : ⟪B.coefficients.labelVelocity 0 ξ ⟨D.T,D.T_pos.le,le_rfl⟩,R p⟫_ℝ ≤ 0 := by |
| 86 | rw [hw] |
| 87 | convert! hwpu using 1 |
| 88 | simp only [stationaryCorrectedVelocity,stationaryDerivative,L,C,m,M, |
| 89 | extendPath,projIcc_of_mem D.T_pos.le (show D.T ∈ Icc (0 : ℝ) D.T from ⟨D.T_pos.le,le_rfl⟩)] |
| 90 | rfl |
| 91 | have hnonzero : ξ ≠ 0 := by |
| 92 | intro hz |
| 93 | rw [hz,map_zero,ContinuousMap.zero_apply,inner_zero_left] at hqv |
| 94 | norm_num at hqv |
| 95 | have hleft : (D.R ξ : Space) = D.FInv.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0 (R Y) := by |
| 96 | have hv := congrArg (D.FInv.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0) hξ |
| 97 | change D.FInv.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0 |
| 98 | (D.F.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0 (D.R ξ : Space)) = _ at hv |
| 99 | rwa [D.inverse_left] at hv |
| 100 | have hnorm : ‖ξ‖ ≤ D.inverseBound*‖Y‖ := by |
| 101 | calc |
| 102 | _ = ‖(D.R ξ : Space)‖ := (D.R.norm_map ξ).symm |
| 103 | _ = ‖D.FInv.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0 (R Y)‖ := congrArg norm hleft |
| 104 | _ ≤ ‖D.FInv.field ⟨D.T,D.T_pos.le,le_rfl⟩ 0‖*‖R Y‖ := le_opNorm _ _ |
| 105 | _ ≤ D.inverseBound*‖R Y‖ := mul_le_mul_of_nonneg_right (D.inverse_norm _ _) (norm_nonneg _) |
| 106 | _ = D.inverseBound*‖Y‖ := by rw [R.norm_map] |
| 107 | refine ⟨ξ,hnonzero,hqv,hpl,hpu,hnorm.trans ?_⟩ |
| 108 | exact (mul_le_mul_of_nonneg_left hsize D.inverseBound_pos.le).trans_eq (by ring) |
| 109 | |
| 110 | end EulerPacketActivationHistory |