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.TimeIntervalGlue |
| 2 | import Euler.ParameterWordCalculus |
| 3 | import Euler.ParameterSobolevLinear |
| 4 | |
| 5 | /-! Matching time paths glue without any external-word or fixed-Sobolev loss. -/ |
| 6 | |
| 7 | /-! ## From `Euler/PacketTimePathGluing.lean` |
| 8 | |
| 9 | The text of `Euler/PacketTimePathGluing.lean`, folded into this file, which was its only importer. -/ |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Gluing matching continuous paths is one fixed linear contraction. -/ |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | namespace EulerPacketTimePathGluing |
| 18 | |
| 19 | open Set EulerTimeIntervalGlue |
| 20 | |
| 21 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 22 | |
| 23 | local instance compactInterval (a b : ℝ) : CompactSpace (Icc a b) := |
| 24 | isCompact_iff_compactSpace.mp isCompact_Icc |
| 25 | |
| 26 | abbrev Pair (S τ : ℝ) (E : Type*) [TopologicalSpace E] := |
| 27 | C(Icc (0 : ℝ) τ,E) × C(Icc τ S,E) |
| 28 | |
| 29 | def mismatch (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) : Pair S τ E →L[ℝ] E := |
| 30 | (ContinuousMap.evalCLM ℝ ⟨τ,hτ0,le_rfl⟩).comp |
| 31 | (ContinuousLinearMap.fst ℝ C(Icc (0 : ℝ) τ,E) C(Icc τ S,E))- |
| 32 | (ContinuousMap.evalCLM ℝ ⟨τ,le_rfl,hτS⟩).comp |
| 33 | (ContinuousLinearMap.snd ℝ C(Icc (0 : ℝ) τ,E) C(Icc τ S,E)) |
| 34 | |
| 35 | abbrev Matching (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) : Submodule ℝ (Pair S τ E) := |
| 36 | (mismatch (E := E) S τ hτ0 hτS).ker |
| 37 | |
| 38 | theorem matching_values (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 39 | (u : Matching (E := E) S τ hτ0 hτS) : |
| 40 | u.val.1 ⟨τ,hτ0,le_rfl⟩=u.val.2 ⟨τ,le_rfl,hτS⟩ := by |
| 41 | have h : mismatch S τ hτ0 hτS u.val=0 := u.property |
| 42 | exact sub_eq_zero.mp h |
| 43 | |
| 44 | def gluePath (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 45 | (u : Matching (E := E) S τ hτ0 hτS) : C(Icc (0 : ℝ) S,E) := |
| 46 | ⟨fun t => glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) |
| 47 | (fun r => u.val.2 (projIcc τ S hτS r)) t, |
| 48 | (glue_continuous τ _ _ (by |
| 49 | simpa only [Function.comp_def, projIcc_of_mem hτ0 ⟨hτ0,le_rfl⟩, |
| 50 | projIcc_of_mem hτS ⟨le_rfl,hτS⟩] using matching_values S τ hτ0 hτS u) |
| 51 | (u.val.1.continuous.comp continuous_projIcc) |
| 52 | (u.val.2.continuous.comp continuous_projIcc)).comp continuous_subtype_val⟩ |
| 53 | |
| 54 | theorem gluePath_norm_le (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 55 | (u : Matching (E := E) S τ hτ0 hτS) : ‖gluePath S τ hτ0 hτS u‖ ≤ ‖u‖ := by |
| 56 | apply (ContinuousMap.norm_le _ (norm_nonneg u)).2 |
| 57 | intro t |
| 58 | change ‖glue τ (fun r => u.val.1 (projIcc 0 τ hτ0 r)) |
| 59 | (fun r => u.val.2 (projIcc τ S hτS r)) t‖ ≤ ‖u‖ |
| 60 | by_cases ht : (t : ℝ) ≤ τ |
| 61 | · rw [glue_left τ _ _ t ht] |
| 62 | exact (u.val.1.norm_coe_le_norm _).trans (norm_fst_le u.val) |
| 63 | · simp only [glue, ht, ite_false] |
| 64 | exact (u.val.2.norm_coe_le_norm _).trans (norm_snd_le u.val) |
| 65 | |
| 66 | def glueOperator (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) : |
| 67 | Matching (E := E) S τ hτ0 hτS →L[ℝ] C(Icc (0 : ℝ) S,E) := |
| 68 | ({ toFun := gluePath S τ hτ0 hτS |
| 69 | map_add' := by |
| 70 | intro u v |
| 71 | ext t |
| 72 | by_cases ht : (t : ℝ) ≤ τ <;> simp [gluePath, glue, ht] |
| 73 | map_smul' := by |
| 74 | intro c u |
| 75 | ext t |
| 76 | by_cases ht : (t : ℝ) ≤ τ <;> simp [gluePath, glue, ht] } : |
| 77 | Matching (E := E) S τ hτ0 hτS →ₗ[ℝ] C(Icc (0 : ℝ) S,E)).mkContinuous |
| 78 | 1 (fun u => by |
| 79 | change ‖gluePath S τ hτ0 hτS u‖ ≤ 1 * ‖u‖ |
| 80 | simpa only [one_mul] using gluePath_norm_le S τ hτ0 hτS u) |
| 81 | |
| 82 | theorem glueOperator_norm_le_one (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) : |
| 83 | ‖glueOperator (E := E) S τ hτ0 hτS‖ ≤ 1 := by |
| 84 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 85 | intro u |
| 86 | change ‖gluePath S τ hτ0 hτS u‖ ≤ 1 * ‖u‖ |
| 87 | simpa only [one_mul] using gluePath_norm_le S τ hτ0 hτS u |
| 88 | |
| 89 | end EulerPacketTimePathGluing |
| 90 | end |
| 91 | |
| 92 | end |
| 93 | |
| 94 | noncomputable section |
| 95 | |
| 96 | namespace EulerPacketTimePathGluing |
| 97 | |
| 98 | open Set EulerTimeIntervalGlue EulerParameterWordGevrey |
| 99 | open scoped ContDiff |
| 100 | |
| 101 | variable {X E ι : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 102 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 103 | |
| 104 | attribute [local instance] compactInterval |
| 105 | |
| 106 | @[simp] theorem glueOperator_apply (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 107 | (u : Matching (E := E) S τ hτ0 hτS) : |
| 108 | glueOperator S τ hτ0 hτS u = gluePath S τ hτ0 hτS u := rfl |
| 109 | |
| 110 | variable [Fintype ι] |
| 111 | |
| 112 | /-- Fixed H6 is the specialization q=6; no tensor-to-word conversion occurs. -/ |
| 113 | theorem glue_block_bound (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 114 | (directions : ι → X) (q : ℕ) (f : X → Matching (E := E) S τ hτ0 hτS) |
| 115 | (hf : ContDiff ℝ ∞ f) (n : ℕ) (x : X) : |
| 116 | block directions q (fun y => gluePath S τ hτ0 hτS (f y)) n x ≤ |
| 117 | block directions q f n x := by |
| 118 | have h := block_comp_clm_le directions q (glueOperator S τ hτ0 hτS) f hf n x |
| 119 | exact h.trans ((mul_le_mul_of_nonneg_right |
| 120 | (glueOperator_norm_le_one S τ hτ0 hτS) (block_nonneg directions q f n x)).trans_eq (one_mul _)) |
| 121 | |
| 122 | end EulerPacketTimePathGluing |