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.PacketForwardGeometryData |
| 2 | import Euler.PacketGeometrySourceGrowth |
| 3 | |
| 4 | /-! The first normal stage satisfies the full physical amplification |
| 5 | geometry. The source normal, primary and all ODEs are the actual forward |
| 6 | fields, including exact initial data at time zero. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketSourceGeometry.ForwardGuards |
| 11 | |
| 12 | open Set InnerProductSpace EulerSmoothLimit EulerTransversePacketProvider |
| 13 | EulerPacketMovingFrame EulerPacketNormalizedPrimary EulerPacketRay |
| 14 | EulerPacketGeometrySourceGrowth EulerPacketSourcePropagator |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 17 | {D : Data U} {P : ParentFrame D 0} (G : ForwardGuards P) |
| 18 | |
| 19 | omit [CompleteSpace U] in |
| 20 | theorem error_le_scaled_error : P.forwardError G.radius ≤ |
| 21 | 16*(P.epsilon*P.horizon*(4*P.G)^2+P.forwardError G.radius) := by |
| 22 | have he := G.error_nonneg |
| 23 | have hbase : 0 ≤ P.epsilon*P.horizon*(4*P.G)^2 := |
| 24 | mul_nonneg (mul_nonneg G.epsilon_pos.le (zero_le_one.trans G.horizon_lower)) (sq_nonneg _) |
| 25 | linarith only [he,hbase] |
| 26 | |
| 27 | def geometryData (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ G.radius) : |
| 28 | PhysicalGeometryData {x : Space // x ∈ Ω} where |
| 29 | center := ⟨0,h0⟩ |
| 30 | B := P.B |
| 31 | B₁ := P.B₁ |
| 32 | M := fun x => sourceMatrix D x |
| 33 | E := fun x => P.sourceError x |
| 34 | m := P.m |
| 35 | v := P.v |
| 36 | r := fun x => sourceRay D x |
| 37 | w := fun x => G.sourceVelocity x |
| 38 | c := P.c |
| 39 | s₀ := 1 |
| 40 | t₀ := 0 |
| 41 | a := P.a |
| 42 | ε := P.epsilon |
| 43 | σ := P.sigma |
| 44 | y := G.y |
| 45 | Θ := P.horizon |
| 46 | H := P.horizon |
| 47 | G := P.G |
| 48 | d := P.forwardError G.radius |
| 49 | lam := 0 |
| 50 | δ := G.δ |
| 51 | hchild := G.hchild |
| 52 | S := Icc 0 D.T |
| 53 | sigma_pos := G.sigma_pos |
| 54 | sigma_small := G.sigma_small |
| 55 | y_pos := G.y_pos |
| 56 | y_small := G.y_small |
| 57 | target_le_horizon := G.target_le_horizon |
| 58 | horizon_le_Theta := le_rfl |
| 59 | short_extension := G.short_extension |
| 60 | a_lower := G.coupling_lower |
| 61 | epsilon_pos := G.epsilon_pos |
| 62 | Theta_lower := G.horizon_lower |
| 63 | G_lower := P.G_lower |
| 64 | d_nonneg := G.error_nonneg |
| 65 | ray_scale_pos := zero_lt_one |
| 66 | slope_nonneg := le_rfl |
| 67 | delta_nonneg := G.delta_nonneg |
| 68 | child_nonneg := G.child_nonneg |
| 69 | small := G.small |
| 70 | compression_guard := G.compression_guard |
| 71 | time_maps := activation_horizon_maps 0 D.T P.a P.epsilon G.a_pos G.epsilon_pos |
| 72 | M_continuous := fun x => (sourceMatrix_continuous D x).continuousOn |
| 73 | B_derivative := P.B_derivative |
| 74 | old_ray_equation := P.ray_equation |
| 75 | old_velocity_equation := P.velocity_equation |
| 76 | ray_equation := fun x t ht => ForwardGuards.sourceRay_equation x t ht |
| 77 | velocity_equation := fun x t ht => G.sourceVelocity_equation x t ht |
| 78 | old_ray_nonzero := P.ray_nonzero |
| 79 | old_velocity_nonzero := P.velocity_nonzero |
| 80 | old_tangent := P.tangent |
| 81 | initial_tangent := fun x => G.initial_tangent x |
| 82 | B_bound := P.B_bound |
| 83 | B_derivative_bound := P.B₁_bound |
| 84 | E_bound := fun x t ht => G.sourceError_bound x (hΩ x x.property) t ht |
| 85 | parent_decomposition := by |
| 86 | intro x t _ |
| 87 | unfold ParentFrame.sourceError |
| 88 | module |
| 89 | initial_coupling := activation_coupling_match P.B P.m P.v 0 P.epsilon |
| 90 | initial_tilt := activation_tilt_match P.B P.m P.v 0 P.epsilon G.a_pos.ne' |
| 91 | (Real.sqrt_pos.mp G.sigma_pos).le |
| 92 | initial_shear := (activation_shear_match P.c P.m P.v 0 P.a G.a_pos G.shear_pos).2 |
| 93 | initial_ray_error := by |
| 94 | intro x |
| 95 | rw [G.scaled_ray_initial] |
| 96 | change |(0 : ℝ)|+|0|+|(1 : ℝ)-1| ≤ _ |
| 97 | norm_num only [abs_zero,sub_self,add_zero] |
| 98 | exact G.error_nonneg.trans G.error_le_scaled_error |
| 99 | initial_velocity_error := by |
| 100 | intro x |
| 101 | rw [(G.scaled_velocity_initial x).1,(G.scaled_velocity_initial x).2] |
| 102 | norm_num only [sub_self,zero_add,abs_zero,add_zero] |
| 103 | exact G.error_nonneg.trans G.error_le_scaled_error |
| 104 | |
| 105 | theorem source_interval (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ G.radius) : |
| 106 | (G.geometryData Ω h0 hΩ).S=Icc (G.geometryData Ω h0 hΩ).t₀ |
| 107 | ((G.geometryData Ω h0 hΩ).t₀+D.T) := by |
| 108 | change Icc 0 D.T=Icc 0 (0+D.T) |
| 109 | rw [zero_add] |
| 110 | |
| 111 | theorem source_horizon (Ω : Set Space) (h0 : 0 ∈ Ω) (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ G.radius) : |
| 112 | (G.geometryData Ω h0 hΩ).time (G.geometryData Ω h0 hΩ).H = |
| 113 | (G.geometryData Ω h0 hΩ).t₀+D.T := by |
| 114 | change physicalTime 0 P.a P.epsilon (P.a*(D.T-0)/P.epsilon)=0+D.T |
| 115 | rw [activation_horizon_exact 0 D.T P.a P.epsilon G.a_pos.ne' G.epsilon_pos.ne',zero_add] |
| 116 | |
| 117 | theorem exists_geometry_and_growth (Ω : Set Space) (h0 : 0 ∈ Ω) |
| 118 | (hΩ : ∀ x ∈ Ω, ‖x‖ ≤ G.radius) : |
| 119 | ∃ F F₁ Z Z₁ : ℝ → ℝ, |
| 120 | ∃ J : PhysicalGeometryConclusion (G.geometryData Ω h0 hΩ) F F₁ Z Z₁, |
| 121 | (∀ t, 0 < growthProfile D (G.geometryData Ω h0 hΩ) J t) ∧ |
| 122 | growthProfile D (G.geometryData Ω h0 hΩ) J ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ |
| 123 | PhysicalGrowth D Ω (growthProfile D (G.geometryData Ω h0 hΩ) J) |
| 124 | (560*P.horizon^10/P.epsilon) := by |
| 125 | obtain ⟨F,F₁,Z,Z₁,J⟩ := (G.geometryData Ω h0 hΩ).exists_geometry |
| 126 | refine ⟨F,F₁,Z,Z₁,J, |
| 127 | growthProfile_pos D _ J (G.source_horizon Ω h0 hΩ),growthProfile_initial D _ J,?_⟩ |
| 128 | apply physicalGrowth_of_geometry D _ J (G.source_interval Ω h0 hΩ) (G.source_horizon Ω h0 hΩ) |
| 129 | · intro x t |
| 130 | change D.M.field (D.clamp (0+t)) x=D.M.field t x |
| 131 | rw [zero_add,Data.clamp_coe] |
| 132 | · intro x t |
| 133 | change D.normal.field (D.clamp (0+t)) x=D.normal.field t x |
| 134 | rw [zero_add,Data.clamp_coe] |
| 135 | |
| 136 | theorem halfBall_physicalGrowth (hball : (1/2 : ℝ) ≤ G.radius) : |
| 137 | ∃ g : C(Icc (0 : ℝ) D.T,ℝ), (∀ t, 0 < g t) ∧ |
| 138 | g ⟨0,le_rfl,D.T_pos.le⟩=1 ∧ |
| 139 | PhysicalGrowth D {x | ‖x‖ ≤ (1/2 : ℝ)} g (560*P.horizon^10/P.epsilon) := by |
| 140 | obtain ⟨F,F₁,Z,Z₁,J,hpos,hzero,hgrowth⟩ := |
| 141 | G.exists_geometry_and_growth {x | ‖x‖ ≤ (1/2 : ℝ)} (by simp) |
| 142 | (fun _ hx => hx.trans hball) |
| 143 | exact ⟨_,hpos,hzero,hgrowth⟩ |
| 144 | |
| 145 | end EulerPacketSourceGeometry.ForwardGuards |