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.PacketPrimaryScaling |
| 2 | import Euler.PacketPressureFastHessian |
| 3 | |
| 4 | /-! The primary's literal velocity gradient at every spatial point. Its |
| 5 | fast derivative is the source shear, and the slow derivative has an |
| 6 | explicit inverse-frequency factor. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketPrimaryShear |
| 11 | |
| 12 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 13 | EulerTransversePacketProvider EulerTransversePacketPrimary EulerPacketTerminalDatum |
| 14 | EulerPacketPrimaryFactorization EulerPacketGraphHessian EulerGraphPullback |
| 15 | EulerPacketCylinderField EulerLiftedGradientSpace EulerPeriodicProfile |
| 16 | EulerCylinderCoordinates EulerCylinderSobolevSpace EulerGevrey |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | def slowGraphDerivative (q : LiftTangent → Space) (k : ℝ) (m : Space) |
| 20 | (Y : Space → Space) (J : Space →L[ℝ] Space) (x : Space) : Space →L[ℝ] Space := |
| 21 | k⁻¹ • ((fderiv ℝ q (graphMap k m (Y x))).comp (inl ℝ Space ℝ)).comp J |
| 22 | |
| 23 | theorem graph_vector_hasFDerivAt (q : LiftTangent → Space) (k : ℝ) (hk : k ≠ 0) |
| 24 | (m : Space) (Y : Space → Space) (J : Space →L[ℝ] Space) (x : Space) |
| 25 | (hY : HasFDerivAt Y J x) (hq : DifferentiableAt ℝ q (graphMap k m (Y x))) : |
| 26 | HasFDerivAt (fun y => k⁻¹ • q (graphMap k m (Y y))) |
| 27 | (rankOne ℝ (fderiv ℝ q (graphMap k m (Y x)) (0,1)) (J.adjoint m)+ |
| 28 | slowGraphDerivative q k m Y J x) x := by |
| 29 | have hg : HasFDerivAt (fun y => graphMap k m (Y y)) ((graphMap k m).comp J) x := |
| 30 | (graphMap k m).hasFDerivAt.comp x hY |
| 31 | convert! (hq.hasFDerivAt.comp x hg).const_smul k⁻¹ using 1 |
| 32 | apply ContinuousLinearMap.ext |
| 33 | intro v |
| 34 | simp only [slowGraphDerivative,add_apply,smul_apply,comp_apply,rankOne_apply, |
| 35 | graph_decomposition,map_add,map_smul,inl_apply,smul_add,smul_smul] |
| 36 | rw [← J.adjoint_inner_left v m] |
| 37 | match_scalars <;> field_simp |
| 38 | |
| 39 | theorem slowGraphDerivative_norm_le (q : LiftTangent → Space) (k : ℝ) (m : Space) |
| 40 | (Y : Space → Space) (J : Space →L[ℝ] Space) (x : Space) : |
| 41 | ‖slowGraphDerivative q k m Y J x‖ ≤ |
| 42 | |k⁻¹| * ‖fderiv ℝ q (graphMap k m (Y x))‖ * ‖J‖ := by |
| 43 | unfold slowGraphDerivative |
| 44 | rw [norm_smul,Real.norm_eq_abs,mul_assoc] |
| 45 | apply mul_le_mul_of_nonneg_left _ (abs_nonneg _) |
| 46 | apply (opNorm_comp_le _ _).trans |
| 47 | apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) |
| 48 | simpa only [norm_inl,mul_one] using |
| 49 | opNorm_comp_le (fderiv ℝ q (graphMap k m (Y x))) (inl ℝ Space ℝ) |
| 50 | |
| 51 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 52 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 53 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 54 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 55 | |
| 56 | theorem scaled_terminal_angular_fderiv (a : ℝ) (t : Icc (0 : ℝ) D.T) (z : LiftTangent) : |
| 57 | fderiv ℝ (fun y => vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,y)) z (0,1) = |
| 58 | (a*deriv (profile δ) z.2) • canonicalVelocity τ hτ hτT B ξ hs t z.1 := by |
| 59 | let q : LiftTangent → Space := fun y => |
| 60 | vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,y) |
| 61 | have he : (fun θ => q (z.1,θ)) = fun θ => |
| 62 | a • (profile δ θ • canonicalVelocity τ hτ hτT B ξ hs t z.1) := by |
| 63 | funext θ |
| 64 | dsimp only [q] |
| 65 | rw [vector_terminal_smul,vector_factorization_canonical] |
| 66 | have hd := (((profile_hasDerivAt δ hδ z.2).differentiableAt.hasDerivAt).smul_const |
| 67 | (canonicalVelocity τ hτ hτT B ξ hs t z.1)).const_smul a |
| 68 | have hq : DifferentiableAt ℝ q z := |
| 69 | ((vectorField τ hτ hτT B (initialData D δ hδ (a • ξ) hs)).raw_smooth t).differentiable (by simp) z |
| 70 | have hv := (hq.hasFDerivAt.comp_hasDerivAt z.2 |
| 71 | ((hasDerivAt_const z.2 z.1).prodMk (hasDerivAt_id z.2))).deriv |
| 72 | change deriv (fun θ => q (z.1,θ)) z.2 = _ at hv |
| 73 | have hd' : deriv (fun θ => a • (profile δ θ • canonicalVelocity τ hτ hτT B ξ hs t z.1)) z.2 = |
| 74 | a • (deriv (profile δ) z.2 • canonicalVelocity τ hτ hτT B ξ hs t z.1) := hd.deriv |
| 75 | rw [he,hd'] at hv |
| 76 | simpa only [smul_smul] using hv.symm |
| 77 | |
| 78 | theorem scaled_terminal_global_gradient (a k : ℝ) (hk : k ≠ 0) |
| 79 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 80 | (hY : HasFDerivAt Y (D.FInv.field t (Y x)) x) : |
| 81 | fderiv ℝ (fun y => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) |
| 82 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x = |
| 83 | (a*deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • |
| 84 | rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y x)) (D.normal.field t (Y x)) + |
| 85 | slowGraphDerivative (fun z => vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z)) |
| 86 | k D.m₀ Y (D.FInv.field t (Y x)) x := by |
| 87 | have hq := ((vectorField τ hτ hτT B (initialData D δ hδ (a • ξ) hs)).raw_smooth t).differentiable (by simp) |
| 88 | have he := (graph_vector_hasFDerivAt |
| 89 | (fun z => vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z)) |
| 90 | k hk D.m₀ Y _ x hY (hq _)).fderiv |
| 91 | rw [scaled_terminal_angular_fderiv τ hτ hτT B δ hδ ξ hs] at he |
| 92 | convert! he using 1 |
| 93 | apply congrArg (fun V : Space →L[ℝ] Space => V + _) |
| 94 | apply ContinuousLinearMap.ext |
| 95 | intro v |
| 96 | simp only [smul_apply,rankOne_apply,smul_smul,graphMap_apply] |
| 97 | rw [mul_comm] |
| 98 | rfl |
| 99 | |
| 100 | theorem scaled_terminal_global_gradient_bound (a k : ℝ) (hk : 0 < k) |
| 101 | (R A C : ℝ) (hR : 0 ≤ R) (hA : 0 ≤ A) (_hC : 0 ≤ C) |
| 102 | (hG : (vectorField τ hτ hτT B (initialData D δ hδ (a • ξ) hs)).WordBound 6 R A 0) |
| 103 | (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) |
| 104 | (hY : HasFDerivAt Y (D.FInv.field t (Y x)) x) (hJ : ‖D.FInv.field t (Y x)‖ ≤ C) : |
| 105 | ‖fderiv ℝ (fun y => k⁻¹ • vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) |
| 106 | (t,(Y y,k*⟪D.m₀,Y y⟫_ℝ))) x - |
| 107 | (a*deriv (profile δ) (k*⟪D.m₀,Y x⟫_ℝ)) • |
| 108 | rankOne ℝ (canonicalVelocity τ hτ hτT B ξ hs t (Y x)) (D.normal.field t (Y x))‖ ≤ |
| 109 | (‖coordinateEquiv.symm.toContinuousLinearMap‖*(sobolevEmbeddingConstant period 3*A*R)*C)/k := by |
| 110 | rw [scaled_terminal_global_gradient τ hτ hτT B δ hδ ξ hs a k hk.ne' t Y x hY, |
| 111 | add_sub_cancel_left] |
| 112 | have hd := hG.raw_fderiv_le (by norm_num) t (graphMap k D.m₀ (Y x)) |
| 113 | simp only [majorant,Nat.add_zero,Nat.factorial_one,Nat.cast_one,pow_one,one_pow,mul_one] at hd |
| 114 | have hn := slowGraphDerivative_norm_le |
| 115 | (fun z => vector τ hτ hτT B (initialData D δ hδ (a • ξ) hs) (t,z)) |
| 116 | k D.m₀ Y (D.FInv.field t (Y x)) x |
| 117 | have hb := sobolevEmbeddingConstant_nonneg period 3 |
| 118 | calc |
| 119 | _ ≤ |k⁻¹| * ‖fderiv ℝ (fun z => vector τ hτ hτT B |
| 120 | (initialData D δ hδ (a • ξ) hs) (t,z)) (graphMap k D.m₀ (Y x))‖ * |
| 121 | ‖D.FInv.field t (Y x)‖ := hn |
| 122 | _ ≤ |k⁻¹| * (‖coordinateEquiv.symm.toContinuousLinearMap‖* |
| 123 | (sobolevEmbeddingConstant period 3*A*R)) * C := |
| 124 | mul_le_mul (mul_le_mul_of_nonneg_left hd (abs_nonneg _)) hJ (norm_nonneg _) (by positivity) |
| 125 | _ = _ := by rw [abs_of_pos (inv_pos.mpr hk)]; ring |
| 126 | |
| 127 | end EulerPacketPrimaryShear |