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.TransversePacketHistoryData |
| 2 | import Euler.SmoothCoefficientTimeRestriction |
| 3 | |
| 4 | /-! |
| 5 | # Actual source data on the history and forward time intervals |
| 6 | |
| 7 | These constructions restrict the given deformation and its inverse. The |
| 8 | time derivative follows by restriction or by the affine change t = τ+s; |
| 9 | spatial derivatives are retained literally by continuous precomposition. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerTransversePacketProvider |
| 15 | |
| 16 | open Set ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients |
| 17 | EulerTransverseSourceCoefficientPath EulerTimeIntervalRestriction EulerVolterraConvolution |
| 18 | EulerBoundedFieldCalculus |
| 19 | open scoped BoundedContinuousFunction ContDiff |
| 20 | |
| 21 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 22 | |
| 23 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 24 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 25 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 26 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 27 | |
| 28 | namespace Data |
| 29 | |
| 30 | variable (D : Data U) |
| 31 | |
| 32 | /-- The prescribed source fields on [0,τ]. -/ |
| 33 | def initial (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ D.T) : Data U where |
| 34 | T := τ |
| 35 | T_pos := hτ |
| 36 | support := D.support |
| 37 | support_compact := D.support_compact |
| 38 | m₀ := D.m₀ |
| 39 | m₀_unit := D.m₀_unit |
| 40 | R := D.R |
| 41 | F := D.F.comp (initialInclusion D.T τ hτT) |
| 42 | F₁ := D.F₁.comp (initialInclusion D.T τ hτT) |
| 43 | FInv := D.FInv.comp (initialInclusion D.T τ hτT) |
| 44 | M := D.M.comp (initialInclusion D.T τ hτT) |
| 45 | inverse_left t x v := D.inverse_left (initialInclusion D.T τ hτT t) x v |
| 46 | inverse_right t x v := D.inverse_right (initialInclusion D.T τ hτT t) x v |
| 47 | frame_time t ht x := |
| 48 | initialPath_hasDerivWithinAt D.T τ D.T_pos.le hτ.le hτT |
| 49 | (pathEvaluation x D.F.field) (pathEvaluation x D.F₁.field) |
| 50 | (fun s hs => D.frame_time s hs x) t ht |
| 51 | strain_equation t x v := D.strain_equation (initialInclusion D.T τ hτT t) x v |
| 52 | |
| 53 | /-- The prescribed source fields on [τ,T], with elapsed time starting at zero. -/ |
| 54 | def tail (τ : ℝ) (hτ : 0 ≤ τ) (hτT : τ < D.T) : Data U where |
| 55 | T := D.T-τ |
| 56 | T_pos := sub_pos.mpr hτT |
| 57 | support := D.support |
| 58 | support_compact := D.support_compact |
| 59 | m₀ := D.m₀ |
| 60 | m₀_unit := D.m₀_unit |
| 61 | R := D.R |
| 62 | F := D.F.comp (tailInclusion D.T τ hτ) |
| 63 | F₁ := D.F₁.comp (tailInclusion D.T τ hτ) |
| 64 | FInv := D.FInv.comp (tailInclusion D.T τ hτ) |
| 65 | M := D.M.comp (tailInclusion D.T τ hτ) |
| 66 | inverse_left t x v := D.inverse_left (tailInclusion D.T τ hτ t) x v |
| 67 | inverse_right t x v := D.inverse_right (tailInclusion D.T τ hτ t) x v |
| 68 | frame_time t ht x := |
| 69 | tailPath_hasDerivWithinAt D.T τ D.T_pos.le hτ hτT.le |
| 70 | (pathEvaluation x D.F.field) (pathEvaluation x D.F₁.field) |
| 71 | (fun s hs => D.frame_time s hs x) t ht |
| 72 | strain_equation t x v := D.strain_equation (tailInclusion D.T τ hτ t) x v |
| 73 | |
| 74 | @[simp] theorem initial_frame_apply (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ D.T) |
| 75 | (t : Icc (0 : ℝ) τ) (x : Space) (v : U) : |
| 76 | (D.initial τ hτ hτT).frame.field t x v = |
| 77 | D.frame.field (initialInclusion D.T τ hτT t) x v := rfl |
| 78 | |
| 79 | @[simp] theorem tail_frame_apply (τ : ℝ) (hτ : 0 ≤ τ) (hτT : τ < D.T) |
| 80 | (t : Icc (0 : ℝ) (D.T-τ)) (x : Space) (v : U) : |
| 81 | (D.tail τ hτ hτT).frame.field t x v = |
| 82 | D.frame.field (tailInclusion D.T τ hτ t) x v := rfl |
| 83 | |
| 84 | theorem initial_inverseBound_le (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ D.T) : |
| 85 | (D.initial τ hτ hτT).inverseBound ≤ D.inverseBound := by |
| 86 | change 1+‖(D.FInv.comp (initialInclusion D.T τ hτT)).field‖ ≤ 1+‖D.FInv.field‖ |
| 87 | linarith [D.FInv.comp_norm_le (initialInclusion D.T τ hτT)] |
| 88 | |
| 89 | theorem tail_inverseBound_le (τ : ℝ) (hτ : 0 ≤ τ) (hτT : τ < D.T) : |
| 90 | (D.tail τ hτ hτT).inverseBound ≤ D.inverseBound := by |
| 91 | change 1+‖(D.FInv.comp (tailInclusion D.T τ hτ)).field‖ ≤ 1+‖D.FInv.field‖ |
| 92 | linarith [D.FInv.comp_norm_le (tailInclusion D.T τ hτ)] |
| 93 | |
| 94 | end Data |
| 95 | |
| 96 | namespace HistoryData |
| 97 | |
| 98 | variable {D : Data U} (B : HistoryData D) |
| 99 | |
| 100 | /-- The source Jacobi law and positivity remain valid on the actual history interval. -/ |
| 101 | def initial (τ : ℝ) (hτ : 0 < τ) (hτT : τ ≤ D.T) : HistoryData (D.initial τ hτ hτT) where |
| 102 | H := B.H.comp (initialInclusion D.T τ hτT) |
| 103 | jacobi t ht x := |
| 104 | initialPath_hasDerivWithinAt D.T τ D.T_pos.le hτ.le hτT |
| 105 | (pathEvaluation x D.F₁.field) |
| 106 | (pathEvaluation x (-pathCompositionMap B.H.field D.F.field)) |
| 107 | (fun s hs => B.jacobi s hs x) t ht |
| 108 | potential := B.potential |
| 109 | potential_nonneg := B.potential_nonneg |
| 110 | potential_bound t x v := B.potential_bound (initialInclusion D.T τ hτT t) x v |
| 111 | small := by |
| 112 | have hs : τ^2 ≤ D.T^2 := (sq_le_sq₀ hτ.le D.T_pos.le).mpr hτT |
| 113 | have hm := mul_le_mul_of_nonneg_left (div_le_div_of_nonneg_right hs (by norm_num : (0 : ℝ) ≤ 2)) |
| 114 | B.potential_nonneg |
| 115 | exact hm.trans B.small |
| 116 | |
| 117 | end HistoryData |
| 118 | end EulerTransversePacketProvider |