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.PacketGeometryAssembly |
| 2 | import Euler.PacketSourcePropagator |
| 3 | |
| 4 | /-! The physical geometry theorem supplies the actual weighted-growth |
| 5 | input used by the source packet budgets. The only bridge hypotheses are |
| 6 | literal interval, strain, and normal identities. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketGeometrySourceGrowth |
| 11 | |
| 12 | open Set InnerProductSpace EulerSmoothLimit EulerPacketMovingFrame |
| 13 | EulerPacketMovingFrame.PhysicalGeometryData EulerPacketSourcePropagator |
| 14 | EulerTransversePacketProvider |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 17 | (D : Data U) {Ω : Set Space} (G : PhysicalGeometryData {x : Space // x ∈ Ω}) |
| 18 | {F F₁ Z Z₁ : ℝ → ℝ} (H : PhysicalGeometryConclusion G F F₁ Z Z₁) |
| 19 | |
| 20 | def growthProfile : C(Icc (0 : ℝ) D.T,ℝ) where |
| 21 | toFun t := Z ((G.a/G.ε)*t) |
| 22 | continuous_toFun := (continuous_iff_continuousAt.mpr |
| 23 | (fun t => (H.Z_derivative t).continuousAt)).comp |
| 24 | (continuous_const.mul continuous_subtype_val) |
| 25 | |
| 26 | theorem growthProfile_eq_physical (t : Icc (0 : ℝ) D.T) : |
| 27 | growthProfile D G H t = physicalProfile Z G.t₀ G.a G.ε (G.t₀+t) := by |
| 28 | simp only [growthProfile,ContinuousMap.coe_mk,physicalProfile,scaledTime,add_sub_cancel_left] |
| 29 | |
| 30 | theorem growthProfile_initial : |
| 31 | growthProfile D G H ⟨0,le_rfl,D.T_pos.le⟩=1 := by |
| 32 | simpa only [growthProfile,ContinuousMap.coe_mk,mul_zero] using H.initial_values.2.2.1 |
| 33 | |
| 34 | theorem growthProfile_pos (hhorizon : G.time G.H=G.t₀+D.T) |
| 35 | (t : Icc (0 : ℝ) D.T) : 0 < growthProfile D G H t := by |
| 36 | rw [growthProfile_eq_physical] |
| 37 | apply H.physical_profile_positive |
| 38 | rw [hhorizon] |
| 39 | exact ⟨by linarith [t.property.1],by linarith [t.property.2]⟩ |
| 40 | |
| 41 | def growthConstant : ℝ := 560*G.Θ^10/G.ε |
| 42 | |
| 43 | theorem growthConstant_pos : 0 < growthConstant G := by |
| 44 | unfold growthConstant |
| 45 | positivity [G.Theta_pos,G.epsilon_pos] |
| 46 | |
| 47 | theorem physicalGrowth_of_geometry |
| 48 | (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) |
| 49 | (hhorizon : G.time G.H=G.t₀+D.T) |
| 50 | (hstrain : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), |
| 51 | G.M x (G.t₀+t)=D.M.field t x.1) |
| 52 | (hnormal : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), |
| 53 | G.r x (G.t₀+t)=D.normal.field t x.1) : |
| 54 | PhysicalGrowth D Ω (growthProfile D G H) (growthConstant G) := by |
| 55 | intro x hx w hw hw0 t s hst |
| 56 | let ξ : {x : Space // x ∈ Ω} := ⟨x,hx⟩ |
| 57 | let u : ℝ → Space := fun r => w (r-G.t₀) |
| 58 | have hmap : MapsTo (fun r => r-G.t₀) G.S (Icc (0 : ℝ) D.T) := by |
| 59 | intro r hr |
| 60 | rw [hinterval] at hr |
| 61 | exact ⟨by linarith [hr.1],by linarith [hr.2]⟩ |
| 62 | have hu : ∀ r ∈ G.S, HasDerivWithinAt u |
| 63 | (-(G.M ξ r) (u r)+(2*⟪G.r ξ r,(G.M ξ r) (u r)⟫_ℝ/‖G.r ξ r‖^2) • G.r ξ r) G.S r := by |
| 64 | intro r hr |
| 65 | let sr : Icc (0 : ℝ) D.T := ⟨r-G.t₀,hmap hr⟩ |
| 66 | have he : G.t₀+(sr : ℝ)=r := by dsimp only [sr]; ring |
| 67 | have hM : G.M ξ r=D.M.field sr x := by rw [← he]; exact hstrain ξ sr |
| 68 | have hm : G.r ξ r=D.normal.field sr x := by rw [← he]; exact hnormal ξ sr |
| 69 | rw [hM,hm] |
| 70 | have hd := (hw sr).scomp r ((hasDerivAt_id r).sub_const G.t₀).hasDerivWithinAt hmap |
| 71 | simpa only [one_smul,Function.comp_def,id_eq,physicalRhs,u,sr] using hd |
| 72 | have htan : ⟪G.r ξ G.t₀,u G.t₀⟫_ℝ=0 := by |
| 73 | have hm := hnormal ξ ⟨0,le_rfl,D.T_pos.le⟩ |
| 74 | simp only [add_zero] at hm |
| 75 | rw [hm] |
| 76 | simpa only [u,sub_self] using hw0 |
| 77 | have hmem (r : Icc (0 : ℝ) D.T) : G.t₀+r ∈ Icc G.t₀ (G.time G.H) := by |
| 78 | rw [hhorizon] |
| 79 | exact ⟨by linarith [r.property.1],by linarith [r.property.2]⟩ |
| 80 | have hb := H.tangent_propagator ξ u hu htan (G.t₀+s) (G.t₀+t) (hmem s) (hmem t) |
| 81 | (add_le_add le_rfl (show (s : ℝ) ≤ t from hst)) |
| 82 | rw [← growthProfile_eq_physical D G H t,← growthProfile_eq_physical D G H s] at hb |
| 83 | calc |
| 84 | ‖w t‖ ≤ growthConstant G*(growthProfile D G H t/growthProfile D G H s)*‖w s‖ := by |
| 85 | simpa only [growthConstant,u,add_sub_cancel_left] using hb |
| 86 | _ = growthConstant G*growthProfile D G H t/growthProfile D G H s*‖w s‖ := by ring |
| 87 | |
| 88 | /-- The profile and its physical growth property are derived together |
| 89 | from the actual geometry stage. They are ready for the source-budget constructors. -/ |
| 90 | theorem exists_growth_of_geometry |
| 91 | (hinterval : G.S=Icc G.t₀ (G.t₀+D.T)) |
| 92 | (hhorizon : G.time G.H=G.t₀+D.T) |
| 93 | (hstrain : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), |
| 94 | G.M x (G.t₀+t)=D.M.field t x.1) |
| 95 | (hnormal : ∀ (x : {x : Space // x ∈ Ω}) (t : Icc (0 : ℝ) D.T), |
| 96 | G.r x (G.t₀+t)=D.normal.field t x.1) : |
| 97 | ∃ (g : C(Icc (0 : ℝ) D.T,ℝ)) (C : ℝ), |
| 98 | (∀ t, 0 < g t) ∧ g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ 0 < C ∧ PhysicalGrowth D Ω g C := by |
| 99 | obtain ⟨F,F₁,Z,Z₁,H⟩ := G.exists_geometry |
| 100 | exact ⟨growthProfile D G H,growthConstant G,growthProfile_pos D G H hhorizon, |
| 101 | growthProfile_initial D G H,growthConstant_pos G, |
| 102 | physicalGrowth_of_geometry D G H hinterval hhorizon hstrain hnormal⟩ |
| 103 | |
| 104 | end EulerPacketGeometrySourceGrowth |