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.ElapsedTimePathNaturality |
| 2 | import Euler.CylinderTimePrecomposition |
| 3 | import Euler.SmoothCoefficientTimeRestriction |
| 4 | import Euler.LpCylinderTimeWeight |
| 5 | |
| 6 | /-! |
| 7 | # Profile normalization across the history/forward junction |
| 8 | |
| 9 | The profile is exactly one on the history interval and the specified positive |
| 10 | continuous profile on the elapsed forward interval. Normalization commutes |
| 11 | with the actual join, without estimating either extremum of the profile. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerElapsedTimePathGluing |
| 17 | |
| 18 | open Set ContinuousLinearMap EulerContinuousTimeWeight EulerTimeIntervalRestriction |
| 19 | |
| 20 | attribute [local instance] EulerPacketTimePathGluing.compactInterval |
| 21 | |
| 22 | variable (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 23 | (g : C(Icc (0 : ℝ) (S-τ),ℝ)) |
| 24 | (hg0 : g ⟨0,le_rfl,sub_nonneg.mpr hτS⟩ = 1) |
| 25 | |
| 26 | /-- The literal piecewise profile; no differentiability of it is required. -/ |
| 27 | def profile : C(Icc (0 : ℝ) S,ℝ) := |
| 28 | join S τ hτ0 hτS (ContinuousMap.const _ 1) g hg0.symm |
| 29 | |
| 30 | theorem profile_left (t : Icc (0 : ℝ) τ) : |
| 31 | profile S τ hτ0 hτS g hg0 ⟨t,t.property.1,t.property.2.trans hτS⟩ = 1 := |
| 32 | join_left S τ hτ0 hτS (ContinuousMap.const _ 1) g hg0.symm t |
| 33 | |
| 34 | theorem profile_right (t : Icc τ S) : |
| 35 | profile S τ hτ0 hτS g hg0 ⟨t,hτ0.trans t.property.1,t.property.2⟩ = |
| 36 | g ⟨(t : ℝ)-τ,sub_nonneg.mpr t.property.1,sub_le_sub_right t.property.2 τ⟩ := |
| 37 | join_right S τ hτ0 hτS (ContinuousMap.const _ 1) g hg0.symm t |
| 38 | |
| 39 | theorem profile_pos (hg : ∀ t, 0 < g t) (t : Icc (0 : ℝ) S) : |
| 40 | 0 < profile S τ hτ0 hτS g hg0 t := by |
| 41 | by_cases ht : (t : ℝ) ≤ τ |
| 42 | · rw [profile_left S τ hτ0 hτS g hg0 ⟨t,t.property.1,ht⟩] |
| 43 | norm_num |
| 44 | · rw [profile_right S τ hτ0 hτS g hg0 ⟨t,(not_le.mp ht).le,t.property.2⟩] |
| 45 | exact hg _ |
| 46 | |
| 47 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 48 | (hg : ∀ t, 0 < g t) |
| 49 | (u : C(Icc (0 : ℝ) τ,E)) (v : C(Icc (0 : ℝ) (S-τ),E)) |
| 50 | (hm : u ⟨τ,hτ0,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) |
| 51 | |
| 52 | include hg0 hm in |
| 53 | theorem normalize_match : u ⟨τ,hτ0,le_rfl⟩ = |
| 54 | normalize g hg v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩ := by |
| 55 | simp only [EulerContinuousTimeWeight.normalize_apply,hg0,inv_one,one_smul] |
| 56 | exact hm |
| 57 | |
| 58 | /-- The normalized join is exactly the join of the normalized forward path. -/ |
| 59 | theorem normalize_join : |
| 60 | normalize (profile S τ hτ0 hτS g hg0) (profile_pos S τ hτ0 hτS g hg0 hg) |
| 61 | (join S τ hτ0 hτS u v hm) = |
| 62 | join S τ hτ0 hτS u (normalize g hg v) |
| 63 | (normalize_match S τ hτ0 hτS g hg0 hg u v hm) := by |
| 64 | apply ContinuousMap.ext |
| 65 | intro t |
| 66 | by_cases ht : (t : ℝ) ≤ τ |
| 67 | · have hp := profile_left S τ hτ0 hτS g hg0 ⟨t,t.property.1,ht⟩ |
| 68 | have hu := join_left S τ hτ0 hτS u v hm ⟨t,t.property.1,ht⟩ |
| 69 | have hv := join_left S τ hτ0 hτS u (normalize g hg v) |
| 70 | (normalize_match S τ hτ0 hτS g hg0 hg u v hm) ⟨t,t.property.1,ht⟩ |
| 71 | rw [EulerContinuousTimeWeight.normalize_apply,hp,hu,hv,inv_one,one_smul] |
| 72 | · have hr : τ ≤ (t : ℝ) := (not_le.mp ht).le |
| 73 | have hp := profile_right S τ hτ0 hτS g hg0 ⟨t,hr,t.property.2⟩ |
| 74 | have hu := join_right S τ hτ0 hτS u v hm ⟨t,hr,t.property.2⟩ |
| 75 | have hv := join_right S τ hτ0 hτS u (normalize g hg v) |
| 76 | (normalize_match S τ hτ0 hτS g hg0 hg u v hm) ⟨t,hr,t.property.2⟩ |
| 77 | rw [EulerContinuousTimeWeight.normalize_apply,hp,hu,hv,EulerContinuousTimeWeight.normalize_apply] |
| 78 | |
| 79 | /-- Restriction of a normalized full path to the history is unchanged. -/ |
| 80 | theorem normalize_initial (p : C(Icc (0 : ℝ) S,E)) : |
| 81 | (normalize (profile S τ hτ0 hτS g hg0) (profile_pos S τ hτ0 hτS g hg0 hg) p).comp |
| 82 | (initialInclusion S τ hτS) = p.comp (initialInclusion S τ hτS) := by |
| 83 | apply ContinuousMap.ext |
| 84 | intro t |
| 85 | change (profile S τ hτ0 hτS g hg0 ⟨t,t.property.1,t.property.2.trans hτS⟩)⁻¹ • p _ = p _ |
| 86 | rw [profile_left,inv_one,one_smul] |
| 87 | |
| 88 | /-- Restriction of the normalized full path to the future uses exactly g. -/ |
| 89 | theorem normalize_tail (p : C(Icc (0 : ℝ) S,E)) : |
| 90 | (normalize (profile S τ hτ0 hτS g hg0) (profile_pos S τ hτ0 hτS g hg0 hg) p).comp |
| 91 | (tailInclusion S τ hτ0) = normalize g hg (p.comp (tailInclusion S τ hτ0)) := by |
| 92 | apply ContinuousMap.ext |
| 93 | intro t |
| 94 | have hright := profile_right S τ hτ0 hτS g hg0 |
| 95 | ⟨τ+(t : ℝ),by linarith [t.property.1],by linarith [t.property.2]⟩ |
| 96 | have hsub : τ+(t : ℝ)-τ = t := by ring |
| 97 | simp only [hsub] at hright |
| 98 | change (profile S τ hτ0 hτS g hg0 ⟨τ+t,by linarith [t.property.1],by linarith [t.property.2]⟩)⁻¹ • p _ = |
| 99 | (g t)⁻¹ • p _ |
| 100 | rw [hright] |
| 101 | |
| 102 | end EulerElapsedTimePathGluing |
| 103 | |
| 104 | namespace EulerLpCylinderTranslation |
| 105 | |
| 106 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 107 | EulerElapsedTimePathGluing EulerContinuousTimeWeight EulerParameterWordGevrey |
| 108 | EulerLpCylinderRectangular |
| 109 | open scoped ContDiff |
| 110 | |
| 111 | variable (P : ℝ) [Fact (0 < P)] {V : Type*} |
| 112 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] |
| 113 | |
| 114 | theorem normalize_orbit_contDiff {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 115 | (g : C(K,ℝ)) (hg : ∀ t, 0 < g t) (p : C(K,CylinderL2 P V)) |
| 116 | (hp : ContDiff ℝ ∞ (fun a => pathTranslate P a p)) : |
| 117 | ContDiff ℝ ∞ (fun a => pathTranslate P a (normalize g hg p)) := by |
| 118 | have he : (fun a => pathTranslate P a (normalize g hg p)) = |
| 119 | fun a => normalize g hg (pathTranslate P a p) := |
| 120 | funext (fun a => translate_normalize P g hg a p) |
| 121 | rw [he] |
| 122 | exact (normalize g hg).contDiff.comp hp |
| 123 | |
| 124 | /-- Profile normalization at the join preserves the exact external radius. -/ |
| 125 | theorem normalized_join_block (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 126 | (g : C(Icc (0 : ℝ) (S-τ),ℝ)) (hg : ∀ t, 0 < g t) |
| 127 | (hg0 : g ⟨0,le_rfl,sub_nonneg.mpr hτS⟩ = 1) |
| 128 | (u : C(Icc (0 : ℝ) τ,CylinderL2 P V)) (v : C(Icc (0 : ℝ) (S-τ),CylinderL2 P V)) |
| 129 | (hm : u ⟨τ,hτ0,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) |
| 130 | (hu : ContDiff ℝ ∞ (fun a => pathTranslate P a u)) |
| 131 | (hv : ContDiff ℝ ∞ (fun a => pathTranslate P a v)) |
| 132 | {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : |
| 133 | block directions q (fun b => pathTranslate P b |
| 134 | (normalize (profile S τ hτ0 hτS g hg0) (profile_pos S τ hτ0 hτS g hg0 hg) |
| 135 | (join S τ hτ0 hτS u v hm))) n a ≤ |
| 136 | block directions q (fun b => pathTranslate P b u) n a+ |
| 137 | block directions q (fun b => pathTranslate P b (normalize g hg v)) n a := by |
| 138 | rw [normalize_join] |
| 139 | exact join_orbit_block P S τ hτ0 hτS u (normalize g hg v) |
| 140 | (normalize_match S τ hτ0 hτS g hg0 hg u v hm) hu |
| 141 | (normalize_orbit_contDiff P g hg v hv) directions q n a |
| 142 | |
| 143 | end EulerLpCylinderTranslation |