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 | theorem forwardTargetRenewal_shear : (Q).shear=G.hchild := |
| 77 | (forwardTargetRenewal_matches S T hTime m hm J support hSupport |
| 78 | mNext hmNext JNext supportNext hSupportNext G hball CM CH K error |
| 79 | hCM hK he hMK hHK hM hH hδ k hsource).shear_eq hδ |
| 80 | |
| 81 | theorem forwardTargetRenewal_constants : (Q).G=K ∧ (Q).error=error := ⟨rfl,rfl⟩ |
| 82 | |
| 83 | include hTime hCM hK he hMK hHK hM hH hδ hsource in |
| 84 | theorem forwardTargetRenewal_remainder (hT : tNext ≤ N.T) : |
| 85 | ‖(DNext).M.field ((DNext).clamp tNext) 0-(Geo).M (Geo).center tNext- |
| 86 | G.hchild • rankOne ℝ (unit ((Geo).w (Geo).center tNext)) |
| 87 | (unit ((Geo).r (Geo).center tNext))‖ ≤ error := by |
| 88 | have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport |
| 89 | mNext hmNext JNext supportNext hSupportNext G hball CM CH K error |
| 90 | hCM hK he hMK hHK hM hH hδ k hsource |
| 91 | exact H.target_remainder hδ hT |
| 92 | |
| 93 | theorem forwardTargetRenewal_parameters (hTilt : (Geo).tiltError ≤ 1/2) : |
| 94 | (Q).shear=G.hchild ∧ 0 < (Q).a ∧ |
| 95 | |(Q).a/P.a-1| ≤ (Geo).couplingError ∧ |
| 96 | 0 < (Q).sigma ∧ |
| 97 | |(G.y⁻¹)^2*(Q).sigma^2-1| ≤ (Geo).tiltError ∧ |
| 98 | 1/2 ≤ (G.y⁻¹)^2*(Q).sigma^2 ∧ (G.y⁻¹)^2*(Q).sigma^2 ≤ 3/2 := by |
| 99 | have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport |
| 100 | mNext hmNext JNext supportNext hSupportNext G hball CM CH K error |
| 101 | hCM hK he hMK hHK hM hH hδ k hsource |
| 102 | exact ⟨H.shear_eq hδ,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt, |
| 103 | H.tilt_error hTilt,H.tilt_interval hTilt⟩ |
| 104 | |
| 105 | theorem forwardTargetRenewal_compression |
| 106 | (ht : 0 < tNext) (hT : tNext < N.T) |
| 107 | (hmargin : 3*((Geo).G+(Geo).d)+error < (Geo).compressionScale) : |
| 108 | ⟪(DNext).M.field ⟨tNext,ht.le,hT.le⟩ 0 (unit ((Q).m tNext)), |
| 109 | unit ((Q).m tNext)⟫_ℝ < 0 := by |
| 110 | have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport |
| 111 | mNext hmNext JNext supportNext hSupportNext G hball CM CH K error |
| 112 | hCM hK he hMK hHK hM hH hδ k hsource |
| 113 | exact H.activation_compression ht hT hmargin |
| 114 | |
| 115 | theorem forwardTargetRenewal_compression_of_error_le_one |
| 116 | (hT : tNext < N.T) (herror : error ≤ 1) : |
| 117 | ⟪(DNext).M.field ⟨tNext,(Geo).targetTime_pos le_rfl |>.le,hT.le⟩ 0 |
| 118 | (unit ((Q).m tNext)),unit ((Q).m tNext)⟫_ℝ < 0 := by |
| 119 | have H := forwardTargetRenewal_matches S T hTime m hm J support hSupport |
| 120 | mNext hmNext JNext supportNext hSupportNext G hball CM CH K error |
| 121 | hCM hK he hMK hHK hM hH hδ k hsource |
| 122 | exact H.activation_compression_of_error_le_one ((Geo).targetTime_pos le_rfl) hT herror |
| 123 | |
| 124 | end Forward |
| 125 | |
| 126 | section Joined |
| 127 | |
| 128 | variable (s : ℝ) (hs : 0 < s) (hsT : s < A.T) |
| 129 | (H : HistoryData ((A.transverseData m hm J support hSupport).initial s hs hsT.le)) |
| 130 | {P : ParentFrame (A.transverseData m hm J support hSupport) s} |
| 131 | (G : Guards hs hsT P H) (hball : (1/2 : ℝ) ≤ G.radius) |
| 132 | (hcut : tsupport innerCutoff ⊆ support) |
| 133 | |
| 134 | local notation "Geo" => Guards.lowGeometry G hball |
| 135 | local notation "tNext" => PhysicalGeometryData.targetTime (Guards.lowGeometry G hball) |
| 136 | |
| 137 | variable (CM CH K error : ℝ) (hCM : 0 ≤ CM) (hK : 1 ≤ K) (he : 0 ≤ error) |
| 138 | (hMK : CM ≤ K) (hHK : CM^2+CH ≤ K^2) |
| 139 | (hM : ∀ t ∈ Icc (G.lowGeometry hball).targetTime N.T, ‖A.centerStrain t‖ ≤ CM) |
| 140 | (hH : ∀ t ∈ Icc (G.lowGeometry hball).targetTime N.T, ‖A.centerCurvature t‖ ≤ CH) |
| 141 | (hδ : 0 < G.δ) (k : ℝ) |
| 142 | (hsource : ∀ t : Icc (0 : ℝ) A.T, (G.lowGeometry hball).targetTime ≤ (t : ℝ) → |
| 143 | ‖fderiv ℝ (S.velocityIncrement T t) 0- |
| 144 | (G.primaryAmplitude hball*deriv (profile G.δ) |
| 145 | (k*⟪m,S.evolution.inverse.normalized t 0⟫_ℝ)) • |
| 146 | rankOne ℝ (EulerPacketPrimaryFactorization.canonicalVelocity |
| 147 | s hs hsT H G.terminal hcut t (S.evolution.inverse.normalized t 0)) |
| 148 | ((A.transverseData m hm J support hSupport).normal.field t (S.evolution.inverse.normalized t 0))‖ ≤ error) |
| 149 | |
| 150 | /-- The joined renewal retains the activation-selected endpoint and |
| 151 | its actual stationary-history initial trace. -/ |
| 152 | def joinedTargetRenewal : ParentFrame DNext tNext := |
| 153 | S.joinedRenewal T hTime m hm J support hSupport |
| 154 | mNext hmNext JNext supportNext hSupportNext |
| 155 | tNext (hs.le.trans ((G.lowGeometry hball).target_time_mem).1) CM CH K error |
| 156 | hCM hK he hMK hHK hM hH G.δ hδ (G.primaryAmplitude hball) k |
| 157 | s hs hsT H G.terminal G.terminal_properties.1 hcut hsource |
| 158 | |
| 159 | local notation "Q" => joinedTargetRenewal S T hTime m hm J support hSupport |
| 160 | mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error |
| 161 | hCM hK he hMK hHK hM hH hδ k hsource |
| 162 | |
| 163 | theorem joinedTargetRenewal_matches : RenewalAtTarget Geo Q := by |
| 164 | let t : Icc (0 : ℝ) A.T := |
| 165 | ⟨tNext,hs.le.trans ((G.lowGeometry hball).target_time_mem).1, |
| 166 | ((G.lowGeometry hball).target_time_mem).2⟩ |
| 167 | constructor |
| 168 | · change A.centerStrain t = (D).M.field ((D).clamp (t : ℝ)) 0 |
| 169 | rw [Data.clamp_coe D t] |
| 170 | exact (A.source_strain_eq m hm J support hSupport t).symm |
| 171 | · change A.sourceNormal m t = (D).normal.field ((D).clamp (t : ℝ)) 0 |
| 172 | rw [Data.clamp_coe D t] |
| 173 | exact (A.source_normal_eq m hm J support hSupport t).symm |
| 174 | · rfl |
| 175 | · rfl |
| 176 | |
| 177 | theorem joinedTargetRenewal_shear : (Q).shear=G.hchild := |
| 178 | (joinedTargetRenewal_matches S T hTime m hm J support hSupport |
| 179 | mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error |
| 180 | hCM hK he hMK hHK hM hH hδ k hsource).shear_eq hδ |
| 181 | |
| 182 | theorem joinedTargetRenewal_constants : (Q).G=K ∧ (Q).error=error := ⟨rfl,rfl⟩ |
| 183 | |
| 184 | include hTime hCM hK he hMK hHK hM hH hδ hsource in |
| 185 | theorem joinedTargetRenewal_remainder (hT : tNext ≤ N.T) : |
| 186 | ‖(DNext).M.field ((DNext).clamp tNext) 0-(Geo).M (Geo).center tNext- |
| 187 | G.hchild • rankOne ℝ (unit ((Geo).w (Geo).center tNext)) |
| 188 | (unit ((Geo).r (Geo).center tNext))‖ ≤ error := by |
| 189 | have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport |
| 190 | mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error |
| 191 | hCM hK he hMK hHK hM hH hδ k hsource |
| 192 | exact E.target_remainder hδ hT |
| 193 | |
| 194 | theorem joinedTargetRenewal_parameters (hTilt : (Geo).tiltError ≤ 1/2) : |
| 195 | (Q).shear=G.hchild ∧ 0 < (Q).a ∧ |
| 196 | |(Q).a/P.a-1| ≤ (Geo).couplingError ∧ |
| 197 | 0 < (Q).sigma ∧ |
| 198 | |(G.y⁻¹)^2*(Q).sigma^2-1| ≤ (Geo).tiltError ∧ |
| 199 | 1/2 ≤ (G.y⁻¹)^2*(Q).sigma^2 ∧ (G.y⁻¹)^2*(Q).sigma^2 ≤ 3/2 := by |
| 200 | have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport |
| 201 | mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error |
| 202 | hCM hK he hMK hHK hM hH hδ k hsource |
| 203 | exact ⟨E.shear_eq hδ,E.coupling_pos,E.coupling_error,E.sigma_pos hTilt, |
| 204 | E.tilt_error hTilt,E.tilt_interval hTilt⟩ |
| 205 | |
| 206 | theorem joinedTargetRenewal_compression |
| 207 | (ht : 0 < tNext) (hT : tNext < N.T) |
| 208 | (hmargin : 3*((Geo).G+(Geo).d)+error < (Geo).compressionScale) : |
| 209 | ⟪(DNext).M.field ⟨tNext,ht.le,hT.le⟩ 0 (unit ((Q).m tNext)), |
| 210 | unit ((Q).m tNext)⟫_ℝ < 0 := by |
| 211 | have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport |
| 212 | mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error |
| 213 | hCM hK he hMK hHK hM hH hδ k hsource |
| 214 | exact E.activation_compression ht hT hmargin |
| 215 | |
| 216 | theorem joinedTargetRenewal_compression_of_error_le_one |
| 217 | (hT : tNext < N.T) (herror : error ≤ 1) : |
| 218 | ⟪(DNext).M.field ⟨tNext,(Geo).targetTime_pos hs.le |>.le,hT.le⟩ 0 |
| 219 | (unit ((Q).m tNext)),unit ((Q).m tNext)⟫_ℝ < 0 := by |
| 220 | have E := joinedTargetRenewal_matches S T hTime m hm J support hSupport |
| 221 | mNext hmNext JNext supportNext hSupportNext s hs hsT H G hball hcut CM CH K error |
| 222 | hCM hK he hMK hHK hM hH hδ k hsource |
| 223 | exact E.activation_compression_of_error_le_one ((Geo).targetTime_pos hs.le) hT herror |
| 224 | |
| 225 | end Joined |
| 226 | end EulerParentPacketFrames.SmoothState |