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.PacketNeighborInitial |
| 3 | import Euler.PacketCoefficientLipschitz |
| 4 | |
| 5 | /-! Genuine label sensitivity of the stationary source history. All |
| 6 | constants below are computed from the supplied smooth coefficient paths; |
| 7 | no continuity or estimate for the solved history is assumed. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketActivationHistory |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 14 | EulerTransversePacketProvider EulerTransverseSourceCoefficientPath |
| 15 | EulerTransverseHistoryBounds EulerTimeH1FrameTransport |
| 16 | EulerTransverseEndpointCoordinates |
| 17 | open scoped BoundedContinuousFunction |
| 18 | |
| 19 | private theorem transport_polynomial_mono {ci T q Q p P : ℝ} |
| 20 | (hci : 0 ≤ ci) (hT : 0 ≤ T) (hq0 : 0 ≤ q) (hp0 : 0 ≤ p) |
| 21 | (hq : q ≤ Q) (hp : p ≤ P) : |
| 22 | 1+((2*ci^2*q^2*p+ci*p)*T+ci*q) ≤ 1+((2*ci^2*Q^2*P+ci*P)*T+ci*Q) := by |
| 23 | gcongr |
| 24 | |
| 25 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | {D : Data U} (B : HistoryData D) |
| 27 | |
| 28 | private local instance : NormedAddCommGroup (U →L[ℝ] Space) := inferInstance |
| 29 | private local instance : NormedSpace ℝ (U →L[ℝ] Space) := inferInstance |
| 30 | private local instance : NormedAddCommGroup (Space →ᵇ (U →L[ℝ] Space)) := inferInstance |
| 31 | private local instance : NormedSpace ℝ (Space →ᵇ (U →L[ℝ] Space)) := inferInstance |
| 32 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ (U →L[ℝ] Space)) := inferInstance |
| 33 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ (U →L[ℝ] Space)) := inferInstance |
| 34 | private local instance : NormedAddCommGroup (Space →L[ℝ] (U →L[ℝ] Space)) := inferInstance |
| 35 | private local instance : NormedSpace ℝ (Space →L[ℝ] (U →L[ℝ] Space)) := inferInstance |
| 36 | private local instance : NormedAddCommGroup (Space →ᵇ (Space →L[ℝ] (U →L[ℝ] Space))) := inferInstance |
| 37 | private local instance : NormedSpace ℝ (Space →ᵇ (Space →L[ℝ] (U →L[ℝ] Space))) := inferInstance |
| 38 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ (Space →L[ℝ] (U →L[ℝ] Space))) := inferInstance |
| 39 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ (Space →L[ℝ] (U →L[ℝ] Space))) := inferInstance |
| 40 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 41 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 42 | private local instance : NormedAddCommGroup (Space →ᵇ (Space →L[ℝ] Space)) := inferInstance |
| 43 | private local instance : NormedSpace ℝ (Space →ᵇ (Space →L[ℝ] Space)) := inferInstance |
| 44 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ (Space →L[ℝ] Space)) := inferInstance |
| 45 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ (Space →L[ℝ] Space)) := inferInstance |
| 46 | |
| 47 | def historyTransportCost : ℝ := |
| 48 | 1+((2*(D.frameLower⁻¹)^2*‖D.frame.field‖^2*‖D.frameDerivative.field‖+ |
| 49 | D.frameLower⁻¹*‖D.frameDerivative.field‖)*D.T+D.frameLower⁻¹*‖D.frame.field‖) |
| 50 | |
| 51 | def historyLabelSizeCost : ℝ := |
| 52 | historyCost D.T D.frameLower ‖D.frame.field‖ ‖D.frameDerivative.field‖ |
| 53 | (D.T*‖D.frameDerivative.field‖+‖D.frame.field‖) (1+D.T^2*‖B.H.field‖) |
| 54 | (historyTransportCost (D := D)) |
| 55 | |
| 56 | def historyLabelDifferenceCost : ℝ := |
| 57 | historyDifferenceCost D.T D.frameLower ‖D.frame.field‖ ‖D.frameDerivative.field‖ |
| 58 | (D.T*‖D.frameDerivative.field‖+‖D.frame.field‖) (1+D.T^2*‖B.H.field‖) |
| 59 | (historyTransportCost (D := D)) ‖D.frame.derivative.field‖ |
| 60 | ‖D.frameDerivative.derivative.field‖ ‖B.H.derivative.field‖ |
| 61 | |
| 62 | omit [CompleteSpace U] in |
| 63 | theorem historyTransportCost_nonneg : 0 ≤ historyTransportCost (D := D) := by |
| 64 | have := D.T_pos |
| 65 | have := D.frameLower_pos |
| 66 | unfold historyTransportCost |
| 67 | positivity |
| 68 | |
| 69 | omit [CompleteSpace U] in |
| 70 | theorem label_transportCost_le (x : Space) : |
| 71 | transportCost D.T (B.coefficients.labelFrame x) (B.coefficients.labelFrameDerivative x) |
| 72 | D.frameLower ≤ historyTransportCost (D := D) := by |
| 73 | have hq := coefficient_label_norm D.frame x |
| 74 | have hq₁ := coefficient_label_norm D.frameDerivative x |
| 75 | unfold transportCost historyTransportCost |
| 76 | change 1+((2*(D.frameLower⁻¹)^2*‖pathEvaluation x D.frame.field‖^2* |
| 77 | ‖pathEvaluation x D.frameDerivative.field‖+ |
| 78 | D.frameLower⁻¹*‖pathEvaluation x D.frameDerivative.field‖)*D.T+ |
| 79 | D.frameLower⁻¹*‖pathEvaluation x D.frame.field‖) ≤ _ |
| 80 | exact transport_polynomial_mono (inv_nonneg.mpr D.frameLower_pos.le) D.T_pos.le |
| 81 | (norm_nonneg _) (norm_nonneg _) hq hq₁ |
| 82 | |
| 83 | omit [CompleteSpace U] in |
| 84 | theorem label_derivative_size (x : Space) : |
| 85 | D.T*‖B.coefficients.labelFrameDerivative x‖+‖B.coefficients.labelFrame x‖ ≤ |
| 86 | D.T*‖D.frameDerivative.field‖+‖D.frame.field‖ := |
| 87 | add_le_add (mul_le_mul_of_nonneg_left (coefficient_label_norm D.frameDerivative x) D.T_pos.le) |
| 88 | (coefficient_label_norm D.frame x) |
| 89 | |
| 90 | omit [CompleteSpace U] in |
| 91 | theorem label_energy_size (x : Space) : |
| 92 | 1+D.T^2*‖B.coefficients.labelHessian x‖ ≤ 1+D.T^2*‖B.H.field‖ := |
| 93 | add_le_add le_rfl (mul_le_mul_of_nonneg_left (coefficient_label_norm B.H x) (sq_nonneg D.T)) |
| 94 | |
| 95 | omit [CompleteSpace U] in |
| 96 | theorem historyLabelDifferenceCost_nonneg : 0 ≤ historyLabelDifferenceCost B := by |
| 97 | apply historyDifferenceCost_nonneg |
| 98 | · exact D.T_pos.le |
| 99 | · exact D.frameLower_pos.le |
| 100 | · positivity |
| 101 | · positivity |
| 102 | · positivity [D.T_pos] |
| 103 | · positivity |
| 104 | · exact historyTransportCost_nonneg (D := D) |
| 105 | · positivity |
| 106 | · positivity |
| 107 | · positivity |
| 108 | |
| 109 | theorem labelVelocity_norm (x : Space) : |
| 110 | ‖B.coefficients.labelVelocity x‖ ≤ historyLabelSizeCost B := by |
| 111 | exact historyVelocity_norm_le D.T D.T_pos.le |
| 112 | (B.coefficients.labelFrame x) (B.coefficients.labelFrameDerivative x) |
| 113 | (B.coefficients.labelHessian x) D.frameLower D.frameLower_pos |
| 114 | (B.coefficients.labelFrame_lower x) (B.coefficients.labelFrame_derivative x) |
| 115 | B.potential B.potential_nonneg (B.coefficients.labelHessian_upper x) B.small D.T_pos |
| 116 | ‖D.frame.field‖ ‖D.frameDerivative.field‖ |
| 117 | (D.T*‖D.frameDerivative.field‖+‖D.frame.field‖) (1+D.T^2*‖B.H.field‖) |
| 118 | (historyTransportCost (D := D)) (coefficient_label_norm D.frame x) |
| 119 | (coefficient_label_norm D.frameDerivative x) (label_derivative_size B x) |
| 120 | (label_energy_size B x) (label_transportCost_le B x) |
| 121 | |
| 122 | theorem labelVelocity_difference (x y : Space) : |
| 123 | ‖B.coefficients.labelVelocity x-B.coefficients.labelVelocity y‖ ≤ |
| 124 | historyLabelDifferenceCost B*‖x-y‖ := by |
| 125 | exact historyVelocity_sub_norm_le_of_coefficient_bounds D.T D.T_pos.le |
| 126 | (B.coefficients.labelFrame x) (B.coefficients.labelFrameDerivative x) |
| 127 | (B.coefficients.labelHessian x) D.frameLower D.frameLower_pos |
| 128 | (B.coefficients.labelFrame_lower x) (B.coefficients.labelFrame_derivative x) |
| 129 | B.potential B.potential_nonneg (B.coefficients.labelHessian_upper x) B.small |
| 130 | (B.coefficients.labelFrame y) (B.coefficients.labelFrameDerivative y) |
| 131 | (B.coefficients.labelHessian y) (B.coefficients.labelFrame_lower y) |
| 132 | (B.coefficients.labelFrame_derivative y) (B.coefficients.labelHessian_upper y) D.T_pos |
| 133 | ‖D.frame.field‖ ‖D.frameDerivative.field‖ |
| 134 | (D.T*‖D.frameDerivative.field‖+‖D.frame.field‖) (1+D.T^2*‖B.H.field‖) |
| 135 | (historyTransportCost (D := D)) (coefficient_label_norm D.frame x) |
| 136 | (coefficient_label_norm D.frame y) (coefficient_label_norm D.frameDerivative x) |
| 137 | (coefficient_label_norm D.frameDerivative y) (label_derivative_size B x) (label_derivative_size B y) |
| 138 | (label_energy_size B x) (label_energy_size B y) (label_transportCost_le B x) |
| 139 | (label_transportCost_le B y) ‖D.frame.derivative.field‖ ‖D.frameDerivative.derivative.field‖ |
| 140 | ‖B.H.derivative.field‖ ‖x-y‖ (coefficient_label_difference D.frame x y) |
| 141 | (coefficient_label_difference D.frameDerivative x y) (coefficient_label_difference B.H x y) |
| 142 | |
| 143 | theorem labelVelocity_point_difference (x y : Space) (ξ : U) (t : Icc (0 : ℝ) D.T) : |
| 144 | ‖B.coefficients.labelVelocity x ξ t-B.coefficients.labelVelocity y ξ t‖ ≤ |
| 145 | historyLabelDifferenceCost B*‖x-y‖*‖ξ‖ := by |
| 146 | exact (((B.coefficients.labelVelocity x-B.coefficients.labelVelocity y) ξ).norm_coe_le_norm t).trans |
| 147 | (((B.coefficients.labelVelocity x-B.coefficients.labelVelocity y).le_opNorm ξ).trans |
| 148 | (mul_le_mul_of_nonneg_right (labelVelocity_difference B x y) (norm_nonneg ξ))) |
| 149 | |
| 150 | end EulerPacketActivationHistory |