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.LpFiniteTensorReconstruction |
| 2 | import Euler.ContinuousTimeIntegral |
| 3 | |
| 4 | /-! A continuous multilinear map with continuous-path values gives a |
| 5 | genuine continuous path of tensors. Finite spatial coordinates establish |
| 6 | continuity; the actual operator norm is preserved without a coordinate |
| 7 | count in the bound. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | namespace EulerFinitePathTensor |
| 15 | |
| 16 | variable {K E V : Type*} [TopologicalSpace K] [CompactSpace K] |
| 17 | [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E] |
| 18 | [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 19 | |
| 20 | private def coordinates (n : ℕ) : |
| 21 | (E [×n]→L[ℝ] V) →L[ℝ] ((Fin n → Fin (Module.finrank ℝ E)) → V) := |
| 22 | ContinuousLinearMap.pi (fun w => |
| 23 | (ContinuousLinearMap.id ℝ (E [×n]→L[ℝ] V)).flipMultilinear |
| 24 | (fun i => Module.finBasis ℝ E (w i))) |
| 25 | |
| 26 | omit [FiniteDimensional ℝ V] in |
| 27 | private theorem coordinates_injective (n : ℕ) : |
| 28 | Function.Injective (coordinates (E := E) (V := V) n) := by |
| 29 | intro A B h |
| 30 | apply ContinuousMultilinearMap.toMultilinearMap_injective |
| 31 | apply Module.Basis.ext_multilinear (fun _ : Fin n => Module.finBasis ℝ E) |
| 32 | intro w |
| 33 | exact congrFun h w |
| 34 | |
| 35 | private def reassembly (n : ℕ) : |
| 36 | ((Fin n → Fin (Module.finrank ℝ E)) → V) →L[ℝ] (E [×n]→L[ℝ] V) := |
| 37 | ((coordinates (E := E) (V := V) n).toLinearMap.leftInverse).toContinuousLinearMap |
| 38 | |
| 39 | private theorem reassembly_coordinates (n : ℕ) (A : E [×n]→L[ℝ] V) : |
| 40 | reassembly n (coordinates n A) = A := |
| 41 | LinearMap.leftInverse_apply_of_inj |
| 42 | (LinearMap.ker_eq_bot.mpr (coordinates_injective n)) A |
| 43 | |
| 44 | def tensorPath (n : ℕ) (A : E [×n]→L[ℝ] C(K,V)) : C(K, E [×n]→L[ℝ] V) where |
| 45 | toFun t := reassembly n (fun w => A (fun i => Module.finBasis ℝ E (w i)) t) |
| 46 | continuous_toFun := (reassembly (E := E) (V := V) n).continuous.comp |
| 47 | (continuous_pi (fun w => (A (fun i => Module.finBasis ℝ E (w i))).continuous)) |
| 48 | |
| 49 | omit [CompactSpace K] in |
| 50 | theorem tensorPath_eq (n : ℕ) (A : E [×n]→L[ℝ] C(K,V)) (t : K) : |
| 51 | tensorPath n A t = (ContinuousMap.evalCLM ℝ t).compContinuousMultilinearMap A := by |
| 52 | change reassembly n |
| 53 | (coordinates n ((ContinuousMap.evalCLM ℝ t).compContinuousMultilinearMap A)) = _ |
| 54 | exact reassembly_coordinates n _ |
| 55 | |
| 56 | omit [CompactSpace K] in |
| 57 | @[simp] theorem tensorPath_apply (n : ℕ) (A : E [×n]→L[ℝ] C(K,V)) |
| 58 | (t : K) (v : Fin n → E) : tensorPath n A t v = A v t := by |
| 59 | rw [tensorPath_eq] |
| 60 | rfl |
| 61 | |
| 62 | theorem tensorPath_norm_le (n : ℕ) (A : E [×n]→L[ℝ] C(K,V)) : |
| 63 | ‖tensorPath n A‖ ≤ ‖A‖ := by |
| 64 | apply (ContinuousMap.norm_le _ (norm_nonneg A)).2 |
| 65 | intro t |
| 66 | apply ContinuousMultilinearMap.opNorm_le_bound (norm_nonneg A) |
| 67 | intro v |
| 68 | rw [tensorPath_apply] |
| 69 | exact ((A v).norm_coe_le_norm t).trans (A.le_opNorm v) |
| 70 | |
| 71 | def tensorPathLinear (n : ℕ) : |
| 72 | (E [×n]→L[ℝ] C(K,V)) →ₗ[ℝ] C(K, E [×n]→L[ℝ] V) where |
| 73 | toFun := tensorPath n |
| 74 | map_add' A B := by |
| 75 | apply ContinuousMap.ext |
| 76 | intro t |
| 77 | apply ContinuousMultilinearMap.ext |
| 78 | intro v |
| 79 | simp only [tensorPath_apply, add_apply, ContinuousMap.add_apply] |
| 80 | map_smul' c A := by |
| 81 | apply ContinuousMap.ext |
| 82 | intro t |
| 83 | apply ContinuousMultilinearMap.ext |
| 84 | intro v |
| 85 | simp only [tensorPath_apply, smul_apply, |
| 86 | ContinuousMap.smul_apply, RingHom.id_apply] |
| 87 | |
| 88 | def tensorPathMap (n : ℕ) : |
| 89 | (E [×n]→L[ℝ] C(K,V)) →L[ℝ] C(K, E [×n]→L[ℝ] V) where |
| 90 | toLinearMap := tensorPathLinear n |
| 91 | cont := AddMonoidHomClass.continuous_of_bound (tensorPathLinear (K := K) (E := E) (V := V) n) |
| 92 | 1 (fun A => by |
| 93 | change ‖tensorPath n A‖ ≤ 1 * ‖A‖ |
| 94 | simpa only [one_mul] using tensorPath_norm_le n A) |
| 95 | |
| 96 | @[simp] theorem tensorPathMap_apply (n : ℕ) (A : E [×n]→L[ℝ] C(K,V)) |
| 97 | (t : K) (v : Fin n → E) : tensorPathMap n A t v = A v t := tensorPath_apply n A t v |
| 98 | |
| 99 | theorem tensorPath_iteratedFDeriv (f : E → C(K,V)) (hf : ContDiff ℝ ∞ f) |
| 100 | (n : ℕ) (x : E) (t : K) : |
| 101 | tensorPathMap n (iteratedFDeriv ℝ n f x) t = |
| 102 | iteratedFDeriv ℝ n (fun y => f y t) x := by |
| 103 | change tensorPath n (iteratedFDeriv ℝ n f x) t = _ |
| 104 | rw [tensorPath_eq] |
| 105 | exact ((ContinuousMap.evalCLM ℝ t).iteratedFDeriv_comp_left hf.contDiffAt |
| 106 | (show (n : ℕ∞) ≤ ∞ by simp)).symm |
| 107 | |
| 108 | end EulerFinitePathTensor |