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

Merge pull request #669 from s5-euler-coefficient-1
Browse filesrefactor(Euler/Coefficient): 2 small modules folded into the file that imports them (−22.3%, measured)
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −98 Euler/CoefficientPathBounds.lean deleted
| @@ -1,98 +0,0 @@ | ||
| 1 | -import Euler.CoefficientPathSmooth | |
| 2 | -import Euler.ParameterSobolevCoefficient | |
| 3 | -import Euler.H6Pressure | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -The bounds stored in the actual recursive coefficient jet are controlled | |
| 7 | -by the true word derivatives of its bounded-field translation orbit. A | |
| 8 | -single enlargement of the coefficient radius gives fixed-base Sobolev | |
| 9 | -bounds, independent of the jet truncation. | |
| 10 | --/ | |
| 11 | - | |
| 12 | -noncomputable section | |
| 13 | - | |
| 14 | -namespace EulerCoefficientPath | |
| 15 | - | |
| 16 | -open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 17 | - EulerMeanCoefficients EulerMetricTransport EulerTransportDerivatives | |
| 18 | - EulerSpatialSobolevInverse EulerCylinderSobolev EulerJetProductBounds | |
| 19 | - EulerParameterWordGevrey EulerGevrey | |
| 20 | -open scoped ContDiff BoundedContinuousFunction | |
| 21 | - | |
| 22 | -variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 23 | - | |
| 24 | -def coefficientDirections (i : Fin 4) : Space := (standardDirection i).1 | |
| 25 | - | |
| 26 | -theorem coefficientDirections_norm (i : Fin 4) : ‖coefficientDirections i‖ ≤ 1 := by | |
| 27 | - cases i using Fin.cases <;> simp [coefficientDirections] | |
| 28 | - | |
| 29 | -omit [CompactSpace K] in | |
| 30 | -theorem translateCoefficientPath_zero {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 31 | - (A : C(K,Space →ᵇ V)) : translateCoefficientPath A 0 = A := by | |
| 32 | - apply ContinuousMap.ext | |
| 33 | - intro t | |
| 34 | - apply BoundedContinuousFunction.ext | |
| 35 | - intro x | |
| 36 | - change A t (x+0) = A t x | |
| 37 | - rw [add_zero] | |
| 38 | - | |
| 39 | -private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance | |
| 40 | -private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance | |
| 41 | -private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance | |
| 42 | -private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance | |
| 43 | - | |
| 44 | -variable (P : ℝ) [Fact (0 < P)] | |
| 45 | - (A : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 46 | - (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) | |
| 47 | - | |
| 48 | -theorem coefficientJet_boundLevel_le_words (s n : ℕ) (t : K) : | |
| 49 | - boundLevel P (coefficientJet P A hA s t) n ≤ | |
| 50 | - wordSum coefficientDirections (translateCoefficientPath A) n 0 := by | |
| 51 | - induction s generalizing A n with | |
| 52 | - | zero => | |
| 53 | - cases n with | |
| 54 | - | zero => | |
| 55 | - rw [wordSum_zero,translateCoefficientPath_zero] | |
| 56 | - simp only [coefficientJet,boundLevel] | |
| 57 | - exact A.norm_coe_le_norm t | |
| 58 | - | succ n => | |
| 59 | - simp only [coefficientJet,boundLevel] | |
| 60 | - exact wordSum_nonneg _ _ _ _ | |
| 61 | - | succ s ih => | |
| 62 | - cases n with | |
| 63 | - | zero => | |
| 64 | - rw [wordSum_zero,translateCoefficientPath_zero] | |
| 65 | - simp only [coefficientJet,boundLevel] | |
| 66 | - exact A.norm_coe_le_norm t | |
| 67 | - | succ n => | |
| 68 | - rw [wordSum_succ coefficientDirections (translateCoefficientPath A) hA n 0] | |
| 69 | - rw [coefficientJet, boundLevel.eq_def] | |
| 70 | - apply sum_le_sum | |
| 71 | - intro i _ | |
| 72 | - have hh := ih (orbitDerivativePath A (coefficientDirections i)) | |
| 73 | - (orbitDerivativePath_orbit A hA (coefficientDirections i)) n | |
| 74 | - have he : translateCoefficientPath (orbitDerivativePath A (coefficientDirections i)) = | |
| 75 | - directional coefficientDirections (translateCoefficientPath A) i := | |
| 76 | - funext (orbitDerivativePath_translation A hA (coefficientDirections i)) | |
| 77 | - rw [he] at hh | |
| 78 | - exact hh | |
| 79 | - | |
| 80 | -theorem coefficientJet_block_le_words (s q n : ℕ) (t : K) : | |
| 81 | - EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ | |
| 82 | - EulerParameterWordGevrey.coefficientBlock coefficientDirections q (translateCoefficientPath A) n 0 := by | |
| 83 | - change (2 : ℝ)^q*(∑ r ∈ range (q+1),boundLevel P (coefficientJet P A hA s t) (n+r)) ≤ | |
| 84 | - (2 : ℝ)^q*block coefficientDirections q (translateCoefficientPath A) n 0 | |
| 85 | - rw [block_eq_sum_levels coefficientDirections q (translateCoefficientPath A) hA n 0] | |
| 86 | - exact mul_le_mul_of_nonneg_left | |
| 87 | - (sum_le_sum (fun r _ => coefficientJet_boundLevel_le_words P A hA s (n+r) t)) (by positivity) | |
| 88 | - | |
| 89 | -theorem coefficientJet_block_bound (s q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 90 | - (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) | |
| 91 | - (n : ℕ) (t : K) : | |
| 92 | - EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ | |
| 93 | - sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := | |
| 94 | - (coefficientJet_block_le_words P A hA s q n t).trans | |
| 95 | - (coefficientBlock_of_tensor_bound coefficientDirections coefficientDirections_norm q | |
| 96 | - (translateCoefficientPath A) hA Rc C hRc hC hb n 0) | |
| 97 | - | |
| 98 | -end EulerCoefficientPath | |
+203 −1 Euler/CoefficientPathPressureBounds.lean View file
| @@ -1,10 +1,212 @@ | ||
| 1 | -import Euler.CoefficientPathWeightedBounds | |
| 1 | +import Euler.CoefficientPathSmooth | |
| 2 | +import Euler.ParameterSobolevCoefficient | |
| 3 | +import Euler.H6Pressure | |
| 4 | +import Euler.SobolevGevreyOperators | |
| 5 | +import Euler.PacketTailBound | |
| 2 | 6 | import Euler.CoefficientJetPressureBounds |
| 3 | 7 | import Euler.H6PressureConstants |
| 4 | 8 | |
| 5 | 9 | /-! Actual coefficient-orbit bounds control the fixed H5/H6 pressure |
| 6 | 10 | constants uniformly over all higher jet truncations. -/ |
| 7 | 11 | |
| 12 | +/-! ## From `Euler/CoefficientPathBounds.lean` | |
| 13 | + | |
| 14 | +The text of `Euler/CoefficientPathBounds.lean`, folded into this file, which was its only importer. -/ | |
| 15 | + | |
| 16 | +section | |
| 17 | + | |
| 18 | +/-! | |
| 19 | +The bounds stored in the actual recursive coefficient jet are controlled | |
| 20 | +by the true word derivatives of its bounded-field translation orbit. A | |
| 21 | +single enlargement of the coefficient radius gives fixed-base Sobolev | |
| 22 | +bounds, independent of the jet truncation. | |
| 23 | +-/ | |
| 24 | + | |
| 25 | +noncomputable section | |
| 26 | + | |
| 27 | +namespace EulerCoefficientPath | |
| 28 | + | |
| 29 | +open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 30 | + EulerMeanCoefficients EulerMetricTransport EulerTransportDerivatives | |
| 31 | + EulerSpatialSobolevInverse EulerCylinderSobolev EulerJetProductBounds | |
| 32 | + EulerParameterWordGevrey EulerGevrey | |
| 33 | +open scoped ContDiff BoundedContinuousFunction | |
| 34 | + | |
| 35 | +variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 36 | + | |
| 37 | +def coefficientDirections (i : Fin 4) : Space := (standardDirection i).1 | |
| 38 | + | |
| 39 | +theorem coefficientDirections_norm (i : Fin 4) : ‖coefficientDirections i‖ ≤ 1 := by | |
| 40 | + cases i using Fin.cases <;> simp [coefficientDirections] | |
| 41 | + | |
| 42 | +omit [CompactSpace K] in | |
| 43 | +theorem translateCoefficientPath_zero {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] | |
| 44 | + (A : C(K,Space →ᵇ V)) : translateCoefficientPath A 0 = A := by | |
| 45 | + apply ContinuousMap.ext | |
| 46 | + intro t | |
| 47 | + apply BoundedContinuousFunction.ext | |
| 48 | + intro x | |
| 49 | + change A t (x+0) = A t x | |
| 50 | + rw [add_zero] | |
| 51 | + | |
| 52 | +private local instance : NormedAddCommGroup (Space →L[ℝ] Space) := inferInstance | |
| 53 | +private local instance : NormedSpace ℝ (Space →L[ℝ] Space) := inferInstance | |
| 54 | +private local instance : NormedAddCommGroup (Space →ᵇ Space →L[ℝ] Space) := inferInstance | |
| 55 | +private local instance : NormedSpace ℝ (Space →ᵇ Space →L[ℝ] Space) := inferInstance | |
| 56 | + | |
| 57 | +variable (P : ℝ) [Fact (0 < P)] | |
| 58 | + (A : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 59 | + (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) | |
| 60 | + | |
| 61 | +theorem coefficientJet_boundLevel_le_words (s n : ℕ) (t : K) : | |
| 62 | + boundLevel P (coefficientJet P A hA s t) n ≤ | |
| 63 | + wordSum coefficientDirections (translateCoefficientPath A) n 0 := by | |
| 64 | + induction s generalizing A n with | |
| 65 | + | zero => | |
| 66 | + cases n with | |
| 67 | + | zero => | |
| 68 | + rw [wordSum_zero,translateCoefficientPath_zero] | |
| 69 | + simp only [coefficientJet,boundLevel] | |
| 70 | + exact A.norm_coe_le_norm t | |
| 71 | + | succ n => | |
| 72 | + simp only [coefficientJet,boundLevel] | |
| 73 | + exact wordSum_nonneg _ _ _ _ | |
| 74 | + | succ s ih => | |
| 75 | + cases n with | |
| 76 | + | zero => | |
| 77 | + rw [wordSum_zero,translateCoefficientPath_zero] | |
| 78 | + simp only [coefficientJet,boundLevel] | |
| 79 | + exact A.norm_coe_le_norm t | |
| 80 | + | succ n => | |
| 81 | + rw [wordSum_succ coefficientDirections (translateCoefficientPath A) hA n 0] | |
| 82 | + rw [coefficientJet, boundLevel.eq_def] | |
| 83 | + apply sum_le_sum | |
| 84 | + intro i _ | |
| 85 | + have hh := ih (orbitDerivativePath A (coefficientDirections i)) | |
| 86 | + (orbitDerivativePath_orbit A hA (coefficientDirections i)) n | |
| 87 | + have he : translateCoefficientPath (orbitDerivativePath A (coefficientDirections i)) = | |
| 88 | + directional coefficientDirections (translateCoefficientPath A) i := | |
| 89 | + funext (orbitDerivativePath_translation A hA (coefficientDirections i)) | |
| 90 | + rw [he] at hh | |
| 91 | + exact hh | |
| 92 | + | |
| 93 | +theorem coefficientJet_block_le_words (s q n : ℕ) (t : K) : | |
| 94 | + EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ | |
| 95 | + EulerParameterWordGevrey.coefficientBlock coefficientDirections q (translateCoefficientPath A) n 0 := by | |
| 96 | + change (2 : ℝ)^q*(∑ r ∈ range (q+1),boundLevel P (coefficientJet P A hA s t) (n+r)) ≤ | |
| 97 | + (2 : ℝ)^q*block coefficientDirections q (translateCoefficientPath A) n 0 | |
| 98 | + rw [block_eq_sum_levels coefficientDirections q (translateCoefficientPath A) hA n 0] | |
| 99 | + exact mul_le_mul_of_nonneg_left | |
| 100 | + (sum_le_sum (fun r _ => coefficientJet_boundLevel_le_words P A hA s (n+r) t)) (by positivity) | |
| 101 | + | |
| 102 | +theorem coefficientJet_block_bound (s q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 103 | + (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) | |
| 104 | + (n : ℕ) (t : K) : | |
| 105 | + EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ | |
| 106 | + sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := | |
| 107 | + (coefficientJet_block_le_words P A hA s q n t).trans | |
| 108 | + (coefficientBlock_of_tensor_bound coefficientDirections coefficientDirections_norm q | |
| 109 | + (translateCoefficientPath A) hA Rc C hRc hC hb n 0) | |
| 110 | + | |
| 111 | +end EulerCoefficientPath | |
| 112 | +end | |
| 113 | + | |
| 114 | +end | |
| 115 | + | |
| 116 | +/-! ## From `Euler/CoefficientPathWeightedBounds.lean` | |
| 117 | + | |
| 118 | +The text of `Euler/CoefficientPathWeightedBounds.lean`, folded into this file, which was its only importer. -/ | |
| 119 | + | |
| 120 | +section | |
| 121 | + | |
| 122 | +/-! | |
| 123 | +Cutoff-independent weighted estimates for the actual coefficient jets. | |
| 124 | +The positive-order coefficient normalization is paid once by a fixed | |
| 125 | +coefficient radius, independent of the solution amplitude and grade. | |
| 126 | +-/ | |
| 127 | + | |
| 128 | +noncomputable section | |
| 129 | + | |
| 130 | +namespace EulerCoefficientPath | |
| 131 | + | |
| 132 | +open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 133 | + EulerMeanCoefficients EulerSpatialSobolevInverse EulerJetProductBounds | |
| 134 | + EulerParameterWordGevrey EulerGevrey EulerPacketWeights EulerSobolevGevreyOperators | |
| 135 | + EulerPacketTailBound EulerOperatorGevreyCalculus | |
| 136 | +open scoped ContDiff BoundedContinuousFunction | |
| 137 | + | |
| 138 | +def normalizedCoefficientRadius (q : ℕ) (Rc C : ℝ) : ℝ := | |
| 139 | + max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C) * sobolevCoefficientRadius (Fin 4) Rc | |
| 140 | + | |
| 141 | +theorem normalizedCoefficientRadius_nonneg (q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) : | |
| 142 | + 0 ≤ normalizedCoefficientRadius q Rc C := | |
| 143 | + mul_nonneg (le_trans zero_le_one (le_max_left _ _)) (sobolevCoefficientRadius_nonneg Rc hRc) | |
| 144 | + | |
| 145 | +theorem amplitude_majorant_le_normalized (q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) | |
| 146 | + (n : ℕ) (hn : 1 ≤ n) : | |
| 147 | + sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n ≤ | |
| 148 | + majorant (normalizedCoefficientRadius q Rc C) 0 n := by | |
| 149 | + have hp : sobolevCoefficientAmplitude (Fin 4) q Rc C ≤ | |
| 150 | + (max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C))^n := | |
| 151 | + (le_max_right _ _).trans (by | |
| 152 | + simpa only [pow_one] using pow_le_pow_right₀ | |
| 153 | + (le_max_left (1 : ℝ) (sobolevCoefficientAmplitude (Fin 4) q Rc C)) hn) | |
| 154 | + calc | |
| 155 | + _ ≤ (max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C))^n * | |
| 156 | + majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := | |
| 157 | + mul_le_mul_of_nonneg_right hp (majorant_nonneg _ (sobolevCoefficientRadius_nonneg Rc hRc) 0 n) | |
| 158 | + _ = _ := by simp only [majorant,normalizedCoefficientRadius,Nat.add_zero,mul_pow]; ring | |
| 159 | + | |
| 160 | +variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 161 | + (P : ℝ) [Fact (0 < P)] | |
| 162 | + (A : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 163 | + (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) | |
| 164 | + | |
| 165 | +theorem coefficientJet_block_normalized (s q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 166 | + (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) | |
| 167 | + (R : ℝ) (hR : normalizedCoefficientRadius q Rc C ≤ R) | |
| 168 | + (n : ℕ) (hn : 1 ≤ n) (t : K) : | |
| 169 | + EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ | |
| 170 | + R^n*(n.factorial : ℝ)^2 := by | |
| 171 | + have h := (coefficientJet_block_bound P A hA s q Rc C hRc hC hb n t).trans | |
| 172 | + (amplitude_majorant_le_normalized q Rc C hRc n hn) | |
| 173 | + exact h.trans (majorant_radius_mono _ R (normalizedCoefficientRadius_nonneg q Rc C hRc) hR 0 n) | |
| 174 | + | |
| 175 | +private theorem weight_majorant_zero (ρ R : ℝ) (n : ℕ) : | |
| 176 | + weight ρ n*majorant R 0 n = (ρ*R)^n := by | |
| 177 | + unfold weight majorant | |
| 178 | + simp only [Nat.add_zero,mul_pow] | |
| 179 | + field_simp [factorial_cast_ne_zero n] | |
| 180 | + | |
| 181 | +theorem coefficientJet_weighted_bound (s q N : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 182 | + (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) | |
| 183 | + (ρ : ℝ) (hρ : 0 < ρ) (hsmall : ρ*sobolevCoefficientRadius (Fin 4) Rc ≤ 1/2) (t : K) : | |
| 184 | + weightedCoefficient P (coefficientJet P A hA s t) q N ρ ≤ | |
| 185 | + 2*sobolevCoefficientAmplitude (Fin 4) q Rc C := by | |
| 186 | + have hB := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 187 | + calc | |
| 188 | + _ ≤ ∑ n ∈ range (N+1), weight ρ n * | |
| 189 | + (sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n) := by | |
| 190 | + apply sum_le_sum | |
| 191 | + intro n _ | |
| 192 | + exact mul_le_mul_of_nonneg_left (coefficientJet_block_bound P A hA s q Rc C hRc hC hb n t) | |
| 193 | + (weight_pos hρ n).le | |
| 194 | + _ = sobolevCoefficientAmplitude (Fin 4) q Rc C * | |
| 195 | + ∑ n ∈ range (N+1), (ρ*sobolevCoefficientRadius (Fin 4) Rc)^n := by | |
| 196 | + rw [mul_sum] | |
| 197 | + apply sum_congr rfl | |
| 198 | + intro n _ | |
| 199 | + rw [← weight_majorant_zero ρ (sobolevCoefficientRadius (Fin 4) Rc) n] | |
| 200 | + ring | |
| 201 | + _ ≤ _ := (mul_le_mul_of_nonneg_left | |
| 202 | + (sum_geometric_le_two _ (mul_nonneg hρ.le (sobolevCoefficientRadius_nonneg Rc hRc)) hsmall (N+1)) | |
| 203 | + hB).trans_eq (mul_comm _ _) | |
| 204 | + | |
| 205 | +end EulerCoefficientPath | |
| 206 | +end | |
| 207 | + | |
| 208 | +end | |
| 209 | + | |
| 8 | 210 | noncomputable section |
| 9 | 211 | |
| 10 | 212 | namespace EulerCoefficientPath |
+0 −88 Euler/CoefficientPathWeightedBounds.lean deleted
| @@ -1,88 +0,0 @@ | ||
| 1 | -import Euler.CoefficientPathBounds | |
| 2 | -import Euler.SobolevGevreyOperators | |
| 3 | -import Euler.PacketTailBound | |
| 4 | - | |
| 5 | -/-! | |
| 6 | -Cutoff-independent weighted estimates for the actual coefficient jets. | |
| 7 | -The positive-order coefficient normalization is paid once by a fixed | |
| 8 | -coefficient radius, independent of the solution amplitude and grade. | |
| 9 | --/ | |
| 10 | - | |
| 11 | -noncomputable section | |
| 12 | - | |
| 13 | -namespace EulerCoefficientPath | |
| 14 | - | |
| 15 | -open Set Finset ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace | |
| 16 | - EulerMeanCoefficients EulerSpatialSobolevInverse EulerJetProductBounds | |
| 17 | - EulerParameterWordGevrey EulerGevrey EulerPacketWeights EulerSobolevGevreyOperators | |
| 18 | - EulerPacketTailBound EulerOperatorGevreyCalculus | |
| 19 | -open scoped ContDiff BoundedContinuousFunction | |
| 20 | - | |
| 21 | -def normalizedCoefficientRadius (q : ℕ) (Rc C : ℝ) : ℝ := | |
| 22 | - max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C) * sobolevCoefficientRadius (Fin 4) Rc | |
| 23 | - | |
| 24 | -theorem normalizedCoefficientRadius_nonneg (q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) : | |
| 25 | - 0 ≤ normalizedCoefficientRadius q Rc C := | |
| 26 | - mul_nonneg (le_trans zero_le_one (le_max_left _ _)) (sobolevCoefficientRadius_nonneg Rc hRc) | |
| 27 | - | |
| 28 | -theorem amplitude_majorant_le_normalized (q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) | |
| 29 | - (n : ℕ) (hn : 1 ≤ n) : | |
| 30 | - sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n ≤ | |
| 31 | - majorant (normalizedCoefficientRadius q Rc C) 0 n := by | |
| 32 | - have hp : sobolevCoefficientAmplitude (Fin 4) q Rc C ≤ | |
| 33 | - (max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C))^n := | |
| 34 | - (le_max_right _ _).trans (by | |
| 35 | - simpa only [pow_one] using pow_le_pow_right₀ | |
| 36 | - (le_max_left (1 : ℝ) (sobolevCoefficientAmplitude (Fin 4) q Rc C)) hn) | |
| 37 | - calc | |
| 38 | - _ ≤ (max 1 (sobolevCoefficientAmplitude (Fin 4) q Rc C))^n * | |
| 39 | - majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n := | |
| 40 | - mul_le_mul_of_nonneg_right hp (majorant_nonneg _ (sobolevCoefficientRadius_nonneg Rc hRc) 0 n) | |
| 41 | - _ = _ := by simp only [majorant,normalizedCoefficientRadius,Nat.add_zero,mul_pow]; ring | |
| 42 | - | |
| 43 | -variable {K : Type*} [TopologicalSpace K] [CompactSpace K] | |
| 44 | - (P : ℝ) [Fact (0 < P)] | |
| 45 | - (A : C(K,Space →ᵇ Space →L[ℝ] Space)) | |
| 46 | - (hA : ContDiff ℝ ∞ (translateCoefficientPath A)) | |
| 47 | - | |
| 48 | -theorem coefficientJet_block_normalized (s q : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 49 | - (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) | |
| 50 | - (R : ℝ) (hR : normalizedCoefficientRadius q Rc C ≤ R) | |
| 51 | - (n : ℕ) (hn : 1 ≤ n) (t : K) : | |
| 52 | - EulerH6Pressure.coefficientBlock P (coefficientJet P A hA s t) q n ≤ | |
| 53 | - R^n*(n.factorial : ℝ)^2 := by | |
| 54 | - have h := (coefficientJet_block_bound P A hA s q Rc C hRc hC hb n t).trans | |
| 55 | - (amplitude_majorant_le_normalized q Rc C hRc n hn) | |
| 56 | - exact h.trans (majorant_radius_mono _ R (normalizedCoefficientRadius_nonneg q Rc C hRc) hR 0 n) | |
| 57 | - | |
| 58 | -private theorem weight_majorant_zero (ρ R : ℝ) (n : ℕ) : | |
| 59 | - weight ρ n*majorant R 0 n = (ρ*R)^n := by | |
| 60 | - unfold weight majorant | |
| 61 | - simp only [Nat.add_zero,mul_pow] | |
| 62 | - field_simp [factorial_cast_ne_zero n] | |
| 63 | - | |
| 64 | -theorem coefficientJet_weighted_bound (s q N : ℕ) (Rc C : ℝ) (hRc : 0 ≤ Rc) (hC : 0 ≤ C) | |
| 65 | - (hb : ∀ n x, ‖iteratedFDeriv ℝ n (translateCoefficientPath A) x‖ ≤ C*majorant Rc 0 n) | |
| 66 | - (ρ : ℝ) (hρ : 0 < ρ) (hsmall : ρ*sobolevCoefficientRadius (Fin 4) Rc ≤ 1/2) (t : K) : | |
| 67 | - weightedCoefficient P (coefficientJet P A hA s t) q N ρ ≤ | |
| 68 | - 2*sobolevCoefficientAmplitude (Fin 4) q Rc C := by | |
| 69 | - have hB := sobolevCoefficientAmplitude_nonneg (ι := Fin 4) q Rc C hRc hC | |
| 70 | - calc | |
| 71 | - _ ≤ ∑ n ∈ range (N+1), weight ρ n * | |
| 72 | - (sobolevCoefficientAmplitude (Fin 4) q Rc C * majorant (sobolevCoefficientRadius (Fin 4) Rc) 0 n) := by | |
| 73 | - apply sum_le_sum | |
| 74 | - intro n _ | |
| 75 | - exact mul_le_mul_of_nonneg_left (coefficientJet_block_bound P A hA s q Rc C hRc hC hb n t) | |
| 76 | - (weight_pos hρ n).le | |
| 77 | - _ = sobolevCoefficientAmplitude (Fin 4) q Rc C * | |
| 78 | - ∑ n ∈ range (N+1), (ρ*sobolevCoefficientRadius (Fin 4) Rc)^n := by | |
| 79 | - rw [mul_sum] | |
| 80 | - apply sum_congr rfl | |
| 81 | - intro n _ | |
| 82 | - rw [← weight_majorant_zero ρ (sobolevCoefficientRadius (Fin 4) Rc) n] | |
| 83 | - ring | |
| 84 | - _ ≤ _ := (mul_le_mul_of_nonneg_left | |
| 85 | - (sum_geometric_le_two _ (mul_nonneg hρ.le (sobolevCoefficientRadius_nonneg Rc hRc)) hsmall (N+1)) | |
| 86 | - hB).trans_eq (mul_comm _ _) | |
| 87 | - | |
| 88 | -end EulerCoefficientPath | |
+20 −0 routes/s5-euler-coefficient-1/README.md added View file
| @@ -0,0 +1,20 @@ | ||
| 1 | +--- | |
| 2 | +issue: 14 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s5-euler-coefficient-1 | |
| 6 | + | |
| 7 | +The family `Euler/Coefficient*` for S-5 (a change brought over from Lean Pool's cleaned copy: fewer | |
| 8 | +modules, its pull requests 405 and 570). This unit folds the two modules of the family that exactly one | |
| 9 | +file imported — `Euler/CoefficientPathBounds.lean` (98 lines) and | |
| 10 | +`Euler/CoefficientPathWeightedBounds.lean` (88 lines) — into that file, | |
| 11 | +`Euler/CoefficientPathPressureBounds.lean` (260 lines after), text unchanged, each under a heading that | |
| 12 | +names where it came from and in a `section` of its own. No statement, proof or docstring changes; | |
| 13 | +`fold.py check` makes every changed file again from `origin/main`'s text and compares byte for byte, and | |
| 14 | +the plan that did it is `routes/s5-euler-coefficient-1/plan.json`. | |
| 15 | + | |
| 16 | +## Next | |
| 17 | + | |
| 18 | +The pull request is open. What comes next is the maintainer's verdict on whether this kind of change is | |
| 19 | +wanted; the rest of the series' folds wait on it, one family per pull request. Nothing here reads worse | |
| 20 | +folded than the two files did apart. | |
+10 −0 routes/s5-euler-coefficient-1/plan.json added View file
| @@ -0,0 +1,10 @@ | ||
| 1 | +{ | |
| 2 | +"imports": "in place", | |
| 3 | +"folds": { | |
| 4 | +"Euler/CoefficientPathPressureBounds.lean": [ | |
| 5 | +"Euler/CoefficientPathBounds.lean", | |
| 6 | +"Euler/CoefficientPathWeightedBounds.lean", | |
| 7 | +"Euler/CoefficientPathPressureBounds.lean" | |
| 8 | +] | |
| 9 | +} | |
| 10 | +} | |