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.ParentPacketStrainEvolution |
| 2 | import Euler.ParentPacketHessianSymmetry |
| 3 | import Euler.PacketSourceGeometryData |
| 4 | import Euler.PacketForwardFactorization |
| 5 | |
| 6 | /-! Actual parent source trajectories supply the older geometric frame. |
| 7 | Its matrix derivative is derived from the parent curvature, and its ray |
| 8 | and primary velocity are the constructed source trajectories. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerParentPacketFrames |
| 13 | |
| 14 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 15 | EulerTransversePacketProvider EulerTransverseFrameCoordinates EulerVolterraConvolution |
| 16 | EulerPacketSourceGeometry EulerPacketNormalizedPrimary EulerPacketMovingFrame |
| 17 | EulerPacketPrimaryShear EulerPacketRay |
| 18 | open scoped ContDiff |
| 19 | |
| 20 | namespace Parent |
| 21 | |
| 22 | variable (G : Parent) |
| 23 | |
| 24 | def sourceNormal (m : Space) (t : ℝ) : Space := |
| 25 | (G.inverse.realField G.T G.T_pos.le t 0).adjoint m |
| 26 | |
| 27 | theorem sourceNormal_apply (m : Space) (t : Icc (0 : ℝ) G.T) : |
| 28 | G.sourceNormal m t = (G.inverse.field t 0).adjoint m := by |
| 29 | simp only [sourceNormal,SmoothTimeField.realField_apply] |
| 30 | |
| 31 | theorem sourceNormal_equation (m : Space) (t : Icc (0 : ℝ) G.T) : |
| 32 | HasDerivWithinAt (G.sourceNormal m) |
| 33 | (-(G.centerStrain t).adjoint (G.sourceNormal m t)) (Icc (0 : ℝ) G.T) t := by |
| 34 | have h := (EulerTransverseBoundedFrame.normalMap m).hasFDerivAt.comp_hasDerivWithinAt |
| 35 | (t : ℝ) (G.inverse_time t 0) |
| 36 | change HasDerivWithinAt (G.sourceNormal m) ((G.inverseDerivative.field t 0).adjoint m) |
| 37 | (Icc (0 : ℝ) G.T) t at h |
| 38 | apply h.congr_deriv |
| 39 | rw [G.inverseDerivative_apply,G.sourceNormal_apply] |
| 40 | have hb : G.centerStrain t = G.strain.field t 0 := by |
| 41 | simp only [centerStrain,extendPath,projIcc_of_mem G.T_pos.le t.property] |
| 42 | rw [hb,G.strain_apply] |
| 43 | simp only [map_neg,adjoint_comp,neg_apply,comp_apply] |
| 44 | |
| 45 | theorem sourceNormal_ne_zero (m : Space) (hm : m ≠ 0) (t : Icc (0 : ℝ) G.T) : |
| 46 | G.sourceNormal m t ≠ 0 := by |
| 47 | have hi : (G.inverse.field t 0).comp (G.frame.field t 0) = ContinuousLinearMap.id ℝ Space := by |
| 48 | apply ContinuousLinearMap.ext |
| 49 | intro v |
| 50 | exact G.inverse_left t 0 v |
| 51 | have hc := congrArg (fun A : Space →L[ℝ] Space => A.adjoint m) hi |
| 52 | rw [adjoint_comp,comp_apply,adjoint_id,id_apply] at hc |
| 53 | intro hz |
| 54 | rw [← G.sourceNormal_apply m t,hz,map_zero] at hc |
| 55 | exact hm hc.symm |
| 56 | |
| 57 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 58 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] referencePlane m) |
| 59 | (S : Set Space) (hS : IsCompact S) |
| 60 | |
| 61 | def sourceVelocity (η : U) (t : ℝ) : Space := |
| 62 | EulerPacketForwardFactorization.uncutVelocity (G.transverseData m hm R S hS) η t 0 |
| 63 | |
| 64 | omit [CompleteSpace U] in |
| 65 | theorem source_normal_eq (t : Icc (0 : ℝ) G.T) : |
| 66 | (G.transverseData m hm R S hS).normal.field t 0 = G.sourceNormal m t := by |
| 67 | rw [G.sourceNormal_apply] |
| 68 | rfl |
| 69 | |
| 70 | omit [CompleteSpace U] in |
| 71 | theorem source_strain_eq (t : Icc (0 : ℝ) G.T) : |
| 72 | (G.transverseData m hm R S hS).M.field t 0 = G.centerStrain t := by |
| 73 | simp only [centerStrain,extendPath,projIcc_of_mem G.T_pos.le t.property] |
| 74 | rfl |
| 75 | |
| 76 | theorem sourceVelocity_equation (η : U) (t : Icc (0 : ℝ) G.T) : |
| 77 | HasDerivWithinAt (G.sourceVelocity m hm R S hS η) |
| 78 | (-(G.centerStrain t) (G.sourceVelocity m hm R S hS η t)+ |
| 79 | (2*⟪G.sourceNormal m t,(G.centerStrain t) (G.sourceVelocity m hm R S hS η t)⟫_ℝ/ |
| 80 | ‖G.sourceNormal m t‖^2) • G.sourceNormal m t) (Icc (0 : ℝ) G.T) t := by |
| 81 | have h := EulerPacketForwardFactorization.uncutVelocity_equation |
| 82 | (G.transverseData m hm R S hS) η t 0 |
| 83 | erw [EulerPacketPrimaryFactorization.physicalGenerator_apply, |
| 84 | G.source_normal_eq m hm R S hS,G.source_strain_eq m hm R S hS] at h |
| 85 | exact h |
| 86 | |
| 87 | theorem sourceVelocity_ne_zero (η : U) (hη : η ≠ 0) (t : Icc (0 : ℝ) G.T) : |
| 88 | G.sourceVelocity m hm R S hS η t ≠ 0 := |
| 89 | EulerPacketForwardFactorization.uncutVelocity_ne_zero (G.transverseData m hm R S hS) η hη t 0 |
| 90 | |
| 91 | theorem sourceVelocity_tangent (η : U) (t : Icc (0 : ℝ) G.T) : |
| 92 | ⟪G.sourceNormal m t,G.sourceVelocity m hm R S hS η t⟫_ℝ = 0 := by |
| 93 | rw [← G.source_normal_eq m hm R S hS] |
| 94 | exact EulerPacketForwardFactorization.uncutVelocity_tangent (G.transverseData m hm R S hS) η t 0 |
| 95 | |
| 96 | /-- Both primary branches are the same actual homogeneous propagator |
| 97 | after inserting their constructed initial coordinate. -/ |
| 98 | theorem joined_sourceVelocity (s : ℝ) (hs : 0 < s) (hsT : s < G.T) |
| 99 | (B : HistoryData ((G.transverseData m hm R S hS).initial s hs hsT.le)) (ξ : U) (t : ℝ) : |
| 100 | G.sourceVelocity m hm R S hS (B.coefficients.labelCoordinate 0 ξ ⟨0,le_rfl,hs.le⟩) t = |
| 101 | EulerPacketPrimaryFactorization.uncutVelocity s hs hsT B ξ t 0 := rfl |
| 102 | |
| 103 | theorem joined_initialCoordinate_ne_zero (s : ℝ) (hs : 0 < s) (hsT : s < G.T) |
| 104 | (B : HistoryData ((G.transverseData m hm R S hS).initial s hs hsT.le)) (ξ : U) (hξ : ξ ≠ 0) : |
| 105 | B.coefficients.labelCoordinate 0 ξ ⟨0,le_rfl,hs.le⟩ ≠ 0 := by |
| 106 | intro hz |
| 107 | have hn := EulerPacketPrimaryFactorization.uncutVelocity_ne_zero s hs hsT B ξ hξ |
| 108 | ⟨0,le_rfl,G.T_pos.le⟩ 0 |
| 109 | have hv := G.joined_sourceVelocity m hm R S hS s hs hsT B ξ 0 |
| 110 | rw [hz] at hv |
| 111 | have hv0 : G.sourceVelocity m hm R S hS 0 0 = 0 := by |
| 112 | unfold sourceVelocity |
| 113 | rw [EulerPacketForwardFactorization.uncutVelocity_initial,map_zero] |
| 114 | exact hn (hv.symm.trans hv0) |
| 115 | |
| 116 | variable {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 117 | (D : Data V) (hTime : D.T = G.T) (τ : ℝ) (hτ : 0 ≤ τ) |
| 118 | |
| 119 | /-- The only error input is the literal center derivative estimate for |
| 120 | the already constructed perturbation. No ray, velocity or matrix ODE |
| 121 | is supplied as a hypothesis. -/ |
| 122 | def geometryFrameOfCenterExpansion (η : U) (hη : η ≠ 0) |
| 123 | (w : ℝ → Space → Space) (c CM CH K error : ℝ) |
| 124 | (hCM : 0 ≤ CM) (hK : 1 ≤ K) (he : 0 ≤ error) |
| 125 | (hMK : CM ≤ K) (hHK : CM^2+CH ≤ K^2) |
| 126 | (hM : ∀ t ∈ Icc τ D.T, ‖G.centerStrain t‖ ≤ CM) |
| 127 | (hH : ∀ t ∈ Icc τ D.T, ‖G.centerCurvature t‖ ≤ CH) |
| 128 | (hupdate : ∀ t : Icc (0 : ℝ) D.T, |
| 129 | D.M.field t 0 = G.centerStrain t+fderiv ℝ (w t) 0) |
| 130 | (hpacket : ∀ t ∈ Icc τ D.T, |
| 131 | ‖fderiv ℝ (w t) 0-c • rankOne ℝ (G.sourceVelocity m hm R S hS η t) (G.sourceNormal m t)‖ ≤ error) : |
| 132 | ParentFrame D τ where |
| 133 | B := G.centerStrain |
| 134 | B₁ := G.centerStrainDerivative |
| 135 | m := G.sourceNormal m |
| 136 | v := G.sourceVelocity m hm R S hS η |
| 137 | c := c |
| 138 | G := K |
| 139 | error := error |
| 140 | G_lower := hK |
| 141 | error_nonneg := he |
| 142 | B_derivative t ht := by |
| 143 | rw [hTime] at ht ⊢ |
| 144 | exact G.centerStrain_derivative τ hτ t ht |
| 145 | ray_equation t ht := by |
| 146 | have ht0 : t ∈ Icc (0 : ℝ) G.T := ⟨hτ.trans ht.1,by simpa only [hTime] using ht.2⟩ |
| 147 | exact (G.sourceNormal_equation m ⟨t,ht0⟩).mono |
| 148 | (fun r hr => ⟨hτ.trans hr.1,by simpa only [hTime] using hr.2⟩) |
| 149 | velocity_equation t ht := by |
| 150 | have ht0 : t ∈ Icc (0 : ℝ) G.T := ⟨hτ.trans ht.1,by simpa only [hTime] using ht.2⟩ |
| 151 | exact (G.sourceVelocity_equation m hm R S hS η ⟨t,ht0⟩).mono |
| 152 | (fun r hr => ⟨hτ.trans hr.1,by simpa only [hTime] using hr.2⟩) |
| 153 | ray_nonzero t ht := by |
| 154 | have hm0 : m ≠ 0 := by intro h; simp [h] at hm |
| 155 | exact G.sourceNormal_ne_zero m hm0 ⟨t,hτ.trans ht.1,by simpa only [hTime] using ht.2⟩ |
| 156 | velocity_nonzero t ht := |
| 157 | G.sourceVelocity_ne_zero m hm R S hS η hη ⟨t,hτ.trans ht.1,by simpa only [hTime] using ht.2⟩ |
| 158 | tangent t ht := |
| 159 | G.sourceVelocity_tangent m hm R S hS η ⟨t,hτ.trans ht.1,by simpa only [hTime] using ht.2⟩ |
| 160 | B_bound t ht := (hM t ht).trans hMK |
| 161 | B₁_bound t ht := by |
| 162 | rw [hTime] at hM hH ht |
| 163 | exact G.centerStrainDerivative_bound τ CM CH K hτ hCM hM hH hHK t ht |
| 164 | remainder_bound t ht := by |
| 165 | have htD : t ∈ Icc (0 : ℝ) D.T := ⟨hτ.trans ht.1,ht.2⟩ |
| 166 | have htG : t ∈ Icc (0 : ℝ) G.T := by simpa only [hTime] using htD |
| 167 | have hm0 : m ≠ 0 := by intro h; simp [h] at hm |
| 168 | have hn := G.sourceNormal_ne_zero m hm0 ⟨t,htG⟩ |
| 169 | have hv := G.sourceVelocity_ne_zero m hm R S hS η hη ⟨t,htG⟩ |
| 170 | have hc := rankOne_normalized c (G.sourceVelocity m hm R S hS η t) (G.sourceNormal m t) hv hn |
| 171 | have hu := hupdate ⟨t,htD⟩ |
| 172 | rw [show D.clamp t = ⟨t,htD⟩ from Data.clamp_coe D ⟨t,htD⟩,hu, |
| 173 | add_sub_cancel_left,primaryShear,← hc] |
| 174 | exact hpacket t ht |
| 175 | |
| 176 | end Parent |
| 177 | end EulerParentPacketFrames |