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.InitialH1OperatorProduct |
| 2 | import Euler.TransverseEndpointUniqueness |
| 3 | import Euler.TransverseFixedSpaceInverse |
| 4 | |
| 5 | /-! |
| 6 | The nonzero-terminal variational inverse on the same fixed coordinate Hilbert |
| 7 | space used by the packet inverse. The zero-trace correction is an actual |
| 8 | coercive solve. Full-range frame transport proves exact equality with the |
| 9 | physical endpoint solution, rather than introducing a second unrelated solve. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | |
| 15 | namespace EulerTransverseFixedEndpoint |
| 16 | |
| 17 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap EulerCoerciveProjection |
| 18 | EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive |
| 19 | EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport |
| 20 | EulerTransverseVariationalInverse EulerTransverseFixedSpaceInverse |
| 21 | EulerTransverseEndpointEnergy |
| 22 | |
| 23 | variable {U E V : Type*} |
| 24 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 25 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 26 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 27 | |
| 28 | variable (T : ℝ) (hT : 0 ≤ T) |
| 29 | (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 30 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 31 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) |
| 32 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 33 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 34 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) |
| 35 | (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 36 | |
| 37 | include hd in |
| 38 | theorem fixedFrameDerivative_trace_zero (v : zeroTraceDerivatives (U := U) T hT) : |
| 39 | initialTrace T hT (fixedFrameDerivative T hT Q Q₁ v) = 0 := by |
| 40 | have hv : initialTrace T hT (v : TimeLp T U) = 0 := v.property |
| 41 | change initialTrace T hT (productDerivative T hT Q Q₁ (v : TimeLp T U)) = 0 |
| 42 | rw [initialTrace_productDerivative T hT Q Q₁ hd, hv, map_zero] |
| 43 | |
| 44 | include hd in |
| 45 | /-- The fixed coordinate form is exactly the restriction of the physical initial-zero form. -/ |
| 46 | theorem fixedFrame_energy (u v : zeroTraceDerivatives (U := U) T hT) : |
| 47 | ⟪energyOperator T hT H (fixedFrameDerivative T hT Q Q₁ u), |
| 48 | fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = |
| 49 | ⟪fixedFrameOperator T hT Q Q₁ H u, v⟫_ℝ := by |
| 50 | rw [energyOperator_inner, fixedFrameOperator_inner, |
| 51 | initialPrimitiveTimeLp_eq_primitive_of_trace_zero T hT _ |
| 52 | (fixedFrameDerivative_trace_zero T hT Q Q₁ hd u), |
| 53 | initialPrimitiveTimeLp_eq_primitive_of_trace_zero T hT _ |
| 54 | (fixedFrameDerivative_trace_zero T hT Q Q₁ hd v)] |
| 55 | rfl |
| 56 | |
| 57 | def fixedEndpointCorrection (L : V →L[ℝ] TimeLp T E) : |
| 58 | V →L[ℝ] zeroTraceDerivatives (U := U) T hT := |
| 59 | (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) |
| 60 | (fixedCoercivity_pos T hT Q Q₁ c hc) |
| 61 | (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall)).comp |
| 62 | ((fixedFrameDerivative T hT Q Q₁).adjoint.comp ((energyOperator T hT H).comp L)) |
| 63 | |
| 64 | def fixedEndpointDerivative (L : V →L[ℝ] TimeLp T E) : V →L[ℝ] TimeLp T E := |
| 65 | L - (fixedFrameDerivative T hT Q Q₁).comp |
| 66 | (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L) |
| 67 | |
| 68 | theorem fixedEndpointCorrection_equation (L : V →L[ℝ] TimeLp T E) (Y : V) |
| 69 | (v : zeroTraceDerivatives (U := U) T hT) : |
| 70 | ⟪energyOperator T hT H (fixedFrameDerivative T hT Q Q₁ |
| 71 | (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y)), |
| 72 | fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = |
| 73 | ⟪energyOperator T hT H (L Y), fixedFrameDerivative T hT Q Q₁ v⟫_ℝ := by |
| 74 | rw [fixedFrame_energy T hT Q Q₁ H hd] |
| 75 | change ⟪fixedFrameOperator T hT Q Q₁ H |
| 76 | (coerciveInverse (fixedFrameOperator T hT Q Q₁ H) (fixedCoercivity T Q Q₁ c) |
| 77 | (fixedCoercivity_pos T hT Q Q₁ c hc) |
| 78 | (fixedFrameOperator_coercive T hT Q Q₁ H c hc hQ hd K hK hH hsmall) |
| 79 | ((fixedFrameDerivative T hT Q Q₁).adjoint (energyOperator T hT H (L Y)))), v⟫_ℝ = _ |
| 80 | rw [operator_inverse_apply, adjoint_inner_left] |
| 81 | |
| 82 | theorem fixedEndpointDerivative_orthogonal (L : V →L[ℝ] TimeLp T E) (Y : V) |
| 83 | (v : zeroTraceDerivatives (U := U) T hT) : |
| 84 | ⟪energyOperator T hT H (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y), |
| 85 | fixedFrameDerivative T hT Q Q₁ v⟫_ℝ = 0 := by |
| 86 | change ⟪energyOperator T hT H (L Y - fixedFrameDerivative T hT Q Q₁ |
| 87 | (fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y)), _⟫_ℝ = 0 |
| 88 | rw [map_sub, inner_sub_left, fixedEndpointCorrection_equation, sub_self] |
| 89 | |
| 90 | variable (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) |
| 91 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) |
| 92 | |
| 93 | include hm in |
| 94 | theorem fixedEndpointDerivative_sub_mem (L : V →L[ℝ] TimeLp T E) (Y : V) : |
| 95 | fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y - L Y ∈ |
| 96 | transverseDerivatives T hT m := by |
| 97 | let r := fixedEndpointCorrection T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y |
| 98 | have hr : fixedFrameDerivative T hT Q Q₁ r ∈ transverseDerivatives T hT m := |
| 99 | (transverseForward T hT Q Q₁ hd m hm r).property |
| 100 | have he : fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y - L Y = |
| 101 | -(fixedFrameDerivative T hT Q Q₁ r) := by |
| 102 | change (L Y - fixedFrameDerivative T hT Q Q₁ r) - L Y = _ |
| 103 | abel |
| 104 | rw [he] |
| 105 | exact (transverseDerivatives T hT m).neg_mem hr |
| 106 | |
| 107 | include hm hRange in |
| 108 | theorem fixedEndpointDerivative_physical_orthogonal (L : V →L[ℝ] TimeLp T E) (Y : V) |
| 109 | (v : transverseDerivatives T hT m) : |
| 110 | ⟪energyOperator T hT H (fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y), |
| 111 | (v : TimeLp T E)⟫_ℝ = 0 := by |
| 112 | have hv := congrArg (fun z : transverseDerivatives T hT m => (z : TimeLp T E)) |
| 113 | (transverseForward_backward T hT Q Q₁ c hc hQ hd m hm hRange v) |
| 114 | change fixedFrameDerivative T hT Q Q₁ (transverseBackward T hT Q Q₁ c hc hQ hd m v) = |
| 115 | (v : TimeLp T E) at hv |
| 116 | rw [← hv] |
| 117 | exact fixedEndpointDerivative_orthogonal T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y _ |
| 118 | |
| 119 | include hm hRange in |
| 120 | /-- The fixed-space solve is the same nonzero-terminal inverse used by activation. -/ |
| 121 | theorem fixedEndpointDerivative_eq_endpoint (L : V →L[ℝ] TimeLp T E) : |
| 122 | fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L = |
| 123 | endpointDerivative T hT m H K hK hH hsmall L := by |
| 124 | apply ContinuousLinearMap.ext |
| 125 | intro Y |
| 126 | let u := fixedEndpointDerivative T hT Q Q₁ H c hc hQ hd K hK hH hsmall L Y |
| 127 | let w := endpointDerivative T hT m H K hK hH hsmall L Y |
| 128 | have hdiff : u - w ∈ transverseDerivatives T hT m := by |
| 129 | have h₁ := fixedEndpointDerivative_sub_mem T hT Q Q₁ H c hc hQ hd K hK hH hsmall m hm L Y |
| 130 | have h₂ := endpointDerivative_sub_mem T hT m H K hK hH hsmall L Y |
| 131 | have hh := (transverseDerivatives T hT m).sub_mem h₁ h₂ |
| 132 | have he : (u - L Y) - (w - L Y) = u - w := by abel |
| 133 | exact he ▸ hh |
| 134 | let d : transverseDerivatives T hT m := ⟨u - w, hdiff⟩ |
| 135 | have hu : ⟪energyOperator T hT H u, (d : TimeLp T E)⟫_ℝ = 0 := |
| 136 | fixedEndpointDerivative_physical_orthogonal T hT Q Q₁ H c hc hQ hd K hK hH hsmall m hm hRange L Y d |
| 137 | have hw : ⟪energyOperator T hT H w, (d : TimeLp T E)⟫_ℝ = 0 := by |
| 138 | rw [energyOperator_inner, initialPrimitiveTimeLp_transverse T hT m d] |
| 139 | exact endpointDerivative_weak T hT m H K hK hH hsmall L Y d |
| 140 | have hz : ⟪energyOperator T hT H (u - w), u - w⟫_ℝ = 0 := by |
| 141 | change ⟪energyOperator T hT H (u - w), (d : TimeLp T E)⟫_ℝ = 0 |
| 142 | rw [map_sub, inner_sub_left, hu, hw, sub_zero] |
| 143 | have hc' := energyOperator_coercive T hT H K hK hH hsmall (u - w) |
| 144 | rw [hz] at hc' |
| 145 | have hn : ‖u - w‖ = 0 := by nlinarith only [hc', norm_nonneg (u - w)] |
| 146 | exact sub_eq_zero.mp (norm_eq_zero.mp hn) |
| 147 | |
| 148 | end EulerTransverseFixedEndpoint |