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.ParentRenewalParameters |
| 2 | import Euler.PacketForwardGeometryLowBounds |
| 3 | |
| 4 | /-! The geometric target of the actual forward or joined primary is the |
| 5 | activation time of the next parent frame. These factories are the checked |
| 6 | `SmoothState` renewals with the source-selected amplitude and primary; |
| 7 | all target matching is proved from their definitions. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerParentPacketFrames.SmoothState |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerTransverseFrameCoordinates EulerTransversePacketProvider |
| 15 | EulerPacketSourceGeometry EulerSpatialCutoffs EulerPeriodicProfile |
| 16 | EulerPacketMovingFrame EulerPacketNormalizedPrimary |
| 17 | |
| 18 | variable {A N : Parent} (S : SmoothState A) (T : SmoothState N) (hTime : N.T=A.T) |
| 19 | {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 20 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 21 | (support : Set Space) (hSupport : IsCompact support) |
| 22 | {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 23 | (mNext : Space) (hmNext : ‖mNext‖=1) (JNext : V ≃ₗᵢ[ℝ] referencePlane mNext) |
| 24 | (supportNext : Set Space) (hSupportNext : IsCompact supportNext) |
| 25 | |
| 26 | local notation "D" => A.transverseData m hm J support hSupport |
| 27 | local notation "DNext" => N.transverseData mNext hmNext JNext supportNext hSupportNext |
| 28 | |
| 29 | section Forward |
| 30 | |
| 31 | variable {P : ParentFrame (A.transverseData m hm J support hSupport) 0} (G : ForwardGuards P) (hball : (1/2 : ℝ) ≤ G.radius) |
| 32 | |
| 33 | local notation "Geo" => ForwardGuards.lowGeometry G hball |
| 34 | local notation "tNext" => PhysicalGeometryData.targetTime (ForwardGuards.lowGeometry G hball) |
| 35 | |
| 36 | variable (CM CH K error : ℝ) (hCM : 0 ≤ CM) (hK : 1 ≤ K) (he : 0 ≤ error) |
| 37 | (hMK : CM ≤ K) (hHK : CM^2+CH ≤ K^2) |
| 38 | (hM : ∀ t ∈ Icc (G.lowGeometry hball).targetTime N.T, ‖A.centerStrain t‖ ≤ CM) |
| 39 | (hH : ∀ t ∈ Icc (G.lowGeometry hball).targetTime N.T, ‖A.centerCurvature t‖ ≤ CH) |
| 40 | (hδ : 0 < G.δ) (k : ℝ) |
| 41 | (hsource : ∀ t : Icc (0 : ℝ) A.T, (G.lowGeometry hball).targetTime ≤ (t : ℝ) → |
| 42 | ‖fderiv ℝ (S.velocityIncrement T t) 0- |
| 43 | (G.primaryAmplitude hball*deriv (profile G.δ) |
| 44 | (k*⟪m,S.evolution.inverse.normalized t 0⟫_ℝ)) • |
| 45 | rankOne ℝ (EulerPacketForwardFactorization.canonicalVelocity |
| 46 | (A.transverseData m hm J support hSupport) G.initialCoordinate t (S.evolution.inverse.normalized t 0)) |
| 47 | ((A.transverseData m hm J support hSupport).normal.field t (S.evolution.inverse.normalized t 0))‖ ≤ error) |
| 48 | |
| 49 | /-- The next actual frame, using exactly the forward source primary and |
| 50 | its target-normalized amplitude. -/ |
| 51 | def forwardTargetRenewal : ParentFrame DNext tNext := |
| 52 | S.forwardRenewal T hTime m hm J support hSupport |
| 53 | mNext hmNext JNext supportNext hSupportNext |
| 54 | tNext ((G.lowGeometry hball).target_time_mem).1 CM CH K error |
| 55 | hCM hK he hMK hHK hM hH G.δ hδ (G.primaryAmplitude hball) k |
| 56 | G.initialCoordinate G.initialCoordinate_ne_zero hsource |
| 57 | |
| 58 | local notation "Q" => forwardTargetRenewal S T hTime m hm J support hSupport |
| 59 | mNext hmNext JNext supportNext hSupportNext G hball CM CH K error |
| 60 | hCM hK he hMK hHK hM hH hδ k hsource |
| 61 | |
| 62 | /-- In particular, the new ray and primary are the old source's actual |
| 63 | physical ray and primary at the target, not freely chosen frame vectors. -/ |
| 64 | theorem forwardTargetRenewal_matches : RenewalAtTarget Geo Q := by |
| 65 | let t : Icc (0 : ℝ) A.T := ⟨tNext,(G.lowGeometry hball).target_time_mem⟩ |
| 66 | constructor |
| 67 | · change A.centerStrain t = (D).M.field ((D).clamp (t : ℝ)) 0 |
| 68 | rw [Data.clamp_coe D t] |
| 69 | exact (A.source_strain_eq m hm J support hSupport t).symm |
| 70 | · change A.sourceNormal m t = (D).normal.field ((D).clamp (t : ℝ)) 0 |
| 71 | rw [Data.clamp_coe D t] |
| 72 | exact (A.source_normal_eq m hm J support hSupport t).symm |
| 73 | · rfl |
| 74 | · rfl |
| 75 | |
| 76 | end Forward |
| 77 | |
| 78 | section Joined |
| 79 | |
| 80 | variable (s : ℝ) (hs : 0 < s) (hsT : s < A.T) |
| 81 | (H : HistoryData ((A.transverseData m hm J support hSupport).initial s hs hsT.le)) |
| 82 | {P : ParentFrame (A.transverseData m hm J support hSupport) s} |
| 83 | (G : Guards hs hsT P H) (hball : (1/2 : ℝ) ≤ G.radius) |
| 84 | (hcut : tsupport innerCutoff ⊆ support) |
| 85 | |
| 86 | local notation "Geo" => Guards.lowGeometry G hball |
| 87 | local notation "tNext" => PhysicalGeometryData.targetTime (Guards.lowGeometry G hball) |
| 88 | |
| 89 | variable (CM CH K error : ℝ) (hCM : 0 ≤ CM) (hK : 1 ≤ K) (he : 0 ≤ error) |
| 90 | (hMK : CM ≤ K) (hHK : CM^2+CH ≤ K^2) |
| 91 | (hM : ∀ t ∈ Icc (G.lowGeometry hball).targetTime N.T, ‖A.centerStrain t‖ ≤ CM) |
| 92 | (hH : ∀ t ∈ Icc (G.lowGeometry hball).targetTime N.T, ‖A.centerCurvature t‖ ≤ CH) |
| 93 | (hδ : 0 < G.δ) (k : ℝ) |
| 94 | (hsource : ∀ t : Icc (0 : ℝ) A.T, (G.lowGeometry hball).targetTime ≤ (t : ℝ) → |
| 95 | ‖fderiv ℝ (S.velocityIncrement T t) 0- |
| 96 | (G.primaryAmplitude hball*deriv (profile G.δ) |
| 97 | (k*⟪m,S.evolution.inverse.normalized t 0⟫_ℝ)) • |
| 98 | rankOne ℝ (EulerPacketPrimaryFactorization.canonicalVelocity |
| 99 | s hs hsT H G.terminal hcut t (S.evolution.inverse.normalized t 0)) |
| 100 | ((A.transverseData m hm J support hSupport).normal.field t (S.evolution.inverse.normalized t 0))‖ ≤ error) |
| 101 | |
| 102 | /-- The joined renewal retains the activation-selected endpoint and |
| 103 | its actual stationary-history initial trace. -/ |
| 104 | def joinedTargetRenewal : ParentFrame DNext tNext := |
| 105 | S.joinedRenewal T hTime m hm J support hSupport |
| 106 | mNext hmNext JNext supportNext hSupportNext |
| 107 | tNext (hs.le.trans ((G.lowGeometry hball).target_time_mem).1) CM CH K error |
| 108 | hCM hK he hMK hHK hM hH G.δ hδ (G.primaryAmplitude hball) k |
| 109 | s hs hsT H G.terminal G.terminal_properties.1 hcut hsource |
| 110 | |
| 111 | local notation "Q" => joinedTargetRenewal S T hTime m hm J support hSupport |
| 112 | mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error |
| 113 | hCM hK he hMK hHK hM hH hδ k hsource |
| 114 | |
| 115 | theorem joinedTargetRenewal_matches : RenewalAtTarget Geo Q := by |
| 116 | let t : Icc (0 : ℝ) A.T := |
| 117 | ⟨tNext,hs.le.trans ((G.lowGeometry hball).target_time_mem).1, |
| 118 | ((G.lowGeometry hball).target_time_mem).2⟩ |
| 119 | constructor |
| 120 | · change A.centerStrain t = (D).M.field ((D).clamp (t : ℝ)) 0 |
| 121 | rw [Data.clamp_coe D t] |
| 122 | exact (A.source_strain_eq m hm J support hSupport t).symm |
| 123 | · change A.sourceNormal m t = (D).normal.field ((D).clamp (t : ℝ)) 0 |
| 124 | rw [Data.clamp_coe D t] |
| 125 | exact (A.source_normal_eq m hm J support hSupport t).symm |
| 126 | · rfl |
| 127 | · rfl |
| 128 | |
| 129 | end Joined |
| 130 | end EulerParentPacketFrames.SmoothState |