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.BoundedFieldCalculus |
| 2 | import Euler.HilbertCoerciveParameter |
| 3 | |
| 4 | /-! |
| 5 | # The constructed inverse Gram field in the uniform space-time norm |
| 6 | |
| 7 | Uniform lower bounds for the pointwise frame construct a bounded continuous |
| 8 | inverse field. It forms an actual unit of the bounded-field Banach algebra. |
| 9 | The resulting time path and its parameter regularity are therefore proved in |
| 10 | the uniform spatial norm, not merely at each fixed spatial label. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerBoundedFieldGramInverse |
| 16 | |
| 17 | open ContinuousLinearMap EulerBoundedFieldCalculus EulerTransverseGramInverse |
| 18 | EulerCoerciveProjection EulerInverseRegularity |
| 19 | open scoped BoundedContinuousFunction ContDiff |
| 20 | |
| 21 | variable {α U E : Type*} [TopologicalSpace α] |
| 22 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 24 | |
| 25 | private local instance : NormedAddCommGroup (U →L[ℝ] E) := inferInstance |
| 26 | private local instance : NormedSpace ℝ (U →L[ℝ] E) := inferInstance |
| 27 | private local instance : NormedAddCommGroup (E →L[ℝ] U) := inferInstance |
| 28 | private local instance : NormedSpace ℝ (E →L[ℝ] U) := inferInstance |
| 29 | private local instance : NormedAddCommGroup (α →ᵇ U →L[ℝ] E) := inferInstance |
| 30 | private local instance : NormedSpace ℝ (α →ᵇ U →L[ℝ] E) := inferInstance |
| 31 | private local instance : NormedAddCommGroup (α →ᵇ E →L[ℝ] U) := inferInstance |
| 32 | private local instance : NormedSpace ℝ (α →ᵇ E →L[ℝ] U) := inferInstance |
| 33 | |
| 34 | private local instance : NormedRing (U →L[ℝ] U) := inferInstance |
| 35 | private local instance : NormedAlgebra ℝ (U →L[ℝ] U) := inferInstance |
| 36 | private local instance : NormedRing (α →ᵇ U →L[ℝ] U) := inferInstance |
| 37 | private local instance : NormedAlgebra ℝ (α →ᵇ U →L[ℝ] U) := inferInstance |
| 38 | |
| 39 | /-- The literal positive Gram coefficient field. -/ |
| 40 | def gramField (Q : α →ᵇ U →L[ℝ] E) : α →ᵇ U →L[ℝ] U := |
| 41 | compositionMap (adjointMap Q) Q |
| 42 | |
| 43 | @[simp] theorem gramField_apply (Q : α →ᵇ U →L[ℝ] E) (x : α) : gramField Q x = gram (Q x) := rfl |
| 44 | |
| 45 | variable (Q : α →ᵇ U →L[ℝ] E) (c : ℝ) (hc : 0 < c) |
| 46 | (hQ : ∀ x v, c*‖v‖^2 ≤ ‖Q x v‖^2) |
| 47 | |
| 48 | /-- Continuity of the actual pointwise coercive inverse. -/ |
| 49 | theorem inverseField_continuous : Continuous (fun x => gramInverse (Q x) c hc (hQ x)) := by |
| 50 | have heq : (fun x => gramInverse (Q x) c hc (hQ x)) = fun x => Ring.inverse (gram (Q x)) := by |
| 51 | funext x |
| 52 | exact coerciveInverse_eq_ringInverse (gram (Q x)) c hc (gram_coercive (Q x) c (hQ x)) |
| 53 | rw [heq,continuous_iff_continuousAt] |
| 54 | intro x |
| 55 | let e := coerciveEquiv (gram (Q x)) c hc (gram_coercive (Q x) c (hQ x)) |
| 56 | have he : (e.toUnit : U →L[ℝ] U) = gram (Q x) := by |
| 57 | ext v |
| 58 | exact coerciveEquiv_apply (gram (Q x)) c hc (gram_coercive (Q x) c (hQ x)) v |
| 59 | have hi := (hasFDerivAt_ringInverse (𝕜 := ℝ) e.toUnit).continuousAt |
| 60 | rw [he] at hi |
| 61 | exact hi.comp (x := x) (gramField Q).continuous.continuousAt |
| 62 | |
| 63 | /-- The genuine bounded continuous inverse field, with coercive norm c⁻¹. -/ |
| 64 | def inverseField : α →ᵇ U →L[ℝ] U := |
| 65 | BoundedContinuousFunction.ofNormedAddCommGroup (fun x => gramInverse (Q x) c hc (hQ x)) |
| 66 | (inverseField_continuous Q c hc hQ) c⁻¹ (fun x => gramInverse_norm (Q x) c hc (hQ x)) |
| 67 | |
| 68 | @[simp] theorem inverseField_apply (x : α) : inverseField Q c hc hQ x = gramInverse (Q x) c hc (hQ x) := rfl |
| 69 | |
| 70 | theorem inverseField_norm : ‖inverseField Q c hc hQ‖ ≤ c⁻¹ := |
| 71 | BoundedContinuousFunction.norm_ofNormedAddCommGroup_le _ (inv_nonneg.mpr hc.le) _ |
| 72 | |
| 73 | /-- This actual inverse forms a unit in the bounded-field algebra. -/ |
| 74 | def gramFieldUnit : (α →ᵇ U →L[ℝ] U)ˣ where |
| 75 | val := gramField Q |
| 76 | inv := inverseField Q c hc hQ |
| 77 | val_inv := by |
| 78 | apply BoundedContinuousFunction.ext |
| 79 | intro x |
| 80 | apply ContinuousLinearMap.ext |
| 81 | intro v |
| 82 | exact gram_inverse_apply (Q x) c hc (hQ x) v |
| 83 | inv_val := by |
| 84 | apply BoundedContinuousFunction.ext |
| 85 | intro x |
| 86 | apply ContinuousLinearMap.ext |
| 87 | intro v |
| 88 | exact inverse_gram_apply (Q x) c hc (hQ x) v |
| 89 | |
| 90 | /-- Actual pointwise inversion equals the Banach-algebra inverse. -/ |
| 91 | theorem inverseField_eq_ringInverse : inverseField Q c hc hQ = Ring.inverse (gramField Q) := |
| 92 | (Ring.inverse_unit (M₀ := α →ᵇ U →L[ℝ] U) (gramFieldUnit Q c hc hQ)).symm |
| 93 | |
| 94 | section Paths |
| 95 | |
| 96 | variable {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 97 | |
| 98 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 99 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] E)) := inferInstance |
| 100 | private local instance : NormedAddCommGroup (C(K,α →ᵇ U →L[ℝ] U)) := inferInstance |
| 101 | private local instance : NormedSpace ℝ (C(K,α →ᵇ U →L[ℝ] U)) := inferInstance |
| 102 | |
| 103 | /-- The Gram field as an actual uniform time path. -/ |
| 104 | def gramPath (Qp : C(K,α →ᵇ U →L[ℝ] E)) : C(K,α →ᵇ U →L[ℝ] U) := |
| 105 | pathCompositionMap (pathAdjointMap Qp) Qp |
| 106 | |
| 107 | @[simp] theorem gramPath_apply (Qp : C(K,α →ᵇ U →L[ℝ] E)) (t : K) : gramPath Qp t = gramField (Qp t) := rfl |
| 108 | |
| 109 | /-- The constructed inverse is continuous in the spatial uniform norm as time varies. -/ |
| 110 | def inversePath (Qp : C(K,α →ᵇ U →L[ℝ] E)) |
| 111 | (hLower : ∀ t x v, c*‖v‖^2 ≤ ‖Qp t x v‖^2) : C(K,α →ᵇ U →L[ℝ] U) where |
| 112 | toFun t := inverseField (Qp t) c hc (hLower t) |
| 113 | continuous_toFun := by |
| 114 | have heq : (fun t => inverseField (Qp t) c hc (hLower t)) = fun t => Ring.inverse (gramField (Qp t)) := |
| 115 | funext (fun t => inverseField_eq_ringInverse (Qp t) c hc (hLower t)) |
| 116 | rw [heq,continuous_iff_continuousAt] |
| 117 | intro t |
| 118 | exact ((hasFDerivAt_ringInverse (𝕜 := ℝ) (gramFieldUnit (Qp t) c hc (hLower t))).continuousAt).comp |
| 119 | (x := t) (gramPath Qp).continuous.continuousAt |
| 120 | |
| 121 | @[simp] theorem inversePath_apply (Qp : C(K,α →ᵇ U →L[ℝ] E)) |
| 122 | (hLower : ∀ t x v, c*‖v‖^2 ≤ ‖Qp t x v‖^2) (t : K) (x : α) : |
| 123 | inversePath c hc Qp hLower t x = gramInverse (Qp t x) c hc (hLower t x) := rfl |
| 124 | |
| 125 | /-- The uniform time-space inverse bound is the same coercive bound. -/ |
| 126 | theorem inversePath_norm (Qp : C(K,α →ᵇ U →L[ℝ] E)) |
| 127 | (hLower : ∀ t x v, c*‖v‖^2 ≤ ‖Qp t x v‖^2) : ‖inversePath c hc Qp hLower‖ ≤ c⁻¹ := by |
| 128 | apply (ContinuousMap.norm_le _ (inv_nonneg.mpr hc.le)).2 |
| 129 | intro t |
| 130 | exact inverseField_norm (Qp t) c hc (hLower t) |
| 131 | |
| 132 | /-- The pathwise Gram field is an actual unit of the full time-space Banach algebra. -/ |
| 133 | def gramPathUnit (Qp : C(K,α →ᵇ U →L[ℝ] E)) |
| 134 | (hLower : ∀ t x v, c*‖v‖^2 ≤ ‖Qp t x v‖^2) : C(K,α →ᵇ U →L[ℝ] U)ˣ where |
| 135 | val := gramPath Qp |
| 136 | inv := inversePath c hc Qp hLower |
| 137 | val_inv := by |
| 138 | apply ContinuousMap.ext |
| 139 | intro t |
| 140 | exact (gramFieldUnit (Qp t) c hc (hLower t)).val_inv |
| 141 | inv_val := by |
| 142 | apply ContinuousMap.ext |
| 143 | intro t |
| 144 | exact (gramFieldUnit (Qp t) c hc (hLower t)).inv_val |
| 145 | |
| 146 | /-- The actual inverse path is the algebra inverse in the uniform time-space norm. -/ |
| 147 | theorem inversePath_eq_ringInverse (Qp : C(K,α →ᵇ U →L[ℝ] E)) |
| 148 | (hLower : ∀ t x v, c*‖v‖^2 ≤ ‖Qp t x v‖^2) : |
| 149 | inversePath c hc Qp hLower = Ring.inverse (gramPath Qp) := |
| 150 | (Ring.inverse_unit (M₀ := C(K,α →ᵇ U →L[ℝ] U)) (gramPathUnit c hc Qp hLower)).symm |
| 151 | |
| 152 | variable {P : Type*} [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 153 | |
| 154 | /-- Smoothness of the actual uniform Gram coefficient path. -/ |
| 155 | theorem gramPath_contDiff (A : P → C(K,α →ᵇ U →L[ℝ] E)) {n : ℕ∞ω} (hA : ContDiff ℝ n A) : |
| 156 | ContDiff ℝ n (fun a => gramPath (A a)) := |
| 157 | pathComposition_contDiff (fun a => pathAdjointMap (A a)) A ((pathAdjointMap (α := α) (K := K) (U := U) (E := E)).contDiff.comp hA) hA |
| 158 | |
| 159 | /-- Smoothness of the constructed inverse in the uniform time-space norm. -/ |
| 160 | theorem inversePath_contDiff (A : P → C(K,α →ᵇ U →L[ℝ] E)) |
| 161 | (hLower : ∀ a t x v, c*‖v‖^2 ≤ ‖A a t x v‖^2) {n : ℕ∞ω} (hA : ContDiff ℝ n A) : |
| 162 | ContDiff ℝ n (fun a => inversePath c hc (A a) (hLower a)) := by |
| 163 | have heq : (fun a => inversePath c hc (A a) (hLower a)) = Ring.inverse ∘ (fun a => gramPath (A a)) := |
| 164 | funext (fun a => inversePath_eq_ringInverse c hc (A a) (hLower a)) |
| 165 | rw [heq,contDiff_iff_contDiffAt] |
| 166 | intro a |
| 167 | exact (contDiffAt_ringInverse ℝ (R := C(K,α →ᵇ U →L[ℝ] U)) |
| 168 | (gramPathUnit c hc (A a) (hLower a))).comp a (gramPath_contDiff A hA).contDiffAt |
| 169 | |
| 170 | end Paths |
| 171 | |
| 172 | end EulerBoundedFieldGramInverse |