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.PacketShortTimePropagator |
| 2 | |
| 3 | /-! The source tangent equation is a reflection of the strain applied to |
| 4 | the velocity. Its actual norm is therefore unchanged by the normal factor. |
| 5 | A short interval controlled by the low strain norm supplies H3 with g=1. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketSourcePropagator |
| 10 | |
| 11 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 12 | EulerTransversePacketProvider EulerMeanCoefficients EulerPacketPiola EulerGevrey |
| 13 | open scoped ContDiff BoundedContinuousFunction |
| 14 | |
| 15 | theorem normal_reflection_norm {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 16 | (m r : E) : ‖-r+(2*⟪m,r⟫_ℝ/‖m‖^2) • m‖ = ‖r‖ := by |
| 17 | by_cases hm : m=0 |
| 18 | · simp only [hm,inner_zero_left,mul_zero,zero_div,smul_zero,add_zero,norm_neg] |
| 19 | have hn : ‖m‖^2 ≠ 0 := pow_ne_zero 2 (norm_ne_zero_iff.mpr hm) |
| 20 | have hh : ‖-r+(2*⟪m,r⟫_ℝ/‖m‖^2) • m‖^2 = ‖r‖^2 := by |
| 21 | rw [norm_add_sq_real] |
| 22 | simp only [norm_neg,inner_smul_right,inner_neg_left,norm_smul, |
| 23 | Real.norm_eq_abs,mul_pow,sq_abs] |
| 24 | rw [real_inner_comm r m] |
| 25 | field_simp |
| 26 | ring |
| 27 | nlinarith [norm_nonneg (-r+(2*⟪m,r⟫_ℝ/‖m‖^2) • m),norm_nonneg r] |
| 28 | |
| 29 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 30 | (D : Data U) |
| 31 | |
| 32 | omit [CompleteSpace U] in |
| 33 | theorem physicalRhs_norm (t : Icc (0 : ℝ) D.T) (x w : Space) : |
| 34 | ‖physicalRhs D t x w‖ = ‖D.M.field t x w‖ := |
| 35 | normal_reflection_norm (D.normal.field t x) (D.M.field t x w) |
| 36 | |
| 37 | omit [CompleteSpace U] in |
| 38 | /-- No inverse normal bound or all-order coefficient norm occurs in the |
| 39 | shortness condition. The derivative equation is required literally. -/ |
| 40 | theorem physicalGrowth_one_of_short (S : Set Space) (C : ℝ) (hC : 0 ≤ C) |
| 41 | (hM : ∀ t : Icc (0 : ℝ) D.T, ∀ x ∈ S, ‖D.M.field t x‖ ≤ C) |
| 42 | (hshort : C*D.T ≤ 1/2) : PhysicalGrowth D S (fun _ => 1) 2 := by |
| 43 | intro x hx w hd _ t s hst |
| 44 | let f' : ℝ → Space := fun r => physicalRhs D (projIcc 0 D.T D.T_pos.le r) x (w r) |
| 45 | have hd' (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : |
| 46 | HasDerivWithinAt w (f' r) (Icc (0 : ℝ) D.T) r := by |
| 47 | simpa only [f',projIcc_of_mem D.T_pos.le hr] using hd ⟨r,hr⟩ |
| 48 | have hb (r : ℝ) (hr : r ∈ Icc (0 : ℝ) D.T) : ‖f' r‖ ≤ C*‖w r‖ := by |
| 49 | simp only [f',projIcc_of_mem D.T_pos.le hr,physicalRhs_norm] |
| 50 | exact ((D.M.field ⟨r,hr⟩ x).le_opNorm _).trans |
| 51 | (mul_le_mul_of_nonneg_right (hM ⟨r,hr⟩ x hx) (norm_nonneg _)) |
| 52 | simpa only [mul_one,div_one] using |
| 53 | EulerShortTimeLinearGrowth.norm_le_two D.T C hC w f' hd' hb hshort s t hst |
| 54 | |
| 55 | private local instance : NormedRing (U →L[ℝ] U) := inferInstance |
| 56 | private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance |
| 57 | |
| 58 | /-- A low strain bound on the H3 ball suffices for the entire source |
| 59 | forward budget. The coordinate propagation cost is the polynomial 6 C³. -/ |
| 60 | def shortPhysicalForwardBudget (q : ℕ) (R C C₁ CM : ℝ) |
| 61 | (hR : 0 ≤ R) (hC : 0 ≤ C) (hC₁ : 0 ≤ C₁) (hCM : 0 ≤ CM) |
| 62 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) |
| 63 | (hF : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F.field t : Space → Space →L[ℝ] Space) x‖ ≤ C*majorant R 0 n) |
| 64 | (hF₁ : ∀ n t x, ‖iteratedFDeriv ℝ n (D.F₁.field t : Space → Space →L[ℝ] Space) x‖ ≤ C₁*majorant R 0 n) |
| 65 | (hM : ∀ t x, ‖x‖ ≤ (1/2 : ℝ) → ‖D.M.field t x‖ ≤ CM) |
| 66 | (Ω : Set Space) (hΩ : MeasurableSet Ω) (hΩo : IsOpen Ω) |
| 67 | (hsub : D.support ⊆ Ω) (hΩball : ∀ x ∈ Ω, ‖x‖ ≤ (1/2 : ℝ)) |
| 68 | (hshort : CM*D.T ≤ 1/2) : |
| 69 | EulerTransversePacketForward.Budget D (Fin 4) q := by |
| 70 | have hf (r : Icc (0 : ℝ) D.T) (y : Space) : ‖D.F.field r y‖ ≤ C := by |
| 71 | simpa only [norm_iteratedFDeriv_zero,majorant,Nat.zero_add,Nat.factorial_zero, |
| 72 | Nat.cast_one,pow_zero,mul_one,one_pow] using hF 0 r y |
| 73 | let S : Set Space := {x | ‖x‖ ≤ (1/2 : ℝ)} |
| 74 | have hphysical : PhysicalGrowth D S (fun _ => 1) 2 := |
| 75 | physicalGrowth_one_of_short D S CM hCM hM hshort |
| 76 | apply EulerPacketParentForwardBudget.sourceForwardBudget D q R C C₁ (6*C^3) |
| 77 | hR hC hC₁ (by positivity) hdet hF hF₁ (1 : C(Icc (0 : ℝ) D.T,ℝ)) |
| 78 | (by intro t; norm_num) (by norm_num) Ω hΩ hΩo hsub hΩball |
| 79 | intro t s hst x hx |
| 80 | have hh := propagator_bound_of_deformation D S (fun _ => 1) (by intro r; norm_num) |
| 81 | 2 C (by norm_num) hC hphysical (fun r y _ => hdet r y) (fun r y _ => hf r y) t s hst x hx |
| 82 | simpa only [ContinuousMap.one_apply,mul_one,div_one,propagator,fundamental, |
| 83 | show 3*C^3*2=6*C^3 by ring] using hh |
| 84 | |
| 85 | end EulerPacketSourcePropagator |