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.ParentGeometryChoiceCenter |
| 2 | import Euler.ParentTargetRenewal |
| 3 | |
| 4 | /-! Actual frame renewal for the very correction and flow chosen by |
| 5 | the geometric packet factories. Center source matching is derived. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerParentPacketFrames.Evolution |
| 10 | |
| 11 | open Set EulerSmoothLimit EulerVolterraConvolution |
| 12 | |
| 13 | variable {A : Parent} (E : Evolution A) |
| 14 | |
| 15 | theorem centerStrain_bound (CM : ℝ) |
| 16 | (hCM : ∀ (t : Icc (0 : ℝ) A.T) x, ‖fderiv ℝ (fun y => E.velocity (t,y)) x‖ ≤ CM) |
| 17 | (t : ℝ) : ‖A.centerStrain t‖ ≤ CM := by |
| 18 | change ‖A.strain.field (projIcc 0 A.T A.T_pos.le t) 0‖ ≤ CM |
| 19 | rw [E.strain_eq] |
| 20 | exact hCM _ _ |
| 21 | |
| 22 | theorem centerCurvature_bound (CH : ℝ) |
| 23 | (hCH : ∀ (t : Icc (0 : ℝ) A.T) x, ‖fderiv ℝ (E.force t) x‖ ≤ CH) |
| 24 | (t : ℝ) : ‖A.centerCurvature t‖ ≤ CH := by |
| 25 | change ‖A.curvature.field (projIcc 0 A.T A.T_pos.le t) 0‖ ≤ CH |
| 26 | rw [E.curvature_eq] |
| 27 | exact hCH _ _ |
| 28 | |
| 29 | end EulerParentPacketFrames.Evolution |
| 30 | |
| 31 | namespace EulerParentPacketFrames.GeometryForwardChoice |
| 32 | |
| 33 | open Set Real InnerProductSpace EulerSmoothLimit EulerTransverseFrameCoordinates |
| 34 | EulerPacketSourceGeometry EulerPacketTerminalDatum EulerPacketSourceFrequency |
| 35 | EulerPacketMovingFrame EulerPacketNormalizedPrimary |
| 36 | |
| 37 | variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 38 | {I : GeometryForwardInput U} {S : SmoothState I.parent} |
| 39 | {k : ℝ} {hk : UniversalFrequency k} |
| 40 | {nextEll : ℝ} {hnext : 0 < nextEll} {hnext1 : nextEll ≤ 1} |
| 41 | (F : GeometryForwardChoice I S k hk nextEll hnext hnext1) |
| 42 | (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) |
| 43 | (CM CH K : ℝ) (hCM0 : 0 ≤ CM) (hK : 1 ≤ K) (hMK : CM ≤ K) (hHK : CM^2+CH ≤ K^2) |
| 44 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 45 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 46 | {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 47 | (m : Space) (hm : ‖m‖=1) (R : V ≃ₗᵢ[ℝ] referencePlane m) |
| 48 | (support : Set Space) (hSupport : IsCompact support) |
| 49 | |
| 50 | def renewal : ParentFrame (F.parent.transverseData m hm R support hSupport) |
| 51 | (I.geometry.lowGeometry I.halfBall).targetTime := |
| 52 | S.forwardTargetRenewal (state I S k hk nextEll hnext hnext1 F hSym) rfl |
| 53 | I.normal I.normal_unit I.coordinates I.support I.support_compact |
| 54 | m hm R support hSupport I.geometry I.halfBall CM CH K (k^(-(1/4 : ℝ))) |
| 55 | hCM0 hK (rpow_nonneg hk.pos.le _) hMK hHK |
| 56 | (fun t _ => S.evolution.centerStrain_bound CM hCM t) |
| 57 | (fun t _ => S.evolution.centerCurvature_bound CH hCH t) |
| 58 | I.delta_pos k (fun t _ => center_error I S k hk nextEll hnext hnext1 F hSym t) |
| 59 | |
| 60 | local notation "Pnew" => F.renewal hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport |
| 61 | |
| 62 | theorem renewal_matches : RenewalAtTarget (I.geometry.lowGeometry I.halfBall) Pnew := by |
| 63 | unfold renewal |
| 64 | apply SmoothState.forwardTargetRenewal_matches |
| 65 | |
| 66 | theorem renewal_costs : (Pnew).G=K ∧ (Pnew).error=k^(-(1/4 : ℝ)) := ⟨rfl,rfl⟩ |
| 67 | |
| 68 | theorem renewal_parameters (hTilt : (I.geometry.lowGeometry I.halfBall).tiltError ≤ 1/2) : |
| 69 | (Pnew).shear=I.geometry.hchild ∧ 0 < (Pnew).a ∧ |
| 70 | |(Pnew).a/I.frame.a-1| ≤ (I.geometry.lowGeometry I.halfBall).couplingError ∧ |
| 71 | 0 < (Pnew).sigma ∧ |
| 72 | |(I.geometry.y⁻¹)^2*(Pnew).sigma^2-1| ≤ (I.geometry.lowGeometry I.halfBall).tiltError := by |
| 73 | have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport |
| 74 | exact ⟨H.shear_eq I.delta_pos,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt,H.tilt_error hTilt⟩ |
| 75 | |
| 76 | theorem renewal_compression (e : ℝ) (he : e ≤ 1) : |
| 77 | ⟪(Pnew).B (I.geometry.lowGeometry I.halfBall).targetTime |
| 78 | (unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)), |
| 79 | unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)⟫_ℝ+e < 0 := by |
| 80 | have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport |
| 81 | rw [H.background_compression_eq] |
| 82 | have hm := (I.geometry.lowGeometry I.halfBall).compression_margin he |
| 83 | have hc := (I.geometry.lowGeometry I.halfBall).nextCompression_le |
| 84 | linarith only [hm,hc] |
| 85 | |
| 86 | end EulerParentPacketFrames.GeometryForwardChoice |
| 87 | |
| 88 | namespace EulerParentPacketFrames.GeometryJoinedChoice |
| 89 | |
| 90 | open Set Real InnerProductSpace EulerSmoothLimit EulerTransverseFrameCoordinates |
| 91 | EulerPacketSourceGeometry EulerPacketTerminalDatum EulerPacketSourceFrequency |
| 92 | EulerPacketMovingFrame EulerPacketNormalizedPrimary |
| 93 | |
| 94 | variable {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 95 | {I : EulerPacketInitial.Input U} {S : SmoothState I.parent} |
| 96 | {k : ℝ} {hk : UniversalFrequency k} |
| 97 | {nextEll : ℝ} {hnext : 0 < nextEll} {hnext1 : nextEll ≤ 1} |
| 98 | (F : GeometryJoinedChoice I S k hk nextEll hnext hnext1) |
| 99 | (hSym : ∀ x, -x ∈ I.support ↔ x ∈ I.support) |
| 100 | (CM CH K : ℝ) (hCM0 : 0 ≤ CM) (hK : 1 ≤ K) (hMK : CM ≤ K) (hHK : CM^2+CH ≤ K^2) |
| 101 | (hCM : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (fun y => S.evolution.velocity (t,y)) x‖ ≤ CM) |
| 102 | (hCH : ∀ (t : Icc (0 : ℝ) I.parent.T) x, ‖fderiv ℝ (S.evolution.force t) x‖ ≤ CH) |
| 103 | {V : Type} [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 104 | (m : Space) (hm : ‖m‖=1) (R : V ≃ₗᵢ[ℝ] referencePlane m) |
| 105 | (support : Set Space) (hSupport : IsCompact support) |
| 106 | |
| 107 | def renewal : ParentFrame (F.parent.transverseData m hm R support hSupport) |
| 108 | (I.geometry.lowGeometry I.halfBall).targetTime := |
| 109 | S.joinedTargetRenewal (state I S k hk nextEll hnext hnext1 F hSym) rfl |
| 110 | I.normal I.normal_unit I.coordinates I.support I.support_compact |
| 111 | m hm R support hSupport I.historyTime I.history_pos I.history_lt I.history I.geometry I.halfBall |
| 112 | I.cutoff_support CM CH K (k^(-(1/4 : ℝ))) |
| 113 | hCM0 hK (rpow_nonneg hk.pos.le _) hMK hHK |
| 114 | (fun t _ => S.evolution.centerStrain_bound CM hCM t) |
| 115 | (fun t _ => S.evolution.centerCurvature_bound CH hCH t) |
| 116 | I.delta_pos k (fun t _ => center_error I S k hk nextEll hnext hnext1 F hSym t) |
| 117 | |
| 118 | local notation "Pnew" => F.renewal hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport |
| 119 | |
| 120 | theorem renewal_matches : RenewalAtTarget (I.geometry.lowGeometry I.halfBall) Pnew := by |
| 121 | unfold renewal |
| 122 | apply SmoothState.joinedTargetRenewal_matches |
| 123 | |
| 124 | theorem renewal_costs : (Pnew).G=K ∧ (Pnew).error=k^(-(1/4 : ℝ)) := ⟨rfl,rfl⟩ |
| 125 | |
| 126 | theorem renewal_parameters (hTilt : (I.geometry.lowGeometry I.halfBall).tiltError ≤ 1/2) : |
| 127 | (Pnew).shear=I.geometry.hchild ∧ 0 < (Pnew).a ∧ |
| 128 | |(Pnew).a/I.frame.a-1| ≤ (I.geometry.lowGeometry I.halfBall).couplingError ∧ |
| 129 | 0 < (Pnew).sigma ∧ |
| 130 | |(I.geometry.y⁻¹)^2*(Pnew).sigma^2-1| ≤ (I.geometry.lowGeometry I.halfBall).tiltError := by |
| 131 | have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport |
| 132 | exact ⟨H.shear_eq I.delta_pos,H.coupling_pos,H.coupling_error,H.sigma_pos hTilt,H.tilt_error hTilt⟩ |
| 133 | |
| 134 | theorem renewal_compression (e : ℝ) (he : e ≤ 1) : |
| 135 | ⟪(Pnew).B (I.geometry.lowGeometry I.halfBall).targetTime |
| 136 | (unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)), |
| 137 | unit ((Pnew).m (I.geometry.lowGeometry I.halfBall).targetTime)⟫_ℝ+e < 0 := by |
| 138 | have H := F.renewal_matches hSym CM CH K hCM0 hK hMK hHK hCM hCH m hm R support hSupport |
| 139 | rw [H.background_compression_eq] |
| 140 | have hm := (I.geometry.lowGeometry I.halfBall).compression_margin he |
| 141 | have hc := (I.geometry.lowGeometry I.halfBall).nextCompression_le |
| 142 | linarith only [hm,hc] |
| 143 | |
| 144 | end EulerParentPacketFrames.GeometryJoinedChoice |