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 Mathlib.Analysis.Normed.Module.Multilinear.Basic |
| 3 | |
| 4 | /-! A continuous multilinear operation acts on genuine bounded fields in |
| 5 | the uniform norm. This includes the finite Faà di Bruno operations. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | |
| 10 | open scoped BigOperators BoundedContinuousFunction |
| 11 | |
| 12 | namespace EulerBoundedFieldCalculus |
| 13 | |
| 14 | variable {α ι : Type*} [TopologicalSpace α] [Fintype ι] |
| 15 | {V : ι → Type*} [∀ i, NormedAddCommGroup (V i)] [∀ i, NormedSpace ℝ (V i)] |
| 16 | {W : Type*} [NormedAddCommGroup W] [NormedSpace ℝ W] |
| 17 | |
| 18 | private local instance (i : ι) : NormedAddCommGroup (α →ᵇ V i) := inferInstance |
| 19 | private local instance (i : ι) : NormedSpace ℝ (α →ᵇ V i) := inferInstance |
| 20 | private local instance : NormedAddCommGroup (α →ᵇ W) := inferInstance |
| 21 | private local instance : NormedSpace ℝ (α →ᵇ W) := inferInstance |
| 22 | |
| 23 | def multilinearValue (L : ContinuousMultilinearMap ℝ V W) |
| 24 | (f : ∀ i, α →ᵇ V i) : α →ᵇ W := |
| 25 | BoundedContinuousFunction.ofNormedAddCommGroup (fun x => L (fun i => f i x)) |
| 26 | (L.cont.comp (continuous_pi (fun i => (f i).continuous))) |
| 27 | (‖L‖ * ∏ i, ‖f i‖) (fun x => (L.le_opNorm _).trans |
| 28 | (mul_le_mul_of_nonneg_left |
| 29 | (Finset.prod_le_prod (fun _ _ => norm_nonneg _) |
| 30 | (fun i _ => (f i).norm_coe_le_norm x)) (norm_nonneg L))) |
| 31 | |
| 32 | @[simp] theorem multilinearValue_apply (L : ContinuousMultilinearMap ℝ V W) |
| 33 | (f : ∀ i, α →ᵇ V i) (x : α) : |
| 34 | multilinearValue L f x = L (fun i => f i x) := rfl |
| 35 | |
| 36 | theorem multilinearValue_norm (L : ContinuousMultilinearMap ℝ V W) |
| 37 | (f : ∀ i, α →ᵇ V i) : |
| 38 | ‖multilinearValue L f‖ ≤ ‖L‖ * ∏ i, ‖f i‖ := |
| 39 | BoundedContinuousFunction.norm_ofNormedAddCommGroup_le _ |
| 40 | (mul_nonneg (norm_nonneg _) (Finset.prod_nonneg (fun _ _ => norm_nonneg _))) _ |
| 41 | |
| 42 | def multilinearAlgebra (L : ContinuousMultilinearMap ℝ V W) : |
| 43 | MultilinearMap ℝ (fun i => α →ᵇ V i) (α →ᵇ W) := by |
| 44 | classical |
| 45 | refine MultilinearMap.mk' (multilinearValue L) ?_ ?_ |
| 46 | · intro f i a b |
| 47 | apply BoundedContinuousFunction.ext |
| 48 | intro x |
| 49 | change L (fun j => Function.update f i (a+b) j x) = |
| 50 | L (fun j => Function.update f i a j x) + L (fun j => Function.update f i b j x) |
| 51 | have he (c : α →ᵇ V i) : |
| 52 | (fun j => Function.update f i c j x) = |
| 53 | Function.update (fun j => f j x) i (c x) := by |
| 54 | funext j |
| 55 | by_cases hj : j = i |
| 56 | · subst j; simp |
| 57 | · simp [hj] |
| 58 | simp only [he, BoundedContinuousFunction.add_apply] |
| 59 | exact L.map_update_add _ _ _ _ |
| 60 | · intro f i r a |
| 61 | apply BoundedContinuousFunction.ext |
| 62 | intro x |
| 63 | change L (fun j => Function.update f i (r • a) j x) = |
| 64 | r • L (fun j => Function.update f i a j x) |
| 65 | have he (c : α →ᵇ V i) : |
| 66 | (fun j => Function.update f i c j x) = |
| 67 | Function.update (fun j => f j x) i (c x) := by |
| 68 | funext j |
| 69 | by_cases hj : j = i |
| 70 | · subst j; simp |
| 71 | · simp [hj] |
| 72 | simp only [he, BoundedContinuousFunction.smul_apply] |
| 73 | exact L.map_update_smul _ _ _ _ |
| 74 | |
| 75 | def multilinearMap (L : ContinuousMultilinearMap ℝ V W) : |
| 76 | ContinuousMultilinearMap ℝ (fun i => α →ᵇ V i) (α →ᵇ W) := |
| 77 | (multilinearAlgebra L).mkContinuous ‖L‖ (multilinearValue_norm L) |
| 78 | |
| 79 | @[simp] theorem multilinearMap_apply (L : ContinuousMultilinearMap ℝ V W) |
| 80 | (f : ∀ i, α →ᵇ V i) (x : α) : |
| 81 | multilinearMap L f x = L (fun i => f i x) := rfl |
| 82 | |
| 83 | theorem multilinearMap_norm (L : ContinuousMultilinearMap ℝ V W) : |
| 84 | ‖multilinearMap (α := α) L‖ ≤ ‖L‖ := |
| 85 | (multilinearAlgebra L).mkContinuous_norm_le (norm_nonneg L) (multilinearValue_norm L) |
| 86 | |
| 87 | end EulerBoundedFieldCalculus |