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.TransverseEndpointBounds |
| 2 | import Euler.TransverseInitialCoordinates |
| 3 | import Euler.TransverseStrongEstimates |
| 4 | |
| 5 | /-! |
| 6 | The actual left inverse of initial-zero moving-frame differentiation. This |
| 7 | gives polynomial coordinate estimates for nonzero-terminal paths, including |
| 8 | differences between frames, without estimating a forward evolution. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | |
| 14 | namespace EulerTransverseInitialInverse |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace |
| 17 | EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive |
| 18 | EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport |
| 19 | EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseInitialCoordinates |
| 20 | EulerTransverseStrongEstimates EulerTransverseEndpointBounds |
| 21 | |
| 22 | open scoped Topology |
| 23 | |
| 24 | variable {U E : Type*} |
| 25 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 27 | |
| 28 | variable (T : ℝ) (hT : 0 ≤ T) |
| 29 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 30 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t v, c * ‖v‖ ^ 2 ≤ ‖Q t v‖ ^ 2) |
| 31 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 32 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 33 | |
| 34 | def initialCoordinateOperator : TimeLp T E →L[ℝ] TimeLp T U := |
| 35 | initialProductDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 36 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 37 | |
| 38 | theorem initialCoordinateOperator_apply (u : TimeLp T E) : |
| 39 | initialCoordinateOperator T hT Q Q₁ c hc hQ u = |
| 40 | initialCoordinateDerivative T hT Q Q₁ c hc hQ u := rfl |
| 41 | |
| 42 | include hd in |
| 43 | theorem initialCoordinates_product (u : TimeLp T U) (t : Icc (0 : ℝ) T) : |
| 44 | initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) t = |
| 45 | initialRealPrimitive T u t := by |
| 46 | have he := initialPrimitive_initialProductDerivative T hT Q Q₁ hd u t |
| 47 | change initialRealPrimitive T (initialProductDerivative T hT Q Q₁ u) t = |
| 48 | Q t (initialRealPrimitive T u t) at he |
| 49 | simp only [initialCoordinates, extendPath, projIcc_of_mem hT t.property, he] |
| 50 | exact frameLeftInverse_apply (Q t) c hc (hQ t) _ |
| 51 | |
| 52 | include hd in |
| 53 | /-- Differentiating the true initial primitive proves the left-inverse identity. -/ |
| 54 | theorem initialCoordinateOperator_product (u : TimeLp T U) : |
| 55 | initialCoordinateOperator T hT Q Q₁ c hc hQ (initialProductDerivative T hT Q Q₁ u) = u := by |
| 56 | apply Lp.ext |
| 57 | have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Ioo (0 : ℝ) T := by |
| 58 | change ∀ᵐ t ∂volume.restrict (Icc (0 : ℝ) T), t ∈ Ioo (0 : ℝ) T |
| 59 | rw [← restrict_Ioo_eq_restrict_Icc] |
| 60 | exact ae_restrict_mem measurableSet_Ioo |
| 61 | filter_upwards [hmem, |
| 62 | (initialCoordinates_h1 T hT Q Q₁ c hc hQ hd (initialProductDerivative T hT Q Q₁ u)).2.2, |
| 63 | initialRealPrimitive_hasDerivAt_ae T u] with t ht hcoord hu |
| 64 | have he : initialCoordinates T hT Q c hc hQ (initialProductDerivative T hT Q Q₁ u) =ᶠ[𝓝 t] |
| 65 | initialRealPrimitive T u := by |
| 66 | filter_upwards [Icc_mem_nhds ht.1 ht.2] with s hs |
| 67 | exact initialCoordinates_product T hT Q Q₁ c hc hQ hd u ⟨s, hs⟩ |
| 68 | exact hcoord.unique (hu.congr_of_eventuallyEq he) |
| 69 | |
| 70 | theorem initialCoordinateOperator_norm_le : |
| 71 | ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ ≤ transportCost T Q Q₁ c := by |
| 72 | have hb := product_norm_le T hT (initialPrimitiveTimeLp T hT) |
| 73 | (initialPrimitive_norm_le_time T hT) (frameLeftInversePath T Q c hc hQ) |
| 74 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 75 | have hpath := add_le_add |
| 76 | (mul_le_mul_of_nonneg_left (frameLeftInverseDerivativePath_norm T Q Q₁ c hc hQ) hT) |
| 77 | (frameLeftInversePath_norm T Q c hc hQ) |
| 78 | change ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ ≤ _ at hb |
| 79 | apply hb.trans (hpath.trans _) |
| 80 | unfold transportCost |
| 81 | linarith |
| 82 | |
| 83 | include hd hc hQ in |
| 84 | theorem norm_le_initialProductDerivative (u : TimeLp T U) : |
| 85 | ‖u‖ ≤ transportCost T Q Q₁ c * ‖initialProductDerivative T hT Q Q₁ u‖ := by |
| 86 | calc |
| 87 | ‖u‖ = ‖initialCoordinateOperator T hT Q Q₁ c hc hQ (initialProductDerivative T hT Q Q₁ u)‖ := by |
| 88 | rw [initialCoordinateOperator_product T hT Q Q₁ c hc hQ hd] |
| 89 | _ ≤ ‖initialCoordinateOperator T hT Q Q₁ c hc hQ‖ * |
| 90 | ‖initialProductDerivative T hT Q Q₁ u‖ := le_opNorm _ _ |
| 91 | _ ≤ _ := mul_le_mul_of_nonneg_right (initialCoordinateOperator_norm_le T hT Q Q₁ c hc hQ) |
| 92 | (norm_nonneg _) |
| 93 | |
| 94 | include hd hc hQ in |
| 95 | /-- A difference of coordinate derivatives is bounded by the physical |
| 96 | difference and the literal change of the frame coefficients. -/ |
| 97 | theorem norm_sub_le_initialProductDerivative |
| 98 | (P P₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (u v : TimeLp T U) : |
| 99 | ‖u-v‖ ≤ transportCost T Q Q₁ c * |
| 100 | (‖initialProductDerivative T hT Q Q₁ u - initialProductDerivative T hT P P₁ v‖ + |
| 101 | (T * ‖Q₁-P₁‖ + ‖Q-P‖) * ‖v‖) := by |
| 102 | apply (norm_le_initialProductDerivative T hT Q Q₁ c hc hQ hd (u-v)).trans |
| 103 | apply mul_le_mul_of_nonneg_left _ (transportCost_pos T hT Q Q₁ c hc).le |
| 104 | have he : initialProductDerivative T hT Q Q₁ (u-v) = |
| 105 | (initialProductDerivative T hT Q Q₁ u - initialProductDerivative T hT P P₁ v) - |
| 106 | (initialProductDerivative T hT Q Q₁ - initialProductDerivative T hT P P₁) v := by |
| 107 | rw [map_sub, sub_apply] |
| 108 | abel |
| 109 | rw [he] |
| 110 | apply (norm_sub_le _ _).trans (add_le_add (le_refl _) _) |
| 111 | exact (le_opNorm _ _).trans (mul_le_mul_of_nonneg_right |
| 112 | (product_sub_norm_le T hT _ (initialPrimitive_norm_le_time T hT) Q Q₁ P P₁) (norm_nonneg v)) |
| 113 | |
| 114 | end EulerTransverseInitialInverse |