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 Mathlib.Analysis.InnerProductSpace.Dual |
| 2 | import Mathlib.Analysis.Normed.Module.HahnBanach |
| 3 | |
| 4 | /-! |
| 5 | # Hilbert-space representation of a functional bounded through an embedding |
| 6 | |
| 7 | A linear functional on a complex vector space that is bounded in the norm of an |
| 8 | injective linear map into a Hilbert space is represented by an inner product in |
| 9 | that Hilbert space. No topology on the source vector space is needed. |
| 10 | -/ |
| 11 | |
| 12 | namespace NavierStokesR3.HilbertFunctionalExtension |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {E : Type u} [AddCommGroup E] [Module ℂ E] |
| 17 | variable {H : Type v} [NormedAddCommGroup H] [InnerProductSpace ℂ H] |
| 18 | [CompleteSpace H] |
| 19 | |
| 20 | /-- Transfer a functional to the range of an injective linear map, extend it by |
| 21 | Hahn–Banach, and represent the extension by the Hilbert-space inner product. -/ |
| 22 | theorem exists_inner_representation (B : E →ₗ[ℂ] H) |
| 23 | (hB : Function.Injective B) (F : E →ₗ[ℂ] ℂ) {C : ℝ} |
| 24 | (hbound : ∀ x : E, ‖F x‖ ≤ C * ‖B x‖) : |
| 25 | ∃ q : H, ∀ x : E, F x = @inner ℂ H _ q (B x) := by |
| 26 | classical |
| 27 | let e : E ≃ₗ[ℂ] LinearMap.range B := LinearEquiv.ofInjective B hB |
| 28 | let f : LinearMap.range B →ₗ[ℂ] ℂ := F.comp e.symm.toLinearMap |
| 29 | have he (z : LinearMap.range B) : B (e.symm z) = (z : H) := by |
| 30 | change ((e (e.symm z) : LinearMap.range B) : H) = (z : H) |
| 31 | rw [e.apply_symm_apply] |
| 32 | have hf : ∀ z : LinearMap.range B, ‖f z‖ ≤ C * ‖z‖ := by |
| 33 | intro z |
| 34 | change ‖F (e.symm z)‖ ≤ C * ‖(z : H)‖ |
| 35 | simpa only [he] using hbound (e.symm z) |
| 36 | let fc : LinearMap.range B →L[ℂ] ℂ := f.mkContinuous C hf |
| 37 | obtain ⟨G, hG, _⟩ := exists_extension_norm_eq (LinearMap.range B) fc |
| 38 | refine ⟨(InnerProductSpace.toDual ℂ H).symm G, ?_⟩ |
| 39 | intro x |
| 40 | rw [InnerProductSpace.toDual_symm_apply] |
| 41 | calc |
| 42 | F x = fc (e x) := by simp [fc, f] |
| 43 | _ = G ((e x : LinearMap.range B) : H) := (hG (e x)).symm |
| 44 | _ = G (B x) := rfl |
| 45 | |
| 46 | end NavierStokesR3.HilbertFunctionalExtension |