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.PacketForwardPrimary |
| 2 | import Euler.PacketPrimaryUncut |
| 3 | |
| 4 | /-! The actual zero-history primary is the compact angular profile times |
| 5 | the genuine homogeneous physical propagator. Its scalar pressure has the |
| 6 | literal normal residual as its angular derivative. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketForwardFactorization |
| 11 | |
| 12 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLiftedGradientSpace EulerTransversePacketProvider EulerPacketForwardPrimary |
| 14 | EulerSourceCylinderClassical EulerCylinderSmoothOrbit EulerLpCylinderPaths |
| 15 | EulerPacketPrimaryFactorization EulerPacketSourcePropagator EulerLinearDuhamel |
| 16 | EulerPacketTerminalDatum EulerSpatialCutoffs EulerPeriodicProfile EulerMetricTransport |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 20 | (D : Data U) |
| 21 | |
| 22 | section General |
| 23 | |
| 24 | variable {P : ℝ} [Fact (0 < P)] (Y : InitialData P D) |
| 25 | |
| 26 | theorem scalar_angle (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 27 | HasDerivAt (fun s => scalar D Y (t,(x,s))) |
| 28 | (-(2*⟪D.normal.field t x,D.M.field t x (vector D Y (t,(x,θ)))⟫_ℝ)/ |
| 29 | ‖D.normal.field t x‖^2) θ := by |
| 30 | let G := forcing (P := P) D |
| 31 | have hforce : pointField P (includePath P D.support D.support_measurable G.path) |
| 32 | G.path_orbit t (x,(θ : AddCircle P)) = 0 := (G.raw_eq t x θ).symm |
| 33 | have hp := pressureField_angle P D.support D.support_measurable D.support_compact |
| 34 | D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower |
| 35 | G.path Y.value G.path_orbit Y.orbit D.M D.normal D.normalLower D.normalLower_pos D.normal_lower |
| 36 | G.mean_zero Y.mean_zero t x θ |
| 37 | have hn : normalResidual P D.support D.support_measurable D.support_compact |
| 38 | D.T D.T_pos.le D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower |
| 39 | G.path Y.value G.path_orbit Y.orbit D.M D.normal t (x,(θ : AddCircle P)) = |
| 40 | -(2*⟪D.normal.field t x,D.M.field t x (vector D Y (t,(x,θ)))⟫_ℝ)/ |
| 41 | ‖D.normal.field t x‖^2 := by |
| 42 | unfold normalResidual |
| 43 | rw [hforce] |
| 44 | simp only [inner_zero_right,zero_sub,EulerPacketForwardPrimary.vector, |
| 45 | Forcing.vector,Data.clamp_coe,G] |
| 46 | convert! hp.congr_deriv hn using 1 |
| 47 | funext s |
| 48 | simp only [EulerPacketForwardPrimary.scalar,Forcing.scalar,Data.clamp_coe,G] |
| 49 | |
| 50 | theorem vector_homogeneous_time (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 51 | HasDerivWithinAt (fun s => vector D Y (s,(x,θ))) |
| 52 | (physicalGenerator D x t (vector D Y (t,(x,θ)))) (Icc (0 : ℝ) D.T) t := by |
| 53 | have hb := (forcing D).equation Y t x θ |
| 54 | simp only [Data.strain,Data.normalField,Data.clamp_coe,Pi.zero_apply] at hb |
| 55 | change derivative D Y (t,(x,θ))+D.M.field t x (vector D Y (t,(x,θ)))+ |
| 56 | deriv (fun s => scalar D Y (t,(x,s))) θ • D.normal.field t x=0 at hb |
| 57 | rw [(scalar_angle D Y t x θ).deriv] at hb |
| 58 | simp only [neg_div,neg_smul] at hb |
| 59 | apply ((forcing D).vector_hasDerivWithinAt Y t x θ).congr_deriv |
| 60 | rw [physicalGenerator_apply] |
| 61 | linear_combination (norm := module) hb |
| 62 | |
| 63 | end General |
| 64 | |
| 65 | def uncutVelocity (ξ : U) (t : ℝ) (x : Space) : Space := |
| 66 | physical D ⟨0,le_rfl,D.T_pos.le⟩ x ξ t |
| 67 | |
| 68 | def canonicalVelocity (ξ : U) (t : ℝ) (x : Space) : Space := |
| 69 | innerCutoff x • uncutVelocity D ξ t x |
| 70 | |
| 71 | theorem uncutVelocity_initial (ξ : U) (x : Space) : |
| 72 | uncutVelocity D ξ 0 x = D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := by |
| 73 | change physical D ⟨0,le_rfl,D.T_pos.le⟩ x ξ ((⟨0,le_rfl,D.T_pos.le⟩ : Icc (0 : ℝ) D.T) : ℝ)=_ |
| 74 | rw [physical_at,propagator_self] |
| 75 | |
| 76 | theorem uncutVelocity_equation (ξ : U) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 77 | HasDerivWithinAt (fun s => uncutVelocity D ξ s x) |
| 78 | (physicalGenerator D x t (uncutVelocity D ξ t x)) (Icc (0 : ℝ) D.T) t := by |
| 79 | rw [physicalGenerator_apply] |
| 80 | exact physical_hasDerivWithinAt D ⟨0,le_rfl,D.T_pos.le⟩ t x ξ |
| 81 | |
| 82 | theorem uncutVelocity_tangent (ξ : U) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 83 | ⟪D.normal.field t x,uncutVelocity D ξ t x⟫_ℝ=0 := |
| 84 | physical_tangent D ⟨0,le_rfl,D.T_pos.le⟩ t x ξ |
| 85 | |
| 86 | private theorem homogeneous_unique (T : ℝ) (hT : 0 ≤ T) |
| 87 | (G : C(Icc (0 : ℝ) T,Space →L[ℝ] Space)) (f g : ℝ → Space) |
| 88 | (hf : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt f (G t (f t)) (Icc (0 : ℝ) T) t) |
| 89 | (hg : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt g (G t (g t)) (Icc (0 : ℝ) T) t) |
| 90 | (h0 : f 0=g 0) (t : Icc (0 : ℝ) T) : f t=g t := by |
| 91 | let E := constructedEvolution T hT G |
| 92 | have he (a : ℝ → Space) (ha : ∀ t : Icc (0 : ℝ) T, |
| 93 | HasDerivWithinAt a (G t (a t)) (Icc (0 : ℝ) T) t) : a t=E.solution 0 (a 0) t := |
| 94 | E.solution_unique 0 (a 0) a |
| 95 | (fun s => by simpa only [ContinuousMap.zero_apply,add_zero] using ha s) rfl t |
| 96 | rw [he f hf,he g hg,h0] |
| 97 | |
| 98 | theorem vector_initial (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 99 | (hs : tsupport innerCutoff ⊆ D.support) (x : Space) (θ : ℝ) : |
| 100 | vector D (initialData D δ hδ ξ hs) (0,(x,θ)) = |
| 101 | (innerCutoff x*profile δ θ) • D.frame.field ⟨0,le_rfl,D.T_pos.le⟩ x ξ := by |
| 102 | change (forcing D).vector (initialData D δ hδ ξ hs) (0,(x,θ)) = _ |
| 103 | rw [(forcing D).vector_initial_of_representative |
| 104 | (initialData D δ hδ ξ hs) (EulerPacketTerminalDatum.field δ ξ) |
| 105 | (smoothField_continuous period _ (field_smooth δ hδ ξ)) (terminal_ae δ hδ ξ), |
| 106 | field_coe,map_smul] |
| 107 | |
| 108 | theorem vector_factorization (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 109 | (hs : tsupport innerCutoff ⊆ D.support) (a : ℝ) |
| 110 | (t : Icc (0 : ℝ) D.T) (x : Space) (θ : ℝ) : |
| 111 | vector D (initialData D δ hδ (a • ξ) hs) (t,(x,θ)) = |
| 112 | (a*profile δ θ) • canonicalVelocity D ξ t x := by |
| 113 | apply homogeneous_unique D.T D.T_pos.le (physicalGenerator D x) |
| 114 | (fun s => vector D (initialData D δ hδ (a • ξ) hs) (s,(x,θ))) |
| 115 | (fun s => (a*profile δ θ) • canonicalVelocity D ξ s x) |
| 116 | (fun s => vector_homogeneous_time D _ s x θ) _ _ t |
| 117 | · intro s |
| 118 | simp only [canonicalVelocity,map_smul] |
| 119 | convert! ((uncutVelocity_equation D ξ s x).const_smul (innerCutoff x)).const_smul |
| 120 | (a*profile δ θ) using 1 |
| 121 | · rw [vector_initial] |
| 122 | simp only [canonicalVelocity,uncutVelocity_initial,map_smul,smul_smul] |
| 123 | congr 1 |
| 124 | ring |
| 125 | |
| 126 | theorem uncutVelocity_ne_zero (ξ : U) (hξ : ξ ≠ 0) (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 127 | uncutVelocity D ξ t x ≠ 0 := by |
| 128 | intro ht |
| 129 | have hz := (constructedEvolution D.T D.T_pos.le (physicalGenerator D x)).homogeneous_zero_at |
| 130 | (fun s => uncutVelocity D ξ s x) (fun s => uncutVelocity_equation D ξ s x) |
| 131 | t ⟨0,le_rfl,D.T_pos.le⟩ ht |
| 132 | change uncutVelocity D ξ 0 x=0 at hz |
| 133 | rw [uncutVelocity_initial] at hz |
| 134 | have hl := D.frame_lower ⟨0,le_rfl,D.T_pos.le⟩ x ξ |
| 135 | rw [hz,norm_zero,zero_pow (by decide : 2 ≠ 0)] at hl |
| 136 | have hn : 0 < D.frameLower*‖ξ‖^2 := mul_pos D.frameLower_pos |
| 137 | (pow_pos (norm_pos_iff.mpr hξ) 2) |
| 138 | exact (not_le_of_gt hn) hl |
| 139 | |
| 140 | end EulerPacketForwardFactorization |