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.PacketCylinderFieldUnique |
| 2 | import Euler.PacketCylinderJetOperations |
| 3 | import Euler.CylinderPathBilinearBounds |
| 4 | import Euler.CylinderConstantMapBounds |
| 5 | import Euler.PacketMajorantShift |
| 6 | |
| 7 | /-! Same-radius word bounds on the actual raw-field witnesses used by the packet recursion. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketCylinderField.Field |
| 12 | |
| 13 | open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 14 | EulerCylinderSmoothOrbit EulerCylinderSobolev EulerLpCylinderTranslation |
| 15 | EulerCylinderPathProduct EulerCylinderConstantMap EulerLpCylinderRectangular |
| 16 | EulerParameterWordGevrey EulerGevrey EulerPacketProfileRecursion |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {P T : ℝ} [Fact (0 < P)] {raw raw' : VectorField} |
| 20 | |
| 21 | def WordBound (G : Field P T raw) (q : ℕ) (R A : ℝ) (d : ℕ) : Prop := |
| 22 | ∀ n, block standardDirection q (fun a : LiftTangent => pathTranslate P a G.path) n 0 ≤ |
| 23 | A*majorant R d n |
| 24 | |
| 25 | variable {G : Field P T raw} {H : Field P T raw'} {q d e : ℕ} {R A B : ℝ} |
| 26 | |
| 27 | theorem WordBound.transfer (h : G.WordBound q R A d) (H : Field P T raw) : H.WordBound q R A d := by |
| 28 | unfold WordBound at * |
| 29 | rw [← G.path_eq_of_same_raw H] |
| 30 | exact h |
| 31 | |
| 32 | theorem WordBound.congr (h : G.WordBound q R A d) |
| 33 | (he : ∀ (t : Icc (0 : ℝ) T) x θ, raw' (t,(x,θ)) = raw (t,(x,θ))) : |
| 34 | (G.congr he).WordBound q R A d := h |
| 35 | |
| 36 | theorem WordBound.mono_amplitude (h : G.WordBound q R A d) (hR : 0 ≤ R) (hAB : A ≤ B) : |
| 37 | G.WordBound q R B d := fun n => (h n).trans |
| 38 | (mul_le_mul_of_nonneg_right hAB (majorant_nonneg R hR d n)) |
| 39 | |
| 40 | theorem WordBound.mono_shift (h : G.WordBound q R A d) (hR : 1 ≤ R) (hA : 0 ≤ A) (hde : d ≤ e) : |
| 41 | G.WordBound q R A e := fun n => (h n).trans |
| 42 | (mul_le_mul_of_nonneg_left (majorant_mono_shift R hR d e n hde) hA) |
| 43 | |
| 44 | theorem wordBound_zero (P T : ℝ) [Fact (0 < P)] (q : ℕ) (R : ℝ) (d : ℕ) : |
| 45 | (Field.zero P T).WordBound q R 0 d := by |
| 46 | intro n |
| 47 | change block standardDirection q (fun a : LiftTangent => pathTranslate P a (0 : C(Icc (0 : ℝ) T,LiftL2 P))) n 0 ≤ _ |
| 48 | simp only [map_zero,block_zero_function,zero_mul,le_refl] |
| 49 | |
| 50 | theorem WordBound.add (hG : G.WordBound q R A d) (hH : H.WordBound q R B d) : |
| 51 | (G.add H).WordBound q R (A+B) d := by |
| 52 | intro n |
| 53 | change block standardDirection q (fun a : LiftTangent => pathTranslate P a (G.path+H.path)) n 0 ≤ _ |
| 54 | simp only [map_add] |
| 55 | exact (block_add_le standardDirection q _ _ G.orbit H.orbit n 0).trans |
| 56 | ((add_le_add (hG n) (hH n)).trans_eq (by ring)) |
| 57 | |
| 58 | theorem WordBound.sub (hG : G.WordBound q R A d) (hH : H.WordBound q R B d) : |
| 59 | (G.sub H).WordBound q R (A+B) d := by |
| 60 | intro n |
| 61 | change block standardDirection q (fun a : LiftTangent => pathTranslate P a (G.path+ -H.path)) n 0 ≤ _ |
| 62 | simp only [map_add,map_neg] |
| 63 | have h := block_sub_le standardDirection q |
| 64 | (fun a : LiftTangent => pathTranslate P a G.path) |
| 65 | (fun a : LiftTangent => pathTranslate P a H.path) G.orbit H.orbit n 0 |
| 66 | have hb := h.trans ((add_le_add (hG n) (hH n)).trans_eq |
| 67 | (show A*majorant R d n+B*majorant R d n=(A+B)*majorant R d n by ring)) |
| 68 | have he : ((fun a : LiftTangent => pathTranslate P a G.path) - |
| 69 | (fun a : LiftTangent => pathTranslate P a H.path)) = |
| 70 | fun a : LiftTangent => pathTranslate P a G.path + -pathTranslate P a H.path := by |
| 71 | funext a |
| 72 | exact sub_eq_add_neg _ _ |
| 73 | rw [he] at hb |
| 74 | exact hb |
| 75 | |
| 76 | theorem WordBound.smul (hG : G.WordBound q R A d) (c : ℝ) : |
| 77 | (G.smul c).WordBound q R (|c| * A) d := by |
| 78 | intro n |
| 79 | change block standardDirection q (fun a : LiftTangent => pathTranslate P a (c • G.path)) n 0 ≤ _ |
| 80 | simp only [map_smul] |
| 81 | exact (block_smul_le standardDirection q c _ G.orbit n 0).trans |
| 82 | ((mul_le_mul_of_nonneg_left (hG n) (abs_nonneg c)).trans_eq (by ring)) |
| 83 | |
| 84 | theorem WordBound.neg (hG : G.WordBound q R A d) : (G.neg).WordBound q R A d := by |
| 85 | intro n |
| 86 | have h := block_smul_le standardDirection q (-1) _ G.orbit n 0 |
| 87 | simp only [neg_one_smul,abs_neg,abs_one,one_mul] at h |
| 88 | change block standardDirection q (fun a : LiftTangent => pathTranslate P a (-G.path)) n 0 ≤ _ |
| 89 | simpa only [map_neg] using h.trans (hG n) |
| 90 | |
| 91 | theorem WordBound.derivative (hG : G.WordBound q R A d) (i : Fin 4) : |
| 92 | (G.derivative i).WordBound q R A (d+1) := |
| 93 | derivativePath_majorant P G.path G.orbit i q R A d hG |
| 94 | |
| 95 | theorem WordBound.map (hG : G.WordBound q R A d) (L : Space →L[ℝ] Space) : |
| 96 | (G.map L).WordBound q R (‖L‖*A) d := by |
| 97 | intro n |
| 98 | exact (pathMap_block_bound P standardDirection q L G.path G.orbit n 0).trans |
| 99 | ((mul_le_mul_of_nonneg_left (hG n) (norm_nonneg L)).trans_eq (by ring)) |
| 100 | |
| 101 | theorem wordBound_finsetSum {ι : Type*} (s : Finset ι) (f : ι → VectorField) |
| 102 | (G : ∀ i, Field P T (f i)) (A : ι → ℝ) |
| 103 | (h : ∀ i ∈ s, (G i).WordBound q R (A i) d) : |
| 104 | (Field.finsetSum s f G).WordBound q R (∑ i ∈ s,A i) d := by |
| 105 | intro n |
| 106 | have he : (fun a : LiftTangent => pathTranslate P a (Field.finsetSum s f G).path) = |
| 107 | ∑ i ∈ s, (fun a : LiftTangent => pathTranslate P a (G i).path) := by |
| 108 | funext a |
| 109 | change pathTranslate P a (∑ i ∈ s,(G i).path) = _ |
| 110 | simp only [map_sum,Finset.sum_apply] |
| 111 | rw [he] |
| 112 | exact (block_finset_sum_le standardDirection q s _ (fun i _ => (G i).orbit) n 0).trans |
| 113 | ((sum_le_sum (fun i hi => h i hi n)).trans_eq (Finset.sum_mul s A (majorant R d n)).symm) |
| 114 | |
| 115 | theorem WordBound.scalarProduct (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) |
| 116 | (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : |
| 117 | (G.scalarProduct H L hL).WordBound 6 R (3*productBlockConstant P*A*B) (d+e) := |
| 118 | scalarProductPath_majorant P L hL G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH |
| 119 | |
| 120 | theorem WordBound.bilinear (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) |
| 121 | (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : |
| 122 | (G.bilinear H L).WordBound 6 R (9*productBlockConstant P*‖L‖*A*B) (d+e) := |
| 123 | bilinearProductPath_majorant P L G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH |
| 124 | |
| 125 | theorem WordBound.spatialTransport (hG : G.WordBound 6 R A d) (hH : H.WordBound 6 R B e) |
| 126 | (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) : |
| 127 | (G.spatialTransport H).WordBound 6 R (9*productBlockConstant P*A*B) (d+e+1) := |
| 128 | advectionPath_majorant P G.path H.path G.orbit H.orbit R A B hR hA hB d e 0 hG hH |
| 129 | |
| 130 | theorem WordBound.multiply (hG : G.WordBound q R A d) |
| 131 | {coef : EulerPacketPointJets.Domain → Space →L[ℝ] Space} (K : MatrixCoefficient T coef) |
| 132 | (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) (hA : 0 ≤ A) |
| 133 | (hR : sobolevCoefficientRadius (Fin 4) Rc ≤ R) |
| 134 | (hK : ∀ n a, ‖iteratedFDeriv ℝ n (EulerMeanCoefficients.translateCoefficientPath K.path) a‖ ≤ |
| 135 | C*majorant Rc 0 n) : |
| 136 | (K.multiply G).WordBound q R (3*sobolevCoefficientAmplitude (Fin 4) q Rc C*A) d := |
| 137 | product_orbit_block_bound P K.path K.orbit standardDirection |
| 138 | (fun i => by cases i using Fin.cases <;> simp [Prod.norm_def]) q |
| 139 | G.path G.orbit Rc C R A hRc hC hA hR hK d hG |
| 140 | |
| 141 | end EulerPacketCylinderField.Field |