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.PacketPrimaryUncut |
| 2 | import Euler.TransverseActivationSelection |
| 3 | import Euler.TransverseEndpointUniqueness |
| 4 | |
| 5 | /-! The stationary path selected by the actual activation argument is the |
| 6 | same history used by the packet, after matching its physical terminal trace. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketActivationHistory |
| 11 | |
| 12 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerTransversePacketProvider EulerTimeLp EulerInitialTimePrimitive |
| 14 | EulerVolterraConvolution EulerTransverseEndpointEnergy EulerTransverseEndpointVelocity |
| 15 | EulerTransverseEndpointUniqueness EulerTransverseEndpointParameter EulerTransverseEndpointCoordinates |
| 16 | EulerTransverseInitialCoordinates EulerTransverseFrameCoordinates EulerTransverseSourceCoefficientPath |
| 17 | EulerTransverseActivationSelection EulerTransverseActivationTrial |
| 18 | |
| 19 | variable {U V : Type*} |
| 20 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 21 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 22 | {D : Data U} (B : HistoryData D) (x : Space) |
| 23 | |
| 24 | def stationaryDerivative (L : V →L[ℝ] TimeLp D.T Space) : V →L[ℝ] TimeLp D.T Space := |
| 25 | endpointDerivative D.T D.T_pos.le (fun t => D.normal.field t x) |
| 26 | (B.coefficients.labelHessian x) B.potential B.potential_nonneg |
| 27 | (B.coefficients.labelHessian_upper x) B.small L |
| 28 | |
| 29 | def stationaryCorrectedVelocity (L : V →L[ℝ] TimeLp D.T Space) (Y : V) |
| 30 | (t : Icc (0 : ℝ) D.T) : Space := |
| 31 | physicalVelocityPath D.T D.T_pos.le (B.coefficients.labelFrame x) |
| 32 | (B.coefficients.labelFrameDerivative x) B.coefficients.lower B.coefficients.lower_pos |
| 33 | (B.coefficients.labelFrame_lower x) (B.coefficients.labelHessian x) |
| 34 | (stationaryDerivative B x L Y) t - |
| 35 | D.M.field t x (initialRealPrimitive D.T (stationaryDerivative B x L Y) t) |
| 36 | |
| 37 | theorem history_eq_stationary_of_terminal (L : V →L[ℝ] TimeLp D.T Space) |
| 38 | (hL : ∀ Y t, ⟪D.normal.field t x,initialPrimitive D.T D.T_pos.le (L Y) t⟫_ℝ=0) |
| 39 | (Y : V) (ξ : U) |
| 40 | (hterminal : initialRealPrimitive D.T (L Y) D.T = |
| 41 | D.frame.field ⟨D.T,D.T_pos.le,le_rfl⟩ x ξ) |
| 42 | (t : Icc (0 : ℝ) D.T) : |
| 43 | B.coefficients.labelVelocity x ξ t = stationaryCorrectedVelocity B x L Y t := by |
| 44 | let C := B.coefficients |
| 45 | let m : Icc (0 : ℝ) D.T → Space := fun s => D.normal.field s x |
| 46 | let A := affineTrial D.T D.T_pos.le (C.labelFrame x) (C.labelFrameDerivative x) |
| 47 | let u := stationaryDerivative B x L Y |
| 48 | have hm : ∀ s η, ⟪m s,C.labelFrame x s η⟫_ℝ=0 := fun s η => D.frame_tangent s x η |
| 49 | have hRange : ∀ s η, ⟪m s,η⟫_ℝ=0 → ∃ z : U, C.labelFrame x s z=η := |
| 50 | fun s η h => D.frame_range s x η h |
| 51 | have hA : ∀ Z s, ⟪m s,initialPrimitive D.T D.T_pos.le (A Z) s⟫_ℝ=0 := |
| 52 | affineTrial_tangent D.T D.T_pos.le (C.labelFrame x) (C.labelFrameDerivative x) |
| 53 | (C.labelFrame_derivative x) m hm |
| 54 | have hu : u=endpointDerivative D.T D.T_pos.le m (C.labelHessian x) |
| 55 | B.potential B.potential_nonneg (C.labelHessian_upper x) B.small A ξ := by |
| 56 | apply endpointDerivative_unique D.T D.T_pos.le m (C.labelHessian x) |
| 57 | B.potential B.potential_nonneg (C.labelHessian_upper x) B.small A ξ (hA ξ) u |
| 58 | · exact endpointDisplacement_tangent D.T D.T_pos.le m (C.labelHessian x) |
| 59 | B.potential B.potential_nonneg (C.labelHessian_upper x) B.small L hL Y |
| 60 | · calc |
| 61 | _ = initialRealPrimitive D.T (L Y) D.T := |
| 62 | endpointDisplacement_terminal D.T D.T_pos.le m (C.labelHessian x) |
| 63 | B.potential B.potential_nonneg (C.labelHessian_upper x) B.small L Y |
| 64 | _ = D.frame.field ⟨D.T,D.T_pos.le,le_rfl⟩ x ξ := hterminal |
| 65 | _ = _ := (affineTrial_terminal D.T D.T_pos.le (C.labelFrame x) |
| 66 | (C.labelFrameDerivative x) D.T_pos (C.labelFrame_derivative x) ξ).symm |
| 67 | · exact endpointDerivative_weak D.T D.T_pos.le m (C.labelHessian x) |
| 68 | B.potential B.potential_nonneg (C.labelHessian_upper x) B.small L Y |
| 69 | have hhistory := historyVelocity_eq D.T D.T_pos.le (C.labelFrame x) |
| 70 | (C.labelFrameDerivative x) (C.labelHessian x) C.lower C.lower_pos |
| 71 | (C.labelFrame_lower x) (C.labelFrame_derivative x) C.potential C.potential_nonneg |
| 72 | (C.labelHessian_upper x) C.small m hm hRange (C.labelFrameSecond x) D.T_pos |
| 73 | (C.labelFrame_second_derivative x) (C.labelFrame_equation x) ξ t |
| 74 | change C.labelVelocity x ξ t = C.labelFrame x t |
| 75 | (coordinateVelocityPath D.T D.T_pos.le (C.labelFrame x) (C.labelFrameDerivative x) |
| 76 | C.lower C.lower_pos (C.labelFrame_lower x) (C.labelHessian x) |
| 77 | (endpointDerivative D.T D.T_pos.le m (C.labelHessian x) B.potential B.potential_nonneg |
| 78 | (C.labelHessian_upper x) B.small A ξ) t) at hhistory |
| 79 | rw [← hu] at hhistory |
| 80 | have hurange : ∀ s : Icc (0 : ℝ) D.T, ∃ z : U, |
| 81 | C.labelFrame x s z=initialRealPrimitive D.T u s := by |
| 82 | intro s |
| 83 | exact hRange s _ (endpointDisplacement_tangent D.T D.T_pos.le m (C.labelHessian x) |
| 84 | B.potential B.potential_nonneg (C.labelHessian_upper x) B.small L hL Y s) |
| 85 | have hrec := initialCoordinates_reconstruct D.T D.T_pos.le (C.labelFrame x) |
| 86 | C.lower C.lower_pos (C.labelFrame_lower x) u hurange t |
| 87 | change D.frame.field t x |
| 88 | (initialCoordinates D.T D.T_pos.le (C.labelFrame x) C.lower C.lower_pos |
| 89 | (C.labelFrame_lower x) u t) = initialRealPrimitive D.T u t at hrec |
| 90 | change C.labelVelocity x ξ t = physicalVelocityPath D.T D.T_pos.le (C.labelFrame x) |
| 91 | (C.labelFrameDerivative x) C.lower C.lower_pos (C.labelFrame_lower x) (C.labelHessian x) u t - |
| 92 | D.M.field t x (initialRealPrimitive D.T u t) |
| 93 | rw [hhistory] |
| 94 | simp only [physicalVelocityPath,extendPath,projIcc_of_mem D.T_pos.le t.property] |
| 95 | change D.frame.field t x _ = D.frameDerivative.field t x _+D.frame.field t x _-D.M.field t x _ |
| 96 | rw [D.frame_strain,comp_apply,hrec] |
| 97 | abel |
| 98 | |
| 99 | end EulerPacketActivationHistory |