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.PacketParentCoefficientBounds |
| 2 | import Euler.SourceForwardCoefficient |
| 3 | import Euler.LpSupportedConstructedEvolution |
| 4 | import Euler.TransverseNormalResidual |
| 5 | |
| 6 | /-! The constructed source coordinate propagator is an actual physical |
| 7 | tangent solution after multiplication by F R. Consequently a physical |
| 8 | propagator estimate supplies H3 with only the explicit F and F⁻¹ factors, |
| 9 | preserving exactly the time-profile ratio. -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace EulerPacketSourcePropagator |
| 14 | |
| 15 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit |
| 16 | EulerMeanCoefficients EulerTransversePacketProvider EulerSourceForwardCoefficient |
| 17 | EulerLinearFundamentalExistence EulerLpSupportedConstructedEvolution |
| 18 | EulerVolterraConvolution EulerTransverseGramInverse EulerTransverseNormalResidual |
| 19 | EulerPacketCofactor EulerPacketPiola |
| 20 | open scoped ContDiff BoundedContinuousFunction |
| 21 | |
| 22 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | |
| 24 | private local instance : NormedSpace ℝ U := inferInstance |
| 25 | private local instance : NormedAddCommGroup Space := inferInstance |
| 26 | private local instance : NormedSpace ℝ Space := inferInstance |
| 27 | private local instance : NormedAddCommGroup (U →L[ℝ] Space) := inferInstance |
| 28 | private local instance : NormedSpace ℝ (U →L[ℝ] Space) := inferInstance |
| 29 | private local instance : NormedRing (U →L[ℝ] U) := inferInstance |
| 30 | private local instance : NormedAlgebra ℝ (U →L[ℝ] U) := inferInstance |
| 31 | private local instance : NormedRing (Space →ᵇ U →L[ℝ] U) := inferInstance |
| 32 | private local instance : NormedAlgebra ℝ (Space →ᵇ U →L[ℝ] U) := inferInstance |
| 33 | |
| 34 | variable (D : Data U) |
| 35 | |
| 36 | abbrev fundamental := fundamentalPath D.T D.T_pos.le |
| 37 | (sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower) |
| 38 | |
| 39 | def propagator (t s : Icc (0 : ℝ) D.T) (x : Space) : U →L[ℝ] U := |
| 40 | ((fundamental D).forward t x).comp ((fundamental D).backward s x) |
| 41 | |
| 42 | def coordinate (s : Icc (0 : ℝ) D.T) (x : Space) (v : U) (t : ℝ) : U := |
| 43 | extendPath D.T D.T_pos.le (fundamental D).forward t x ((fundamental D).backward s x v) |
| 44 | |
| 45 | def physical (s : Icc (0 : ℝ) D.T) (x : Space) (v : U) (t : ℝ) : Space := |
| 46 | extendPath D.T D.T_pos.le D.frame.field t x (coordinate D s x v t) |
| 47 | |
| 48 | def physicalRhs (t : Icc (0 : ℝ) D.T) (x w : Space) : Space := |
| 49 | -(D.M.field t x) w+ |
| 50 | (2*⟪D.normal.field t x,(D.M.field t x) w⟫_ℝ/‖D.normal.field t x‖^2) • D.normal.field t x |
| 51 | |
| 52 | @[simp] theorem coordinate_at (s t : Icc (0 : ℝ) D.T) (x : Space) (v : U) : |
| 53 | coordinate D s x v t = propagator D t s x v := by |
| 54 | simp only [coordinate,propagator,extendPath,projIcc_of_mem D.T_pos.le t.property,comp_apply] |
| 55 | |
| 56 | @[simp] theorem physical_at (s t : Icc (0 : ℝ) D.T) (x : Space) (v : U) : |
| 57 | physical D s x v t = D.frame.field t x (propagator D t s x v) := by |
| 58 | simp only [physical,coordinate_at,extendPath,projIcc_of_mem D.T_pos.le t.property] |
| 59 | |
| 60 | @[simp] theorem propagator_self (s : Icc (0 : ℝ) D.T) (x : Space) (v : U) : |
| 61 | propagator D s s x v = v := by |
| 62 | have h := congrArg (fun A : Space →ᵇ U →L[ℝ] U => A x v) ((fundamental D).forward_backward s) |
| 63 | exact h |
| 64 | |
| 65 | theorem physical_tangent (s t : Icc (0 : ℝ) D.T) (x : Space) (v : U) : |
| 66 | ⟪D.normal.field t x,physical D s x v t⟫_ℝ = 0 := by |
| 67 | rw [physical_at] |
| 68 | exact D.frame_tangent t x _ |
| 69 | |
| 70 | theorem coordinate_hasDerivWithinAt (s t : Icc (0 : ℝ) D.T) (x : Space) (v : U) : |
| 71 | HasDerivWithinAt (coordinate D s x v) |
| 72 | (sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x |
| 73 | (coordinate D s x v t)) (Icc (0 : ℝ) D.T) t := by |
| 74 | have hd := fundamental_pointwise_derivative D.T D.T_pos.le |
| 75 | (sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower) |
| 76 | t t.property x |
| 77 | have ha := hd.clm_apply (hasDerivWithinAt_const (t : ℝ) (Icc (0 : ℝ) D.T) |
| 78 | ((fundamental D).backward s x v)) |
| 79 | simp only [extendPath,projIcc_of_mem D.T_pos.le t.property,map_zero,add_zero,comp_apply] at ha |
| 80 | convert ha using 1 |
| 81 | · rfl |
| 82 | · simp only [coordinate,extendPath,projIcc_of_mem D.T_pos.le t.property] |
| 83 | |
| 84 | theorem physical_hasDerivWithinAt (s t : Icc (0 : ℝ) D.T) (x : Space) (v : U) : |
| 85 | HasDerivWithinAt (physical D s x v) (physicalRhs D t x (physical D s x v t)) |
| 86 | (Icc (0 : ℝ) D.T) t := by |
| 87 | let a := coordinate D s x v t |
| 88 | let b := sourceGenerator D.frame D.frameDerivative D.frameLower D.frameLower_pos D.frame_lower t x a |
| 89 | have hd : HasDerivWithinAt (physical D s x v) |
| 90 | (D.frameDerivative.field t x a+D.frame.field t x b) (Icc (0 : ℝ) D.T) t := by |
| 91 | have hp := (D.frame_derivative t t.property x).clm_apply (coordinate_hasDerivWithinAt D s t x v) |
| 92 | simp only [extendPath,projIcc_of_mem D.T_pos.le t.property] at hp |
| 93 | convert hp using 1 |
| 94 | all_goals rfl |
| 95 | have hnormal : D.normal.field t x ≠ 0 := by |
| 96 | intro hz |
| 97 | have hn := D.normal_lower t x |
| 98 | rw [hz,norm_zero,zero_pow (by omega : 2 ≠ 0)] at hn |
| 99 | exact (not_le_of_gt D.normalLower_pos) hn |
| 100 | have he : gram (D.frame.field t x) b = |
| 101 | (D.frame.field t x).adjoint (0-(2 : ℝ) • D.frameDerivative.field t x a) := by |
| 102 | change gram (D.frame.field t x) ((-2 : ℝ) • |
| 103 | gramInverse (D.frame.field t x) D.frameLower D.frameLower_pos (D.frame_lower t x) |
| 104 | ((D.frame.field t x).adjoint (D.frameDerivative.field t x a))) = _ |
| 105 | rw [map_smul,gram_inverse_apply,map_sub,map_zero,map_smul] |
| 106 | module |
| 107 | have hb := physical_velocity_balance (D.frame.field t x) (D.frameDerivative.field t x) |
| 108 | (D.M.field t x) (D.normal.field t x) hnormal (D.frame_tangent t x) (D.frame_range t x) |
| 109 | (D.frame_strain t x) a b 0 he |
| 110 | have hv : physical D s x v t = D.frame.field t x a := by |
| 111 | simp only [physical,extendPath,projIcc_of_mem D.T_pos.le t.property,a] |
| 112 | apply hd.congr_deriv |
| 113 | rw [physicalRhs,hv] |
| 114 | simp only [inner_zero_right,zero_sub,neg_div,neg_smul] at hb |
| 115 | linear_combination (norm := module) hb |
| 116 | |
| 117 | /-- A physical growth assertion is tested only on genuine solutions of |
| 118 | the literal tangent ODE, with the actual transported normal. -/ |
| 119 | def PhysicalGrowth (S : Set Space) (g : Icc (0 : ℝ) D.T → ℝ) (C : ℝ) : Prop := |
| 120 | ∀ x ∈ S, ∀ w : ℝ → Space, |
| 121 | (∀ t : Icc (0 : ℝ) D.T, HasDerivWithinAt w (physicalRhs D t x (w t)) (Icc (0 : ℝ) D.T) t) → |
| 122 | ⟪D.normal.field ⟨0,le_rfl,D.T_pos.le⟩ x,w 0⟫_ℝ = 0 → |
| 123 | ∀ t s : Icc (0 : ℝ) D.T, s ≤ t → ‖w t‖ ≤ C*g t/g s*‖w s‖ |
| 124 | |
| 125 | /-- Coordinate norms cost precisely the inverse deformation at the final |
| 126 | time and deformation at the initial time. No extremum of g is used. -/ |
| 127 | theorem propagator_bound_of_physical (S : Set Space) |
| 128 | (g : Icc (0 : ℝ) D.T → ℝ) (hg : ∀ t, 0 < g t) |
| 129 | (C F I : ℝ) (hC : 0 ≤ C) (hF : 0 ≤ F) (hI : 0 ≤ I) |
| 130 | (hphysical : PhysicalGrowth D S g C) |
| 131 | (hframe : ∀ t x, x ∈ S → ‖D.F.field t x‖ ≤ F) |
| 132 | (hinverse : ∀ t x, x ∈ S → ‖D.FInv.field t x‖ ≤ I) |
| 133 | (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) (hx : x ∈ S) : |
| 134 | ‖propagator D t s x‖ ≤ (I*C*F)*g t/g s := by |
| 135 | have hr : 0 ≤ C*g t/g s := div_nonneg (mul_nonneg hC (hg t).le) (hg s).le |
| 136 | apply (propagator D t s x).opNorm_le_bound |
| 137 | (div_nonneg (mul_nonneg (mul_nonneg (mul_nonneg hI hC) hF) (hg t).le) (hg s).le) |
| 138 | intro v |
| 139 | have hp := hphysical x hx (physical D s x v) (fun r => physical_hasDerivWithinAt D s r x v) |
| 140 | (physical_tangent D s ⟨0,le_rfl,D.T_pos.le⟩ x v) t s hst |
| 141 | have hf : ‖physical D s x v s‖ ≤ F*‖v‖ := by |
| 142 | rw [physical_at,propagator_self] |
| 143 | change ‖D.F.field s x (D.R v : Space)‖ ≤ _ |
| 144 | have hRv : ‖(D.R v : Space)‖ = ‖v‖ := D.R.norm_map v |
| 145 | exact ((D.F.field s x).le_opNorm _).trans |
| 146 | ((mul_le_mul_of_nonneg_right (hframe s x hx) (norm_nonneg (D.R v : Space))).trans_eq |
| 147 | (congrArg (fun r => F*r) hRv)) |
| 148 | have hi : ‖propagator D t s x v‖ ≤ I*‖physical D s x v t‖ := by |
| 149 | calc |
| 150 | _ = ‖(D.R (propagator D t s x v) : Space)‖ := (D.R.norm_map _).symm |
| 151 | _ = ‖D.FInv.field t x (physical D s x v t)‖ := by |
| 152 | rw [physical_at] |
| 153 | exact (congrArg norm (D.inverse_left t x (D.R (propagator D t s x v) : Space))).symm |
| 154 | _ ≤ ‖D.FInv.field t x‖*‖physical D s x v t‖ := (D.FInv.field t x).le_opNorm _ |
| 155 | _ ≤ I*‖physical D s x v t‖ := mul_le_mul_of_nonneg_right (hinverse t x hx) (norm_nonneg _) |
| 156 | calc |
| 157 | _ ≤ I*‖physical D s x v t‖ := hi |
| 158 | _ ≤ I*(C*g t/g s*‖physical D s x v s‖) := mul_le_mul_of_nonneg_left hp hI |
| 159 | _ ≤ I*(C*g t/g s*(F*‖v‖)) := |
| 160 | mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left hf hr) hI |
| 161 | _ = ((I*C*F)*g t/g s)*‖v‖ := by ring |
| 162 | |
| 163 | /-- For det F=1, the inverse factor is a proved cofactor bound. Thus the |
| 164 | physical propagator constant C becomes the polynomial 3 F³ C in H3. -/ |
| 165 | theorem propagator_bound_of_deformation (S : Set Space) |
| 166 | (g : Icc (0 : ℝ) D.T → ℝ) (hg : ∀ t, 0 < g t) |
| 167 | (C F : ℝ) (hC : 0 ≤ C) (hF : 0 ≤ F) |
| 168 | (hphysical : PhysicalGrowth D S g C) |
| 169 | (hdet : ∀ t x, x ∈ S → (operatorMatrix (D.F.field t x)).det = 1) |
| 170 | (hframe : ∀ t x, x ∈ S → ‖D.F.field t x‖ ≤ F) |
| 171 | (t s : Icc (0 : ℝ) D.T) (hst : s ≤ t) (x : Space) (hx : x ∈ S) : |
| 172 | ‖propagator D t s x‖ ≤ (3*F^3*C)*g t/g s := by |
| 173 | have hi (r : Icc (0 : ℝ) D.T) (y : Space) (hy : y ∈ S) : ‖D.FInv.field r y‖ ≤ 3*F^2 := by |
| 174 | rw [inverse_eq_adjugate (D.F.field r y) (D.FInv.field r y) (hdet r y hy) (D.inverse_left r y)] |
| 175 | exact (adjugate_norm _).trans |
| 176 | (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (norm_nonneg _) (hframe r y hy) 2) (by norm_num)) |
| 177 | have h := propagator_bound_of_physical D S g hg C F (3*F^2) hC hF (by positivity) |
| 178 | hphysical hframe hi t s hst x hx |
| 179 | convert h using 1 |
| 180 | ring |
| 181 | |
| 182 | end EulerPacketSourcePropagator |