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.TerminalTimePrimitive |
| 2 | import Euler.TransverseVariationalOperator |
| 3 | import Euler.TransverseFrameCoordinates |
| 4 | |
| 5 | /-! |
| 6 | # The actual zero-endpoint transverse displacement inverse |
| 7 | |
| 8 | We use the derivative of the physical displacement as the Hilbert-space |
| 9 | variable. Terminal integration supplies the displacement. Its initial trace |
| 10 | and its moving normal component are bounded linear constraints, hence define a |
| 11 | closed Hilbert subspace. The kinetic energy is exactly the squared norm on this |
| 12 | space; no norm equivalence or pre-existing differential inverse is assumed. |
| 13 | |
| 14 | This constructs the weak transverse inverse in source lines 172--184. The |
| 15 | coordinate identity `η = F R ξ` and strong coordinate evolution require the |
| 16 | separate frame and regularity arguments; they are not assumed in this file. |
| 17 | -/ |
| 18 | |
| 19 | noncomputable section |
| 20 | |
| 21 | namespace EulerTransverseVariationalInverse |
| 22 | |
| 23 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap |
| 24 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution |
| 25 | |
| 26 | variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 27 | |
| 28 | /-- Derivatives of actual zero-endpoint displacements tangent to the moving plane. -/ |
| 29 | def transverseDerivatives (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) : |
| 30 | Submodule ℝ (TimeLp T E) where |
| 31 | carrier := {u | initialTrace T hT u = 0 ∧ |
| 32 | ∀ t, ⟪m t, terminalPrimitive T hT u t⟫_ℝ = 0} |
| 33 | zero_mem' := by |
| 34 | constructor |
| 35 | · exact map_zero _ |
| 36 | · intro t |
| 37 | simp only [map_zero, ContinuousMap.zero_apply, inner_zero_right] |
| 38 | add_mem' := by |
| 39 | intro u v hu hv |
| 40 | constructor |
| 41 | · simp only [map_add, hu.1, hv.1, add_zero] |
| 42 | · intro t |
| 43 | simp only [map_add, ContinuousMap.add_apply, inner_add_right, hu.2 t, hv.2 t, |
| 44 | add_zero] |
| 45 | smul_mem' := by |
| 46 | intro a u hu |
| 47 | constructor |
| 48 | · simp only [map_smul, hu.1, smul_zero] |
| 49 | · intro t |
| 50 | simp only [map_smul, ContinuousMap.smul_apply, inner_smul_right, hu.2 t, |
| 51 | mul_zero] |
| 52 | |
| 53 | /-- The two endpoint and moving tangency conditions are closed constraints. -/ |
| 54 | theorem transverseDerivatives_closed (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) : |
| 55 | IsClosed (transverseDerivatives T hT m : Set (TimeLp T E)) := by |
| 56 | change IsClosed {u : TimeLp T E | initialTrace T hT u = 0 ∧ |
| 57 | ∀ t, ⟪m t, terminalPrimitive T hT u t⟫_ℝ = 0} |
| 58 | rw [Set.ofPred_and, Set.ofPred_forall] |
| 59 | apply (isClosed_eq (initialTrace T hT).continuous continuous_const).inter |
| 60 | apply isClosed_iInter |
| 61 | intro t |
| 62 | exact isClosed_eq |
| 63 | (continuous_const.inner ((ContinuousMap.evalCLM ℝ t).continuous.comp |
| 64 | (terminalPrimitive T hT).continuous)) continuous_const |
| 65 | |
| 66 | /-- Closedness supplies completeness for the actual displacement-derivative space. -/ |
| 67 | instance transverseDerivatives_complete [CompleteSpace E] (T : ℝ) (hT : 0 ≤ T) |
| 68 | (m : Icc (0 : ℝ) T → E) : CompleteSpace (transverseDerivatives T hT m) := |
| 69 | (transverseDerivatives_closed T hT m).completeSpace_coe |
| 70 | |
| 71 | /-- Every genuine absolutely continuous zero-endpoint transverse path with an |
| 72 | L² derivative belongs to this Hilbert model. Thus the test space is not an |
| 73 | assumed family of already solved displacements. -/ |
| 74 | theorem derivative_mem_of_ac [CompleteSpace E] (T : ℝ) (hT : 0 ≤ T) |
| 75 | (m : Icc (0 : ℝ) T → E) (u : TimeLp T E) (η : ℝ → E) |
| 76 | (hη : AbsolutelyContinuousOnInterval η 0 T) |
| 77 | (hder : ∀ᵐ t ∂timeMeasure T, HasDerivAt η (u t) t) |
| 78 | (hzero : η 0 = 0) (hterminal : η T = 0) |
| 79 | (htangent : ∀ t : Icc (0 : ℝ) T, ⟪m t, η t⟫_ℝ = 0) : |
| 80 | u ∈ transverseDerivatives T hT m := by |
| 81 | have heq := eq_realPrimitive_of_ac_hasDerivAt_ae T hT u η hη hder hterminal |
| 82 | constructor |
| 83 | · change realPrimitive T u 0 = 0 |
| 84 | rw [← heq 0 ⟨le_rfl, hT⟩, hzero] |
| 85 | · intro t |
| 86 | change ⟪m t, realPrimitive T u t⟫_ℝ = 0 |
| 87 | rw [← heq t t.property] |
| 88 | exact htangent t |
| 89 | |
| 90 | /-- The actual terminal primitive restricted to the transverse derivative space. -/ |
| 91 | def transversePrimitive (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) : |
| 92 | transverseDerivatives T hT m →L[ℝ] TimeLp T E := |
| 93 | (primitiveTimeLp T hT).comp (transverseDerivatives T hT m).subtypeL |
| 94 | |
| 95 | /-- The sharp time Poincaré bound holds on the actual transverse space. -/ |
| 96 | theorem transversePrimitive_norm_sq (T : ℝ) (hT : 0 ≤ T) |
| 97 | (m : Icc (0 : ℝ) T → E) (u : transverseDerivatives T hT m) : |
| 98 | ‖transversePrimitive T hT m u‖ ^ 2 ≤ T ^ 2 / 2 * ‖u‖ ^ 2 := |
| 99 | primitiveTimeLp_norm_sq_le T hT (u : TimeLp T E) |
| 100 | |
| 101 | variable [CompleteSpace E] |
| 102 | variable (T : ℝ) (hT : 0 ≤ T) (m : Icc (0 : ℝ) T → E) |
| 103 | variable (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 104 | variable (K : ℝ) (hK : 0 ≤ K) |
| 105 | variable (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) |
| 106 | variable (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 107 | |
| 108 | /-- The actual transverse forcing-to-derivative map, constructed from the |
| 109 | primitive and the given time-dependent Hessian. -/ |
| 110 | def transverseSolver : TimeLp T E →L[ℝ] transverseDerivatives T hT m := |
| 111 | dirichletSolver (transversePrimitive T hT m) (timeMultiplier T hT H) |
| 112 | (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) |
| 113 | (timeMultiplier_quadratic_upper T hT H K hH) hsmall |
| 114 | |
| 115 | /-- The continuous displacement is constructed by integrating its solved derivative. -/ |
| 116 | def transverseDisplacement : TimeLp T E →L[ℝ] C(Icc (0 : ℝ) T, E) := |
| 117 | (terminalPrimitive T hT).comp |
| 118 | ((transverseDerivatives T hT m).subtypeL.comp |
| 119 | (transverseSolver T hT m H K hK hH hsmall)) |
| 120 | |
| 121 | /-- The actual weak transverse displacement equation, tested against every |
| 122 | zero-endpoint displacement in the same moving plane. -/ |
| 123 | theorem transverseSolver_weak (f : TimeLp T E) (v : transverseDerivatives T hT m) : |
| 124 | let u := transverseSolver T hT m H K hK hH hsmall f |
| 125 | ⟪(u : TimeLp T E), (v : TimeLp T E)⟫_ℝ - |
| 126 | ⟪timeMultiplier T hT H (transversePrimitive T hT m u), |
| 127 | transversePrimitive T hT m v⟫_ℝ = |
| 128 | -⟪f, transversePrimitive T hT m v⟫_ℝ := |
| 129 | dirichletSolver_weak (transversePrimitive T hT m) (timeMultiplier T hT H) |
| 130 | (T ^ 2 / 2) K hK (transversePrimitive_norm_sq T hT m) |
| 131 | (timeMultiplier_quadratic_upper T hT H K hH) hsmall f v |
| 132 | |
| 133 | /-- Zero forcing has zero displacement, the pointwise-in-label support preservation property. -/ |
| 134 | @[simp] theorem transverseDisplacement_zero : |
| 135 | transverseDisplacement T hT m H K hK hH hsmall 0 = 0 := map_zero _ |
| 136 | |
| 137 | end EulerTransverseVariationalInverse |