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.TransversePacketData |
| 2 | import Euler.DeformationTimeInverse |
| 3 | import Euler.SourcePotentialTimePath |
| 4 | |
| 5 | /-! Time identities derived from the source deformation data, including the actual inverse and normal paths. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerTransversePacketProvider.Data |
| 10 | |
| 11 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 12 | EulerTransverseBoundedFrame EulerBoundedFieldCalculus EulerOperatorGevreyCalculus |
| 13 | EulerGevrey EulerSourcePotentialCoefficient EulerVolterraConvolution |
| 14 | open scoped ContDiff BoundedContinuousFunction |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] (D : Data U) |
| 17 | |
| 18 | private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance |
| 19 | private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance |
| 20 | private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 21 | private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 22 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 23 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ Space →L[ℝ] Space) := inferInstance |
| 24 | private local instance : NormedAddCommGroup (Space →ᵇ Space) := inferInstance |
| 25 | private local instance : NormedSpace ℝ (Space →ᵇ Space) := inferInstance |
| 26 | private local instance : NormedAddCommGroup C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance |
| 27 | private local instance : NormedSpace ℝ C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := inferInstance |
| 28 | |
| 29 | /-- The derivative of the inverse is constructed from the original fields. -/ |
| 30 | def inverseDerivative : C(Icc (0 : ℝ) D.T,Space →ᵇ Space →L[ℝ] Space) := |
| 31 | -pathCompositionMap D.FInv.field D.M.field |
| 32 | |
| 33 | /-- The derivative of the transported normal is the fixed adjoint-vector map of that path. -/ |
| 34 | def normalDerivative : C(Icc (0 : ℝ) D.T,Space →ᵇ Space) := |
| 35 | mapCoefficientPath (normalMap D.m₀) D.inverseDerivative |
| 36 | |
| 37 | @[simp] theorem inverseDerivative_apply (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 38 | D.inverseDerivative t x = -((D.FInv.field t x).comp (D.M.field t x)) := rfl |
| 39 | |
| 40 | @[simp] theorem normalDerivative_apply (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 41 | D.normalDerivative t x = -((D.M.field t x).adjoint (D.normal.field t x)) := by |
| 42 | change (-((D.FInv.field t x).comp (D.M.field t x))).adjoint D.m₀ = |
| 43 | -((D.M.field t x).adjoint ((D.FInv.field t x).adjoint D.m₀)) |
| 44 | simp only [map_neg, adjoint_comp, neg_apply, comp_apply] |
| 45 | |
| 46 | /-- No differentiability of F⁻¹ is assumed: it follows from the actual inverse identities and F_t=MF. -/ |
| 47 | theorem inverse_hasDerivWithinAt (t : ℝ) (ht : t ∈ Icc (0 : ℝ) D.T) (x : Space) : |
| 48 | HasDerivWithinAt (fun r => extendPath D.T D.T_pos.le D.FInv.field r x) |
| 49 | (extendPath D.T D.T_pos.le D.inverseDerivative t x) (Icc (0 : ℝ) D.T) t := by |
| 50 | have hFG (r : ℝ) (_hr : r ∈ Icc (0 : ℝ) D.T) : |
| 51 | (extendPath D.T D.T_pos.le D.F.field r x).comp |
| 52 | (extendPath D.T D.T_pos.le D.FInv.field r x) = ContinuousLinearMap.id ℝ Space := by |
| 53 | apply ContinuousLinearMap.ext |
| 54 | intro v |
| 55 | exact D.inverse_right (projIcc 0 D.T D.T_pos.le r) x v |
| 56 | have hGF (r : ℝ) (_hr : r ∈ Icc (0 : ℝ) D.T) : |
| 57 | (extendPath D.T D.T_pos.le D.FInv.field r x).comp |
| 58 | (extendPath D.T D.T_pos.le D.F.field r x) = ContinuousLinearMap.id ℝ Space := by |
| 59 | apply ContinuousLinearMap.ext |
| 60 | intro v |
| 61 | exact D.inverse_left (projIcc 0 D.T D.T_pos.le r) x v |
| 62 | have hF₁ : extendPath D.T D.T_pos.le D.F₁.field t x = |
| 63 | (extendPath D.T D.T_pos.le D.M.field t x).comp |
| 64 | (extendPath D.T D.T_pos.le D.F.field t x) := by |
| 65 | apply ContinuousLinearMap.ext |
| 66 | intro v |
| 67 | exact D.strain_equation (projIcc 0 D.T D.T_pos.le t) x v |
| 68 | have hF := D.frame_time t ht x |
| 69 | rw [hF₁] at hF |
| 70 | exact EulerDeformationTime.inverse_strain_hasDerivWithinAt (Icc (0 : ℝ) D.T) t ht |
| 71 | (fun r => extendPath D.T D.T_pos.le D.F.field r x) |
| 72 | (fun r => extendPath D.T D.T_pos.le D.FInv.field r x) |
| 73 | (extendPath D.T D.T_pos.le D.M.field t x) hFG hGF hF |
| 74 | |
| 75 | theorem normal_hasDerivWithinAt (t : ℝ) (ht : t ∈ Icc (0 : ℝ) D.T) (x : Space) : |
| 76 | HasDerivWithinAt (fun r => extendPath D.T D.T_pos.le D.normal.field r x) |
| 77 | (extendPath D.T D.T_pos.le D.normalDerivative t x) (Icc (0 : ℝ) D.T) t := by |
| 78 | exact (normalMap D.m₀).hasFDerivAt.comp_hasDerivWithinAt t |
| 79 | (D.inverse_hasDerivWithinAt t ht x) |
| 80 | |
| 81 | theorem inverseDerivative_translation : |
| 82 | translateCoefficientPath D.inverseDerivative = fun a => |
| 83 | -pathCompositionMap (translateCoefficientPath D.FInv.field a) |
| 84 | (translateCoefficientPath D.M.field a) := by |
| 85 | funext a |
| 86 | apply ContinuousMap.ext |
| 87 | intro t |
| 88 | apply BoundedContinuousFunction.ext |
| 89 | intro x |
| 90 | rfl |
| 91 | |
| 92 | theorem normalDerivative_translation : |
| 93 | translateCoefficientPath D.normalDerivative = fun a => |
| 94 | mapCoefficientPath (normalMap D.m₀) (translateCoefficientPath D.inverseDerivative a) := by |
| 95 | funext a |
| 96 | apply ContinuousMap.ext |
| 97 | intro t |
| 98 | apply BoundedContinuousFunction.ext |
| 99 | intro x |
| 100 | rfl |
| 101 | |
| 102 | theorem inverseDerivative_orbit : ContDiff ℝ ∞ (translateCoefficientPath D.inverseDerivative) := by |
| 103 | rw [D.inverseDerivative_translation] |
| 104 | exact (pathComposition_contDiff _ _ D.FInv.translation_contDiff D.M.translation_contDiff).neg |
| 105 | |
| 106 | theorem normalDerivative_orbit : ContDiff ℝ ∞ (translateCoefficientPath D.normalDerivative) := by |
| 107 | rw [D.normalDerivative_translation] |
| 108 | exact (mapCoefficientPath (K := Icc (0 : ℝ) D.T) (normalMap D.m₀)).contDiff.comp |
| 109 | D.inverseDerivative_orbit |
| 110 | |
| 111 | theorem normalPathMap_norm : |
| 112 | ‖mapCoefficientPath (K := Icc (0 : ℝ) D.T) (normalMap D.m₀)‖ ≤ 1 := by |
| 113 | apply opNorm_le_bound _ zero_le_one |
| 114 | intro A |
| 115 | rw [one_mul] |
| 116 | apply (ContinuousMap.norm_le _ (norm_nonneg A)).mpr |
| 117 | intro t |
| 118 | apply (BoundedContinuousFunction.norm_le (norm_nonneg A)).mpr |
| 119 | intro x |
| 120 | change ‖normalMap D.m₀ (A t x)‖ ≤ ‖A‖ |
| 121 | calc |
| 122 | _ ≤ ‖normalMap D.m₀‖ * ‖A t x‖ := (normalMap D.m₀).le_opNorm _ |
| 123 | _ ≤ 1 * ‖A t x‖ := mul_le_mul_of_nonneg_right (normalMap_norm D.m₀ D.m₀_unit) (norm_nonneg _) |
| 124 | _ ≤ ‖A‖ := by simpa only [one_mul] using ((A t).norm_coe_le_norm x).trans (A.norm_coe_le_norm t) |
| 125 | |
| 126 | theorem inverseDerivative_bound (R CI CM : ℝ) (hR : 0 ≤ R) (hCI : 0 ≤ CI) (hCM : 0 ≤ CM) |
| 127 | (hI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ CI*majorant R 0 n) |
| 128 | (hM : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.M.field) a‖ ≤ CM*majorant R 0 n) |
| 129 | (n : ℕ) (a : Space) : |
| 130 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.inverseDerivative) a‖ ≤ (3*CI*CM)*majorant R 0 n := by |
| 131 | rw [D.inverseDerivative_translation] |
| 132 | exact neg_bound _ R (3*CI*CM) 0 |
| 133 | (pathComposition_bound _ _ D.FInv.translation_contDiff D.M.translation_contDiff |
| 134 | R CI CM hR hCI hCM 0 0 hI hM) n a |
| 135 | |
| 136 | theorem normalDerivative_bound (R CI CM : ℝ) (hR : 0 ≤ R) (hCI : 0 ≤ CI) (hCM : 0 ≤ CM) |
| 137 | (hI : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.FInv.field) a‖ ≤ CI*majorant R 0 n) |
| 138 | (hM : ∀ n a, ‖iteratedFDeriv ℝ n (translateCoefficientPath D.M.field) a‖ ≤ CM*majorant R 0 n) |
| 139 | (n : ℕ) (a : Space) : |
| 140 | ‖iteratedFDeriv ℝ n (translateCoefficientPath D.normalDerivative) a‖ ≤ (3*CI*CM)*majorant R 0 n := by |
| 141 | rw [D.normalDerivative_translation] |
| 142 | exact contraction_bound (mapCoefficientPath (K := Icc (0 : ℝ) D.T) (normalMap D.m₀)) |
| 143 | D.normalPathMap_norm _ D.inverseDerivative_orbit R (3*CI*CM) hR (by positivity) 0 |
| 144 | (D.inverseDerivative_bound R CI CM hR hCI hCM hI hM) n a |
| 145 | |
| 146 | /-- The actual time coefficient for the periodic-potential multiplier. -/ |
| 147 | def potentialDerivative : C(Icc (0 : ℝ) D.T,PotentialField) := |
| 148 | potentialTimePath D.normal D.normalDerivative D.normalLower D.normalLower_pos D.normal_lower |
| 149 | |
| 150 | theorem potentialDerivative_orbit : ContDiff ℝ ∞ (translateCoefficientPath D.potentialDerivative) := |
| 151 | potentialTimePath_orbit D.normal D.normalDerivative D.normalLower D.normalLower_pos D.normal_lower |
| 152 | D.normalDerivative_orbit |
| 153 | |
| 154 | theorem potential_hasDerivWithinAt (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 155 | HasDerivWithinAt (fun r => extendPath D.T D.T_pos.le |
| 156 | (potentialCoefficient D.normal D.normalLower D.normalLower_pos D.normal_lower) r x) |
| 157 | (D.potentialDerivative t x) (Icc (0 : ℝ) D.T) t := by |
| 158 | convert potentialTimePath_hasDerivWithinAt D.T D.T_pos.le D.normal D.normalDerivative |
| 159 | D.normalLower D.normalLower_pos D.normal_lower D.normal_hasDerivWithinAt t x using 1 |
| 160 | dsimp only [potentialDerivative] |
| 161 | |
| 162 | end EulerTransversePacketProvider.Data |