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.PacketCylinderFieldWeight |
| 2 | |
| 3 | /-! Products of actual normalized fields use only the pointwise ratio of their time profiles. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerPacketCylinderField |
| 8 | |
| 9 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 10 | EulerCylinderPathProduct EulerPacketProfileRecursion |
| 11 | open scoped ContDiff |
| 12 | |
| 13 | def productProfileRatio {K : Type*} [TopologicalSpace K] |
| 14 | (g h b : C(K,ℝ)) (hb : ∀ t, 0 < b t) : C(K,ℝ) := |
| 15 | ⟨fun t => g t*h t/b t,(g.continuous.mul h.continuous).div b.continuous (fun t => (hb t).ne')⟩ |
| 16 | |
| 17 | @[simp] theorem productProfileRatio_apply {K : Type*} [TopologicalSpace K] |
| 18 | (g h b : C(K,ℝ)) (hb : ∀ t, 0 < b t) (t : K) : |
| 19 | productProfileRatio g h b hb t = g t*h t/b t := rfl |
| 20 | |
| 21 | theorem productProfileRatio_abs_le {K : Type*} [TopologicalSpace K] |
| 22 | (g h b : C(K,ℝ)) (hg : ∀ t, 0 ≤ g t) (hh : ∀ t, 0 ≤ h t) |
| 23 | (hb : ∀ t, 0 < b t) (C : ℝ) (hC : ∀ t, g t*h t ≤ C*b t) (t : K) : |
| 24 | |productProfileRatio g h b hb t| ≤ C := by |
| 25 | rw [productProfileRatio_apply,abs_of_nonneg (div_nonneg (mul_nonneg (hg t) (hh t)) (hb t).le)] |
| 26 | exact (div_le_iff₀ (hb t)).mpr (hC t) |
| 27 | |
| 28 | namespace Field |
| 29 | |
| 30 | variable {P T : ℝ} [Fact (0 < P)] {raw raw' : VectorField} |
| 31 | (G : Field P T raw) (H : Field P T raw') (hT : 0 ≤ T) |
| 32 | (g h b : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) (hh : ∀ t, 0 < h t) (hb : ∀ t, 0 < b t) |
| 33 | |
| 34 | theorem normalized_bilinear_path (L : Space →L[ℝ] Space →L[ℝ] Space) : |
| 35 | ((G.bilinear H L).normalized hT b hb).path = |
| 36 | (((G.normalized hT g hg).bilinear (H.normalized hT h hh) L).weighted hT |
| 37 | (productProfileRatio g h b hb)).path := by |
| 38 | apply path_eq_of_raw_eq |
| 39 | intro t x θ |
| 40 | change productProfileRatio g h b hb (projIcc 0 T hT t) • |
| 41 | L ((g (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ))) ((h (projIcc 0 T hT t))⁻¹ • raw' (t,(x,θ))) = |
| 42 | (b (projIcc 0 T hT t))⁻¹ • L (raw (t,(x,θ))) (raw' (t,(x,θ))) |
| 43 | rw [projIcc_of_mem hT t.property] |
| 44 | simp only [productProfileRatio_apply,map_smul,smul_apply,smul_smul] |
| 45 | congr 1 |
| 46 | field_simp [(hg t).ne',(hh t).ne',(hb t).ne'] |
| 47 | |
| 48 | theorem normalized_scalarProduct_path (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) : |
| 49 | ((G.scalarProduct H L hL).normalized hT b hb).path = |
| 50 | (((G.normalized hT g hg).scalarProduct (H.normalized hT h hh) L hL).weighted hT |
| 51 | (productProfileRatio g h b hb)).path := by |
| 52 | apply path_eq_of_raw_eq |
| 53 | intro t x θ |
| 54 | change productProfileRatio g h b hb (projIcc 0 T hT t) • |
| 55 | (L ((g (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ))) • ((h (projIcc 0 T hT t))⁻¹ • raw' (t,(x,θ)))) = |
| 56 | (b (projIcc 0 T hT t))⁻¹ • (L (raw (t,(x,θ))) • raw' (t,(x,θ))) |
| 57 | rw [projIcc_of_mem hT t.property] |
| 58 | simp only [productProfileRatio_apply,map_smul,smul_eq_mul,smul_smul] |
| 59 | congr 1 |
| 60 | field_simp [(hg t).ne',(hh t).ne',(hb t).ne'] |
| 61 | |
| 62 | theorem normalized_spatialTransport_path : |
| 63 | ((G.spatialTransport H).normalized hT b hb).path = |
| 64 | (((G.normalized hT g hg).spatialTransport (H.normalized hT h hh)).weighted hT |
| 65 | (productProfileRatio g h b hb)).path := by |
| 66 | apply path_eq_of_raw_eq |
| 67 | intro t x θ |
| 68 | have hd : fderiv ℝ |
| 69 | (fun y : LiftTangent => (h (projIcc 0 T hT t))⁻¹ • raw' (t,y)) (x,θ) = |
| 70 | (h t)⁻¹ • fderiv ℝ (fun y : LiftTangent => raw' (t,y)) (x,θ) := by |
| 71 | rw [projIcc_of_mem hT t.property] |
| 72 | exact (((H.raw_smooth t).differentiable (by simp) (x,θ)).hasFDerivAt.const_smul (h t)⁻¹).fderiv |
| 73 | change productProfileRatio g h b hb (projIcc 0 T hT t) • |
| 74 | fderiv ℝ (fun y : LiftTangent => (h (projIcc 0 T hT t))⁻¹ • raw' (t,y)) (x,θ) |
| 75 | ((g (projIcc 0 T hT t))⁻¹ • raw (t,(x,θ)),0) = |
| 76 | (b (projIcc 0 T hT t))⁻¹ • fderiv ℝ (fun y : LiftTangent => raw' (t,y)) (x,θ) (raw (t,(x,θ)),0) |
| 77 | rw [hd,projIcc_of_mem hT t.property] |
| 78 | have ha : ((g t)⁻¹ • raw (t,(x,θ)),(0 : ℝ)) = (g t)⁻¹ • (raw (t,(x,θ)),(0 : ℝ)) := by simp |
| 79 | rw [ha] |
| 80 | simp only [productProfileRatio_apply,smul_apply,map_smul,smul_smul] |
| 81 | congr 1 |
| 82 | field_simp [(hg t).ne',(hh t).ne',(hb t).ne'] |
| 83 | |
| 84 | variable {G H g h b hg hh hb} |
| 85 | |
| 86 | theorem WordBound.normalized_bilinear {R A B : ℝ} {d e : ℕ} |
| 87 | (hG : (G.normalized hT g hg).WordBound 6 R A d) |
| 88 | (hH : (H.normalized hT h hh).WordBound 6 R B e) |
| 89 | (L : Space →L[ℝ] Space →L[ℝ] Space) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 90 | (C : ℝ) (hC : 0 ≤ C) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ C) : |
| 91 | ((G.bilinear H L).normalized hT b hb).WordBound 6 R |
| 92 | (C*(9*productBlockConstant P*‖L‖*A*B)) (d+e) := by |
| 93 | have hbound := (hG.bilinear hH L hR hA hB).weighted hT (productProfileRatio g h b hb) C hC hprofile |
| 94 | unfold WordBound at * |
| 95 | rw [G.normalized_bilinear_path H hT g h b hg hh hb L] |
| 96 | exact hbound |
| 97 | |
| 98 | theorem WordBound.normalized_scalarProduct {R A B : ℝ} {d e : ℕ} |
| 99 | (hG : (G.normalized hT g hg).WordBound 6 R A d) |
| 100 | (hH : (H.normalized hT h hh).WordBound 6 R B e) |
| 101 | (L : Space →L[ℝ] ℝ) (hL : ‖L‖ ≤ 1) (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 102 | (C : ℝ) (hC : 0 ≤ C) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ C) : |
| 103 | ((G.scalarProduct H L hL).normalized hT b hb).WordBound 6 R |
| 104 | (C*(3*productBlockConstant P*A*B)) (d+e) := by |
| 105 | have hbound := (hG.scalarProduct hH L hL hR hA hB).weighted hT (productProfileRatio g h b hb) C hC hprofile |
| 106 | unfold WordBound at * |
| 107 | rw [G.normalized_scalarProduct_path H hT g h b hg hh hb L hL] |
| 108 | exact hbound |
| 109 | |
| 110 | theorem WordBound.normalized_spatialTransport {R A B : ℝ} {d e : ℕ} |
| 111 | (hG : (G.normalized hT g hg).WordBound 6 R A d) |
| 112 | (hH : (H.normalized hT h hh).WordBound 6 R B e) |
| 113 | (hR : 0 ≤ R) (hA : 0 ≤ A) (hB : 0 ≤ B) |
| 114 | (C : ℝ) (hC : 0 ≤ C) (hprofile : ∀ t, |productProfileRatio g h b hb t| ≤ C) : |
| 115 | ((G.spatialTransport H).normalized hT b hb).WordBound 6 R |
| 116 | (C*(9*productBlockConstant P*A*B)) (d+e+1) := by |
| 117 | have hbound := (hG.spatialTransport hH hR hA hB).weighted hT (productProfileRatio g h b hb) C hC hprofile |
| 118 | unfold WordBound at * |
| 119 | rw [G.normalized_spatialTransport_path H hT g h b hg hh hb] |
| 120 | exact hbound |
| 121 | |
| 122 | end Field |
| 123 | end EulerPacketCylinderField |