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.PacketGeometryGuards |
| 2 | import Euler.PacketPhysicalSign |
| 3 | import Euler.PacketPhysicalCompression |
| 4 | import Euler.PacketEarlyPhysical |
| 5 | import Euler.PacketPhysicalPropagator |
| 6 | import Euler.PacketPropagationTime |
| 7 | |
| 8 | /-! |
| 9 | One geometric stage: actual neighboring physical fields, the constructed |
| 10 | common scalar reference, and the source amplitude choice. All hypotheses |
| 11 | are the literal physical data and explicit scale guards in the data record. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | |
| 17 | namespace EulerPacketMovingFrame |
| 18 | |
| 19 | open Set Real EulerSmoothLimit EulerPacketRay InnerProductSpace PhysicalGeometryData |
| 20 | |
| 21 | structure PhysicalGeometryConclusion {α : Type*} (D : PhysicalGeometryData α) |
| 22 | (F F₁ Z Z₁ : ℝ → ℝ) : Prop where |
| 23 | initial_values : F 0 = 1 ∧ F₁ 0 = 0 ∧ Z 0 = 1 ∧ Z₁ 0 = D.lam |
| 24 | F_derivative : ∀ t, HasDerivAt F (F₁ t) t |
| 25 | Z_derivative : ∀ t, HasDerivAt Z (Z₁ t) t |
| 26 | F_flux : ∀ t, HasDerivAt (fun s => (1+(D.σ^2*s^2)^2)*F₁ s) |
| 27 | (2*(1-D.σ^2*(D.σ^2*t^2))*F t) t |
| 28 | Z_flux : ∀ t, HasDerivAt (fun s => (1+(D.σ^2*s^2)^2)*Z₁ s) |
| 29 | (2*(1-D.σ^2*(D.σ^2*t^2))*Z t) t |
| 30 | ray_control : ∀ ξ τ, τ ∈ Icc 0 D.H → |
| 31 | norm3 (D.ray ξ τ 0-D.σ^2*τ^2) (D.ray ξ τ 1+2*D.σ^2*τ) (D.ray ξ τ 2-1) ≤ |
| 32 | 800*D.error*D.Θ^5 ∧ 1/2 ≤ D.ray ξ τ 2 ∧ |
| 33 | ⟪D.r ξ (D.time τ),D.w ξ (D.time τ)⟫_ℝ = 0 |
| 34 | state_error : ∀ ξ τ, τ ∈ Icc 0 D.H → |
| 35 | |D.velocity ξ τ 1-Z τ|+|D.velocity ξ τ 0+Z₁ τ| ≤ 400000000*D.error*D.Θ^29*(1+D.lam)*F τ |
| 36 | relative_error : ∀ ξ τ, τ ∈ Icc 1 D.H → |
| 37 | 0 < D.velocity ξ τ 1 ∧ |D.velocity ξ τ 1/Z τ-1| ≤ neighborStabilityConstant*D.error*D.Θ^29 ∧ |
| 38 | |D.velocity ξ τ 0/D.velocity ξ τ 1+Z₁ τ/Z τ| ≤ 10*(neighborStabilityConstant*D.error*D.Θ^29) |
| 39 | positive_pressure : ∀ ξ τ, τ ∈ Icc 1 D.H → |
| 40 | 0 < ⟪D.r ξ (D.time τ),(D.M ξ (D.time τ)) (D.w ξ (D.time τ))⟫_ℝ |
| 41 | target_positive : 0 < D.targetSize |
| 42 | target_growth : D.s₀*exp (1/(4*D.σ)) ≤ 4*D.Θ*D.targetSize |
| 43 | horizon_size : ∀ ξ τ, τ ∈ Icc 1 D.H → D.size ξ τ ≤ 64*exp 6*D.targetSize |
| 44 | early_size : ∀ ξ τ, τ ∈ Icc 0 1 → |
| 45 | D.size ξ τ/D.targetSize ≤ 8232*exp 9*D.Θ^5*exp (-(1/(4*D.σ))) |
| 46 | next_frame : |
| 47 | |D.nextCoupling/D.a-1| ≤ D.y^4+D.σ^2*D.y^2+8*D.σ*D.y^3+30000000*neighborStabilityConstant*D.error*D.Θ^40 ∧ |
| 48 | |(D.y⁻¹)^2*D.nextTilt-1| ≤ 1500*D.σ+30000000*neighborStabilityConstant*D.error*D.Θ^40 |
| 49 | compression_bound : D.nextCompression ≤ -(D.targetShear*D.ε)/(10*D.target)+3*(D.G+D.d) |
| 50 | compression_negative : D.nextCompression < 0 |
| 51 | amplitude_nonneg : 0 ≤ D.amplitude |
| 52 | amplitude_normalization : D.amplitude*D.targetSize = D.δ*D.hchild |
| 53 | amplitude_exponential : D.amplitude ≤ (4*D.Θ*D.δ*D.hchild/D.s₀)*exp (-(1/(4*D.σ))) |
| 54 | amplitude_profile : ∀ τ ∈ Icc 0 D.H, D.amplitude*Z τ ≤ 8*exp 6*D.δ*D.hchild/D.s₀ |
| 55 | amplitude_profile_sup : sSup ((fun τ => D.amplitude*Z τ) '' Icc 0 D.H) ≤ 8*exp 6*D.δ*D.hchild/D.s₀ |
| 56 | physical_profile_continuous : |
| 57 | ContinuousOn (physicalProfile Z D.t₀ D.a D.ε) (Icc D.t₀ (D.time D.H)) |
| 58 | physical_profile_positive : ∀ t ∈ Icc D.t₀ (D.time D.H), 0 < physicalProfile Z D.t₀ D.a D.ε t |
| 59 | tangent_propagator : ∀ ξ (u : ℝ → Space), |
| 60 | (∀ t ∈ D.S, HasDerivWithinAt u |
| 61 | (-(D.M ξ t) (u t)+(2*⟪D.r ξ t,(D.M ξ t) (u t)⟫_ℝ/‖D.r ξ t‖^2) • D.r ξ t) D.S t) → |
| 62 | ⟪D.r ξ D.t₀,u D.t₀⟫_ℝ = 0 → |
| 63 | ∀ s t, s ∈ Icc D.t₀ (D.time D.H) → t ∈ Icc D.t₀ (D.time D.H) → s ≤ t → |
| 64 | ‖u t‖ ≤ (560*D.Θ^10/D.ε)* |
| 65 | (physicalProfile Z D.t₀ D.a D.ε t/physicalProfile Z D.t₀ D.a D.ε s)*‖u s‖ |
| 66 | |
| 67 | theorem PhysicalGeometryData.exists_geometry {α : Type*} (D : PhysicalGeometryData α) : |
| 68 | ∃ F F₁ Z Z₁ : ℝ → ℝ, PhysicalGeometryConclusion D F F₁ Z Z₁ := by |
| 69 | have hK : 1 ≤ neighborStabilityConstant := |
| 70 | (by norm_num : (1:ℝ) ≤ 1000000000).trans neighborStabilityConstant_ge |
| 71 | obtain ⟨F, F₁, Z, Z₁, hF0, hF₁0, hZ0, hZ₁0, hF, hZ, hfluxF, hfluxZ, hray, herr, hrel, _⟩ := |
| 72 | physical_family_amplification_and_size D.center D.sigma_pos D.sigma_small D.horizon_one D.horizon_le_Theta |
| 73 | D.a_lower D.epsilon_pos D.Theta_lower D.G_lower D.d_nonneg D.ray_scale_pos D.slope_nonneg D.small |
| 74 | D.time_maps D.M_continuous D.B_derivative D.old_ray_equation D.old_velocity_equation |
| 75 | D.ray_equation D.velocity_equation D.old_ray_nonzero D.old_velocity_nonzero D.old_tangent |
| 76 | D.initial_tangent D.B_bound D.B_derivative_bound D.E_bound D.parent_decomposition |
| 77 | D.initial_coupling D.initial_tilt D.initial_shear D.initial_ray_error D.initial_velocity_error |
| 78 | have hZ₁pos : 0 ≤ Z₁ 0 := by rw [hZ₁0]; exact D.slope_nonneg |
| 79 | have hZpos := EulerPacketGrowth.equation30_global_positive D.sigma_pos D.sigma_small |
| 80 | (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos |
| 81 | have hsub : Icc (1:ℝ) D.H ⊆ Icc 0 D.H := fun _ ht => ⟨by linarith only [ht.1], ht.2⟩ |
| 82 | have htarget : D.target ∈ Icc 0 D.H := ⟨D.target_pos.le, D.target_le_horizon⟩ |
| 83 | have htarget1 : D.target ∈ Icc 1 D.H := ⟨D.target_one, D.target_le_horizon⟩ |
| 84 | have hcoords (ξ : α) (τ : ℝ) (hτ : τ ∈ Icc 0 D.H) : |
| 85 | |D.ray ξ τ 0-D.σ^2*τ^2| ≤ 800*D.error*D.Θ^5 ∧ |
| 86 | |D.ray ξ τ 1-(-2*D.σ^2*τ)| ≤ 800*D.error*D.Θ^5 ∧ |
| 87 | |D.ray ξ τ 2-1| ≤ 800*D.error*D.Θ^5 := by |
| 88 | have hh : norm3 (D.ray ξ τ 0-D.σ^2*τ^2) (D.ray ξ τ 1+2*D.σ^2*τ) (D.ray ξ τ 2-1) ≤ |
| 89 | 800*D.error*D.Θ^5 := (hray ξ τ hτ).1 |
| 90 | rw [show D.ray ξ τ 1-(-2*D.σ^2*τ) = D.ray ξ τ 1+2*D.σ^2*τ by ring] |
| 91 | dsimp [norm3] at hh |
| 92 | constructor |
| 93 | · linarith only [hh, abs_nonneg (D.ray ξ τ 1+2*D.σ^2*τ), abs_nonneg (D.ray ξ τ 2-1)] |
| 94 | constructor |
| 95 | · linarith only [hh, abs_nonneg (D.ray ξ τ 0-D.σ^2*τ^2), abs_nonneg (D.ray ξ τ 2-1)] |
| 96 | · linarith only [hh, abs_nonneg (D.ray ξ τ 0-D.σ^2*τ^2), abs_nonneg (D.ray ξ τ 1+2*D.σ^2*τ)] |
| 97 | have htcoords := hcoords D.center D.target htarget |
| 98 | have htstate := hrel D.center D.target htarget1 |
| 99 | have htframes := D.target_time_mem |
| 100 | have hsizeTarget := physical_ideal_size_comparison_order40 D.m D.v (D.r D.center) (D.w D.center) |
| 101 | D.ray_scale_pos D.epsilon_pos D.sigma_pos D.sigma_small |
| 102 | (D.old_ray_nonzero _ htframes) (D.old_velocity_nonzero _ htframes) (D.old_tangent _ htframes) |
| 103 | (hray D.center D.target htarget).2.2 D.Theta_lower hK D.error_nonneg D.epsilon_le_error D.small |
| 104 | D.target_one D.target_le_Theta (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos |
| 105 | htcoords.1 htcoords.2.1 htcoords.2.2 htstate.2.1 htstate.2.2 |
| 106 | have hgrowth := physical_target_exponential_lower D.m D.v (D.r D.center) (D.w D.center) |
| 107 | D.ray_scale_pos (ne_of_gt D.epsilon_pos) D.sigma_pos D.sigma_small D.target_from_sigma D.target_le_Theta |
| 108 | (D.old_ray_nonzero _ htframes) (D.old_velocity_nonzero _ htframes) (D.old_tangent _ htframes) |
| 109 | (hray D.center D.target htarget).2.1 (htstate.2.1.trans D.relative_error_small) |
| 110 | (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos |
| 111 | have hsize := physical_horizon_size_bound D.center (fun _ => D.m) (fun _ => D.v) D.r D.w |
| 112 | D.ray_scale_pos D.epsilon_pos D.sigma_pos D.sigma_small D.target_one D.target_le_horizon D.horizon_le_Theta |
| 113 | D.short_extension D.Theta_lower hK D.error_nonneg D.epsilon_le_error D.small |
| 114 | (fun _ τ hτ => D.old_ray_nonzero _ (D.time_mem (hsub hτ))) |
| 115 | (fun _ τ hτ => D.old_velocity_nonzero _ (D.time_mem (hsub hτ))) |
| 116 | (fun _ τ hτ => D.old_tangent _ (D.time_mem (hsub hτ))) |
| 117 | (fun ξ τ hτ => (hray ξ τ (hsub hτ)).2.2) |
| 118 | (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos |
| 119 | (fun ξ τ hτ => (hcoords ξ τ (hsub hτ)).1) |
| 120 | (fun ξ τ hτ => (hcoords ξ τ (hsub hτ)).2.1) |
| 121 | (fun ξ τ hτ => (hcoords ξ τ (hsub hτ)).2.2) |
| 122 | (fun ξ τ hτ => (hrel ξ τ hτ).2.1) (fun ξ τ hτ => (hrel ξ τ hτ).2.2) |
| 123 | have htoH : Icc (0:ℝ) D.target ⊆ Icc 0 D.H := fun _ ht => ⟨ht.1, ht.2.trans D.target_le_horizon⟩ |
| 124 | have hearly := early_physical_size_suppression D.center D.m D.v D.r D.w |
| 125 | D.ray_scale_pos D.epsilon_pos D.epsilon_le_one D.sigma_pos D.sigma_small D.Theta_lower D.target_le_Theta |
| 126 | D.target_from_sigma D.slope_nonneg (show 0 ≤ 400000000*D.error*D.Θ^29 by positivity [D.error_nonneg, D.Theta_pos]) |
| 127 | D.scalar_error_small (show 0 ≤ 800*D.error*D.Θ^5 by positivity [D.error_nonneg, D.Theta_pos]) D.ray_error_small |
| 128 | (fun τ hτ => D.old_ray_nonzero _ (D.time_mem (htoH hτ))) |
| 129 | (fun τ hτ => D.old_velocity_nonzero _ (D.time_mem (htoH hτ))) |
| 130 | (fun τ hτ => D.old_tangent _ (D.time_mem (htoH hτ))) |
| 131 | (fun ξ τ hτ => (hray ξ τ (htoH hτ)).2.2) |
| 132 | (fun ξ τ hτ => (hcoords ξ τ (htoH hτ)).1) |
| 133 | (fun ξ τ hτ => (hcoords ξ τ (htoH hτ)).2.1) |
| 134 | (fun ξ τ hτ => (hcoords ξ τ (htoH hτ)).2.2) |
| 135 | hF hZ hfluxF hfluxZ hF0 hF₁0 hZ0 hZ₁0 (fun ξ τ hτ => herr ξ τ (htoH hτ)) |
| 136 | have hPeq : D.σ^2*D.target^2 = (D.y⁻¹)^2 := by |
| 137 | dsimp [target] |
| 138 | field_simp [ne_of_gt D.sigma_pos] |
| 139 | have hQeq : 2*D.σ^2*D.target = 2*D.σ*D.y⁻¹ := by |
| 140 | dsimp [target] |
| 141 | field_simp [ne_of_gt D.sigma_pos] |
| 142 | have hframeP : |D.ray D.center D.target 0-(D.y⁻¹)^2| ≤ 800*D.error*D.Θ^5 := by |
| 143 | simpa only [hPeq] using htcoords.1 |
| 144 | have hframeQ : |D.ray D.center D.target 1+2*D.σ*D.y⁻¹| ≤ 800*D.error*D.Θ^5 := by |
| 145 | simpa only [neg_mul, sub_neg_eq_add, hQeq] using htcoords.2.1 |
| 146 | have hframe := physical_frame_renewal_order40 (D.M D.center D.targetTime) D.m D.v (D.r D.center) (D.w D.center) |
| 147 | (ne_of_gt D.a_pos) D.ray_scale_pos D.epsilon_pos |
| 148 | (D.old_ray_nonzero _ htframes) (D.old_velocity_nonzero _ htframes) (D.old_tangent _ htframes) |
| 149 | (hray D.center D.target htarget).2.2 htstate.1 D.sigma_pos D.sigma_small D.y_pos D.y_small |
| 150 | D.Theta_lower hK D.error_nonneg D.epsilon_le_error D.target_le_Theta D.small |
| 151 | (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos hframeP hframeQ htcoords.2.2 htstate.2.2 |
| 152 | (D.action_error D.center htarget) |
| 153 | have hcompressQ : |D.ray D.center D.target 1+2*D.σ^2*D.target| ≤ 800*D.error*D.Θ^5 := by |
| 154 | simpa only [neg_mul, sub_neg_eq_add] using htcoords.2.1 |
| 155 | have hcomp := physical_target_compression (D.B D.targetTime) (D.M D.center D.targetTime) |
| 156 | (D.E D.center D.targetTime) D.targetShear D.m D.v (D.r D.center) |
| 157 | (ne_of_gt D.ray_scale_pos) D.epsilon_pos |
| 158 | (D.old_ray_nonzero _ htframes) (D.old_velocity_nonzero _ htframes) (D.old_tangent _ htframes) |
| 159 | (D.parent_decomposition D.center _ htframes) (sq_pos_of_pos D.sigma_pos) |
| 160 | (by nlinarith only [D.sigma_pos, D.sigma_small] : D.σ^2 ≤ 1) D.target_pos D.target_le_Theta |
| 161 | D.Theta_lower hK D.error_nonneg D.epsilon_le_error D.target_shear_pos.le D.small D.target_scale |
| 162 | htcoords.1 hcompressQ htcoords.2.2 |
| 163 | have hampProfile := primaryAmplitude_profile_bound (D.r D.center) (D.w D.center) |
| 164 | (targetTime := D.targetTime) D.delta_nonneg D.child_nonneg D.ray_scale_pos D.sigma_pos D.sigma_small |
| 165 | D.target_one D.short_extension (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos hsizeTarget.1 |
| 166 | have hzcont : ContinuousOn Z (Icc 0 D.H) := fun t ht => (hZ t).continuousAt.continuousWithinAt |
| 167 | refine ⟨F, F₁, Z, Z₁, { |
| 168 | initial_values := ⟨hF0, hF₁0, hZ0, hZ₁0⟩ |
| 169 | F_derivative := hF |
| 170 | Z_derivative := hZ |
| 171 | F_flux := hfluxF |
| 172 | Z_flux := hfluxZ |
| 173 | ray_control := hray |
| 174 | state_error := herr |
| 175 | relative_error := hrel |
| 176 | positive_pressure := ?_ |
| 177 | target_positive := hgrowth.1 |
| 178 | target_growth := hgrowth.2 |
| 179 | horizon_size := hsize |
| 180 | early_size := hearly.2 |
| 181 | next_frame := hframe |
| 182 | compression_bound := ?_ |
| 183 | compression_negative := hcomp.2 D.compression_domination |
| 184 | amplitude_nonneg := primaryAmplitude_nonneg _ _ _ _ _ D.delta_nonneg D.child_nonneg |
| 185 | amplitude_normalization := primaryAmplitude_target_identity _ _ _ _ _ hgrowth.1 |
| 186 | amplitude_exponential := primaryAmplitude_exponential_bound _ _ D.delta_nonneg D.child_nonneg D.ray_scale_pos D.Theta_pos hgrowth.2 |
| 187 | amplitude_profile := hampProfile |
| 188 | amplitude_profile_sup := ?_ |
| 189 | physical_profile_continuous := physicalProfile_continuousOn D.a_pos D.epsilon_pos hzcont |
| 190 | physical_profile_positive := physicalProfile_positive D.a_pos D.epsilon_pos (fun t ht => hZpos t ht.1) |
| 191 | tangent_propagator := ?_ }⟩ |
| 192 | · intro ξ τ hτ |
| 193 | have hp := hcoords ξ τ (hsub hτ) |
| 194 | have hv := hrel ξ τ hτ |
| 195 | exact (physical_pressure_positive_order40 (D.M ξ (D.time τ)) D.m D.v (D.r ξ) (D.w ξ) |
| 196 | D.a_pos D.ray_scale_pos D.epsilon_pos |
| 197 | (D.old_ray_nonzero _ (D.time_mem (hsub hτ))) (D.old_velocity_nonzero _ (D.time_mem (hsub hτ))) |
| 198 | (D.old_tangent _ (D.time_mem (hsub hτ))) (hray ξ τ (hsub hτ)).2.2 hv.1 |
| 199 | D.sigma_pos D.sigma_small D.Theta_lower hK D.error_nonneg D.sigma_Theta hτ.1 |
| 200 | (hτ.2.trans D.horizon_le_Theta) D.small (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos |
| 201 | hp.1 hp.2.1 hp.2.2 hv.2.2 (D.action_error ξ (hsub hτ))).2 |
| 202 | · have hn := add_le_add (D.B_bound _ htframes) (D.E_bound D.center _ htframes) |
| 203 | exact hcomp.1.trans (by nlinarith only [hn]) |
| 204 | · apply csSup_le |
| 205 | · exact ⟨D.amplitude*Z 0, 0, ⟨le_rfl, D.horizon_pos.le⟩, rfl⟩ |
| 206 | · rintro _ ⟨τ, hτ, rfl⟩ |
| 207 | exact hampProfile τ hτ |
| 208 | · intro ξ u hu hutangent |
| 209 | have hp := physical_tangent_propagator D.sigma_pos D.sigma_small D.horizon_pos D.horizon_le_Theta |
| 210 | D.a_lower D.epsilon_pos D.Theta_lower D.G_lower D.d_nonneg (ne_of_gt D.ray_scale_pos) |
| 211 | D.propagator_small D.time_maps (D.M_continuous ξ) D.B_derivative D.old_ray_equation D.old_velocity_equation |
| 212 | (D.ray_equation ξ) hu D.old_ray_nonzero D.old_velocity_nonzero D.old_tangent hutangent |
| 213 | D.B_bound D.B_derivative_bound (D.E_bound ξ) (D.parent_decomposition ξ) D.initial_coupling D.initial_tilt |
| 214 | D.initial_shear (D.initial_ray_error ξ) (fun t _ => hZ t) (fun t _ => hfluxZ t) hZ0 hZ₁pos |
| 215 | exact physical_propagation_of_scaled u Z D.a_pos D.epsilon_pos hp.2.2 |
| 216 | |
| 217 | end EulerPacketMovingFrame |