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.TransverseStrongEstimates |
| 2 | |
| 3 | /-! |
| 4 | # Transport of actual H¹ derivative spaces by a moving frame |
| 5 | |
| 6 | The forward map is the actual derivative of `Q(t) Jv(t)`. Its left inverse is |
| 7 | the actual derivative after applying the constructed Gram left inverse. This |
| 8 | places parameter-dependent transverse variational problems on one fixed Hilbert |
| 9 | space before coefficient differentiation or all-order estimates. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTimeH1FrameTransport |
| 15 | |
| 16 | open Set InnerProductSpace ContinuousLinearMap MeasureTheory |
| 17 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution |
| 18 | EulerTimeH1OperatorProduct EulerTransverseVariationalInverse |
| 19 | EulerTransverseGramInverse EulerTransverseGramPath |
| 20 | EulerTransverseCoordinateRegularity EulerTransverseStrongEstimates |
| 21 | |
| 22 | variable {U E : Type*} |
| 23 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 24 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 25 | |
| 26 | variable (T : ℝ) (hT : 0 ≤ T) |
| 27 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 28 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖^2 ≤ ‖Q t x‖^2) |
| 29 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 30 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 31 | |
| 32 | include hd in |
| 33 | /-- Differentiating the constructed left inverse recovers every coordinate |
| 34 | H¹ derivative. No initial condition is needed for this transport identity. -/ |
| 35 | theorem coordinateDerivative_productDerivative (v : TimeLp T U) : |
| 36 | coordinateDerivative T hT Q Q₁ c hc hQ (productDerivative T hT Q Q₁ v) = v := by |
| 37 | apply terminalPrimitive_injective T hT |
| 38 | apply ContinuousMap.ext |
| 39 | intro t |
| 40 | change terminalPrimitive T hT |
| 41 | (productDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 42 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 43 | (productDerivative T hT Q Q₁ v)) t = _ |
| 44 | rw [terminalPrimitive_productDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 45 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 46 | (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd), |
| 47 | terminalPrimitive_productDerivative T hT Q Q₁ hd] |
| 48 | exact frameLeftInverse_apply (Q t) c hc (hQ t) _ |
| 49 | |
| 50 | /-- A strictly positive polynomial transport cost from the inverse-frame bounds. -/ |
| 51 | def transportCost : ℝ := |
| 52 | 1 + ((2 * (c⁻¹)^2 * ‖Q‖^2 * ‖Q₁‖ + c⁻¹ * ‖Q₁‖) * T + c⁻¹ * ‖Q‖) |
| 53 | |
| 54 | omit [CompleteSpace U] [CompleteSpace E] in |
| 55 | include hT hc in |
| 56 | /-- The transport cost is positive even in a degenerate zero-dimensional space. -/ |
| 57 | theorem transportCost_pos : 0 < transportCost T Q Q₁ c := by |
| 58 | unfold transportCost |
| 59 | positivity |
| 60 | |
| 61 | include hc hQ hd in |
| 62 | /-- The coordinate derivative norm is bounded by the physical derivative norm. -/ |
| 63 | theorem norm_le_transportCost_productDerivative (v : TimeLp T U) : |
| 64 | ‖v‖ ≤ transportCost T Q Q₁ c * ‖productDerivative T hT Q Q₁ v‖ := by |
| 65 | calc |
| 66 | ‖v‖ = ‖coordinateDerivative T hT Q Q₁ c hc hQ (productDerivative T hT Q Q₁ v)‖ := by |
| 67 | rw [coordinateDerivative_productDerivative T hT Q Q₁ c hc hQ hd] |
| 68 | _ ≤ ((2 * (c⁻¹)^2 * ‖Q‖^2 * ‖Q₁‖ + c⁻¹ * ‖Q₁‖) * T + c⁻¹ * ‖Q‖) * |
| 69 | ‖productDerivative T hT Q Q₁ v‖ := |
| 70 | coordinateDerivative_norm T Q Q₁ c hc hQ hT _ |
| 71 | _ ≤ transportCost T Q Q₁ c * ‖productDerivative T hT Q Q₁ v‖ := by |
| 72 | unfold transportCost |
| 73 | nlinarith only [norm_nonneg (productDerivative T hT Q Q₁ v)] |
| 74 | |
| 75 | include hc hQ hd in |
| 76 | /-- A quantitative lower bound for the transported kinetic energy. -/ |
| 77 | theorem productDerivative_norm_sq_lower (v : TimeLp T U) : |
| 78 | (transportCost T Q Q₁ c)⁻¹ ^ 2 * ‖v‖^2 ≤ ‖productDerivative T hT Q Q₁ v‖^2 := by |
| 79 | have hC := transportCost_pos T hT Q Q₁ c hc |
| 80 | have hn := norm_le_transportCost_productDerivative T hT Q Q₁ c hc hQ hd v |
| 81 | have hdiv : ‖v‖ / transportCost T Q Q₁ c ≤ ‖productDerivative T hT Q Q₁ v‖ := |
| 82 | (div_le_iff₀ hC).2 (by simpa only [mul_comm] using hn) |
| 83 | have hs := (sq_le_sq₀ (div_nonneg (norm_nonneg v) hC.le) (norm_nonneg _)).2 hdiv |
| 84 | simpa only [div_eq_mul_inv, mul_pow, mul_comm] using hs |
| 85 | |
| 86 | /-- The fixed Hilbert space of coordinate derivatives with zero initial trace. |
| 87 | Terminal zero is already supplied by the primitive. -/ |
| 88 | def zeroTraceDerivatives (T : ℝ) (hT : 0 ≤ T) : Submodule ℝ (TimeLp T U) := |
| 89 | LinearMap.ker (initialTrace T hT).toLinearMap |
| 90 | |
| 91 | /-- The fixed zero-trace coordinate space is complete. -/ |
| 92 | instance zeroTraceDerivatives_complete (T : ℝ) (hT : 0 ≤ T) : |
| 93 | CompleteSpace (zeroTraceDerivatives (U := U) T hT) := |
| 94 | (initialTrace (E := U) T hT).isClosed_ker.completeSpace_coe |
| 95 | |
| 96 | variable (m : Icc (0 : ℝ) T → E) |
| 97 | (hTangent : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) |
| 98 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) |
| 99 | |
| 100 | /-- Actual differentiation transports the fixed coordinate space to the |
| 101 | physical zero-endpoint moving-plane space. -/ |
| 102 | def transverseForward : zeroTraceDerivatives (U := U) T hT →L[ℝ] transverseDerivatives T hT m := |
| 103 | ((productDerivative T hT Q Q₁).comp (zeroTraceDerivatives (U := U) T hT).subtypeL).codRestrict |
| 104 | (transverseDerivatives T hT m) (fun v => |
| 105 | EulerTransverseMomentumRegularity.productDerivative_mem_transverse T hT Q Q₁ hd m hTangent |
| 106 | (v : TimeLp T U) v.property) |
| 107 | |
| 108 | /-- Applying the constructed inverse-frame derivative transports back to the |
| 109 | same fixed coordinate space. -/ |
| 110 | def transverseBackward : transverseDerivatives T hT m →L[ℝ] zeroTraceDerivatives (U := U) T hT := |
| 111 | ((productDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 112 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ)).comp |
| 113 | (transverseDerivatives T hT m).subtypeL).codRestrict |
| 114 | (zeroTraceDerivatives T hT) (fun u => by |
| 115 | change initialTrace T hT (productDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 116 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) (u : TimeLp T E)) = 0 |
| 117 | rw [initialTrace_productDerivative T hT (frameLeftInversePath T Q c hc hQ) |
| 118 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) |
| 119 | (frameLeftInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd), u.property.1, map_zero]) |
| 120 | |
| 121 | /-- The backward transport is the actual inverse on every fixed coordinate derivative. -/ |
| 122 | theorem transverseBackward_forward (v : zeroTraceDerivatives (U := U) T hT) : |
| 123 | transverseBackward T hT Q Q₁ c hc hQ hd m |
| 124 | (transverseForward T hT Q Q₁ hd m hTangent v) = v := by |
| 125 | apply Subtype.ext |
| 126 | exact coordinateDerivative_productDerivative T hT Q Q₁ c hc hQ hd (v : TimeLp T U) |
| 127 | |
| 128 | include hRange in |
| 129 | /-- The forward transport recovers every physical transverse derivative. -/ |
| 130 | theorem transverseForward_backward (u : transverseDerivatives T hT m) : |
| 131 | transverseForward T hT Q Q₁ hd m hTangent |
| 132 | (transverseBackward T hT Q Q₁ c hc hQ hd m u) = u := by |
| 133 | apply Subtype.ext |
| 134 | exact coordinateDerivative_reconstruct T hT Q Q₁ c hc hQ hd m hRange u |
| 135 | |
| 136 | /-- A proved bounded linear equivalence to a parameter-independent Hilbert space. -/ |
| 137 | def transverseEquiv : zeroTraceDerivatives (U := U) T hT ≃L[ℝ] transverseDerivatives T hT m where |
| 138 | toLinearEquiv := |
| 139 | { toFun := transverseForward T hT Q Q₁ hd m hTangent |
| 140 | invFun := transverseBackward T hT Q Q₁ c hc hQ hd m |
| 141 | left_inv := transverseBackward_forward T hT Q Q₁ c hc hQ hd m hTangent |
| 142 | right_inv := transverseForward_backward T hT Q Q₁ c hc hQ hd m hTangent hRange |
| 143 | map_add' := map_add _ |
| 144 | map_smul' := map_smul _ } |
| 145 | continuous_toFun := (transverseForward T hT Q Q₁ hd m hTangent).continuous |
| 146 | continuous_invFun := (transverseBackward T hT Q Q₁ c hc hQ hd m).continuous |
| 147 | |
| 148 | end EulerTimeH1FrameTransport |