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.LpOperatorFieldPath |
| 2 | import Euler.BoundedFieldCalculus |
| 3 | |
| 4 | /-! |
| 5 | # Algebra and coercivity of actual full-space L² multipliers |
| 6 | |
| 7 | The bounded-field multiplier preserves composition and adjoints. Pointwise |
| 8 | frame lower bounds and Hessian upper bounds hold on the full Bochner L² |
| 9 | space. Measurable spatial cutoffs are self-adjoint and commute with these |
| 10 | rectangular multipliers. Thus support preservation of a variational inverse |
| 11 | can be proved by its actual uniqueness theorem. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerLpOperatorField |
| 17 | |
| 18 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerLpSupportedSubspace |
| 19 | EulerBoundedFieldCalculus |
| 20 | open scoped BoundedContinuousFunction |
| 21 | |
| 22 | variable {α U E F : Type*} [TopologicalSpace α] [MeasurableSpace α] [BorelSpace α] |
| 23 | [SecondCountableTopology α] (μ : Measure α) |
| 24 | |
| 25 | section Composition |
| 26 | |
| 27 | variable [NormedAddCommGroup U] [NormedSpace ℝ U] |
| 28 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 29 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 30 | |
| 31 | /-- Multiplication by the actual product field is composition on L². -/ |
| 32 | theorem full_comp (A : α →ᵇ E →L[ℝ] F) (B : α →ᵇ U →L[ℝ] E) : |
| 33 | full μ (compositionMap A B) = (full μ A).comp (full μ B) := by |
| 34 | apply ContinuousLinearMap.ext |
| 35 | intro u |
| 36 | apply Lp.ext |
| 37 | filter_upwards [full_ae μ (compositionMap A B) u, |
| 38 | full_ae μ A (full μ B u),full_ae μ B u] with x hab ha hb |
| 39 | change full μ (compositionMap A B) u x = full μ A (full μ B u) x |
| 40 | rw [hab,ha,hb] |
| 41 | rfl |
| 42 | |
| 43 | theorem full_neg (A : α →ᵇ E →L[ℝ] F) : full μ (-A) = -full μ A := |
| 44 | map_neg (fullMap μ) A |
| 45 | |
| 46 | /-- A literal coefficient identity can be lifted without introducing a new |
| 47 | operator hypothesis. -/ |
| 48 | theorem full_eq_neg_comp (C : α →ᵇ U →L[ℝ] F) |
| 49 | (A : α →ᵇ E →L[ℝ] F) (B : α →ᵇ U →L[ℝ] E) |
| 50 | (hC : ∀ x u, C x u = -(A x (B x u))) : |
| 51 | full μ C = -(full μ A).comp (full μ B) := by |
| 52 | have hc : C = -compositionMap A B := by |
| 53 | apply BoundedContinuousFunction.ext |
| 54 | intro x |
| 55 | apply ContinuousLinearMap.ext |
| 56 | intro u |
| 57 | exact hC x u |
| 58 | rw [hc,full_neg,full_comp] |
| 59 | |
| 60 | end Composition |
| 61 | |
| 62 | section Hilbert |
| 63 | |
| 64 | variable [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 65 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] |
| 66 | |
| 67 | /-- A pointwise lower frame bound is a lower bound on genuine full-space L². -/ |
| 68 | theorem full_norm_sq_lower (A : α →ᵇ E →L[ℝ] F) (c : ℝ) (hc : 0 ≤ c) |
| 69 | (hA : ∀ x v, c*‖v‖^2 ≤ ‖A x v‖^2) (u : Lp E 2 μ) : |
| 70 | c*‖u‖^2 ≤ ‖full μ A u‖^2 := by |
| 71 | have hroot : (Real.sqrt c)^2 = c := Real.sq_sqrt hc |
| 72 | have h : ‖Real.sqrt c • u‖ ≤ ‖full μ A u‖ := by |
| 73 | apply Lp.norm_le_norm_of_ae_le |
| 74 | filter_upwards [full_ae μ A u,Lp.coeFn_smul (Real.sqrt c) u] with x ha hs |
| 75 | rw [ha,hs,Pi.smul_apply,norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] |
| 76 | apply (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).1 |
| 77 | rw [mul_pow,hroot] |
| 78 | exact hA x (u x) |
| 79 | rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (Real.sqrt_nonneg c)] at h |
| 80 | have hs := (sq_le_sq₀ (mul_nonneg (Real.sqrt_nonneg c) (norm_nonneg _)) (norm_nonneg _)).2 h |
| 81 | simpa only [mul_pow,hroot] using hs |
| 82 | |
| 83 | /-- The actual L² Hessian inherits its pointwise quadratic upper bound. -/ |
| 84 | theorem full_quadratic_upper (A : α →ᵇ E →L[ℝ] E) (C : ℝ) |
| 85 | (hA : ∀ x v, ⟪A x v,v⟫_ℝ ≤ C*‖v‖^2) (u : Lp E 2 μ) : |
| 86 | ⟪full μ A u,u⟫_ℝ ≤ C*‖u‖^2 := by |
| 87 | rw [← real_inner_self_eq_norm_sq,L2.inner_def,L2.inner_def,← integral_const_mul] |
| 88 | apply integral_mono_ae (L2.integrable_inner (full μ A u) u) |
| 89 | ((L2.integrable_inner u u).const_mul C) |
| 90 | filter_upwards [full_ae μ A u] with x hx |
| 91 | rw [hx,real_inner_self_eq_norm_sq] |
| 92 | exact hA x (u x) |
| 93 | |
| 94 | /-- A rectangular coefficient commutes with literal spatial localization. -/ |
| 95 | theorem full_cutoff (S : Set α) (hS : MeasurableSet S) |
| 96 | (A : α →ᵇ E →L[ℝ] F) (u : Lp E 2 μ) : |
| 97 | full μ A (cutoffOperator μ S hS u) = cutoffOperator μ S hS (full μ A u) := by |
| 98 | apply Lp.ext |
| 99 | filter_upwards [full_ae μ A (cutoffOperator μ S hS u),cutoff_ae μ S hS u, |
| 100 | cutoff_ae μ S hS (full μ A u),full_ae μ A u] with x ha hi ho hu |
| 101 | change full μ A (cutoffOperator μ S hS u) x = cutoff μ S hS (full μ A u) x |
| 102 | change cutoffOperator μ S hS u x = _ at hi |
| 103 | rw [ha,hi,ho] |
| 104 | by_cases hx : x ∈ S |
| 105 | · simp only [indicator_of_mem hx,hu] |
| 106 | · simp only [indicator_of_notMem hx,map_zero] |
| 107 | |
| 108 | variable [CompleteSpace E] [CompleteSpace F] |
| 109 | |
| 110 | /-- The L² adjoint is multiplication by the pointwise adjoint field. -/ |
| 111 | theorem full_adjoint (A : α →ᵇ E →L[ℝ] F) : |
| 112 | (full μ A).adjoint = full μ (adjointMap A) := by |
| 113 | apply ContinuousLinearMap.ext |
| 114 | intro u |
| 115 | apply ext_inner_right ℝ |
| 116 | intro v |
| 117 | rw [adjoint_inner_left,L2.inner_def,L2.inner_def] |
| 118 | apply integral_congr_ae |
| 119 | filter_upwards [full_ae μ A v,full_ae μ (adjointMap A) u] with x ha hadj |
| 120 | rw [ha,hadj,adjointMap_apply,adjoint_inner_left] |
| 121 | |
| 122 | end Hilbert |
| 123 | |
| 124 | end EulerLpOperatorField |
| 125 | |
| 126 | namespace EulerLpSupportedSubspace |
| 127 | |
| 128 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace |
| 129 | |
| 130 | variable {α E : Type*} [MeasurableSpace α] (μ : Measure α) |
| 131 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 132 | (S : Set α) (hS : MeasurableSet S) |
| 133 | |
| 134 | /-- The genuine measurable spatial cutoff is an orthogonal projection. -/ |
| 135 | theorem cutoffOperator_adjoint : |
| 136 | (cutoffOperator (V := E) μ S hS).adjoint = cutoffOperator μ S hS := by |
| 137 | apply ContinuousLinearMap.ext |
| 138 | intro u |
| 139 | apply ext_inner_right ℝ |
| 140 | intro v |
| 141 | rw [adjoint_inner_left,L2.inner_def,L2.inner_def] |
| 142 | apply integral_congr_ae |
| 143 | filter_upwards [cutoff_ae μ S hS v,cutoff_ae μ S hS u] with x hv hu |
| 144 | change ⟪u x,cutoff μ S hS v x⟫_ℝ = ⟪cutoff μ S hS u x,v x⟫_ℝ |
| 145 | rw [hv,hu] |
| 146 | by_cases hx : x ∈ S |
| 147 | · simp only [indicator_of_mem hx] |
| 148 | · simp only [indicator_of_notMem hx,inner_zero_left,inner_zero_right] |
| 149 | |
| 150 | end EulerLpSupportedSubspace |