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.TransverseEndpointCoordinates |
| 2 | import Euler.TransverseGeneratorDifference |
| 3 | import Euler.TimeH1GeneratorBounds |
| 4 | |
| 5 | /-! |
| 6 | Polynomial uniform-time bounds and neighboring-label estimates for the |
| 7 | actual primary history. The terminal coordinate is the same at both labels. |
| 8 | `historyVelocity_eq` identifies the bounded path here with the genuine |
| 9 | coordinate velocity of the stationary endpoint solution. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | |
| 15 | namespace EulerTransverseHistoryBounds |
| 16 | |
| 17 | open Set ContinuousLinearMap InnerProductSpace |
| 18 | EulerTimeLp EulerInitialTimePrimitive EulerVolterraConvolution |
| 19 | EulerTimeH1FrameTransport EulerTransverseInitialInverse |
| 20 | EulerTransverseEndpointEnergy EulerTransverseFixedEndpoint EulerTransverseEndpointParameter |
| 21 | EulerTransverseEndpointBounds EulerTransverseEndpointDifference |
| 22 | EulerTransverseEndpointCoordinates EulerTransverseGeneratorDifference |
| 23 | EulerTransverseForwardInverse EulerTimeH1GeneratorBounds EulerContinuousTimeIntegral |
| 24 | |
| 25 | variable {U E : Type*} |
| 26 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 27 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 28 | |
| 29 | variable (T : ℝ) (hT : 0 ≤ T) |
| 30 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 31 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 32 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c * ‖v‖ ^ 2 ≤ ‖Q t v‖ ^ 2) |
| 33 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 34 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 35 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t v, ⟪H t v, v⟫_ℝ ≤ K * ‖v‖ ^ 2) |
| 36 | (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 37 | |
| 38 | def slopeCost (T d a r : ℝ) : ℝ := r * (1+d^2*(2*r^2)*a) * (affineCost T*d) |
| 39 | |
| 40 | def slopeDifferenceCost (T d a r δd δa : ℝ) : ℝ := |
| 41 | r * (affineCost T * endpointDifferenceCost d (2*r^2) a δd δa + δd * slopeCost T d a r) |
| 42 | |
| 43 | theorem coordinateSlope_norm_le (d a r : ℝ) |
| 44 | (hD : T * ‖Q₁‖ + ‖Q‖ ≤ d) (hA : 1 + T ^ 2 * ‖H‖ ≤ a) |
| 45 | (hr : transportCost T Q Q₁ c ≤ r) : |
| 46 | ‖coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall‖ ≤ slopeCost T d a r := by |
| 47 | have hd0 : 0 ≤ d := (show 0 ≤ T*‖Q₁‖+‖Q‖ by positivity).trans hD |
| 48 | have ha0 : 0 ≤ a := (show 0 ≤ 1+T^2*‖H‖ by positivity).trans hA |
| 49 | have hr0 := (transportCost_pos T hT Q Q₁ c hc).le.trans hr |
| 50 | apply opNorm_le_bound _ (by unfold slopeCost affineCost; positivity) |
| 51 | intro ξ |
| 52 | have hinv := norm_le_initialProductDerivative T hT Q Q₁ c hc hQ hd |
| 53 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) |
| 54 | rw [coordinateSlope_product T hT Q Q₁ H c hc hQ hd K hK hH hsmall] at hinv |
| 55 | have he := (le_opNorm |
| 56 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall (affineTrial T hT Q Q₁)) ξ).trans |
| 57 | (mul_le_mul_of_nonneg_right |
| 58 | (fixedAffineEndpoint_norm_le T hT Q Q₁ H c hc hQ hd K hK hH hsmall d a r hD hA hr) |
| 59 | (norm_nonneg ξ)) |
| 60 | exact hinv.trans ((mul_le_mul hr he (norm_nonneg _) hr0).trans_eq (by unfold slopeCost; ring)) |
| 61 | |
| 62 | variable (P P₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 63 | (G : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 64 | (hP : ∀ t v, c * ‖v‖ ^ 2 ≤ ‖P t v‖ ^ 2) |
| 65 | (hp : ∀ t : Icc (0 : ℝ) T, |
| 66 | HasDerivWithinAt (extendPath T hT P) (P₁ t) (Icc (0 : ℝ) T) t) |
| 67 | (hG : ∀ t v, ⟪G t v, v⟫_ℝ ≤ K * ‖v‖ ^ 2) |
| 68 | |
| 69 | theorem coordinateSlope_sub_norm_le (d a r : ℝ) |
| 70 | (hD : T * ‖Q₁‖ + ‖Q‖ ≤ d) (hD' : T * ‖P₁‖ + ‖P‖ ≤ d) |
| 71 | (hA : 1 + T ^ 2 * ‖H‖ ≤ a) (hA' : 1 + T ^ 2 * ‖G‖ ≤ a) |
| 72 | (hr : transportCost T Q Q₁ c ≤ r) (hr' : transportCost T P P₁ c ≤ r) : |
| 73 | ‖coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall - |
| 74 | coordinateSlope T hT P P₁ G c hc hP hp K hK hG hsmall‖ ≤ |
| 75 | slopeDifferenceCost T d a r (derivativeDistance T Q Q₁ P P₁) (T^2*‖H-G‖) := by |
| 76 | have hd0 : 0 ≤ d := (show 0 ≤ T*‖Q₁‖+‖Q‖ by positivity).trans hD |
| 77 | have ha0 : 0 ≤ a := (show 0 ≤ 1+T^2*‖H‖ by positivity).trans hA |
| 78 | have hr0 := (transportCost_pos T hT Q Q₁ c hc).le.trans hr |
| 79 | have hδd := derivativeDistance_nonneg T hT Q Q₁ P P₁ |
| 80 | apply opNorm_le_bound _ (by |
| 81 | unfold slopeDifferenceCost slopeCost endpointDifferenceCost affineCost |
| 82 | positivity) |
| 83 | intro ξ |
| 84 | have hinv := norm_sub_le_initialProductDerivative T hT Q Q₁ c hc hQ hd P P₁ |
| 85 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall ξ) |
| 86 | (coordinateSlope T hT P P₁ G c hc hP hp K hK hG hsmall ξ) |
| 87 | rw [coordinateSlope_product T hT Q Q₁ H c hc hQ hd K hK hH hsmall, |
| 88 | coordinateSlope_product T hT P P₁ G c hc hP hp K hK hG hsmall] at hinv |
| 89 | have hδend := fixedAffineEndpoint_sub_norm_le T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 90 | P P₁ G hP hp hG d a r hD hD' hA hA' hr hr' |
| 91 | have hend := (le_opNorm |
| 92 | (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall (affineTrial T hT Q Q₁) - |
| 93 | fixedEndpointDerivative T hT P P₁ G c hc hP hp K hK hG hsmall (affineTrial T hT P P₁)) ξ).trans |
| 94 | (mul_le_mul_of_nonneg_right hδend (norm_nonneg ξ)) |
| 95 | have hprev := (le_opNorm (coordinateSlope T hT P P₁ G c hc hP hp K hK hG hsmall) ξ).trans |
| 96 | (mul_le_mul_of_nonneg_right |
| 97 | (coordinateSlope_norm_le T hT P P₁ G c hc hP hp K hK hG hsmall d a r hD' hA' hr') (norm_nonneg ξ)) |
| 98 | have hright := add_le_add hend (mul_le_mul_of_nonneg_left hprev hδd) |
| 99 | exact hinv.trans ((mul_le_mul hr hright (by positivity) hr0).trans_eq |
| 100 | (by unfold slopeDifferenceCost derivativeDistance; ring)) |
| 101 | |
| 102 | def historyCost (T c q q₁ d a r : ℝ) : ℝ := |
| 103 | q * traceCost T (2*c⁻¹*q*q₁) * slopeCost T d a r |
| 104 | |
| 105 | def historyDifferenceCost (T c q q₁ d a r δq δq₁ δH : ℝ) : ℝ := |
| 106 | δq * traceCost T (2*c⁻¹*q*q₁) * slopeCost T d a r + |
| 107 | q * (2*(1+T)*generatorDifferenceCost c q q₁ δq δq₁*slopeCost T d a r + |
| 108 | traceCost T (2*c⁻¹*q*q₁)*slopeDifferenceCost T d a r (T*δq₁+δq) (T^2*δH)) |
| 109 | |
| 110 | theorem historyVelocity_norm_le (hTpos : 0 < T) (q q₁ d a r : ℝ) |
| 111 | (hQn : ‖Q‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ q₁) |
| 112 | (hD : T * ‖Q₁‖ + ‖Q‖ ≤ d) (hA : 1 + T ^ 2 * ‖H‖ ≤ a) |
| 113 | (hr : transportCost T Q Q₁ c ≤ r) : |
| 114 | ‖historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall‖ ≤ historyCost T c q q₁ d a r := by |
| 115 | exact transportedTrace_norm_le T hT hTpos Q (generator T Q Q₁ c hc hQ) |
| 116 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall) |
| 117 | q (2*c⁻¹*q*q₁) (slopeCost T d a r) hQn |
| 118 | (generator_norm_le T Q Q₁ c hc hQ q q₁ hQn hQ₁n) |
| 119 | (coordinateSlope_norm_le T hT Q Q₁ H c hc hQ hd K hK hH hsmall d a r hD hA hr) |
| 120 | |
| 121 | /-- The primary history has a polynomial, uniform-in-time coefficient |
| 122 | sensitivity. In particular coefficient Lipschitz bounds give the source's |
| 123 | physical-label Lipschitz bound with the same fixed terminal coordinate. -/ |
| 124 | theorem historyVelocity_sub_norm_le (hTpos : 0 < T) (q q₁ d a r : ℝ) |
| 125 | (hQn : ‖Q‖ ≤ q) (hPn : ‖P‖ ≤ q) (hQ₁n : ‖Q₁‖ ≤ q₁) (hP₁n : ‖P₁‖ ≤ q₁) |
| 126 | (hD : T * ‖Q₁‖ + ‖Q‖ ≤ d) (hD' : T * ‖P₁‖ + ‖P‖ ≤ d) |
| 127 | (hA : 1 + T ^ 2 * ‖H‖ ≤ a) (hA' : 1 + T ^ 2 * ‖G‖ ≤ a) |
| 128 | (hr : transportCost T Q Q₁ c ≤ r) (hr' : transportCost T P P₁ c ≤ r) : |
| 129 | ‖historyVelocity T hT Q Q₁ H c hc hQ hd K hK hH hsmall - |
| 130 | historyVelocity T hT P P₁ G c hc hP hp K hK hG hsmall‖ ≤ |
| 131 | historyDifferenceCost T c q q₁ d a r ‖Q-P‖ ‖Q₁-P₁‖ ‖H-G‖ := by |
| 132 | exact transportedTrace_sub_norm_le T hT hTpos Q P |
| 133 | (generator T Q Q₁ c hc hQ) (generator T P P₁ c hc hP) |
| 134 | (coordinateSlope T hT Q Q₁ H c hc hQ hd K hK hH hsmall) |
| 135 | (coordinateSlope T hT P P₁ G c hc hP hp K hK hG hsmall) |
| 136 | q (2*c⁻¹*q*q₁) (slopeCost T d a r) ‖Q-P‖ |
| 137 | (generatorDifferenceCost c q q₁ ‖Q-P‖ ‖Q₁-P₁‖) |
| 138 | (slopeDifferenceCost T d a r (derivativeDistance T Q Q₁ P P₁) (T^2*‖H-G‖)) |
| 139 | hPn (generator_norm_le T Q Q₁ c hc hQ q q₁ hQn hQ₁n) |
| 140 | (generator_norm_le T P P₁ c hc hP q q₁ hPn hP₁n) |
| 141 | (coordinateSlope_norm_le T hT Q Q₁ H c hc hQ hd K hK hH hsmall d a r hD hA hr) |
| 142 | le_rfl (generator_sub_norm_le T Q Q₁ P P₁ c hc hQ hP q q₁ hQn hPn hQ₁n hP₁n) |
| 143 | (coordinateSlope_sub_norm_le T hT Q Q₁ H c hc hQ hd K hK hH hsmall |
| 144 | P P₁ G hP hp hG d a r hD hD' hA hA' hr hr') |
| 145 | |
| 146 | end EulerTransverseHistoryBounds |