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.ContinuousTimeIntegral |
| 2 | |
| 3 | /-! |
| 4 | # Actual profile normalization of continuous time paths |
| 5 | |
| 6 | A positive scalar time profile gives inverse bounded linear scaling maps. |
| 7 | The norm of a normalized path is bounded directly by its profile estimate; |
| 8 | no quotient of the maximum and minimum profile enters that estimate. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | |
| 14 | namespace EulerContinuousTimeWeight |
| 15 | |
| 16 | open Set ContinuousLinearMap EulerContinuousTimeIntegral |
| 17 | |
| 18 | variable {K E : Type*} [TopologicalSpace K] [CompactSpace K] |
| 19 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 20 | |
| 21 | /-- Multiplication by the literal scalar profile. -/ |
| 22 | def weight (g : C(K,ℝ)) : C(K,E) →L[ℝ] C(K,E) := |
| 23 | multiplier ⟨fun t => g t • ContinuousLinearMap.id ℝ E, |
| 24 | g.continuous.smul continuous_const⟩ |
| 25 | |
| 26 | @[simp] theorem weight_apply (g : C(K,ℝ)) (f : C(K,E)) (t : K) : |
| 27 | weight g f t = g t • f t := rfl |
| 28 | |
| 29 | /-- The reciprocal of a positive continuous profile is an actual continuous path. -/ |
| 30 | def reciprocal (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) : C(K,ℝ) := |
| 31 | ⟨fun t => (g t)⁻¹, g.continuous.inv₀ (fun t => (hg t).ne')⟩ |
| 32 | |
| 33 | /-- Profile division as a genuine bounded linear map. -/ |
| 34 | def normalize (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) : C(K,E) →L[ℝ] C(K,E) := |
| 35 | weight (reciprocal g hg) |
| 36 | |
| 37 | @[simp] theorem normalize_apply (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) (f : C(K,E)) (t : K) : |
| 38 | normalize g hg f t = (g t)⁻¹ • f t := rfl |
| 39 | |
| 40 | /-- Weighting and normalization are actual inverse operators. -/ |
| 41 | theorem normalize_weight (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) (f : C(K,E)) : |
| 42 | normalize g hg (weight g f) = f := by |
| 43 | ext t |
| 44 | simp only [normalize_apply, weight_apply, smul_smul, inv_mul_cancel₀ (hg t).ne', one_smul] |
| 45 | |
| 46 | /-- Normalization and weighting are inverse in the other order too. -/ |
| 47 | theorem weight_normalize (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) (f : C(K,E)) : |
| 48 | weight g (normalize g hg f) = f := by |
| 49 | ext t |
| 50 | simp only [normalize_apply, weight_apply, smul_smul, mul_inv_cancel₀ (hg t).ne', one_smul] |
| 51 | |
| 52 | /-- Literal pointwise control of a weighted path, with no profile extremum. -/ |
| 53 | theorem weight_pointwise_bound (g : C(K,ℝ)) (hg : ∀ t, 0 ≤ g t) (f : C(K,E)) (t : K) : |
| 54 | ‖weight g f t‖ ≤ g t * ‖f‖ := by |
| 55 | rw [weight_apply, norm_smul, Real.norm_eq_abs, abs_of_nonneg (hg t)] |
| 56 | exact mul_le_mul_of_nonneg_left (f.norm_coe_le_norm t) (hg t) |
| 57 | |
| 58 | /-- A pointwise profile bound gives the normalized uniform norm directly. -/ |
| 59 | theorem normalize_norm_le (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) |
| 60 | (f : C(K,E)) (D : ℝ) (hD : 0 ≤ D) (hf : ∀ t, ‖f t‖ ≤ D*g t) : |
| 61 | ‖normalize g hg f‖ ≤ D := by |
| 62 | apply (ContinuousMap.norm_le _ hD).2 |
| 63 | intro t |
| 64 | rw [normalize_apply, norm_smul, Real.norm_eq_abs, abs_of_pos (inv_pos.mpr (hg t))] |
| 65 | calc |
| 66 | _ ≤ (g t)⁻¹ * (D*g t) := mul_le_mul_of_nonneg_left (hf t) (inv_nonneg.mpr (hg t).le) |
| 67 | _ = D := by field_simp [(hg t).ne'] |
| 68 | |
| 69 | /-- Scalar normalization commutes with every coefficient multiplier. -/ |
| 70 | theorem normalize_multiplier (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) |
| 71 | (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : |
| 72 | normalize g hg (multiplier A f) = multiplier A (normalize g hg f) := by |
| 73 | ext t |
| 74 | simp only [normalize_apply, multiplier_apply, map_smul] |
| 75 | |
| 76 | /-- Scalar weighting commutes with every coefficient multiplier. -/ |
| 77 | theorem weight_multiplier (g : C(K,ℝ)) (A : C(K,E →L[ℝ] E)) (f : C(K,E)) : |
| 78 | weight g (multiplier A f) = multiplier A (weight g f) := by |
| 79 | ext t |
| 80 | simp only [weight_apply, multiplier_apply, map_smul] |
| 81 | |
| 82 | end EulerContinuousTimeWeight |