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 NavierStokes.SlowBorelBase |
| 2 | import NavierStokes.NaturalCore |
| 3 | import NavierStokes.DiagonalResidual |
| 4 | import NavierStokes.ParametricModulation |
| 5 | import NavierStokes.SlowResidualMatching |
| 6 | import NavierStokes.ParametricRadialExtension |
| 7 | import NavierStokes.ActiveAnnulusWeight |
| 8 | import NavierStokes.AxisTailRegularity |
| 9 | import NavierStokes.SlowFirstOrderEdge |
| 10 | |
| 11 | /-! |
| 12 | # Residual and axis values of the asymptotically summed slow base |
| 13 | |
| 14 | The series used here is the actual locally finite series in `SlowBorelBase`. |
| 15 | The radial streams are summed before taking their Cartesian curl. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | open Set Filter Function |
| 21 | open scoped Topology ContDiff BigOperators |
| 22 | |
| 23 | namespace NavierStokes.BaseResidual |
| 24 | |
| 25 | open SlowBorelBase |
| 26 | |
| 27 | private theorem nat_le_infty (n : ℕ) : (n : WithTop ℕ∞) ≤ ∞ := |
| 28 | (ENat.natCast_lt_of_coe_top_le_withTop le_rfl n).le |
| 29 | |
| 30 | section Axis |
| 31 | |
| 32 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 33 | |
| 34 | /-- Zero positive-order coefficient values are preserved by the actual sum, |
| 35 | irrespective of the cutoff schedule. -/ |
| 36 | theorem slowSum_eq_leading_of_positive_zero (a : ℕ → ℕ) (h q : ℝ) |
| 37 | {f : ℕ → Inner → V} {w : Inner} (hz : ∀ j, 0 < j → f j w = 0) : |
| 38 | slowSum a h f (q, w) = f 0 w := by |
| 39 | have hs : ∀ j, slowStage a h f j (q, w) = 0 := by |
| 40 | intro j |
| 41 | by_cases hj : j = 0 |
| 42 | · subst j; simp |
| 43 | · rw [slowStage_eq hj] |
| 44 | simp [powerStage, powerCoefficient, hz j (Nat.pos_of_ne_zero hj)] |
| 45 | change f 0 w + ∑' j, slowStage a h f j (q, w) = f 0 w |
| 46 | simp [hs] |
| 47 | |
| 48 | /-- At the spatial origin the physical similarity coordinates have their |
| 49 | exact values; this is not an asymptotic coordinate comparison. -/ |
| 50 | theorem physicalChart_origin {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 51 | {t : ℝ} (ht : t < 1) : physicalChart h (t, (0, 0)) = (1 - t, (0, 0)) := by |
| 52 | have hq := NaturalCore.physicalQ_at_zero_z hh hh1 ht 0 |
| 53 | have he := NaturalCore.physicalEta_at_zero_z h t 0 |
| 54 | change (NaturalCore.physicalQ h (t, (0, 0)), |
| 55 | (0 / NaturalCore.physicalQ h (t, (0, 0)), |
| 56 | NaturalCore.physicalEta h (t, (0, 0)))) = _ |
| 57 | rw [hq, he, zero_div] |
| 58 | |
| 59 | /-- Summing and cutting the streams before differentiation preserves the |
| 60 | leading axial value exactly when the positive axial axis constants vanish. -/ |
| 61 | theorem baseVelocity_at_origin {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 62 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 63 | (hd : SmoothCoefficients d) (C : ℝ) |
| 64 | (hz : ∀ j, 0 < j → d.axial j (0, 0) = 0) {t : ℝ} (ht : t < 1) : |
| 65 | baseVelocity a h C d (t, 0) = |
| 66 | ((1 - t) ^ (-CoordinateAlgebra.A h) * d.axial 0 (0, 0)) • |
| 67 | ProblemStatement.coordinateVector 2 := by |
| 68 | have hp : (AxisymmetricFields.profilePoint t (0 : ProblemStatement.Space)).1 < 1 := ht |
| 69 | have hH := (physicalProfile_smoothAt ha hh hh1 |
| 70 | (bundleComponent_smooth hd C 0) (-CoordinateAlgebra.A h) hp).differentiableAt (by simp) |
| 71 | have hK := (physicalProfile_smoothAt ha hh hh1 |
| 72 | (bundleComponent_smooth hd C 1) (1 / 2 - CoordinateAlgebra.A h) hp).differentiableAt (by simp) |
| 73 | change AxisymmetricFields.velocity (streamFactor a h C d) (swirlPotential a h C d) |
| 74 | (t, 0) = _ |
| 75 | unfold streamFactor swirlPotential |
| 76 | rw [AxisymmetricFields.velocity_on_axis _ _ t 0 hH hK (by simp) (by simp)] |
| 77 | change (physicalProfile a h (-CoordinateAlgebra.A h) (bundleComponent C d 0) |
| 78 | (t, (0, 0))) • _ = _ |
| 79 | unfold physicalProfile |
| 80 | rw [physicalChart_origin hh hh1 ht, |
| 81 | slowSum_eq_leading_of_positive_zero a h (1 - t)] |
| 82 | · change ((1 - t) ^ (-CoordinateAlgebra.A h) * |
| 83 | ProfileHistories.average (d.axial 0) (0, 0)) • _ = _ |
| 84 | rw [ProfileHistories.average_at_axis] |
| 85 | · intro j hj |
| 86 | change ProfileHistories.average (d.axial j) (0, 0) = 0 |
| 87 | rw [ProfileHistories.average_at_axis] |
| 88 | exact hz j hj |
| 89 | |
| 90 | theorem baseVelocity_norm_at_origin {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 91 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 92 | (hd : SmoothCoefficients d) (C : ℝ) |
| 93 | (hz : ∀ j, 0 < j → d.axial j (0, 0) = 0) (h0 : 0 < d.axial 0 (0, 0)) |
| 94 | {t : ℝ} (ht : t < 1) : |
| 95 | ‖baseVelocity a h C d (t, 0)‖ = |
| 96 | (1 - t) ^ (-CoordinateAlgebra.A h) * d.axial 0 (0, 0) := by |
| 97 | rw [baseVelocity_at_origin ha hh hh1 hd C hz ht, norm_smul] |
| 98 | simp only [ProblemStatement.coordinateVector, PiLp.norm_single, norm_one, |
| 99 | mul_one, Real.norm_eq_abs] |
| 100 | exact abs_of_pos (mul_pos (Real.rpow_pos_of_pos (sub_pos.mpr ht) _) h0) |
| 101 | |
| 102 | /-- The concrete Borel base retains the leading axial blow-up. No agreement |
| 103 | with an unspecified limiting field is an input. -/ |
| 104 | theorem baseVelocity_axis_tendsto_atTop {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 105 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} |
| 106 | (hd : SmoothCoefficients d) (C : ℝ) |
| 107 | (hz : ∀ j, 0 < j → d.axial j (0, 0) = 0) (h0 : 0 < d.axial 0 (0, 0)) : |
| 108 | Tendsto (fun t : ℝ => ‖baseVelocity a h C d (t, 0)‖) (𝓝[<] 1) atTop := by |
| 109 | have hA : 0 < CoordinateAlgebra.A h := by dsimp [CoordinateAlgebra.A]; linarith |
| 110 | have ht := (BlowupImplication.negative_power_tendsto_atTop hA |
| 111 | (BlowupImplication.remaining_time_tendsto 1)).atTop_mul_pos h0 tendsto_const_nhds |
| 112 | apply ht.congr' |
| 113 | filter_upwards [self_mem_nhdsWithin] with t ht |
| 114 | exact (baseVelocity_norm_at_origin ha hh hh1 hd C hz h0 ht).symm |
| 115 | |
| 116 | end Axis |
| 117 | |
| 118 | section Monomials |
| 119 | |
| 120 | open PhysicalCoordinateBounds |
| 121 | |
| 122 | /-- The homogeneous lift is defined before solving the implicit coordinate |
| 123 | equation. This makes its degree an exact scaling identity. -/ |
| 124 | noncomputable def monomialLift (a b : ℝ) (f : Inner → ℝ) (y : Chart) : ℝ := |
| 125 | powerLift b y * f (xLift y, etaLift a y) |
| 126 | |
| 127 | theorem monomialLift_smooth {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) (a b : ℝ) : |
| 128 | ContDiffOn ℝ ∞ (monomialLift a b f) positiveTime := by |
| 129 | exact (powerLift_contDiffOn b).mul |
| 130 | (hf.comp_contDiffOn (xLift_contDiffOn.prodMk (etaLift_contDiffOn a))) |
| 131 | |
| 132 | theorem monomialLift_homogeneous (a b : ℝ) (f : Inner → ℝ) {r : ℝ} (hr : 0 < r) |
| 133 | {y : Chart} (hy : y ∈ positiveTime) : |
| 134 | monomialLift a b f (dilation a r y) = r ^ b * monomialLift a b f y := by |
| 135 | simp only [monomialLift, powerLift_homogeneous a b hr hy, |
| 136 | xLift_homogeneous a hr hy, etaLift_homogeneous a hr hy, Real.rpow_zero, one_mul] |
| 137 | ring |
| 138 | |
| 139 | theorem pullback_eq_homogeneous (h b : ℝ) (f : Inner → ℝ) : |
| 140 | SimilarityProfile.pullback h b f = |
| 141 | (monomialLift (2 * h) b f ∘ inverseCoordinates (2 * h)) ∘ timeShift := by |
| 142 | rfl |
| 143 | |
| 144 | /-- Every smooth inner monomial has actual physical jets with a loss of one |
| 145 | power per derivative. The constant is derived by compactness and scaling. -/ |
| 146 | theorem physical_monomial_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 147 | {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) (b lo hi qbig : ℝ) (m : ℕ) : |
| 148 | ∃ C : ℝ, 0 < C ∧ ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 ≤ qbig → |
| 149 | (physicalChart h p).2.1 ∈ Icc lo hi → |
| 150 | ‖iteratedFDeriv ℝ m (SimilarityProfile.pullback h b f) p‖ ≤ |
| 151 | C * (physicalChart h p).1 ^ (b - m) := by |
| 152 | obtain ⟨C, hC, hb⟩ := homogeneous_derivative_bound |
| 153 | (a := 2 * h) (by linarith) (by linarith) (monomialLift_smooth hf (2 * h) b) |
| 154 | (fun _ hr _ hy => monomialLift_homogeneous (2 * h) b f hr hy) lo hi qbig m |
| 155 | refine ⟨C, hC, fun p hp hq hX => ?_⟩ |
| 156 | rw [pullback_eq_homogeneous, norm_iteratedFDeriv_timeShift] |
| 157 | exact hb (timeShift p) (sub_pos.mpr hp) hq hX |
| 158 | |
| 159 | /-- A local smooth coefficient has a genuine smooth extension on a |
| 160 | neighborhood of a compact set. This is used only to estimate its local jets. -/ |
| 161 | theorem exists_local_coefficient_extension {U K : Set Inner} (hU : IsOpen U) |
| 162 | (hK : IsCompact K) (hKU : K ⊆ U) {f : Inner → ℝ} (hf : ContDiffOn ℝ ∞ f U) : |
| 163 | ∃ F : Inner → ℝ, ContDiff ℝ ∞ F ∧ ∀ w ∈ K, f =ᶠ[𝓝 w] F := by |
| 164 | obtain ⟨χ⟩ := ParametricModulation.exists_compactCutoff K U hK hU hKU |
| 165 | let F : Inner → ℝ := fun w => χ.value w * f w |
| 166 | have hF : ContDiff ℝ ∞ F := by |
| 167 | apply contDiff_iff_contDiffAt.mpr |
| 168 | intro w |
| 169 | by_cases hw : w ∈ U |
| 170 | · exact χ.smooth.contDiffAt.mul (hf.contDiffAt (hU.mem_nhds hw)) |
| 171 | · have he : F =ᶠ[𝓝 w] (fun _ => 0) := by |
| 172 | filter_upwards [χ.zero_near w hw] with v hv |
| 173 | simp [F, hv] |
| 174 | exact contDiffAt_const.congr_of_eventuallyEq he |
| 175 | refine ⟨F, hF, fun w hw => ?_⟩ |
| 176 | filter_upwards [χ.open_neighborhood.mem_nhds (χ.contains hw)] with v hv |
| 177 | simp [F, χ.one_on v hv] |
| 178 | |
| 179 | end Monomials |
| 180 | |
| 181 | section CartesianMonomials |
| 182 | |
| 183 | open ProblemStatement |
| 184 | |
| 185 | noncomputable def cartesianMonomial (h b : ℝ) (f : Inner → ℝ) (z : SpaceTime) : ℝ := |
| 186 | SimilarityProfile.pullback h b f (AxisymmetricFields.profilePoint z.1 z.2) |
| 187 | |
| 188 | theorem cartesianMonomial_smoothAt {h b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 189 | {f : Inner → ℝ} {z : SpaceTime} (ht : z.1 < 1) |
| 190 | (hf : ContDiffAt ℝ ∞ f (cartesianChart h z).2) : |
| 191 | ContDiffAt ℝ ∞ (cartesianMonomial h b f) z := |
| 192 | (SimilarityProfile.pullback_smoothAt hh hh1 ht hf).comp z |
| 193 | AxisymmetricFields.contDiff_profilePoint.contDiffAt |
| 194 | |
| 195 | theorem physical_monomial_finite_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 196 | {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) (b lo hi : ℝ) (M : ℕ) : |
| 197 | ∃ C : ℝ, 0 < C ∧ ∀ p : Chart, p.1 < 1 → (physicalChart h p).1 ≤ 1 → |
| 198 | (physicalChart h p).2.1 ∈ Icc lo hi → ∀ m ≤ M, |
| 199 | ‖iteratedFDeriv ℝ m (SimilarityProfile.pullback h b f) p‖ ≤ |
| 200 | C * (physicalChart h p).1 ^ (b - M) := by |
| 201 | classical |
| 202 | choose A hA hAb using fun m => physical_monomial_bound hh hh1 hf b lo hi 1 m |
| 203 | let C := 1 + ∑ i ∈ Finset.range (M + 1), A i |
| 204 | have hC : 0 < C := by |
| 205 | dsimp [C] |
| 206 | exact add_pos_of_pos_of_nonneg zero_lt_one (Finset.sum_nonneg (fun i _ => (hA i).le)) |
| 207 | refine ⟨C, hC, fun p hp hq hX m hm => ?_⟩ |
| 208 | have hAm : A m ≤ C := by |
| 209 | have hs := Finset.single_le_sum (fun i (_ : i ∈ Finset.range (M + 1)) => (hA i).le) |
| 210 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hm)) |
| 211 | dsimp [C] |
| 212 | linarith |
| 213 | have hqm := Real.rpow_le_rpow_of_exponent_ge (physicalChart_positive hh hh1 hp) hq |
| 214 | (show b - (M : ℝ) ≤ b - m by exact sub_le_sub_left (by exact_mod_cast hm) b) |
| 215 | exact (hAb m p hp hq hX).trans (mul_le_mul hAm hqm |
| 216 | (Real.rpow_nonneg (physicalChart_positive hh hh1 hp).le _) hC.le) |
| 217 | |
| 218 | /-- On a fixed compact Cartesian set, polynomial reconstruction from squared |
| 219 | radius adds a constant but no further loss of powers. -/ |
| 220 | theorem cartesian_monomial_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 221 | {f : Inner → ℝ} (hf : ContDiff ℝ ∞ f) (b lo hi : ℝ) |
| 222 | {K : Set SpaceTime} (hK : IsCompact K) (m : ℕ) : |
| 223 | ∃ C : ℝ, 0 < C ∧ ∀ z ∈ K, z.1 < 1 → (cartesianChart h z).1 ≤ 1 → |
| 224 | (cartesianChart h z).2.1 ∈ Icc lo hi → |
| 225 | ‖iteratedFDeriv ℝ m (cartesianMonomial h b f) z‖ ≤ |
| 226 | C * (cartesianChart h z).1 ^ (b - m) := by |
| 227 | obtain ⟨A, hA, hAb⟩ := physical_monomial_finite_bound hh hh1 hf b lo hi m |
| 228 | let G : SpaceTime → Chart := fun z => AxisymmetricFields.profilePoint z.1 z.2 |
| 229 | have hG : ContDiff ℝ ∞ G := AxisymmetricFields.contDiff_profilePoint |
| 230 | obtain ⟨D, hD, hDb⟩ := compact_map_finite_bound hG hK m |
| 231 | have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD |
| 232 | refine ⟨(m.factorial : ℝ) * A * D ^ m, by positivity, ?_⟩ |
| 233 | intro z hz ht hq hX |
| 234 | have hU : IsOpen {p : Chart | p.1 < 1} := isOpen_lt continuous_fst continuous_const |
| 235 | have hS : IsOpen {p : SpaceTime | p.1 < 1} := isOpen_lt continuous_fst continuous_const |
| 236 | have hF : ContDiffOn ℝ ∞ (SimilarityProfile.pullback h b f) {p | p.1 < 1} := |
| 237 | fun p hp => (SimilarityProfile.pullback_smoothAt hh hh1 hp hf.contDiffAt).contDiffWithinAt |
| 238 | have hc := norm_iteratedFDerivWithin_comp_le hF hG.contDiffOn |
| 239 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) hU.uniqueDiffOn hS.uniqueDiffOn |
| 240 | (show MapsTo G {p | p.1 < 1} {p | p.1 < 1} from fun _ hp => hp) ht |
| 241 | (C := A * (cartesianChart h z).1 ^ (b - m)) (D := D) |
| 242 | (fun i hi => by |
| 243 | rw [iteratedFDerivWithin_of_isOpen i hU ht] |
| 244 | exact hAb (G z) ht hq hX i hi) |
| 245 | (fun i hi him => by |
| 246 | rw [iteratedFDerivWithin_of_isOpen i hS ht] |
| 247 | exact hDb z hz i hi him) |
| 248 | rw [iteratedFDerivWithin_of_isOpen m hS ht] at hc |
| 249 | exact hc.trans_eq (by ring) |
| 250 | |
| 251 | theorem cartesian_monomial_bound_on {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 252 | {U K : Set Inner} (hU : IsOpen U) (hK : IsCompact K) (hKU : K ⊆ U) |
| 253 | {f : Inner → ℝ} (hf : ContDiffOn ℝ ∞ f U) (b lo hi : ℝ) |
| 254 | {B : Set SpaceTime} (hB : IsCompact B) (m : ℕ) : |
| 255 | ∃ C : ℝ, 0 < C ∧ ∀ z ∈ B, z.1 < 1 → (cartesianChart h z).1 ≤ 1 → |
| 256 | (cartesianChart h z).2.1 ∈ Icc lo hi → (cartesianChart h z).2 ∈ K → |
| 257 | ‖iteratedFDeriv ℝ m (cartesianMonomial h b f) z‖ ≤ |
| 258 | C * (cartesianChart h z).1 ^ (b - m) := by |
| 259 | obtain ⟨F, hF, hFe⟩ := exists_local_coefficient_extension hU hK hKU hf |
| 260 | obtain ⟨C, hC, hb⟩ := cartesian_monomial_bound hh hh1 hF b lo hi hB m |
| 261 | refine ⟨C, hC, fun z hz ht hq hX hw => ?_⟩ |
| 262 | have he : cartesianMonomial h b f =ᶠ[𝓝 z] cartesianMonomial h b F := by |
| 263 | have hg := (physicalChart_smoothAt hh hh1 ht).snd.comp z |
| 264 | AxisymmetricFields.contDiff_profilePoint.contDiffAt |
| 265 | filter_upwards [(hFe _ hw).comp_tendsto hg.continuousAt] with y hy |
| 266 | exact congrArg (fun v => (cartesianChart h y).1 ^ b * v) hy |
| 267 | rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq he m).self_of_nhds] |
| 268 | exact hb z hz ht hq hX |
| 269 | |
| 270 | theorem norm_jet_sum_le {D V : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 271 | [NormedAddCommGroup V] [NormedSpace ℝ V] {ι : Type*} (s : Finset ι) |
| 272 | (f : ι → D → V) {x : D} (hf : ∀ i ∈ s, ContDiffAt ℝ ∞ (f i) x) (m : ℕ) : |
| 273 | ‖iteratedFDeriv ℝ m (fun y => ∑ i ∈ s, f i y) x‖ ≤ |
| 274 | ∑ i ∈ s, ‖iteratedFDeriv ℝ m (f i) x‖ := by |
| 275 | have hs : ∀ i ∈ s, ContDiffWithinAt ℝ m (f i) univ x := |
| 276 | fun i hi => ((hf i hi).of_le (nat_le_infty m)).contDiffWithinAt |
| 277 | have he := iteratedFDerivWithin_fun_sum_apply uniqueDiffOn_univ (mem_univ x) hs |
| 278 | simp only [iteratedFDerivWithin_univ] at he |
| 279 | rw [he] |
| 280 | exact norm_sum_le _ _ |
| 281 | |
| 282 | /-- A finite family of genuine local coefficient functions yields the |
| 283 | expected power bound for every actual Cartesian jet of its sum. -/ |
| 284 | theorem cartesian_finite_monomials_bound {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 285 | {U K : Set Inner} (hU : IsOpen U) (hK : IsCompact K) (hKU : K ⊆ U) |
| 286 | {ι : Type*} [Fintype ι] (f : ι → Inner → ℝ) (hf : ∀ i, ContDiffOn ℝ ∞ (f i) U) |
| 287 | (b : ι → ℝ) (bmin lo hi : ℝ) (hmin : ∀ i, bmin ≤ b i) |
| 288 | {B : Set SpaceTime} (hB : IsCompact B) (m : ℕ) : |
| 289 | ∃ C : ℝ, 0 < C ∧ ∀ z ∈ B, z.1 < 1 → (cartesianChart h z).1 ≤ 1 → |
| 290 | (cartesianChart h z).2.1 ∈ Icc lo hi → (cartesianChart h z).2 ∈ K → |
| 291 | ‖iteratedFDeriv ℝ m (fun y => ∑ i, cartesianMonomial h (b i) (f i) y) z‖ ≤ |
| 292 | C * (cartesianChart h z).1 ^ (bmin - m) := by |
| 293 | classical |
| 294 | choose A hA hAb using fun i => cartesian_monomial_bound_on hh hh1 hU hK hKU |
| 295 | (hf i) (b i) lo hi hB m |
| 296 | refine ⟨1 + ∑ i, A i, add_pos_of_pos_of_nonneg zero_lt_one |
| 297 | (Finset.sum_nonneg (fun i _ => (hA i).le)), ?_⟩ |
| 298 | intro z hz ht hq hX hw |
| 299 | have hqp : 0 < (cartesianChart h z).1 := physicalChart_positive hh hh1 ht |
| 300 | calc |
| 301 | _ ≤ ∑ i, ‖iteratedFDeriv ℝ m (cartesianMonomial h (b i) (f i)) z‖ := |
| 302 | norm_jet_sum_le Finset.univ _ (fun i _ => cartesianMonomial_smoothAt hh hh1 ht |
| 303 | ((hf i).contDiffAt (hU.mem_nhds (hKU hw)))) m |
| 304 | _ ≤ ∑ i, A i * (cartesianChart h z).1 ^ (bmin - m) := by |
| 305 | apply Finset.sum_le_sum |
| 306 | intro i _ |
| 307 | exact (hAb i z hz ht hq hX hw).trans (mul_le_mul_of_nonneg_left |
| 308 | (Real.rpow_le_rpow_of_exponent_ge hqp hq (sub_le_sub_right (hmin i) _)) (hA i).le) |
| 309 | _ = (∑ i, A i) * (cartesianChart h z).1 ^ (bmin - m) := by rw [Finset.sum_mul] |
| 310 | _ ≤ _ := mul_le_mul_of_nonneg_right (by linarith) (Real.rpow_nonneg hqp.le _) |
| 311 | |
| 312 | end CartesianMonomials |
| 313 | |
| 314 | section FixedPrefixRates |
| 315 | |
| 316 | open ProblemStatement DiagonalResidual |
| 317 | |
| 318 | /-- The filter carries only geometric information: bounded physical |
| 319 | coordinates, a fixed inner radial window, and scale tending to zero. -/ |
| 320 | structure PhysicalApproach (l : Filter SpaceTime) (h lo hi : ℝ) where |
| 321 | carrier : Set SpaceTime |
| 322 | compact : IsCompact carrier |
| 323 | in_carrier : ∀ᶠ z in l, z ∈ carrier |
| 324 | past : ∀ᶠ z in l, z.1 < 1 |
| 325 | radial : ∀ᶠ z in l, (cartesianChart h z).2.1 ∈ Icc lo hi |
| 326 | scale : Tendsto (fun z => (cartesianChart h z).1) l (𝓝 0) |
| 327 | |
| 328 | theorem PhysicalApproach.small {l : Filter SpaceTime} {h lo hi : ℝ} |
| 329 | (A : PhysicalApproach l h lo hi) {δ : ℝ} (hδ : 0 < δ) : |
| 330 | ∀ᶠ z in l, (cartesianChart h z).1 < δ := |
| 331 | A.scale.eventually (gt_mem_nhds hδ) |
| 332 | |
| 333 | theorem PhysicalApproach.positive_small {l : Filter SpaceTime} {h lo hi : ℝ} |
| 334 | (A : PhysicalApproach l h lo hi) (hh : 0 < h) (hh1 : h < 1 / 2) : |
| 335 | ∀ᶠ z in l, 0 < (cartesianChart h z).1 ∧ (cartesianChart h z).1 ≤ 1 := by |
| 336 | filter_upwards [A.past, A.small zero_lt_one] with z ht hq |
| 337 | exact ⟨physicalChart_positive hh hh1 ht, hq.le⟩ |
| 338 | |
| 339 | theorem cartesian_fixed_prefix_bound {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 340 | {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 341 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) |
| 342 | (ha : AdmissibleScales h f (innerBox lo hi) a) |
| 343 | {K : Set SpaceTime} (hK : IsCompact K) (J m : ℕ) (hm : m ≤ J + 3) : |
| 344 | ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ ∀ z ∈ K, z.1 < 1 → |
| 345 | (cartesianChart h z).1 < δ → (cartesianChart h z).2.1 ∈ Icc lo hi → |
| 346 | ‖iteratedFDeriv ℝ m |
| 347 | (fun y => cartesianProfile a h b f y - cartesianUncutPrefix h b f J y) z‖ ≤ |
| 348 | C * (cartesianChart h z).1 ^ (h * (J + 1) + b - 2 * m) := by |
| 349 | obtain ⟨δ, C, hδ, hC, hb⟩ := powered_fixed_prefix_bound hh hh1 hf lo hi b ha J m hm |
| 350 | let G : SpaceTime → Chart := fun z => AxisymmetricFields.profilePoint z.1 z.2 |
| 351 | have hG : ContDiff ℝ ∞ G := AxisymmetricFields.contDiff_profilePoint |
| 352 | obtain ⟨D, hD, hDb⟩ := compact_map_finite_bound hG hK m |
| 353 | have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD |
| 354 | refine ⟨δ, (m.factorial : ℝ) * C * D ^ m, hδ, by positivity, ?_⟩ |
| 355 | intro z hz ht hq hX |
| 356 | let F : Chart → V := fun p => physicalProfile a h b f p - physicalUncutPrefix h b f J p |
| 357 | have hU : IsOpen {p : Chart | p.1 < 1} := isOpen_lt continuous_fst continuous_const |
| 358 | have hS : IsOpen {p : SpaceTime | p.1 < 1} := isOpen_lt continuous_fst continuous_const |
| 359 | have hF : ContDiffOn ℝ ∞ F {p | p.1 < 1} := by |
| 360 | intro p hp |
| 361 | exact ((physicalProfile_smoothAt ha.strictMono hh hh1 hf b hp).sub |
| 362 | (physicalUncutPrefix_smoothAt hh hh1 hf b J hp)).contDiffWithinAt |
| 363 | have hc := norm_iteratedFDerivWithin_comp_le hF hG.contDiffOn |
| 364 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) hU.uniqueDiffOn hS.uniqueDiffOn |
| 365 | (show MapsTo G {p | p.1 < 1} {p | p.1 < 1} from fun _ hp => hp) ht |
| 366 | (C := C * (cartesianChart h z).1 ^ (h * (J + 1) + b - 2 * m)) (D := D) |
| 367 | (fun i hi => by |
| 368 | rw [iteratedFDerivWithin_of_isOpen i hU ht] |
| 369 | exact hb i hi (G z) ht hq hX) |
| 370 | (fun i hi him => by |
| 371 | rw [iteratedFDerivWithin_of_isOpen i hS ht] |
| 372 | exact hDb z hz i hi him) |
| 373 | rw [iteratedFDerivWithin_of_isOpen m hS ht] at hc |
| 374 | exact hc.trans_eq (by ring) |
| 375 | |
| 376 | theorem cartesian_prefix_finiteJetRate |
| 377 | {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 378 | {l : Filter SpaceTime} {a : ℕ → ℕ} {h lo hi : ℝ} |
| 379 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 380 | {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) |
| 381 | (ha : AdmissibleScales h f (innerBox lo hi) a) |
| 382 | (J M : ℕ) (hM : M ≤ J + 3) : |
| 383 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 384 | (fun z => cartesianProfile a h b f z - cartesianUncutPrefix h b f J z) |
| 385 | M (h * (J + 1) + b - 2 * M) := by |
| 386 | apply finiteJetRate_of_jetRate ((A.positive_small hh hh1).mono (fun _ hx => hx.1)) |
| 387 | intro m hm |
| 388 | obtain ⟨δ, C, hδ, hC, hb⟩ := cartesian_fixed_prefix_bound hh hh1 hf lo hi b ha A.compact |
| 389 | J m (hm.trans hM) |
| 390 | have hr : JetRate l (fun z => (cartesianChart h z).1) |
| 391 | (fun z => cartesianProfile a h b f z - cartesianUncutPrefix h b f J z) |
| 392 | m (h * (J + 1) + b - 2 * m) := by |
| 393 | refine ⟨C, hC.le, ?_⟩ |
| 394 | filter_upwards [A.in_carrier, A.past, A.radial, A.small hδ] with z hz ht hX hq |
| 395 | exact hb z hz ht hq hX |
| 396 | apply hr.weaken (A.positive_small hh hh1) |
| 397 | have hmR : (m : ℝ) ≤ M := by exact_mod_cast hm |
| 398 | linarith |
| 399 | |
| 400 | end FixedPrefixRates |
| 401 | |
| 402 | section RateAlgebra |
| 403 | |
| 404 | open DiagonalResidual |
| 405 | |
| 406 | variable {D E F G : Type} |
| 407 | [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 408 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 409 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 410 | [NormedAddCommGroup G] [NormedSpace ℝ G] |
| 411 | |
| 412 | theorem finiteRate_at {l : Filter D} {q : D → ℝ} {f : D → E} {M m : ℕ} {r : ℝ} |
| 413 | (hf : FiniteJetRate l q f M r) (hm : m ≤ M) : JetRate l q f m r := by |
| 414 | obtain ⟨C, hC, hb⟩ := hf |
| 415 | exact ⟨C, hC, hb.mono (fun _ hx => hx m hm)⟩ |
| 416 | |
| 417 | theorem finiteRate_weaken {l : Filter D} {q : D → ℝ} {f : D → E} {M : ℕ} {r s : ℝ} |
| 418 | (hf : FiniteJetRate l q f M r) (hq : ∀ᶠ x in l, 0 < q x ∧ q x ≤ 1) (hsr : s ≤ r) : |
| 419 | FiniteJetRate l q f M s := by |
| 420 | apply finiteJetRate_of_jetRate (hq.mono (fun _ hx => hx.1)) |
| 421 | intro m hm |
| 422 | exact (finiteRate_at hf hm).weaken hq hsr |
| 423 | |
| 424 | theorem finiteRate_congr_on {l : Filter D} {q : D → ℝ} {f g : D → E} {M : ℕ} {r : ℝ} |
| 425 | {U : Set D} (hf : FiniteJetRate l q f M r) (hU : IsOpen U) |
| 426 | (hlU : ∀ᶠ x in l, x ∈ U) (hfg : EqOn f g U) : FiniteJetRate l q g M r := by |
| 427 | obtain ⟨C, hC, hb⟩ := hf |
| 428 | refine ⟨C, hC, ?_⟩ |
| 429 | filter_upwards [hlU, hb] with x hx hbx |
| 430 | intro m hm |
| 431 | rw [← ResidualStability.iteratedFDeriv_eqOn hU hfg m hx] |
| 432 | exact hbx m hm |
| 433 | |
| 434 | theorem finiteRate_linear {l : Filter D} {q : D → ℝ} {f : D → E} {M : ℕ} {r : ℝ} |
| 435 | {U : Set D} (hf : FiniteJetRate l q f M r) (hU : IsOpen U) |
| 436 | (hlU : ∀ᶠ x in l, x ∈ U) (hs : ContDiffOn ℝ ∞ f U) (L : E →L[ℝ] F) : |
| 437 | FiniteJetRate l q (fun x => L (f x)) M r := by |
| 438 | obtain ⟨C, hC, hb⟩ := hf |
| 439 | refine ⟨‖L‖ * C, mul_nonneg (norm_nonneg _) hC, ?_⟩ |
| 440 | filter_upwards [hlU, hb] with x hx hbx |
| 441 | intro m hm |
| 442 | exact (ResidualStability.norm_jet_linear_map L hU hs hx m).trans |
| 443 | ((mul_le_mul_of_nonneg_left (hbx m hm) (norm_nonneg L)).trans_eq (by ring)) |
| 444 | |
| 445 | theorem finiteRate_add {l : Filter D} {q : D → ℝ} {f g : D → E} {M : ℕ} {r : ℝ} |
| 446 | {U : Set D} (hf : FiniteJetRate l q f M r) (hg : FiniteJetRate l q g M r) |
| 447 | (hU : IsOpen U) (hlU : ∀ᶠ x in l, x ∈ U) |
| 448 | (hsf : ContDiffOn ℝ ∞ f U) (hsg : ContDiffOn ℝ ∞ g U) : |
| 449 | FiniteJetRate l q (fun x => f x + g x) M r := by |
| 450 | obtain ⟨A, hA, ha⟩ := hf |
| 451 | obtain ⟨B, hB, hb⟩ := hg |
| 452 | refine ⟨A + B, add_nonneg hA hB, ?_⟩ |
| 453 | filter_upwards [hlU, ha, hb] with x hx hax hbx |
| 454 | intro m hm |
| 455 | exact (ResidualStability.norm_jet_add_le hU hsf hsg hx m).trans |
| 456 | ((add_le_add (hax m hm) (hbx m hm)).trans_eq (by ring)) |
| 457 | |
| 458 | theorem finiteRate_bilinear {l : Filter D} {q : D → ℝ} {f : D → E} {g : D → F} |
| 459 | {M : ℕ} {r s : ℝ} {U : Set D} |
| 460 | (hf : FiniteJetRate l q f M r) (hg : FiniteJetRate l q g M s) |
| 461 | (hU : IsOpen U) (hlU : ∀ᶠ x in l, x ∈ U) (hq : ∀ᶠ x in l, 0 < q x) |
| 462 | (hsf : ContDiffOn ℝ ∞ f U) (hsg : ContDiffOn ℝ ∞ g U) |
| 463 | (L : E →L[ℝ] F →L[ℝ] G) : |
| 464 | FiniteJetRate l q (fun x => L (f x) (g x)) M (r + s) := by |
| 465 | obtain ⟨A, hA, ha⟩ := hf |
| 466 | obtain ⟨B, hB, hb⟩ := hg |
| 467 | refine ⟨‖L‖ * (2 : ℝ) ^ M * A * B, by positivity, ?_⟩ |
| 468 | filter_upwards [hlU, hq, ha, hb] with x hx hqx hax hbx |
| 469 | intro m hm |
| 470 | calc |
| 471 | _ ≤ ‖L‖ * (2 : ℝ) ^ m * (A * q x ^ r) * (B * q x ^ s) := |
| 472 | ResidualStability.norm_jet_bilinear_bound L hU hsf hsg hx m |
| 473 | (fun k hk => hax k (hk.trans hm)) (fun k hk => hbx k (hk.trans hm)) |
| 474 | _ ≤ ‖L‖ * (2 : ℝ) ^ M * (A * q x ^ r) * (B * q x ^ s) := by |
| 475 | gcongr |
| 476 | norm_num |
| 477 | _ = (‖L‖ * (2 : ℝ) ^ M * A * B) * q x ^ (r + s) := by |
| 478 | rw [Real.rpow_add hqx] |
| 479 | ring |
| 480 | |
| 481 | theorem finiteRate_fderiv {l : Filter D} {q : D → ℝ} {f : D → E} {M : ℕ} {r : ℝ} |
| 482 | (hf : FiniteJetRate l q f (M + 1) r) : |
| 483 | FiniteJetRate l q (fderiv ℝ f) M r := by |
| 484 | obtain ⟨C, hC, hb⟩ := hf |
| 485 | refine ⟨C, hC, hb.mono ?_⟩ |
| 486 | intro x hx m hm |
| 487 | rw [norm_iteratedFDeriv_fderiv] |
| 488 | exact hx (m + 1) (Nat.add_le_add_right hm 1) |
| 489 | |
| 490 | theorem finiteRate_compact {l : Filter D} {q : D → ℝ} {f : D → E} |
| 491 | {K : Set D} (hf : ContDiff ℝ ∞ f) (hK : IsCompact K) |
| 492 | (hlK : ∀ᶠ x in l, x ∈ K) (M : ℕ) : FiniteJetRate l q f M 0 := by |
| 493 | classical |
| 494 | have hb0 (m : ℕ) : ∃ C : ℝ, 1 ≤ C ∧ ∀ x ∈ K, ‖iteratedFDeriv ℝ m f x‖ ≤ C := |
| 495 | compact_jet_bound (F := f) isOpen_univ hf.contDiffOn hK (subset_univ K) m |
| 496 | choose A hA hAb using hb0 |
| 497 | let C := ∑ i ∈ Finset.range (M + 1), A i |
| 498 | have hC : 0 ≤ C := Finset.sum_nonneg (fun i _ => zero_le_one.trans (hA i)) |
| 499 | refine ⟨C, hC, hlK.mono ?_⟩ |
| 500 | intro x hx m hm |
| 501 | simp only [Real.rpow_zero, mul_one] |
| 502 | exact (hAb m x hx).trans (Finset.single_le_sum |
| 503 | (fun i (_ : i ∈ Finset.range (M + 1)) => zero_le_one.trans (hA i)) |
| 504 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hm))) |
| 505 | |
| 506 | end RateAlgebra |
| 507 | |
| 508 | section PotentialRates |
| 509 | |
| 510 | open ProblemStatement DiagonalResidual |
| 511 | |
| 512 | noncomputable def past : Set SpaceTime := Iio 1 ×ˢ univ |
| 513 | noncomputable def profilePast : Set Chart := Iio 1 ×ˢ univ |
| 514 | |
| 515 | theorem past_isOpen : IsOpen past := isOpen_Iio.prod isOpen_univ |
| 516 | theorem profilePast_isOpen : IsOpen profilePast := isOpen_Iio.prod isOpen_univ |
| 517 | |
| 518 | noncomputable def potentialFromScalars (H K : SpaceTime → ℝ) (z : SpaceTime) : Space := |
| 519 | (-(1 / 2 : ℝ) * z.2 1 * H z) • coordinateVector 0 + |
| 520 | ((1 / 2 : ℝ) * z.2 0 * H z) • coordinateVector 1 + K z • coordinateVector 2 |
| 521 | |
| 522 | noncomputable def basisInjection (i : Fin 3) : ℝ →L[ℝ] Space := |
| 523 | (ContinuousLinearMap.id ℝ ℝ).smulRight (coordinateVector i) |
| 524 | |
| 525 | theorem potentialFromScalars_smooth {H K : SpaceTime → ℝ} {U : Set SpaceTime} |
| 526 | (hH : ContDiffOn ℝ ∞ H U) (hK : ContDiffOn ℝ ∞ K U) : |
| 527 | ContDiffOn ℝ ∞ (potentialFromScalars H K) U := by |
| 528 | have h0 : ContDiff ℝ ∞ (fun z : SpaceTime => (-(1 / 2 : ℝ)) * z.2 1) := |
| 529 | contDiff_const.mul ((AxisymmetricFields.projection 1).contDiff.comp contDiff_snd) |
| 530 | have h1 : ContDiff ℝ ∞ (fun z : SpaceTime => (1 / 2 : ℝ) * z.2 0) := |
| 531 | contDiff_const.mul ((AxisymmetricFields.projection 0).contDiff.comp contDiff_snd) |
| 532 | exact (((h0.contDiffOn.mul hH).smul contDiffOn_const).add |
| 533 | ((h1.contDiffOn.mul hH).smul contDiffOn_const)).add (hK.smul contDiffOn_const) |
| 534 | |
| 535 | theorem potentialFromScalars_sub (H K H' K' : SpaceTime → ℝ) : |
| 536 | (fun z => potentialFromScalars H K z - potentialFromScalars H' K' z) = |
| 537 | potentialFromScalars (fun z => H z - H' z) (fun z => K z - K' z) := by |
| 538 | funext z |
| 539 | simp only [potentialFromScalars, mul_sub, sub_smul] |
| 540 | abel |
| 541 | |
| 542 | theorem potential_eq_scalars (H K : Chart → ℝ) : |
| 543 | AxisymmetricFields.potential H K = |
| 544 | potentialFromScalars (fun z => H (AxisymmetricFields.profilePoint z.1 z.2)) |
| 545 | (fun z => K (AxisymmetricFields.profilePoint z.1 z.2)) := by |
| 546 | funext z |
| 547 | simp only [AxisymmetricFields.potential, potentialFromScalars, mul_assoc] |
| 548 | |
| 549 | theorem potentialFromScalars_rate {l : Filter SpaceTime} {q : SpaceTime → ℝ} |
| 550 | {H K : SpaceTime → ℝ} {U B : Set SpaceTime} {M : ℕ} {r : ℝ} |
| 551 | (hU : IsOpen U) (hlU : ∀ᶠ z in l, z ∈ U) (hq : ∀ᶠ z in l, 0 < q z) |
| 552 | (hB : IsCompact B) (hlB : ∀ᶠ z in l, z ∈ B) |
| 553 | (hH : ContDiffOn ℝ ∞ H U) (hK : ContDiffOn ℝ ∞ K U) |
| 554 | (hrH : FiniteJetRate l q H M r) (hrK : FiniteJetRate l q K M r) : |
| 555 | FiniteJetRate l q (potentialFromScalars H K) M r := by |
| 556 | let c0 : SpaceTime → ℝ := fun z => (-(1 / 2 : ℝ)) * z.2 1 |
| 557 | let c1 : SpaceTime → ℝ := fun z => (1 / 2 : ℝ) * z.2 0 |
| 558 | have hc0 : ContDiff ℝ ∞ c0 := |
| 559 | contDiff_const.mul ((AxisymmetricFields.projection 1).contDiff.comp contDiff_snd) |
| 560 | have hc1 : ContDiff ℝ ∞ c1 := |
| 561 | contDiff_const.mul ((AxisymmetricFields.projection 0).contDiff.comp contDiff_snd) |
| 562 | have hr0 := finiteRate_bilinear (finiteRate_compact (q := q) hc0 hB hlB M) hrH |
| 563 | hU hlU hq hc0.contDiffOn hH (ContinuousLinearMap.mul ℝ ℝ) |
| 564 | have hr1 := finiteRate_bilinear (finiteRate_compact (q := q) hc1 hB hlB M) hrH |
| 565 | hU hlU hq hc1.contDiffOn hH (ContinuousLinearMap.mul ℝ ℝ) |
| 566 | simp only [zero_add] at hr0 hr1 |
| 567 | have ha := finiteRate_linear hr0 hU hlU (hc0.contDiffOn.mul hH) (basisInjection 0) |
| 568 | have hb := finiteRate_linear hr1 hU hlU (hc1.contDiffOn.mul hH) (basisInjection 1) |
| 569 | have hc := finiteRate_linear hrK hU hlU hK (basisInjection 2) |
| 570 | exact finiteRate_add (finiteRate_add ha hb hU hlU |
| 571 | ((hc0.contDiffOn.mul hH).smul contDiffOn_const) |
| 572 | ((hc1.contDiffOn.mul hH).smul contDiffOn_const)) hc hU hlU |
| 573 | (((hc0.contDiffOn.mul hH).smul contDiffOn_const).add |
| 574 | ((hc1.contDiffOn.mul hH).smul contDiffOn_const)) (hK.smul contDiffOn_const) |
| 575 | |
| 576 | noncomputable def prefixStream (J : ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 577 | physicalUncutPrefix h (-CoordinateAlgebra.A h) (bundleComponent C d 0) J |
| 578 | |
| 579 | noncomputable def prefixSwirl (J : ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 580 | physicalUncutPrefix h (1 / 2 - CoordinateAlgebra.A h) (bundleComponent C d 1) J |
| 581 | |
| 582 | noncomputable def prefixPotential (J : ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 583 | AxisymmetricFields.potential (prefixStream J h C d) (prefixSwirl J h C d) |
| 584 | |
| 585 | noncomputable def summedPotential (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 586 | AxisymmetricFields.potential (streamFactor a h C d) (swirlPotential a h C d) |
| 587 | |
| 588 | noncomputable def prefixVelocity (J : ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 589 | SpatialCurl.spatialCurl (prefixPotential J h C d) |
| 590 | |
| 591 | noncomputable def prefixPressure (J : ℕ) (h C : ℝ) (d : Coefficients) : PressureField := |
| 592 | cartesianUncutPrefix h (-2 * CoordinateAlgebra.A h) (bundleComponent C d 2) J |
| 593 | |
| 594 | theorem cartesianProfile_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h b : ℝ} |
| 595 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → ℝ} |
| 596 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) : ContDiffOn ℝ ∞ (cartesianProfile a h b f) past := by |
| 597 | intro z hz |
| 598 | exact ((physicalProfile_smoothAt ha hh hh1 hf b |
| 599 | (p := AxisymmetricFields.profilePoint z.1 z.2) hz.1).comp z |
| 600 | AxisymmetricFields.contDiff_profilePoint.contDiffAt).contDiffWithinAt |
| 601 | |
| 602 | theorem cartesianUncutPrefix_smooth {h b : ℝ} |
| 603 | (hh : 0 < h) (hh1 : h < 1 / 2) {f : ℕ → Inner → ℝ} |
| 604 | (hf : ∀ j, ContDiff ℝ ∞ (f j)) (J : ℕ) : |
| 605 | ContDiffOn ℝ ∞ (cartesianUncutPrefix h b f J) past := by |
| 606 | intro z hz |
| 607 | exact ((physicalUncutPrefix_smoothAt hh hh1 hf b J |
| 608 | (p := AxisymmetricFields.profilePoint z.1 z.2) hz.1).comp z |
| 609 | AxisymmetricFields.contDiff_profilePoint.contDiffAt).contDiffWithinAt |
| 610 | |
| 611 | theorem summedPotential_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 612 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) (C : ℝ) : |
| 613 | ContDiffOn ℝ ∞ (summedPotential a h C d) past := by |
| 614 | rw [summedPotential, potential_eq_scalars] |
| 615 | exact potentialFromScalars_smooth |
| 616 | (cartesianProfile_smooth (b := -CoordinateAlgebra.A h) ha hh hh1 (bundleComponent_smooth hd C 0)) |
| 617 | (cartesianProfile_smooth (b := 1 / 2 - CoordinateAlgebra.A h) ha hh hh1 |
| 618 | (bundleComponent_smooth hd C 1)) |
| 619 | |
| 620 | theorem prefixPotential_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 621 | {d : Coefficients} (hd : SmoothCoefficients d) (J : ℕ) (C : ℝ) : |
| 622 | ContDiffOn ℝ ∞ (prefixPotential J h C d) past := by |
| 623 | rw [prefixPotential, potential_eq_scalars] |
| 624 | exact potentialFromScalars_smooth |
| 625 | (cartesianUncutPrefix_smooth (b := -CoordinateAlgebra.A h) hh hh1 (bundleComponent_smooth hd C 0) J) |
| 626 | (cartesianUncutPrefix_smooth (b := 1 / 2 - CoordinateAlgebra.A h) hh hh1 |
| 627 | (bundleComponent_smooth hd C 1) J) |
| 628 | |
| 629 | /-- Both potentials share the same derived cutoff schedule. Their difference |
| 630 | from a fixed prefix has a finite order increasing with the prefix. -/ |
| 631 | theorem potential_prefix_rate {l : Filter SpaceTime} {a : ℕ → ℕ} {h C lo hi : ℝ} |
| 632 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 633 | {d : Coefficients} (hd : SmoothCoefficients d) |
| 634 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a) |
| 635 | (J M : ℕ) (hM : M ≤ J + 3) : |
| 636 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 637 | (fun z => summedPotential a h C d z - prefixPotential J h C d z) |
| 638 | M (h * (J + 1) - CoordinateAlgebra.A h - 2 * M) := by |
| 639 | have hq := A.positive_small hh hh1 |
| 640 | have hp : ∀ᶠ z in l, z ∈ past := A.past.mono (fun z hz => ⟨hz, mem_univ _⟩) |
| 641 | have hH := cartesian_prefix_finiteJetRate hh hh1 A (bundleComponent_smooth hd C 0) |
| 642 | (-CoordinateAlgebra.A h) (admissible_component hd ha 0) J M hM |
| 643 | have hK := cartesian_prefix_finiteJetRate hh hh1 A (bundleComponent_smooth hd C 1) |
| 644 | (1 / 2 - CoordinateAlgebra.A h) (admissible_component hd ha 1) J M hM |
| 645 | have hHs := (cartesianProfile_smooth (b := -CoordinateAlgebra.A h) ha.strictMono hh hh1 |
| 646 | (bundleComponent_smooth hd C 0)).sub |
| 647 | (cartesianUncutPrefix_smooth (b := -CoordinateAlgebra.A h) hh hh1 (bundleComponent_smooth hd C 0) J) |
| 648 | have hKs := (cartesianProfile_smooth (b := 1 / 2 - CoordinateAlgebra.A h) ha.strictMono hh hh1 |
| 649 | (bundleComponent_smooth hd C 1)).sub |
| 650 | (cartesianUncutPrefix_smooth (b := 1 / 2 - CoordinateAlgebra.A h) hh hh1 |
| 651 | (bundleComponent_smooth hd C 1) J) |
| 652 | have hr := potentialFromScalars_rate past_isOpen hp (hq.mono (fun _ hz => hz.1)) |
| 653 | A.compact A.in_carrier hHs hKs hH |
| 654 | (finiteRate_weaken hK hq (show h * (J + 1) + -CoordinateAlgebra.A h - 2 * M ≤ |
| 655 | h * (J + 1) + (1 / 2 - CoordinateAlgebra.A h) - 2 * M by linarith)) |
| 656 | have he : (fun z => summedPotential a h C d z - prefixPotential J h C d z) = |
| 657 | potentialFromScalars |
| 658 | (fun z => cartesianProfile a h (-CoordinateAlgebra.A h) (bundleComponent C d 0) z - |
| 659 | cartesianUncutPrefix h (-CoordinateAlgebra.A h) (bundleComponent C d 0) J z) |
| 660 | (fun z => cartesianProfile a h (1 / 2 - CoordinateAlgebra.A h) (bundleComponent C d 1) z - |
| 661 | cartesianUncutPrefix h (1 / 2 - CoordinateAlgebra.A h) (bundleComponent C d 1) J z) := by |
| 662 | simp only [summedPotential, prefixPotential, potential_eq_scalars] |
| 663 | exact potentialFromScalars_sub _ _ _ _ |
| 664 | rw [he] |
| 665 | simpa only [sub_eq_add_neg] using hr |
| 666 | |
| 667 | end PotentialRates |
| 668 | |
| 669 | section CurlRates |
| 670 | |
| 671 | open ProblemStatement DiagonalResidual ResidualStability |
| 672 | |
| 673 | theorem spatialCurl_eq_full {F : VelocityField} {z : SpaceTime} |
| 674 | (hF : DifferentiableAt ℝ F z) : |
| 675 | SpatialCurl.spatialCurl F z = |
| 676 | (SpatialCurl.curlLinear.comp (spaceRestriction Space)) (fderiv ℝ F z) := by |
| 677 | unfold SpatialCurl.spatialCurl SpatialCurl.curl |
| 678 | rw [space_fderiv_eq_full hF] |
| 679 | rfl |
| 680 | |
| 681 | theorem spatialCurl_sub {F G : VelocityField} {z : SpaceTime} |
| 682 | (hF : DifferentiableAt ℝ F z) (hG : DifferentiableAt ℝ G z) : |
| 683 | SpatialCurl.spatialCurl (fun y => F y - G y) z = |
| 684 | SpatialCurl.spatialCurl F z - SpatialCurl.spatialCurl G z := by |
| 685 | rw [spatialCurl_eq_full (hF.fun_sub hG), spatialCurl_eq_full hF, spatialCurl_eq_full hG, |
| 686 | fderiv_fun_sub hF hG, map_sub] |
| 687 | |
| 688 | theorem spatialCurl_finiteRate {l : Filter SpaceTime} {q : SpaceTime → ℝ} |
| 689 | {F : VelocityField} {U : Set SpaceTime} {M : ℕ} {r : ℝ} |
| 690 | (hU : IsOpen U) (hlU : ∀ᶠ z in l, z ∈ U) (hF : ContDiffOn ℝ ∞ F U) |
| 691 | (hr : FiniteJetRate l q F (M + 1) r) : |
| 692 | FiniteJetRate l q (SpatialCurl.spatialCurl F) M r := by |
| 693 | have hd := finiteRate_linear (finiteRate_fderiv hr) hU hlU |
| 694 | (hF.fderiv_of_isOpen hU (by simp)) (SpatialCurl.curlLinear.comp (spaceRestriction Space)) |
| 695 | apply finiteRate_congr_on hd hU hlU |
| 696 | intro z hz |
| 697 | exact (spatialCurl_eq_full ((hF.contDiffAt (hU.mem_nhds hz)).differentiableAt (by simp))).symm |
| 698 | |
| 699 | theorem prefixVelocity_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 700 | {d : Coefficients} (hd : SmoothCoefficients d) (J : ℕ) (C : ℝ) : |
| 701 | ContDiffOn ℝ ∞ (prefixVelocity J h C d) past := |
| 702 | SpatialCurl.contDiffOn_spatialCurl (prefixPotential_smooth hh hh1 hd J C) (by simp) |
| 703 | |
| 704 | theorem velocity_prefix_rate {l : Filter SpaceTime} {a : ℕ → ℕ} {h C lo hi : ℝ} |
| 705 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 706 | {d : Coefficients} (hd : SmoothCoefficients d) |
| 707 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a) |
| 708 | (J M : ℕ) (hM : M + 1 ≤ J + 3) : |
| 709 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 710 | (fun z => baseVelocity a h C d z - prefixVelocity J h C d z) |
| 711 | M (h * (J + 1) - CoordinateAlgebra.A h - 2 * (M + 1)) := by |
| 712 | have hp : ∀ᶠ z in l, z ∈ past := A.past.mono (fun _ hz => ⟨hz, mem_univ _⟩) |
| 713 | have hs := summedPotential_smooth ha.strictMono hh hh1 hd C |
| 714 | have hJ := prefixPotential_smooth hh hh1 hd J C |
| 715 | have hr := spatialCurl_finiteRate past_isOpen hp (hs.sub hJ) |
| 716 | (potential_prefix_rate hh hh1 A hd ha J (M + 1) hM) |
| 717 | simp only [Nat.cast_add, Nat.cast_one] at hr |
| 718 | apply finiteRate_congr_on hr past_isOpen hp |
| 719 | intro z hz |
| 720 | exact spatialCurl_sub ((hs.contDiffAt (past_isOpen.mem_nhds hz)).differentiableAt (by simp)) |
| 721 | ((hJ.contDiffAt (past_isOpen.mem_nhds hz)).differentiableAt (by simp)) |
| 722 | |
| 723 | theorem pressure_prefix_rate {l : Filter SpaceTime} {a : ℕ → ℕ} {h C lo hi : ℝ} |
| 724 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 725 | {d : Coefficients} (hd : SmoothCoefficients d) |
| 726 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a) |
| 727 | (J M : ℕ) (hM : M ≤ J + 3) : |
| 728 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 729 | (fun z => basePressure a h C d z - prefixPressure J h C d z) |
| 730 | M (h * (J + 1) - 2 * CoordinateAlgebra.A h - 2 * M) := by |
| 731 | simpa only [basePressure, prefixPressure, cartesianProfile, sub_eq_add_neg, neg_mul] using |
| 732 | cartesian_prefix_finiteJetRate hh hh1 A (bundleComponent_smooth hd C 2) |
| 733 | (-2 * CoordinateAlgebra.A h) (admissible_component hd ha 2) J M hM |
| 734 | |
| 735 | end CurlRates |
| 736 | |
| 737 | section PrefixGrowth |
| 738 | |
| 739 | open ProblemStatement DiagonalResidual SlowExpansionResidual |
| 740 | |
| 741 | theorem cartesianUncutPrefix_eq_sum {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 742 | (b : ℝ) (f : ℕ → Inner → ℝ) (J : ℕ) {z : SpaceTime} (ht : z.1 < 1) : |
| 743 | cartesianUncutPrefix h b f J z = |
| 744 | ∑ i : Fin (J + 1), cartesianMonomial h (b + slowOrder h i) (f i) z := by |
| 745 | unfold cartesianUncutPrefix |
| 746 | rw [physicalUncutPrefix_eq_finiteProfile hh hh1 b f J ht] |
| 747 | exact (Fin.sum_univ_eq_sum_range _ _).symm |
| 748 | |
| 749 | theorem cartesian_prefix_growth {l : Filter SpaceTime} {h lo hi : ℝ} |
| 750 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 751 | {f : ℕ → Inner → ℝ} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) (J M : ℕ) : |
| 752 | FiniteJetRate l (fun z => (cartesianChart h z).1) (cartesianUncutPrefix h b f J) |
| 753 | M (b - M) := by |
| 754 | have hq := A.positive_small hh hh1 |
| 755 | apply finiteJetRate_of_jetRate (hq.mono (fun _ hz => hz.1)) |
| 756 | intro m hm |
| 757 | obtain ⟨C, hC, hb⟩ := cartesian_finite_monomials_bound hh hh1 isOpen_univ |
| 758 | (innerBox_isCompact lo hi) (subset_univ _) (fun i : Fin (J + 1) => f i) |
| 759 | (fun i => (hf i).contDiffOn) (fun i => b + slowOrder h i) b lo hi |
| 760 | (fun i => le_add_of_nonneg_right (by unfold slowOrder; positivity)) A.compact m |
| 761 | have hr : JetRate l (fun z => (cartesianChart h z).1) |
| 762 | (fun z => ∑ i : Fin (J + 1), cartesianMonomial h (b + slowOrder h i) (f i) z) |
| 763 | m (b - m) := by |
| 764 | refine ⟨C, hC.le, ?_⟩ |
| 765 | filter_upwards [A.in_carrier, A.past, A.radial, hq] with z hz ht hX hqz |
| 766 | exact hb z hz ht hqz.2 hX (physicalChart_inner_mem hh hh1 ht hX) |
| 767 | have he := hr.congr_on past_isOpen |
| 768 | (A.past.mono (fun _ ht => ⟨ht, mem_univ _⟩)) |
| 769 | (fun z hz => (cartesianUncutPrefix_eq_sum hh hh1 b f J hz.1).symm) |
| 770 | exact he.weaken hq (sub_le_sub_left (by exact_mod_cast hm) b) |
| 771 | |
| 772 | theorem prefixPotential_growth {l : Filter SpaceTime} {h C lo hi : ℝ} |
| 773 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 774 | {d : Coefficients} (hd : SmoothCoefficients d) (J M : ℕ) : |
| 775 | FiniteJetRate l (fun z => (cartesianChart h z).1) (prefixPotential J h C d) |
| 776 | M (-CoordinateAlgebra.A h - M) := by |
| 777 | have hq := A.positive_small hh hh1 |
| 778 | have hp : ∀ᶠ z in l, z ∈ past := A.past.mono (fun _ ht => ⟨ht, mem_univ _⟩) |
| 779 | have hrH := cartesian_prefix_growth hh hh1 A (bundleComponent_smooth hd C 0) |
| 780 | (-CoordinateAlgebra.A h) J M |
| 781 | have hrK := cartesian_prefix_growth hh hh1 A (bundleComponent_smooth hd C 1) |
| 782 | (1 / 2 - CoordinateAlgebra.A h) J M |
| 783 | have hr := potentialFromScalars_rate past_isOpen hp (hq.mono (fun _ hz => hz.1)) |
| 784 | A.compact A.in_carrier |
| 785 | (cartesianUncutPrefix_smooth (b := -CoordinateAlgebra.A h) hh hh1 (bundleComponent_smooth hd C 0) J) |
| 786 | (cartesianUncutPrefix_smooth (b := 1 / 2 - CoordinateAlgebra.A h) hh hh1 |
| 787 | (bundleComponent_smooth hd C 1) J) hrH (finiteRate_weaken hrK hq (by linarith)) |
| 788 | simp only [prefixPotential, potential_eq_scalars] at hr ⊢ |
| 789 | exact hr |
| 790 | |
| 791 | theorem prefixVelocity_growth {l : Filter SpaceTime} {h C lo hi : ℝ} |
| 792 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 793 | {d : Coefficients} (hd : SmoothCoefficients d) (J M : ℕ) : |
| 794 | FiniteJetRate l (fun z => (cartesianChart h z).1) (prefixVelocity J h C d) |
| 795 | M (-CoordinateAlgebra.A h - (M + 1)) := by |
| 796 | have hp : ∀ᶠ z in l, z ∈ past := A.past.mono (fun _ ht => ⟨ht, mem_univ _⟩) |
| 797 | have hr := prefixPotential_growth (C := C) hh hh1 A hd J (M + 1) |
| 798 | simp only [Nat.cast_add, Nat.cast_one] at hr |
| 799 | exact spatialCurl_finiteRate past_isOpen hp (prefixPotential_smooth hh hh1 hd J C) hr |
| 800 | |
| 801 | end PrefixGrowth |
| 802 | |
| 803 | section ProfileDerivatives |
| 804 | |
| 805 | open ProblemStatement DiagonalResidual |
| 806 | |
| 807 | noncomputable def profileDerivative (v : Chart) (F : Chart → ℝ) (p : Chart) : ℝ := |
| 808 | fderiv ℝ F p v |
| 809 | |
| 810 | noncomputable def cartesianDerivative (v : Chart) (F : Chart → ℝ) (z : SpaceTime) : ℝ := |
| 811 | profileDerivative v F (AxisymmetricFields.profilePoint z.1 z.2) |
| 812 | |
| 813 | theorem profileDerivative_smooth {F : Chart → ℝ} (hF : ContDiffOn ℝ ∞ F profilePast) |
| 814 | (v : Chart) : ContDiffOn ℝ ∞ (profileDerivative v F) profilePast := |
| 815 | (hF.fderiv_of_isOpen profilePast_isOpen (by simp)).clm_apply contDiffOn_const |
| 816 | |
| 817 | theorem cartesianDerivative_smooth {F : Chart → ℝ} (hF : ContDiffOn ℝ ∞ F profilePast) |
| 818 | (v : Chart) : ContDiffOn ℝ ∞ (cartesianDerivative v F) past := |
| 819 | (profileDerivative_smooth hF v).comp AxisymmetricFields.contDiff_profilePoint.contDiffOn |
| 820 | (fun _ hz => ⟨hz.1, mem_univ _⟩) |
| 821 | |
| 822 | /-- A physical derivative of the actual profile remainder is estimated |
| 823 | before the polynomial Cartesian coordinate map is applied. -/ |
| 824 | theorem derivative_fixed_prefix_bound {a : ℕ → ℕ} {h : ℝ} |
| 825 | (hh : 0 < h) (hh1 : h < 1 / 2) |
| 826 | {f : ℕ → Inner → ℝ} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (lo hi b : ℝ) |
| 827 | (ha : AdmissibleScales h f (innerBox lo hi) a) |
| 828 | {K : Set SpaceTime} (hK : IsCompact K) (v : Chart) (J m : ℕ) (hm : m + 1 ≤ J + 3) : |
| 829 | ∃ δ C : ℝ, 0 < δ ∧ 0 < C ∧ ∀ z ∈ K, z.1 < 1 → |
| 830 | (cartesianChart h z).1 < δ → (cartesianChart h z).2.1 ∈ Icc lo hi → |
| 831 | ‖iteratedFDeriv ℝ m (cartesianDerivative v |
| 832 | (fun p => physicalProfile a h b f p - physicalUncutPrefix h b f J p)) z‖ ≤ |
| 833 | C * (cartesianChart h z).1 ^ (h * (J + 1) + b - 2 * (m + 1)) := by |
| 834 | obtain ⟨δ, C, hδ, hC, hb⟩ := powered_fixed_prefix_bound hh hh1 hf lo hi b ha J (m + 1) hm |
| 835 | simp only [Nat.cast_add, Nat.cast_one] at hb |
| 836 | let G : SpaceTime → Chart := fun z => AxisymmetricFields.profilePoint z.1 z.2 |
| 837 | have hG : ContDiff ℝ ∞ G := AxisymmetricFields.contDiff_profilePoint |
| 838 | obtain ⟨D, hD, hDb⟩ := compact_map_finite_bound hG hK m |
| 839 | let L := ContinuousLinearMap.apply ℝ ℝ v |
| 840 | let B := 1 + ‖L‖ * C |
| 841 | have hB : 0 < B := by dsimp [B]; positivity |
| 842 | have hDpos : 0 < D := lt_of_lt_of_le zero_lt_one hD |
| 843 | refine ⟨δ, (m.factorial : ℝ) * B * D ^ m, hδ, by positivity, ?_⟩ |
| 844 | intro z hz ht hq hX |
| 845 | let F : Chart → ℝ := fun p => physicalProfile a h b f p - physicalUncutPrefix h b f J p |
| 846 | have hF : ContDiffOn ℝ ∞ F profilePast := by |
| 847 | intro p hp |
| 848 | exact ((physicalProfile_smoothAt ha.strictMono hh hh1 hf b hp.1).sub |
| 849 | (physicalUncutPrefix_smoothAt hh hh1 hf b J hp.1)).contDiffWithinAt |
| 850 | have hp : G z ∈ profilePast := ⟨ht, mem_univ _⟩ |
| 851 | have hzpast : z ∈ past := ⟨ht, mem_univ _⟩ |
| 852 | have hc := norm_iteratedFDerivWithin_comp_le (profileDerivative_smooth hF v) hG.contDiffOn |
| 853 | (ENat.natCast_le_of_coe_top_le_withTop le_rfl m) profilePast_isOpen.uniqueDiffOn |
| 854 | past_isOpen.uniqueDiffOn (show MapsTo G past profilePast from fun _ hx => ⟨hx.1, mem_univ _⟩) |
| 855 | hzpast (C := B * (cartesianChart h z).1 ^ (h * (J + 1) + b - 2 * (m + 1))) (D := D) |
| 856 | (fun i hi => by |
| 857 | rw [iteratedFDerivWithin_of_isOpen i profilePast_isOpen hp] |
| 858 | calc |
| 859 | _ ≤ ‖L‖ * ‖iteratedFDeriv ℝ (i + 1) F (G z)‖ := |
| 860 | ResidualStability.norm_jet_linear_map_fderiv L profilePast_isOpen hF hp i |
| 861 | _ ≤ ‖L‖ * (C * (cartesianChart h z).1 ^ (h * (J + 1) + b - 2 * (m + 1))) := |
| 862 | mul_le_mul_of_nonneg_left (hb (i + 1) (by omega) (G z) ht hq hX) (norm_nonneg L) |
| 863 | _ ≤ _ := by |
| 864 | rw [← mul_assoc] |
| 865 | exact mul_le_mul_of_nonneg_right (le_add_of_nonneg_left zero_le_one) |
| 866 | (Real.rpow_nonneg (physicalChart_positive hh hh1 ht).le _)) |
| 867 | (fun i hi him => by |
| 868 | rw [iteratedFDerivWithin_of_isOpen i past_isOpen hzpast] |
| 869 | exact hDb z hz i hi him) |
| 870 | rw [iteratedFDerivWithin_of_isOpen m past_isOpen hzpast] at hc |
| 871 | exact hc.trans_eq (by ring) |
| 872 | |
| 873 | theorem derivative_prefix_rate {l : Filter SpaceTime} {a : ℕ → ℕ} {h lo hi : ℝ} |
| 874 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 875 | {f : ℕ → Inner → ℝ} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (b : ℝ) |
| 876 | (ha : AdmissibleScales h f (innerBox lo hi) a) |
| 877 | (v : Chart) (J M : ℕ) (hM : M + 1 ≤ J + 3) : |
| 878 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 879 | (cartesianDerivative v (fun p => physicalProfile a h b f p - physicalUncutPrefix h b f J p)) |
| 880 | M (h * (J + 1) + b - 2 * (M + 1)) := by |
| 881 | have hq := A.positive_small hh hh1 |
| 882 | apply finiteJetRate_of_jetRate (hq.mono (fun _ hx => hx.1)) |
| 883 | intro m hm |
| 884 | obtain ⟨δ, C, hδ, hC, hb⟩ := derivative_fixed_prefix_bound hh hh1 hf lo hi b ha A.compact v |
| 885 | J m (by omega) |
| 886 | have hr : JetRate l (fun z => (cartesianChart h z).1) |
| 887 | (cartesianDerivative v (fun p => physicalProfile a h b f p - physicalUncutPrefix h b f J p)) |
| 888 | m (h * (J + 1) + b - 2 * (m + 1)) := by |
| 889 | refine ⟨C, hC.le, ?_⟩ |
| 890 | filter_upwards [A.in_carrier, A.past, A.radial, A.small hδ] with z hz ht hX hsmall |
| 891 | exact hb z hz ht hsmall hX |
| 892 | apply hr.weaken hq |
| 893 | have hmR : (m : ℝ) ≤ M := by exact_mod_cast hm |
| 894 | linarith |
| 895 | |
| 896 | end ProfileDerivatives |
| 897 | |
| 898 | section AnnularFactors |
| 899 | |
| 900 | open ProblemStatement DiagonalResidual |
| 901 | |
| 902 | noncomputable def annularPast : Set SpaceTime := |
| 903 | {z | z.1 < 1 ∧ 0 < AxisymmetricFields.radialEnergy z.2} |
| 904 | |
| 905 | theorem annularPast_isOpen : IsOpen annularPast := |
| 906 | (isOpen_lt continuous_fst continuous_const).inter |
| 907 | (isOpen_lt continuous_const |
| 908 | ((AxisymmetricFields.contDiff_radialEnergy (n := ∞)).continuous.comp continuous_snd)) |
| 909 | |
| 910 | theorem annularPast_subset : annularPast ⊆ past := fun _ hz => ⟨hz.1, mem_univ _⟩ |
| 911 | |
| 912 | theorem PhysicalApproach.in_annularPast {l : Filter SpaceTime} {h lo hi : ℝ} |
| 913 | (A : PhysicalApproach l h lo hi) (hh : 0 < h) (hh1 : h < 1 / 2) (hlo : 0 < lo) : |
| 914 | ∀ᶠ z in l, z ∈ annularPast := by |
| 915 | filter_upwards [A.past, A.radial] with z ht hX |
| 916 | refine ⟨ht, ?_⟩ |
| 917 | have hq := physicalChart_positive hh hh1 (p := AxisymmetricFields.profilePoint z.1 z.2) ht |
| 918 | have hx : 0 < (cartesianChart h z).2.1 := hlo.trans_le hX.1 |
| 919 | change 0 < (AxisymmetricFields.profilePoint z.1 z.2).2.1 |
| 920 | rw [← SlowExpansionResidual.q_mul_X hh hh1 ht] |
| 921 | exact mul_pos hq hx |
| 922 | |
| 923 | theorem monomial_finiteRate_on {l : Filter SpaceTime} {h lo hi : ℝ} |
| 924 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 925 | {U : Set Inner} (hU : IsOpen U) (hKU : innerBox lo hi ⊆ U) |
| 926 | {f : Inner → ℝ} (hf : ContDiffOn ℝ ∞ f U) (b : ℝ) (M : ℕ) : |
| 927 | FiniteJetRate l (fun z => (cartesianChart h z).1) (cartesianMonomial h b f) M (b - M) := by |
| 928 | have hq := A.positive_small hh hh1 |
| 929 | apply finiteJetRate_of_jetRate (hq.mono (fun _ hz => hz.1)) |
| 930 | intro m hm |
| 931 | obtain ⟨C, hC, hb⟩ := cartesian_monomial_bound_on hh hh1 hU (innerBox_isCompact lo hi) |
| 932 | hKU hf b lo hi A.compact m |
| 933 | have hr : JetRate l (fun z => (cartesianChart h z).1) (cartesianMonomial h b f) m (b - m) := by |
| 934 | refine ⟨C, hC.le, ?_⟩ |
| 935 | filter_upwards [A.in_carrier, A.past, A.radial, hq] with z hz ht hX hqz |
| 936 | exact hb z hz ht hqz.2 hX (physicalChart_inner_mem hh hh1 ht hX) |
| 937 | exact hr.weaken hq (sub_le_sub_left (by exact_mod_cast hm) b) |
| 938 | |
| 939 | noncomputable def radialPower (c : ℝ) (z : SpaceTime) : ℝ := |
| 940 | (2 * AxisymmetricFields.radialEnergy z.2) ^ c |
| 941 | |
| 942 | theorem radialPower_smooth (c : ℝ) : ContDiffOn ℝ ∞ (radialPower c) annularPast := by |
| 943 | intro z hz |
| 944 | exact ((contDiffAt_const.mul (AxisymmetricFields.contDiff_radialEnergy.contDiffAt.comp z |
| 945 | contDiffAt_snd)).rpow_const_of_ne (show 2 * AxisymmetricFields.radialEnergy z.2 ≠ 0 by |
| 946 | have := hz.2; positivity)).contDiffWithinAt |
| 947 | |
| 948 | theorem radialPower_eq_monomial {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 949 | (c : ℝ) {z : SpaceTime} (ht : z.1 < 1) : |
| 950 | radialPower c z = cartesianMonomial h c (fun w => (2 * w.1) ^ c) z := by |
| 951 | have hq := SimilarityProfile.q_pos hh hh1 (p := AxisymmetricFields.profilePoint z.1 z.2) ht |
| 952 | have hX : 0 ≤ (cartesianChart h z).2.1 := |
| 953 | div_nonneg (AxisymmetricFields.radialEnergy_nonneg z.2) hq.le |
| 954 | have hs := SlowExpansionResidual.q_mul_X hh hh1 |
| 955 | (p := AxisymmetricFields.profilePoint z.1 z.2) ht |
| 956 | change (2 * (AxisymmetricFields.profilePoint z.1 z.2).2.1) ^ c = |
| 957 | SimilarityProfile.q h (AxisymmetricFields.profilePoint z.1 z.2) ^ c * |
| 958 | (2 * (cartesianChart h z).2.1) ^ c |
| 959 | rw [← hs] |
| 960 | change (2 * (SimilarityProfile.q h (AxisymmetricFields.profilePoint z.1 z.2) * |
| 961 | (cartesianChart h z).2.1)) ^ c = _ |
| 962 | rw [mul_left_comm 2] |
| 963 | exact Real.mul_rpow hq.le (by positivity) |
| 964 | |
| 965 | theorem radialPower_rate {l : Filter SpaceTime} {h lo hi : ℝ} |
| 966 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) (hlo : 0 < lo) |
| 967 | (c : ℝ) (M : ℕ) : |
| 968 | FiniteJetRate l (fun z => (cartesianChart h z).1) (radialPower c) M (c - M) := by |
| 969 | let U : Set Inner := {w | 0 < w.1} |
| 970 | have hU : IsOpen U := isOpen_lt continuous_const continuous_fst |
| 971 | have hKU : innerBox lo hi ⊆ U := fun w hw => hlo.trans_le hw.1.1 |
| 972 | have hf : ContDiffOn ℝ ∞ (fun w : Inner => (2 * w.1) ^ c) U := by |
| 973 | intro w hw |
| 974 | have hwpos : 0 < w.1 := hw |
| 975 | exact ((contDiffAt_const.mul contDiffAt_fst).rpow_const_of_ne |
| 976 | (mul_ne_zero (by norm_num) hwpos.ne')).contDiffWithinAt |
| 977 | have hr := monomial_finiteRate_on hh hh1 A hU hKU hf c M |
| 978 | apply finiteRate_congr_on hr annularPast_isOpen (A.in_annularPast hh hh1 hlo) |
| 979 | intro z hz |
| 980 | exact (radialPower_eq_monomial hh hh1 c hz.1).symm |
| 981 | |
| 982 | end AnnularFactors |
| 983 | |
| 984 | section StressOperator |
| 985 | |
| 986 | open ProblemStatement DiagonalResidual |
| 987 | |
| 988 | /-- The manuscript's tangential radial stress operator. -/ |
| 989 | noncomputable def stressForce (theta axial : Chart → ℝ) (z : SpaceTime) : Space := |
| 990 | SlowResidualMatching.tangentialStressForce theta axial z.1 z.2 |
| 991 | |
| 992 | noncomputable def liftProfile (F : Chart → ℝ) (z : SpaceTime) : ℝ := |
| 993 | F (AxisymmetricFields.profilePoint z.1 z.2) |
| 994 | |
| 995 | noncomputable def stressAngularScalar (theta : Chart → ℝ) (z : SpaceTime) : ℝ := |
| 996 | -2 * (cartesianDerivative (0, (1, 0)) theta z + |
| 997 | 2 * radialPower (-1) z * liftProfile theta z) |
| 998 | |
| 999 | noncomputable def stressAxialScalar (axial : Chart → ℝ) (z : SpaceTime) : ℝ := |
| 1000 | -(radialPower (1 / 2) z * cartesianDerivative (0, (1, 0)) axial z + |
| 1001 | radialPower (-(1 / 2)) z * liftProfile axial z) |
| 1002 | |
| 1003 | theorem liftProfile_smooth {F : Chart → ℝ} (hF : ContDiffOn ℝ ∞ F profilePast) : |
| 1004 | ContDiffOn ℝ ∞ (liftProfile F) past := |
| 1005 | hF.comp AxisymmetricFields.contDiff_profilePoint.contDiffOn (fun _ hz => ⟨hz.1, mem_univ _⟩) |
| 1006 | |
| 1007 | theorem stressForce_eq_scalars (theta axial : Chart → ℝ) {z : SpaceTime} |
| 1008 | (hs : 0 < AxisymmetricFields.radialEnergy z.2) : |
| 1009 | stressForce theta axial z = |
| 1010 | potentialFromScalars (stressAngularScalar theta) (stressAxialScalar axial) z := by |
| 1011 | let r := Real.sqrt (2 * AxisymmetricFields.radialEnergy z.2) |
| 1012 | have hr : r ≠ 0 := (Real.sqrt_pos.mpr (by positivity)).ne' |
| 1013 | have hr2 : r ^ 2 = 2 * AxisymmetricFields.radialEnergy z.2 := Real.sq_sqrt (by positivity) |
| 1014 | have hp : radialPower (1 / 2) z = r := (Real.sqrt_eq_rpow _).symm |
| 1015 | have hn : radialPower (-(1 / 2)) z = r⁻¹ := by |
| 1016 | unfold radialPower |
| 1017 | rw [Real.rpow_neg (by positivity), ← Real.sqrt_eq_rpow] |
| 1018 | have hm : radialPower (-1) z = (r ^ 2)⁻¹ := by |
| 1019 | rw [radialPower, Real.rpow_neg_one, hr2] |
| 1020 | ext i |
| 1021 | fin_cases i <;> |
| 1022 | simp only [stressForce, SlowResidualMatching.tangentialStressForce, LeadingStress.radialDivergence, |
| 1023 | stressAngularScalar, stressAxialScalar, potentialFromScalars, hp, hn, hm, |
| 1024 | cartesianDerivative, profileDerivative, liftProfile, SimilarityProfile.partialS, |
| 1025 | AxisymmetricResidual.pack, AxisymmetricFields.profilePoint, coordinateVector, |
| 1026 | PiLp.single_apply, PiLp.add_apply, PiLp.smul_apply, |
| 1027 | smul_eq_mul, Fin.zero_eta, Fin.isValue, ↓reduceIte, one_mul, mul_one] |
| 1028 | all_goals norm_num [Fin.ext_iff] |
| 1029 | all_goals dsimp only [r] at hr hr2 ⊢ |
| 1030 | all_goals simp only [Real.sqrt_mul (show (0 : ℝ) ≤ 2 by norm_num)] at hr hr2 ⊢ |
| 1031 | all_goals field_simp [hr] |
| 1032 | |
| 1033 | theorem stressForce_smooth {theta axial : Chart → ℝ} |
| 1034 | (ht : ContDiffOn ℝ ∞ theta profilePast) (ha : ContDiffOn ℝ ∞ axial profilePast) : |
| 1035 | ContDiffOn ℝ ∞ (stressForce theta axial) annularPast := by |
| 1036 | have htv := (liftProfile_smooth ht).mono annularPast_subset |
| 1037 | have hav := (liftProfile_smooth ha).mono annularPast_subset |
| 1038 | have htd := (cartesianDerivative_smooth ht (0, (1, 0))).mono annularPast_subset |
| 1039 | have had := (cartesianDerivative_smooth ha (0, (1, 0))).mono annularPast_subset |
| 1040 | have hs0 : ContDiffOn ℝ ∞ (stressAngularScalar theta) annularPast := |
| 1041 | contDiffOn_const.mul (htd.add ((contDiffOn_const.mul (radialPower_smooth (-1))).mul htv)) |
| 1042 | have hs1 : ContDiffOn ℝ ∞ (stressAxialScalar axial) annularPast := |
| 1043 | (((radialPower_smooth (1 / 2)).mul had).add |
| 1044 | ((radialPower_smooth (-(1 / 2))).mul hav)).neg |
| 1045 | apply (potentialFromScalars_smooth hs0 hs1).congr |
| 1046 | intro z hz |
| 1047 | exact stressForce_eq_scalars theta axial hz.2 |
| 1048 | |
| 1049 | theorem stressForce_sub {theta axial theta' axial' : Chart → ℝ} {z : SpaceTime} |
| 1050 | (ht : DifferentiableAt ℝ theta (AxisymmetricFields.profilePoint z.1 z.2)) |
| 1051 | (ha : DifferentiableAt ℝ axial (AxisymmetricFields.profilePoint z.1 z.2)) |
| 1052 | (ht' : DifferentiableAt ℝ theta' (AxisymmetricFields.profilePoint z.1 z.2)) |
| 1053 | (ha' : DifferentiableAt ℝ axial' (AxisymmetricFields.profilePoint z.1 z.2)) : |
| 1054 | stressForce (fun p => theta p - theta' p) (fun p => axial p - axial' p) z = |
| 1055 | stressForce theta axial z - stressForce theta' axial' z := by |
| 1056 | ext i |
| 1057 | fin_cases i <;> |
| 1058 | simp [stressForce, SlowResidualMatching.tangentialStressForce, LeadingStress.radialDivergence, |
| 1059 | SimilarityProfile.partialS, fderiv_fun_sub ht ht', fderiv_fun_sub ha ha', |
| 1060 | AxisymmetricResidual.pack, coordinateVector] <;> ring |
| 1061 | |
| 1062 | theorem scalarConst_rate {l : Filter SpaceTime} {q : SpaceTime → ℝ} |
| 1063 | {F : SpaceTime → ℝ} {U : Set SpaceTime} {M : ℕ} {r : ℝ} |
| 1064 | (hF : FiniteJetRate l q F M r) (hU : IsOpen U) (hlU : ∀ᶠ z in l, z ∈ U) |
| 1065 | (hs : ContDiffOn ℝ ∞ F U) (c : ℝ) : |
| 1066 | FiniteJetRate l q (fun z => c * F z) M r := |
| 1067 | finiteRate_linear hF hU hlU hs (c • ContinuousLinearMap.id ℝ ℝ) |
| 1068 | |
| 1069 | /-- Finite loss for the actual stress differential operator, obtained from |
| 1070 | the profile derivative and reciprocal-radius factors. -/ |
| 1071 | theorem stressForce_rate {l : Filter SpaceTime} {h lo hi : ℝ} |
| 1072 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) (hlo : 0 < lo) |
| 1073 | {theta axial : Chart → ℝ} (ht : ContDiffOn ℝ ∞ theta profilePast) |
| 1074 | (ha : ContDiffOn ℝ ∞ axial profilePast) (M : ℕ) (r : ℝ) |
| 1075 | (htv : FiniteJetRate l (fun z => (cartesianChart h z).1) (liftProfile theta) M r) |
| 1076 | (hav : FiniteJetRate l (fun z => (cartesianChart h z).1) (liftProfile axial) M r) |
| 1077 | (htd : FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 1078 | (cartesianDerivative (0, (1, 0)) theta) M r) |
| 1079 | (had : FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 1080 | (cartesianDerivative (0, (1, 0)) axial) M r) : |
| 1081 | FiniteJetRate l (fun z => (cartesianChart h z).1) (stressForce theta axial) |
| 1082 | M (r - 1 - M) := by |
| 1083 | have hq := A.positive_small hh hh1 |
| 1084 | have hq0 := hq.mono (fun _ hx => hx.1) |
| 1085 | have hU := annularPast_isOpen |
| 1086 | have hlU := A.in_annularPast hh hh1 hlo |
| 1087 | have hts := (liftProfile_smooth ht).mono annularPast_subset |
| 1088 | have has := (liftProfile_smooth ha).mono annularPast_subset |
| 1089 | have htds := (cartesianDerivative_smooth ht (0, (1, 0))).mono annularPast_subset |
| 1090 | have hads := (cartesianDerivative_smooth ha (0, (1, 0))).mono annularPast_subset |
| 1091 | have hr0 := radialPower_rate hh hh1 A hlo (-1) M |
| 1092 | have hrp := finiteRate_weaken (radialPower_rate hh hh1 A hlo (1 / 2) M) hq |
| 1093 | (show -1 - (M : ℝ) ≤ 1 / 2 - M by linarith) |
| 1094 | have hrn := finiteRate_weaken (radialPower_rate hh hh1 A hlo (-(1 / 2)) M) hq |
| 1095 | (show -1 - (M : ℝ) ≤ -(1 / 2) - M by linarith) |
| 1096 | have hpt := finiteRate_bilinear hr0 htv hU hlU hq0 (radialPower_smooth (-1)) hts |
| 1097 | (ContinuousLinearMap.mul ℝ ℝ) |
| 1098 | have hpa := finiteRate_bilinear hrp had hU hlU hq0 (radialPower_smooth (1 / 2)) hads |
| 1099 | (ContinuousLinearMap.mul ℝ ℝ) |
| 1100 | have hqa := finiteRate_bilinear hrn hav hU hlU hq0 (radialPower_smooth (-(1 / 2))) has |
| 1101 | (ContinuousLinearMap.mul ℝ ℝ) |
| 1102 | have hexp : -1 - (M : ℝ) + r = r - 1 - M := by ring |
| 1103 | rw [hexp] at hpt hpa hqa |
| 1104 | have hpt2 := scalarConst_rate hpt hU hlU ((radialPower_smooth (-1)).mul hts) 2 |
| 1105 | have hdt := finiteRate_weaken htd hq (show r - 1 - M ≤ r by |
| 1106 | have := Nat.cast_nonneg (α := ℝ) M; linarith) |
| 1107 | have hs0 := scalarConst_rate (finiteRate_add hdt hpt2 hU hlU htds |
| 1108 | (contDiffOn_const.mul ((radialPower_smooth (-1)).mul hts))) hU hlU |
| 1109 | (htds.add (contDiffOn_const.mul ((radialPower_smooth (-1)).mul hts))) (-2) |
| 1110 | have hs1 := scalarConst_rate (finiteRate_add hpa hqa hU hlU |
| 1111 | ((radialPower_smooth (1 / 2)).mul hads) ((radialPower_smooth (-(1 / 2))).mul has)) hU hlU |
| 1112 | (((radialPower_smooth (1 / 2)).mul hads).add ((radialPower_smooth (-(1 / 2))).mul has)) (-1) |
| 1113 | have hsc0 : ContDiffOn ℝ ∞ (stressAngularScalar theta) annularPast := |
| 1114 | contDiffOn_const.mul (htds.add ((contDiffOn_const.mul (radialPower_smooth (-1))).mul hts)) |
| 1115 | have hsc1 : ContDiffOn ℝ ∞ (stressAxialScalar axial) annularPast := |
| 1116 | (((radialPower_smooth (1 / 2)).mul hads).add ((radialPower_smooth (-(1 / 2))).mul has)).neg |
| 1117 | have hs0' : FiniteJetRate l (fun z => (cartesianChart h z).1) (stressAngularScalar theta) |
| 1118 | M (r - 1 - M) := by |
| 1119 | convert! hs0 using 1 |
| 1120 | funext z |
| 1121 | change -2 * (_ + 2 * radialPower (-1) z * liftProfile theta z) = -2 * (_ + 2 * (_ * _)) |
| 1122 | ring |
| 1123 | have hs1' : FiniteJetRate l (fun z => (cartesianChart h z).1) (stressAxialScalar axial) |
| 1124 | M (r - 1 - M) := by |
| 1125 | simp only [neg_one_mul] at hs1 ⊢ |
| 1126 | exact hs1 |
| 1127 | have hb := potentialFromScalars_rate hU hlU hq0 A.compact A.in_carrier hsc0 hsc1 hs0' hs1' |
| 1128 | apply finiteRate_congr_on hb hU hlU |
| 1129 | intro z hz |
| 1130 | exact (stressForce_eq_scalars theta axial hz.2).symm |
| 1131 | |
| 1132 | end StressOperator |
| 1133 | |
| 1134 | section StressPrefix |
| 1135 | |
| 1136 | open ProblemStatement DiagonalResidual |
| 1137 | |
| 1138 | noncomputable def prefixStressTheta (J : ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 1139 | physicalUncutPrefix h (-CoordinateAlgebra.A h - 1 / 2) (bundleComponent C d 3) J |
| 1140 | |
| 1141 | noncomputable def prefixStressAxial (J : ℕ) (h C : ℝ) (d : Coefficients) : Chart → ℝ := |
| 1142 | physicalUncutPrefix h (-CoordinateAlgebra.A h - 1 / 2) (bundleComponent C d 4) J |
| 1143 | |
| 1144 | noncomputable def baseStressForce (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 1145 | stressForce (baseStressTheta a h C d) (baseStressAxial a h C d) |
| 1146 | |
| 1147 | noncomputable def prefixStressForce (J : ℕ) (h C : ℝ) (d : Coefficients) : VelocityField := |
| 1148 | stressForce (prefixStressTheta J h C d) (prefixStressAxial J h C d) |
| 1149 | |
| 1150 | theorem prefixProfile_smooth {h b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1151 | {f : ℕ → Inner → ℝ} (hf : ∀ j, ContDiff ℝ ∞ (f j)) (J : ℕ) : |
| 1152 | ContDiffOn ℝ ∞ (physicalUncutPrefix h b f J) profilePast := |
| 1153 | fun _p hp => (physicalUncutPrefix_smoothAt hh hh1 hf b J hp.1).contDiffWithinAt |
| 1154 | |
| 1155 | theorem baseStressForce_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1156 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) (C : ℝ) : |
| 1157 | ContDiffOn ℝ ∞ (baseStressForce a h C d) annularPast := |
| 1158 | stressForce_smooth (physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 3) _) |
| 1159 | (physicalProfile_smoothOn ha hh hh1 (bundleComponent_smooth hd C 4) _) |
| 1160 | |
| 1161 | theorem prefixStressForce_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1162 | {d : Coefficients} (hd : SmoothCoefficients d) (J : ℕ) (C : ℝ) : |
| 1163 | ContDiffOn ℝ ∞ (prefixStressForce J h C d) annularPast := |
| 1164 | stressForce_smooth (prefixProfile_smooth hh hh1 (bundleComponent_smooth hd C 3) J) |
| 1165 | (prefixProfile_smooth hh hh1 (bundleComponent_smooth hd C 4) J) |
| 1166 | |
| 1167 | /-- The stress tail is passed through the actual cylindrical operator. No |
| 1168 | force-tail estimate is assumed. -/ |
| 1169 | theorem stress_prefix_rate {l : Filter SpaceTime} {a : ℕ → ℕ} {h C lo hi : ℝ} |
| 1170 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) (hlo : 0 < lo) |
| 1171 | {d : Coefficients} (hd : SmoothCoefficients d) |
| 1172 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox lo hi) a) |
| 1173 | (J M : ℕ) (hM : M + 1 ≤ J + 3) : |
| 1174 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 1175 | (fun z => baseStressForce a h C d z - prefixStressForce J h C d z) |
| 1176 | M (h * (J + 1) - CoordinateAlgebra.A h - 1 / 2 - 3 * (M + 1)) := by |
| 1177 | let b := -CoordinateAlgebra.A h - 1 / 2 |
| 1178 | let ft := bundleComponent C d 3 |
| 1179 | let fa := bundleComponent C d 4 |
| 1180 | let T : Chart → ℝ := fun p => physicalProfile a h b ft p - physicalUncutPrefix h b ft J p |
| 1181 | let Z : Chart → ℝ := fun p => physicalProfile a h b fa p - physicalUncutPrefix h b fa J p |
| 1182 | have hts : ContDiffOn ℝ ∞ T profilePast := |
| 1183 | (physicalProfile_smoothOn ha.strictMono hh hh1 (bundleComponent_smooth hd C 3) b).sub |
| 1184 | (prefixProfile_smooth hh hh1 (bundleComponent_smooth hd C 3) J) |
| 1185 | have hzs : ContDiffOn ℝ ∞ Z profilePast := |
| 1186 | (physicalProfile_smoothOn ha.strictMono hh hh1 (bundleComponent_smooth hd C 4) b).sub |
| 1187 | (prefixProfile_smooth hh hh1 (bundleComponent_smooth hd C 4) J) |
| 1188 | have hq := A.positive_small hh hh1 |
| 1189 | have ht0 := cartesian_prefix_finiteJetRate hh hh1 A (bundleComponent_smooth hd C 3) b |
| 1190 | (admissible_component hd ha 3) J M (by omega) |
| 1191 | have hz0 := cartesian_prefix_finiteJetRate hh hh1 A (bundleComponent_smooth hd C 4) b |
| 1192 | (admissible_component hd ha 4) J M (by omega) |
| 1193 | have ht1 := derivative_prefix_rate hh hh1 A (bundleComponent_smooth hd C 3) b |
| 1194 | (admissible_component hd ha 3) (0, (1, 0)) J M hM |
| 1195 | have hz1 := derivative_prefix_rate hh hh1 A (bundleComponent_smooth hd C 4) b |
| 1196 | (admissible_component hd ha 4) (0, (1, 0)) J M hM |
| 1197 | have hr := stressForce_rate hh hh1 A hlo hts hzs M (h * (J + 1) + b - 2 * (M + 1)) |
| 1198 | (finiteRate_weaken ht0 hq (by linarith)) (finiteRate_weaken hz0 hq (by linarith)) ht1 hz1 |
| 1199 | have he : h * (J + 1) + b - 2 * ((M : ℝ) + 1) - 1 - M = |
| 1200 | h * (J + 1) - CoordinateAlgebra.A h - 1 / 2 - 3 * (M + 1) := by dsimp [b]; ring |
| 1201 | rw [he] at hr |
| 1202 | apply finiteRate_congr_on hr annularPast_isOpen (A.in_annularPast hh hh1 hlo) |
| 1203 | intro z hz |
| 1204 | apply stressForce_sub |
| 1205 | · exact (physicalProfile_smoothAt ha.strictMono hh hh1 (bundleComponent_smooth hd C 3) b |
| 1206 | (p := AxisymmetricFields.profilePoint z.1 z.2) hz.1).differentiableAt (by simp) |
| 1207 | · exact (physicalProfile_smoothAt ha.strictMono hh hh1 (bundleComponent_smooth hd C 4) b |
| 1208 | (p := AxisymmetricFields.profilePoint z.1 z.2) hz.1).differentiableAt (by simp) |
| 1209 | · exact (physicalUncutPrefix_smoothAt hh hh1 (bundleComponent_smooth hd C 3) b J |
| 1210 | (p := AxisymmetricFields.profilePoint z.1 z.2) hz.1).differentiableAt (by simp) |
| 1211 | · exact (physicalUncutPrefix_smoothAt hh hh1 (bundleComponent_smooth hd C 4) b J |
| 1212 | (p := AxisymmetricFields.profilePoint z.1 z.2) hz.1).differentiableAt (by simp) |
| 1213 | |
| 1214 | end StressPrefix |
| 1215 | |
| 1216 | section FiniteTailRates |
| 1217 | |
| 1218 | open ProblemStatement DiagonalResidual SlowExpansionResidual SlowResidualMatching |
| 1219 | |
| 1220 | noncomputable def chartedDomain (h : ℝ) (U : Set Inner) : Set SpaceTime := |
| 1221 | {z | z.1 < 1 ∧ (cartesianChart h z).2 ∈ U} |
| 1222 | |
| 1223 | theorem chartedDomain_isOpen {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1224 | {U : Set Inner} (hU : IsOpen U) : IsOpen (chartedDomain h U) := |
| 1225 | (SimilarityProfile.isOpen_physicalDomain hh hh1 hU).preimage |
| 1226 | (AxisymmetricFields.contDiff_profilePoint (n := ∞)).continuous |
| 1227 | |
| 1228 | theorem PhysicalApproach.in_chartedDomain {l : Filter SpaceTime} {h lo hi : ℝ} |
| 1229 | (A : PhysicalApproach l h lo hi) (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1230 | {U : Set Inner} (hU : innerBox lo hi ⊆ U) : |
| 1231 | ∀ᶠ z in l, z ∈ chartedDomain h U := by |
| 1232 | filter_upwards [A.past, A.radial] with z ht hX |
| 1233 | exact ⟨ht, hU (physicalChart_inner_mem hh hh1 ht hX)⟩ |
| 1234 | |
| 1235 | theorem monomial_smoothOn {h b : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1236 | {U : Set Inner} (hU : IsOpen U) {f : Inner → ℝ} (hf : ContDiffOn ℝ ∞ f U) : |
| 1237 | ContDiffOn ℝ ∞ (cartesianMonomial h b f) (chartedDomain h U) := by |
| 1238 | intro z hz |
| 1239 | exact (cartesianMonomial_smoothAt hh hh1 hz.1 |
| 1240 | (hf.contDiffAt (hU.mem_nhds hz.2))).contDiffWithinAt |
| 1241 | |
| 1242 | theorem finset_monomial_rate {l : Filter SpaceTime} {h lo hi : ℝ} |
| 1243 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 1244 | {U : Set Inner} (hU : IsOpen U) (hKU : innerBox lo hi ⊆ U) |
| 1245 | {ι : Type*} (s : Finset ι) (f : ι → Inner → ℝ) (b : ι → ℝ) (bmin : ℝ) |
| 1246 | (hf : ∀ i ∈ s, ContDiffOn ℝ ∞ (f i) U) (hmin : ∀ i ∈ s, bmin ≤ b i) (M : ℕ) : |
| 1247 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 1248 | (fun z => ∑ i ∈ s, cartesianMonomial h (b i) (f i) z) M (bmin - M) := by |
| 1249 | classical |
| 1250 | have hq := A.positive_small hh hh1 |
| 1251 | apply finiteJetRate_of_jetRate (hq.mono (fun _ hz => hz.1)) |
| 1252 | intro m hm |
| 1253 | obtain ⟨C, hC, hb⟩ := cartesian_finite_monomials_bound hh hh1 hU |
| 1254 | (innerBox_isCompact lo hi) hKU (fun i : s => f i) (fun i => hf i i.2) |
| 1255 | (fun i => b i) bmin lo hi (fun i => hmin i i.2) A.compact m |
| 1256 | have hr : JetRate l (fun z => (cartesianChart h z).1) |
| 1257 | (fun z => ∑ i : s, cartesianMonomial h (b i) (f i) z) m (bmin - m) := by |
| 1258 | refine ⟨C, hC.le, ?_⟩ |
| 1259 | filter_upwards [A.in_carrier, A.past, A.radial, hq] with z hz ht hX hqz |
| 1260 | exact hb z hz ht hqz.2 hX (physicalChart_inner_mem hh hh1 ht hX) |
| 1261 | have he : (fun z => ∑ i : s, cartesianMonomial h (b i) (f i) z) = |
| 1262 | (fun z => ∑ i ∈ s, cartesianMonomial h (b i) (f i) z) := by |
| 1263 | funext z |
| 1264 | exact Finset.sum_coe_sort s (fun i : ι => cartesianMonomial h (b i) (f i) z) |
| 1265 | rw [he] at hr |
| 1266 | exact hr.weaken hq (sub_le_sub_left (by exact_mod_cast hm) bmin) |
| 1267 | |
| 1268 | noncomputable def radialVector (z : SpaceTime) : Space := |
| 1269 | z.2 0 • coordinateVector 0 + z.2 1 • coordinateVector 1 |
| 1270 | |
| 1271 | noncomputable def angularVector (z : SpaceTime) : Space := |
| 1272 | -z.2 1 • coordinateVector 0 + z.2 0 • coordinateVector 1 |
| 1273 | |
| 1274 | theorem radialVector_smooth : ContDiff ℝ ∞ radialVector := |
| 1275 | (((AxisymmetricFields.projection 0).contDiff.comp contDiff_snd).smul contDiff_const).add |
| 1276 | (((AxisymmetricFields.projection 1).contDiff.comp contDiff_snd).smul contDiff_const) |
| 1277 | |
| 1278 | theorem angularVector_smooth : ContDiff ℝ ∞ angularVector := |
| 1279 | ((((AxisymmetricFields.projection 1).contDiff.comp contDiff_snd).neg).smul contDiff_const).add |
| 1280 | (((AxisymmetricFields.projection 0).contDiff.comp contDiff_snd).smul contDiff_const) |
| 1281 | |
| 1282 | noncomputable def assembleComponents (R A Z : SpaceTime → ℝ) (z : SpaceTime) : Space := |
| 1283 | R z • radialVector z + A z • angularVector z + Z z • coordinateVector 2 |
| 1284 | |
| 1285 | theorem assembleComponents_eq_pack (R A Z : SpaceTime → ℝ) (z : SpaceTime) : |
| 1286 | assembleComponents R A Z z = |
| 1287 | AxisymmetricResidual.pack (z.2 0 * R z - z.2 1 * A z) |
| 1288 | (z.2 1 * R z + z.2 0 * A z) (Z z) := by |
| 1289 | ext i |
| 1290 | fin_cases i <;> simp [assembleComponents, radialVector, angularVector, |
| 1291 | AxisymmetricResidual.pack, coordinateVector] <;> ring |
| 1292 | |
| 1293 | theorem assembleComponents_rate {l : Filter SpaceTime} {q : SpaceTime → ℝ} |
| 1294 | {U B : Set SpaceTime} (hU : IsOpen U) (hlU : ∀ᶠ z in l, z ∈ U) |
| 1295 | (hB : IsCompact B) (hlB : ∀ᶠ z in l, z ∈ B) (hq : ∀ᶠ z in l, 0 < q z) |
| 1296 | {R A Z : SpaceTime → ℝ} (hR : ContDiffOn ℝ ∞ R U) (hA : ContDiffOn ℝ ∞ A U) |
| 1297 | (hZ : ContDiffOn ℝ ∞ Z U) {M : ℕ} {r : ℝ} |
| 1298 | (hrR : FiniteJetRate l q R M r) (hrA : FiniteJetRate l q A M r) |
| 1299 | (hrZ : FiniteJetRate l q Z M r) : FiniteJetRate l q (assembleComponents R A Z) M r := by |
| 1300 | have hr := finiteRate_bilinear hrR (finiteRate_compact (q := q) radialVector_smooth hB hlB M) |
| 1301 | hU hlU hq hR radialVector_smooth.contDiffOn (ContinuousLinearMap.lsmul ℝ ℝ) |
| 1302 | have ha := finiteRate_bilinear hrA (finiteRate_compact (q := q) angularVector_smooth hB hlB M) |
| 1303 | hU hlU hq hA angularVector_smooth.contDiffOn (ContinuousLinearMap.lsmul ℝ ℝ) |
| 1304 | simp only [add_zero] at hr ha |
| 1305 | have hz := finiteRate_linear hrZ hU hlU hZ (basisInjection 2) |
| 1306 | exact finiteRate_add (finiteRate_add hr ha hU hlU (hR.smul radialVector_smooth.contDiffOn) |
| 1307 | (hA.smul angularVector_smooth.contDiffOn)) hz hU hlU |
| 1308 | ((hR.smul radialVector_smooth.contDiffOn).add (hA.smul angularVector_smooth.contDiffOn)) |
| 1309 | (hZ.smul contDiffOn_const) |
| 1310 | |
| 1311 | noncomputable def transportTailField (N : ℕ) (h e α : ℝ) |
| 1312 | (v u f : ℕ → Inner → ℝ) (z : SpaceTime) : ℝ := |
| 1313 | transportTail N (cartesianChart h z).1 h e α v u f (cartesianChart h z).2 |
| 1314 | |
| 1315 | noncomputable def radialTailField (N : ℕ) (h C : ℝ) (f : SlowProfiles) (z : SpaceTime) : ℝ := |
| 1316 | pressureTail N (cartesianChart h z).1 h C f (cartesianChart h z).2 / |
| 1317 | (2 * AxisymmetricFields.radialEnergy z.2) |
| 1318 | |
| 1319 | theorem transportTailField_eq (N : ℕ) (h e α : ℝ) (v u f : ℕ → Inner → ℝ) : |
| 1320 | transportTailField N h e α v u f = |
| 1321 | (fun z => ∑ i ∈ transportIndices N, |
| 1322 | cartesianMonomial h (transportPower N h e i) (transportTerm N h e α v u f i) z) := by |
| 1323 | funext z |
| 1324 | exact transportTail_eq_finite_monomials N (cartesianChart h z).1 h e α v u f (cartesianChart h z).2 |
| 1325 | |
| 1326 | end FiniteTailRates |
| 1327 | |
| 1328 | section TruncationRate |
| 1329 | |
| 1330 | open ProblemStatement DiagonalResidual SlowExpansionResidual SlowResidualMatching |
| 1331 | |
| 1332 | noncomputable def radialTailExpression (N : ℕ) (h C : ℝ) (f : SlowProfiles) (z : SpaceTime) : ℝ := |
| 1333 | ∑ i ∈ pressureIndices N, cartesianMonomial h (pressurePower N h i - 1) |
| 1334 | (fun w => pressureTerm N h C f i w / (2 * w.1)) z |
| 1335 | |
| 1336 | theorem radialTailExpression_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1337 | (N : ℕ) (C : ℝ) (f : SlowProfiles) {z : SpaceTime} (hz : z ∈ annularPast) : |
| 1338 | radialTailExpression N h C f z = radialTailField N h C f z := |
| 1339 | (radialTail_eq_finite_monomials hh hh1 N C f hz.1 hz.2).symm |
| 1340 | |
| 1341 | end TruncationRate |
| 1342 | |
| 1343 | section NonlinearAssembly |
| 1344 | |
| 1345 | open ProblemStatement DiagonalResidual ResidualStability SlowExpansionResidual |
| 1346 | |
| 1347 | noncomputable def baseResidual (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) (z : SpaceTime) : Space := |
| 1348 | navierStokesResidual (baseVelocity a h C d) (basePressure a h C d) z.1 z.2 - |
| 1349 | baseStressForce a h C d z |
| 1350 | |
| 1351 | theorem baseResidual_identity (a : ℕ → ℕ) (h C : ℝ) (d : Coefficients) (z : SpaceTime) : |
| 1352 | navierStokesResidual (baseVelocity a h C d) (basePressure a h C d) z.1 z.2 = |
| 1353 | baseStressForce a h C d z + baseResidual a h C d z := by |
| 1354 | unfold baseResidual |
| 1355 | abel |
| 1356 | |
| 1357 | theorem basePressure_smooth {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1358 | (hh : 0 < h) (hh1 : h < 1 / 2) {d : Coefficients} (hd : SmoothCoefficients d) (C : ℝ) : |
| 1359 | ContDiffOn ℝ ∞ (basePressure a h C d) past := |
| 1360 | cartesianProfile_smooth ha hh hh1 (bundleComponent_smooth hd C 2) |
| 1361 | |
| 1362 | theorem prefixPressure_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1363 | {d : Coefficients} (hd : SmoothCoefficients d) (J : ℕ) (C : ℝ) : |
| 1364 | ContDiffOn ℝ ∞ (prefixPressure J h C d) past := |
| 1365 | cartesianUncutPrefix_smooth hh hh1 (bundleComponent_smooth hd C 2) J |
| 1366 | |
| 1367 | theorem jetRate_neg {l : Filter SpaceTime} {q : SpaceTime → ℝ} {F : SpaceTime → Space} |
| 1368 | {m : ℕ} {r : ℝ} (hF : JetRate l q F m r) : JetRate l q (fun z => -F z) m r := by |
| 1369 | obtain ⟨C, hC, hb⟩ := hF |
| 1370 | exact ⟨C, hC, hb.mono (fun z hz => by simpa only [norm_jet_neg] using hz)⟩ |
| 1371 | |
| 1372 | /-- The finite identity in this interface is the exact identity for the |
| 1373 | displayed uncut stream prefixes. It contains no asymptotic hypothesis. -/ |
| 1374 | def FiniteIdentities (h C : ℝ) (d : Coefficients) (f : SlowProfiles) : Prop := |
| 1375 | ∀ J : ℕ, ∀ z ∈ annularPast, |
| 1376 | navierStokesResidual (prefixVelocity J h C d) (prefixPressure J h C d) z.1 z.2 = |
| 1377 | prefixStressForce J h C d z + truncationResidual J h C f z.1 z.2 |
| 1378 | |
| 1379 | end NonlinearAssembly |
| 1380 | |
| 1381 | section EdgeJetTools |
| 1382 | |
| 1383 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 1384 | |
| 1385 | /-- Polynomial losses in the two logarithmic edge distances are allowed. |
| 1386 | The estimate is on the full derivative tensor, including mixed derivatives. -/ |
| 1387 | def PolynomialEdgeJets (W : Set Inner) (zeta delta : Inner → ℝ) (f : Inner → V) : Prop := |
| 1388 | ∀ m : ℕ, ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ w ∈ W, |
| 1389 | ‖iteratedFDeriv ℝ m f w‖ ≤ C * zeta w * (delta w)⁻¹ ^ N |
| 1390 | |
| 1391 | theorem PolynomialEdgeJets.finite {W : Set Inner} {zeta delta : Inner → ℝ} {f : Inner → V} |
| 1392 | (hf : PolynomialEdgeJets W zeta delta f) (hz : ∀ w ∈ W, 0 ≤ zeta w) |
| 1393 | (hd : ∀ w ∈ W, 0 < delta w ∧ delta w ≤ 1) (M : ℕ) : |
| 1394 | ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ w ∈ W, ∀ m ≤ M, |
| 1395 | ‖iteratedFDeriv ℝ m f w‖ ≤ C * zeta w * (delta w)⁻¹ ^ N := by |
| 1396 | classical |
| 1397 | choose A hA N hAb using hf |
| 1398 | let C := 1 + ∑ i ∈ Finset.range (M + 1), A i |
| 1399 | let J := ∑ i ∈ Finset.range (M + 1), N i |
| 1400 | have hC : 0 < C := add_pos_of_pos_of_nonneg zero_lt_one |
| 1401 | (Finset.sum_nonneg (fun i _ => (hA i).le)) |
| 1402 | refine ⟨C, hC, J, fun w hw m hm => ?_⟩ |
| 1403 | have hAm : A m ≤ C := by |
| 1404 | have hs := Finset.single_le_sum (fun i (_ : i ∈ Finset.range (M + 1)) => (hA i).le) |
| 1405 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hm)) |
| 1406 | dsimp [C] |
| 1407 | linarith |
| 1408 | have hNm : N m ≤ J := Finset.single_le_sum (fun i (_ : i ∈ Finset.range (M + 1)) => |
| 1409 | Nat.zero_le (N i)) (Finset.mem_range.mpr (Nat.lt_succ_of_le hm)) |
| 1410 | have hinv : 1 ≤ (delta w)⁻¹ := (one_le_inv₀ (hd w hw).1).mpr (hd w hw).2 |
| 1411 | exact (hAb m w hw).trans (mul_le_mul |
| 1412 | (mul_le_mul_of_nonneg_right hAm (hz w hw)) (pow_le_pow_right₀ hinv hNm) |
| 1413 | (by positivity) (mul_nonneg hC.le (hz w hw))) |
| 1414 | |
| 1415 | theorem innerLift_blown_le {f : Inner → V} (hf : ContDiff ℝ ∞ f) |
| 1416 | (q : ℝ) (w : Inner) (m : ℕ) : |
| 1417 | ‖blownJet m (fun y : Chart => f y.2) (q, w)‖ ≤ ‖iteratedFDeriv ℝ m f w‖ := by |
| 1418 | let L : Chart →L[ℝ] Inner := ContinuousLinearMap.snd ℝ ℝ Inner |
| 1419 | change ‖iteratedFDeriv ℝ m (f ∘ L) (1, w)‖ ≤ _ |
| 1420 | rw [L.iteratedFDeriv_comp_right hf (1, w) (nat_le_infty m)] |
| 1421 | have hL : ‖L‖ ≤ 1 := by |
| 1422 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 1423 | intro y |
| 1424 | change ‖y.2‖ ≤ 1 * ‖y‖ |
| 1425 | simpa only [one_mul] using norm_snd_le y |
| 1426 | refine (ContinuousMultilinearMap.norm_compContinuousLinearMap_le _ _).trans ?_ |
| 1427 | change ‖iteratedFDeriv ℝ m f w‖ * (∏ _ : Fin m, ‖L‖) ≤ _ |
| 1428 | simp only [Finset.prod_const, Finset.card_fin] |
| 1429 | exact mul_le_of_le_one_right (norm_nonneg _) (pow_le_one₀ (norm_nonneg _) hL) |
| 1430 | |
| 1431 | noncomputable def positiveScale : Set Chart := {y | 0 < y.1} |
| 1432 | |
| 1433 | theorem positiveScale_isOpen : IsOpen positiveScale := isOpen_lt continuous_const continuous_fst |
| 1434 | |
| 1435 | theorem blown_product_bound {F : Chart → ℝ} {G : Chart → V} |
| 1436 | (hF : ContDiffOn ℝ ∞ F positiveScale) (hG : ContDiffOn ℝ ∞ G positiveScale) |
| 1437 | {q : ℝ} (hq : 0 < q) (w : Inner) (m : ℕ) {A B : ℝ} |
| 1438 | (hA : ∀ k ≤ m, ‖blownJet k F (q, w)‖ ≤ A) |
| 1439 | (hB : ∀ k ≤ m, ‖blownJet k G (q, w)‖ ≤ B) : |
| 1440 | ‖blownJet m (fun y => F y • G y) (q, w)‖ ≤ |
| 1441 | ‖ContinuousLinearMap.lsmul ℝ ℝ (E := V)‖ * 2 ^ m * A * B := by |
| 1442 | have hm : MapsTo (scaleMap q) positiveScale positiveScale := |
| 1443 | fun y hy => mul_pos hq hy |
| 1444 | have hFc := hF.comp (scaleMap q).contDiff.contDiffOn hm |
| 1445 | have hGc := hG.comp (scaleMap q).contDiff.contDiffOn hm |
| 1446 | exact ResidualStability.norm_jet_bilinear_bound (ContinuousLinearMap.lsmul ℝ ℝ) |
| 1447 | positiveScale_isOpen hFc hGc (show (1, w) ∈ positiveScale by norm_num [positiveScale]) m hA hB |
| 1448 | |
| 1449 | theorem slowSum_zero_leading_finite_bound {a : ℕ → ℕ} {h : ℝ} |
| 1450 | (hh : 0 < h) {f : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 1451 | {K : Set Inner} (hK : IsCompact K) (ha : AdmissibleScales h f K a) |
| 1452 | (hzero : f 0 = 0) (M : ℕ) : |
| 1453 | ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ K, ∀ m ≤ M, |
| 1454 | ‖blownJet m (slowSum a h f) (q, w)‖ ≤ C * q ^ (2 * h) := by |
| 1455 | classical |
| 1456 | have hb (m : ℕ) := normalized_correction_bound hh hf hK ha m |
| 1457 | simp only [hzero, Pi.zero_apply, sub_zero] at hb |
| 1458 | choose A hA hAb using hb |
| 1459 | let C := 1 + ∑ i ∈ Finset.range (M + 1), A i |
| 1460 | have hC : 0 < C := add_pos_of_pos_of_nonneg zero_lt_one |
| 1461 | (Finset.sum_nonneg (fun i _ => (hA i).le)) |
| 1462 | refine ⟨C, hC, fun q hq hq1 w hw m hm => ?_⟩ |
| 1463 | have hAm : A m ≤ C := by |
| 1464 | have hs := Finset.single_le_sum (fun i (_ : i ∈ Finset.range (M + 1)) => (hA i).le) |
| 1465 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hm)) |
| 1466 | dsimp [C] |
| 1467 | linarith |
| 1468 | exact (hAb m q hq hq1 w hw).trans |
| 1469 | (mul_le_mul_of_nonneg_right hAm (Real.rpow_nonneg hq.le _)) |
| 1470 | |
| 1471 | noncomputable def firstCutoff (a : ℕ → ℕ) (h : ℝ) : Chart → ℝ := |
| 1472 | powerStage (a 1) (2 * h) (fun _ => 1) |
| 1473 | |
| 1474 | theorem firstCutoff_finite_bound (a : ℕ → ℕ) (h : ℝ) {K : Set Inner} |
| 1475 | (hK : IsCompact K) (M : ℕ) : |
| 1476 | ∃ C : ℝ, 0 < C ∧ ∀ q : ℝ, 0 < q → ∀ w ∈ K, ∀ m ≤ M, |
| 1477 | ‖blownJet m (firstCutoff a h) (q, w)‖ ≤ C * q ^ (2 * h) := by |
| 1478 | classical |
| 1479 | have hb (m : ℕ) := exists_stage_blown_power_bound |
| 1480 | (f := fun _ (_ : Inner) => (1 : ℝ)) (fun _ => contDiff_const) hK a h 1 m |
| 1481 | simp only [slowStage_eq (by norm_num : (1 : ℕ) ≠ 0), Nat.cast_one, mul_one] at hb |
| 1482 | choose A hA hAb using hb |
| 1483 | let C := 1 + ∑ i ∈ Finset.range (M + 1), A i |
| 1484 | have hC : 0 < C := add_pos_of_pos_of_nonneg zero_lt_one |
| 1485 | (Finset.sum_nonneg (fun i _ => (hA i).le)) |
| 1486 | refine ⟨C, hC, fun q hq w hw m hm => ?_⟩ |
| 1487 | have hAm : A m ≤ C := by |
| 1488 | have hs := Finset.single_le_sum (fun i (_ : i ∈ Finset.range (M + 1)) => (hA i).le) |
| 1489 | (Finset.mem_range.mpr (Nat.lt_succ_of_le hm)) |
| 1490 | dsimp [C] |
| 1491 | linarith |
| 1492 | exact (hAb m q hq w hw).trans (mul_le_mul_of_nonneg_right hAm (Real.rpow_nonneg hq.le _)) |
| 1493 | |
| 1494 | end EdgeJetTools |
| 1495 | |
| 1496 | section WeightedSum |
| 1497 | |
| 1498 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 1499 | |
| 1500 | theorem slowSum_split_first {a : ℕ → ℕ} (ha : StrictMono a) (h : ℝ) |
| 1501 | (f g : ℕ → Inner → V) (zeta : Inner → ℝ) (hg0 : g 0 = 0) (hg1 : g 1 = 0) |
| 1502 | {O : Set Inner} (hfg : ∀ j, 2 ≤ j → ∀ w ∈ O, f j w = zeta w • g j w) |
| 1503 | {q : ℝ} (hq : 0 < q) {w : Inner} (hw : w ∈ O) : |
| 1504 | slowSum a h f (q, w) - f 0 w = |
| 1505 | firstCutoff a h (q, w) • f 1 w + zeta w • slowSum a h g (q, w) := by |
| 1506 | have hsG : Summable (fun j => slowStage a h g j (q, w)) := |
| 1507 | SolenoidalDiagonal.summable_cutStage (SolenoidalDiagonal.realScales_tendsto ha) |
| 1508 | continuous_fst.continuousAt hq (positiveCoefficient h g) |
| 1509 | have hs1 : Summable (fun j : ℕ => if j = 1 then firstCutoff a h (q, w) • f 1 w else 0) := by |
| 1510 | apply summable_of_ne_finset_zero (s := {1}) |
| 1511 | intro j hj |
| 1512 | simp only [Finset.mem_singleton] at hj |
| 1513 | simp [hj] |
| 1514 | have he (j : ℕ) : slowStage a h f j (q, w) = |
| 1515 | (if j = 1 then firstCutoff a h (q, w) • f 1 w else 0) + |
| 1516 | zeta w • slowStage a h g j (q, w) := by |
| 1517 | by_cases hj0 : j = 0 |
| 1518 | · subst j |
| 1519 | simp |
| 1520 | by_cases hj1 : j = 1 |
| 1521 | · subst j |
| 1522 | simp [slowStage_eq (by norm_num : (1 : ℕ) ≠ 0), hg1, |
| 1523 | firstCutoff, powerStage, powerCoefficient, smul_smul] |
| 1524 | · rw [slowStage_eq hj0, slowStage_eq hj0, ite_eq_right hj1, zero_add] |
| 1525 | simp only [powerStage, powerCoefficient, hfg j (by omega) w hw, smul_smul] |
| 1526 | congr 1 |
| 1527 | ring |
| 1528 | change f 0 w + (∑' j, slowStage a h f j (q, w)) - f 0 w = |
| 1529 | firstCutoff a h (q, w) • f 1 w + zeta w • |
| 1530 | (g 0 w + ∑' j, slowStage a h g j (q, w)) |
| 1531 | rw [hg0, Pi.zero_apply, zero_add, tsum_congr he, hs1.tsum_add (hsG.const_smul (zeta w)), |
| 1532 | hsG.tsum_const_smul] |
| 1533 | simp |
| 1534 | |
| 1535 | theorem blown_add_bound {F G : Chart → V} |
| 1536 | (hF : ContDiffOn ℝ ∞ F positiveScale) (hG : ContDiffOn ℝ ∞ G positiveScale) |
| 1537 | {q : ℝ} (hq : 0 < q) (w : Inner) (m : ℕ) : |
| 1538 | ‖blownJet m (fun y => F y + G y) (q, w)‖ ≤ |
| 1539 | ‖blownJet m F (q, w)‖ + ‖blownJet m G (q, w)‖ := by |
| 1540 | have hm : MapsTo (scaleMap q) positiveScale positiveScale := fun y hy => mul_pos hq hy |
| 1541 | exact ResidualStability.norm_jet_add_le positiveScale_isOpen |
| 1542 | (hF.comp (scaleMap q).contDiff.contDiffOn hm) (hG.comp (scaleMap q).contDiff.contDiffOn hm) |
| 1543 | (show (1, w) ∈ positiveScale by norm_num [positiveScale]) m |
| 1544 | |
| 1545 | /-- Weighted summation of the full coefficient vector. The first coefficient |
| 1546 | uses polynomial edge bounds; higher coefficients use their genuine smooth |
| 1547 | quotients by the flat weight and the explicitly chosen cutoff schedule. -/ |
| 1548 | theorem weighted_slowSum_bound {a : ℕ → ℕ} {h : ℝ} (hh : 0 < h) |
| 1549 | {f g : ℕ → Inner → V} (hf : ∀ j, ContDiff ℝ ∞ (f j)) |
| 1550 | (hg : ∀ j, ContDiff ℝ ∞ (g j)) {K W O : Set Inner} |
| 1551 | (hK : IsCompact K) (hWK : W ⊆ K) (hO : IsOpen O) (hWO : W ⊆ O) |
| 1552 | {zeta delta : Inner → ℝ} (hzs : ContDiff ℝ ∞ zeta) |
| 1553 | (hz : ∀ w ∈ W, 0 ≤ zeta w) (hd : ∀ w ∈ W, 0 < delta w ∧ delta w ≤ 1) |
| 1554 | (hfirst : PolynomialEdgeJets W zeta delta (f 1)) |
| 1555 | (hweight : PolynomialEdgeJets W zeta delta zeta) |
| 1556 | (hg0 : g 0 = 0) (hg1 : g 1 = 0) |
| 1557 | (hfg : ∀ j, 2 ≤ j → ∀ w ∈ O, f j w = zeta w • g j w) |
| 1558 | (ha : AdmissibleScales h g K a) (m : ℕ) : |
| 1559 | ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ W, |
| 1560 | ‖blownJet m (fun y => slowSum a h f y - f 0 y.2) (q, w)‖ ≤ |
| 1561 | C * q ^ h * zeta w * (delta w)⁻¹ ^ N := by |
| 1562 | obtain ⟨Cs, hCs, hsb⟩ := firstCutoff_finite_bound a h hK m |
| 1563 | obtain ⟨Cg, hCg, hgb⟩ := slowSum_zero_leading_finite_bound hh hg hK ha hg0 m |
| 1564 | obtain ⟨C1, hC1, N1, h1b⟩ := hfirst.finite hz hd m |
| 1565 | obtain ⟨Cz, hCz, Nz, hzb⟩ := hweight.finite hz hd m |
| 1566 | let L := ContinuousLinearMap.lsmul ℝ ℝ (E := V) |
| 1567 | let B := ‖L‖ * 2 ^ m * (Cs * C1 + Cz * Cg) |
| 1568 | have hB : 0 ≤ B := by dsimp [B]; positivity |
| 1569 | refine ⟨B + 1, by positivity, N1 + Nz, fun q hq hq1 w hw => ?_⟩ |
| 1570 | let D := (delta w)⁻¹ ^ (N1 + Nz) |
| 1571 | have hdw := hd w hw |
| 1572 | have hdp : 0 < delta w := hdw.1 |
| 1573 | have hzw := hz w hw |
| 1574 | have hD : 0 ≤ D := by dsimp [D]; positivity |
| 1575 | have hi : 1 ≤ (delta w)⁻¹ := (one_le_inv₀ (hd w hw).1).mpr (hd w hw).2 |
| 1576 | have hN1 : (delta w)⁻¹ ^ N1 ≤ D := pow_le_pow_right₀ hi (Nat.le_add_right _ _) |
| 1577 | have hNz : (delta w)⁻¹ ^ Nz ≤ D := pow_le_pow_right₀ hi (Nat.le_add_left _ _) |
| 1578 | let F : Chart → V := fun y => firstCutoff a h y • f 1 y.2 |
| 1579 | let G : Chart → V := fun y => zeta y.2 • slowSum a h g y |
| 1580 | have hs : ContDiffOn ℝ ∞ (firstCutoff a h) positiveScale := by |
| 1581 | intro y hy |
| 1582 | exact (powerStage_smoothAt contDiff_const (a 1) (2 * h) hy).contDiffWithinAt |
| 1583 | have hF : ContDiffOn ℝ ∞ F positiveScale := |
| 1584 | hs.smul ((hf 1).comp contDiff_snd).contDiffOn |
| 1585 | have hG : ContDiffOn ℝ ∞ G positiveScale := |
| 1586 | (hzs.comp contDiff_snd).contDiffOn.smul (slowSum_smoothOn ha.strictMono hg h) |
| 1587 | have hFbound : ‖blownJet m F (q, w)‖ ≤ ‖L‖ * 2 ^ m * (Cs * q ^ (2 * h)) * (C1 * zeta w * D) := by |
| 1588 | apply blown_product_bound hs ((hf 1).comp contDiff_snd).contDiffOn hq w m |
| 1589 | · exact fun k hk => hsb q hq w (hWK hw) k hk |
| 1590 | · intro k hk |
| 1591 | exact (innerLift_blown_le (hf 1) q w k).trans ((h1b w hw k hk).trans |
| 1592 | (mul_le_mul_of_nonneg_left hN1 (mul_nonneg hC1.le (hz w hw)))) |
| 1593 | have hGbound : ‖blownJet m G (q, w)‖ ≤ ‖L‖ * 2 ^ m * (Cz * zeta w * D) * (Cg * q ^ (2 * h)) := by |
| 1594 | apply blown_product_bound (hzs.comp contDiff_snd).contDiffOn (slowSum_smoothOn ha.strictMono hg h) hq w m |
| 1595 | · intro k hk |
| 1596 | exact (innerLift_blown_le hzs q w k).trans ((hzb w hw k hk).trans |
| 1597 | (mul_le_mul_of_nonneg_left hNz (mul_nonneg hCz.le (hz w hw)))) |
| 1598 | · exact fun k hk => hgb q hq hq1 w (hWK hw) k hk |
| 1599 | have he : (fun y => slowSum a h f y - f 0 y.2) =ᶠ[𝓝 (q, w)] (fun y => F y + G y) := by |
| 1600 | filter_upwards [(positiveScale_isOpen.inter |
| 1601 | (hO.preimage continuous_snd)).mem_nhds ⟨hq, hWO hw⟩] with y hy |
| 1602 | exact slowSum_split_first ha.strictMono h f g zeta hg0 hg1 hfg hy.1 hy.2 |
| 1603 | have hmap : Tendsto (scaleMap q) (𝓝 (1, w)) (𝓝 (q, w)) := by |
| 1604 | simpa only [ContinuousAt, scaleMap_apply, mul_one] using |
| 1605 | (scaleMap q).continuous.continuousAt (x := (1, w)) |
| 1606 | have hec := he.comp_tendsto hmap |
| 1607 | have hj : blownJet m (fun y => slowSum a h f y - f 0 y.2) (q, w) = |
| 1608 | blownJet m (fun y => F y + G y) (q, w) := by |
| 1609 | exact (SolenoidalDiagonal.iteratedFDeriv_eventuallyEq |
| 1610 | (show ((fun y => slowSum a h f y - f 0 y.2) ∘ scaleMap q) =ᶠ[𝓝 (1, w)] |
| 1611 | ((fun y => F y + G y) ∘ scaleMap q) from by |
| 1612 | simpa only [scaleMap_apply, mul_one] using hec) m).self_of_nhds |
| 1613 | rw [hj] |
| 1614 | have hpow : q ^ (2 * h) ≤ q ^ h := |
| 1615 | Real.rpow_le_rpow_of_exponent_ge hq hq1 (by linarith) |
| 1616 | calc |
| 1617 | _ ≤ ‖blownJet m F (q, w)‖ + ‖blownJet m G (q, w)‖ := blown_add_bound hF hG hq w m |
| 1618 | _ ≤ ‖L‖ * 2 ^ m * (Cs * q ^ (2 * h)) * (C1 * zeta w * D) + |
| 1619 | ‖L‖ * 2 ^ m * (Cz * zeta w * D) * (Cg * q ^ (2 * h)) := add_le_add hFbound hGbound |
| 1620 | _ = B * q ^ (2 * h) * zeta w * D := by dsimp [B]; ring |
| 1621 | _ ≤ (B + 1) * q ^ h * zeta w * D := by |
| 1622 | exact mul_le_mul_of_nonneg_right |
| 1623 | (mul_le_mul_of_nonneg_right (mul_le_mul (by linarith) hpow |
| 1624 | (Real.rpow_nonneg hq.le _) (by positivity)) hzw) hD |
| 1625 | _ = _ := rfl |
| 1626 | |
| 1627 | end WeightedSum |
| 1628 | |
| 1629 | section WeightedTensor |
| 1630 | |
| 1631 | /-- Both independent slots of the virtual tangential tensor. -/ |
| 1632 | noncomputable def stressPair (d : Coefficients) (j : ℕ) (w : Inner) : Inner := |
| 1633 | (d.stressTheta j w, d.stressAxial j w) |
| 1634 | |
| 1635 | theorem stressPair_smooth {d : Coefficients} (hd : SmoothCoefficients d) (j : ℕ) : |
| 1636 | ContDiff ℝ ∞ (stressPair d j) := (hd.stressTheta j).prodMk (hd.stressAxial j) |
| 1637 | |
| 1638 | noncomputable def higherStressQuotient (d : Coefficients) (zeta : Inner → ℝ) |
| 1639 | (j : ℕ) (w : Inner) : Inner := |
| 1640 | if j ≤ 1 then 0 else (zeta w)⁻¹ • stressPair d j w |
| 1641 | |
| 1642 | @[simp] theorem higherStressQuotient_zero (d : Coefficients) (zeta : Inner → ℝ) : |
| 1643 | higherStressQuotient d zeta 0 = 0 := by funext w; simp [higherStressQuotient] |
| 1644 | |
| 1645 | @[simp] theorem higherStressQuotient_one (d : Coefficients) (zeta : Inner → ℝ) : |
| 1646 | higherStressQuotient d zeta 1 = 0 := by funext w; simp [higherStressQuotient] |
| 1647 | |
| 1648 | theorem higherStressQuotient_factor (d : Coefficients) (zeta : Inner → ℝ) |
| 1649 | {j : ℕ} (hj : 2 ≤ j) {w : Inner} (hz : zeta w ≠ 0) : |
| 1650 | stressPair d j w = zeta w • higherStressQuotient d zeta j w := by |
| 1651 | simp [higherStressQuotient, show ¬j ≤ 1 by omega, smul_smul, hz] |
| 1652 | |
| 1653 | /-- A common enlarged bundle controls the actual base fields and the |
| 1654 | higher-order stress quotients by the same cutoff sequence. -/ |
| 1655 | noncomputable def weightedBundle (C : ℝ) (d : Coefficients) (zeta : Inner → ℝ) |
| 1656 | (j : ℕ) (w : Inner) : Bundle × Inner := |
| 1657 | (coefficientBundle C d j w, higherStressQuotient d zeta j w) |
| 1658 | |
| 1659 | theorem weightedBundle_smooth {d : Coefficients} (hd : SmoothCoefficients d) |
| 1660 | {zeta : Inner → ℝ} (hq : ∀ j, ContDiff ℝ ∞ (higherStressQuotient d zeta j)) |
| 1661 | (C : ℝ) (j : ℕ) : ContDiff ℝ ∞ (weightedBundle C d zeta j) := |
| 1662 | (coefficientBundle_smooth hd C j).prodMk (hq j) |
| 1663 | |
| 1664 | theorem weightedBundle_base_scales {a : ℕ → ℕ} {h C : ℝ} {d : Coefficients} |
| 1665 | (hd : SmoothCoefficients d) {zeta : Inner → ℝ} |
| 1666 | (hq : ∀ j, ContDiff ℝ ∞ (higherStressQuotient d zeta j)) {K : Set Inner} |
| 1667 | (ha : AdmissibleScales h (weightedBundle C d zeta) K a) : |
| 1668 | AdmissibleScales h (coefficientBundle C d) K a := by |
| 1669 | exact ha.map (weightedBundle_smooth hd hq C) (ContinuousLinearMap.fst ℝ Bundle Inner) |
| 1670 | (ContinuousLinearMap.norm_fst_le _ _ _) |
| 1671 | |
| 1672 | theorem weightedBundle_quotient_scales {a : ℕ → ℕ} {h C : ℝ} {d : Coefficients} |
| 1673 | (hd : SmoothCoefficients d) {zeta : Inner → ℝ} |
| 1674 | (hq : ∀ j, ContDiff ℝ ∞ (higherStressQuotient d zeta j)) {K : Set Inner} |
| 1675 | (ha : AdmissibleScales h (weightedBundle C d zeta) K a) : |
| 1676 | AdmissibleScales h (higherStressQuotient d zeta) K a := by |
| 1677 | exact ha.map (weightedBundle_smooth hd hq C) (ContinuousLinearMap.snd ℝ Bundle Inner) |
| 1678 | (ContinuousLinearMap.norm_snd_le _ _ _) |
| 1679 | |
| 1680 | noncomputable def normalizedTensor (a : ℕ → ℕ) (h : ℝ) (d : Coefficients) : Chart → Inner := |
| 1681 | slowSum a h (stressPair d) |
| 1682 | |
| 1683 | theorem normalizedTensor_components {a : ℕ → ℕ} (ha : StrictMono a) (h : ℝ) |
| 1684 | (d : Coefficients) {y : Chart} (hy : 0 < y.1) : |
| 1685 | normalizedTensor a h d y = (slowSum a h d.stressTheta y, slowSum a h d.stressAxial y) := by |
| 1686 | apply Prod.ext |
| 1687 | · exact (slowSum_map (ContinuousLinearMap.fst ℝ ℝ ℝ) ha h (stressPair d) hy).symm |
| 1688 | · exact (slowSum_map (ContinuousLinearMap.snd ℝ ℝ ℝ) ha h (stressPair d) hy).symm |
| 1689 | |
| 1690 | /-- Both physical stress slots have exactly the common prefactor used in |
| 1691 | the manuscript. The normalized tensor is the actual cut sum. -/ |
| 1692 | theorem physicalTensor_eq_normalized {a : ℕ → ℕ} (ha : StrictMono a) {h : ℝ} |
| 1693 | (hh : 0 < h) (hh1 : h < 1 / 2) (C : ℝ) (d : Coefficients) |
| 1694 | {p : Chart} (hp : p.1 < 1) : |
| 1695 | (baseStressTheta a h C d p, baseStressAxial a h C d p) = |
| 1696 | (physicalChart h p).1 ^ (-CoordinateAlgebra.A h - 1 / 2) • |
| 1697 | normalizedTensor a h d (physicalChart h p) := by |
| 1698 | rw [normalizedTensor_components ha h d (physicalChart_positive hh hh1 hp)] |
| 1699 | rfl |
| 1700 | |
| 1701 | /-- The full normalized two-slot tensor differs from its leading value by |
| 1702 | O(q^h), with the allowed polynomial losses at both flat edges. -/ |
| 1703 | theorem normalizedTensor_weighted_bound {a : ℕ → ℕ} {h C : ℝ} (hh : 0 < h) |
| 1704 | {d : Coefficients} (hd : SmoothCoefficients d) {K W O : Set Inner} |
| 1705 | (hK : IsCompact K) (hWK : W ⊆ K) (hO : IsOpen O) (hWO : W ⊆ O) |
| 1706 | {zeta delta : Inner → ℝ} (hzs : ContDiff ℝ ∞ zeta) |
| 1707 | (hz : ∀ w ∈ O, 0 < zeta w) (hdelta : ∀ w ∈ W, 0 < delta w ∧ delta w ≤ 1) |
| 1708 | (hfirst : PolynomialEdgeJets W zeta delta (stressPair d 1)) |
| 1709 | (hweight : PolynomialEdgeJets W zeta delta zeta) |
| 1710 | (hq : ∀ j, ContDiff ℝ ∞ (higherStressQuotient d zeta j)) |
| 1711 | (ha : AdmissibleScales h (weightedBundle C d zeta) K a) (m : ℕ) : |
| 1712 | ∃ B : ℝ, 0 < B ∧ ∃ N : ℕ, ∀ q : ℝ, 0 < q → q ≤ 1 → ∀ w ∈ W, |
| 1713 | ‖blownJet m (fun y => normalizedTensor a h d y - stressPair d 0 y.2) (q, w)‖ ≤ |
| 1714 | B * q ^ h * zeta w * (delta w)⁻¹ ^ N := |
| 1715 | weighted_slowSum_bound hh (stressPair_smooth hd) hq hK hWK hO hWO hzs |
| 1716 | (fun w hw => (hz w (hWO hw)).le) hdelta hfirst hweight |
| 1717 | (higherStressQuotient_zero d zeta) (higherStressQuotient_one d zeta) |
| 1718 | (fun _j hj w hw => higherStressQuotient_factor d zeta hj (hz w hw).ne') |
| 1719 | (weightedBundle_quotient_scales hd hq ha) m |
| 1720 | |
| 1721 | end WeightedTensor |
| 1722 | |
| 1723 | section ConcreteWeight |
| 1724 | |
| 1725 | open ActiveAnnulusWeight |
| 1726 | |
| 1727 | noncomputable def logWeightProfile (c a b : ℝ) (w : Inner) : ℝ := weight c a b w.2 |
| 1728 | |
| 1729 | noncomputable def weightLeftFactor {a b c : ℝ} (hab : a < b) (_hc : 0 < c) (K : Set ℝ) : |
| 1730 | EdgeFactor K c (leftChart a (logWeightProfile c a b)) where |
| 1731 | coefficient := fun w => FlatCutoff.edge 4 (b - a - w.2) |
| 1732 | order := 0 |
| 1733 | width := b - a |
| 1734 | width_pos := sub_pos.mpr hab |
| 1735 | domain := univ |
| 1736 | domain_open := isOpen_univ |
| 1737 | boundary_mem := subset_univ _ |
| 1738 | smooth := ((FlatCutoff.edge_contDiff (by norm_num : (0 : ℝ) < 4)).comp |
| 1739 | (contDiff_const.sub contDiff_snd)).contDiffOn |
| 1740 | boundary_ne_zero := by |
| 1741 | intro p _ |
| 1742 | have hp : 0 < FlatCutoff.edge 4 (b - a - (0 : ℝ)) := by |
| 1743 | simpa using (FlatCutoff.edge_pos 4 (sub_pos.mpr hab)) |
| 1744 | exact hp.ne' |
| 1745 | identity := by |
| 1746 | intro p hp x hx hxw |
| 1747 | simp only [leftChart, logWeightProfile, weight, pow_zero, div_one, smul_eq_mul] |
| 1748 | rw [show a + x - a = x by ring, show b - (a + x) = b - a - x by ring] |
| 1749 | |
| 1750 | noncomputable def weightRightFactor {a b c : ℝ} (hab : a < b) (hc : 0 < c) (K : Set ℝ) : |
| 1751 | EdgeFactor K 4 (rightChart b (logWeightProfile c a b)) where |
| 1752 | coefficient := fun w => FlatCutoff.edge c (b - a - w.2) |
| 1753 | order := 0 |
| 1754 | width := b - a |
| 1755 | width_pos := sub_pos.mpr hab |
| 1756 | domain := univ |
| 1757 | domain_open := isOpen_univ |
| 1758 | boundary_mem := subset_univ _ |
| 1759 | smooth := ((FlatCutoff.edge_contDiff hc).comp (contDiff_const.sub contDiff_snd)).contDiffOn |
| 1760 | boundary_ne_zero := by |
| 1761 | intro p _ |
| 1762 | have hp : 0 < FlatCutoff.edge c (b - a - (0 : ℝ)) := by |
| 1763 | simpa using (FlatCutoff.edge_pos c (sub_pos.mpr hab)) |
| 1764 | exact hp.ne' |
| 1765 | identity := by |
| 1766 | intro p hp x hx hxw |
| 1767 | simp only [rightChart, logWeightProfile, weight, pow_zero, div_one, smul_eq_mul] |
| 1768 | rw [show b - x - a = b - a - x by ring, show b - (b - x) = x by ring] |
| 1769 | ring |
| 1770 | |
| 1771 | noncomputable def swapInner : Inner ≃ₗᵢ[ℝ] Inner where |
| 1772 | toLinearEquiv := LinearEquiv.prodComm ℝ ℝ ℝ |
| 1773 | norm_map' := by intro w; exact max_comm _ _ |
| 1774 | |
| 1775 | noncomputable def activeWindow (a b : ℝ) : Set Inner := |
| 1776 | Ioo (Real.exp a) (Real.exp b) ×ˢ Icc (-1) 1 |
| 1777 | |
| 1778 | noncomputable def activeZeta (c a b : ℝ) (w : Inner) : ℝ := radialWeight c a b w.1 |
| 1779 | |
| 1780 | noncomputable def activeDelta (a b : ℝ) (w : Inner) : ℝ := edgeDistance a b (Real.log w.1) |
| 1781 | |
| 1782 | theorem activeZeta_smooth {c : ℝ} (hc : 0 < c) (a b : ℝ) : |
| 1783 | ContDiff ℝ ∞ (activeZeta c a b) := (radialWeight_smooth hc a b).comp contDiff_fst |
| 1784 | |
| 1785 | theorem activeDelta_bounds {a b : ℝ} {w : Inner} (hw : w ∈ activeWindow a b) : |
| 1786 | 0 < activeDelta a b w ∧ activeDelta a b w ≤ 1 := by |
| 1787 | have hX := (Real.exp_pos a).trans hw.1.1 |
| 1788 | exact ⟨edgeDistance_pos ⟨(Real.lt_log_iff_exp_lt hX).mpr hw.1.1, |
| 1789 | (Real.log_lt_iff_lt_exp hX).mpr hw.1.2⟩, edgeDistance_le_one _ _ _⟩ |
| 1790 | |
| 1791 | /-- The actual two-edge Gaussian weight has the polynomial derivative |
| 1792 | losses used in the summation theorem. This is derived from its edge factors. -/ |
| 1793 | theorem activeZeta_edgeJets {a b c : ℝ} (hab : a < b) (hc : 0 < c) : |
| 1794 | PolynomialEdgeJets (activeWindow a b) (activeZeta c a b) (activeDelta a b) |
| 1795 | (activeZeta c a b) := by |
| 1796 | intro m |
| 1797 | have hT : ContDiff ℝ ∞ (logWeightProfile c a b) := (weight_smooth hc a b).comp contDiff_snd |
| 1798 | obtain ⟨C, hC, N, hb⟩ := exists_radial_derivative_bound (E := ℝ) isCompact_Icc |
| 1799 | (uniqueDiffOn_Icc (by norm_num : (-1 : ℝ) < 1)) hab hc isOpen_univ hT.contDiffOn |
| 1800 | (subset_univ _) (weightLeftFactor hab hc (Icc (-1) 1)) (weightRightFactor hab hc (Icc (-1) 1)) m |
| 1801 | refine ⟨C, hC, N, fun w hw => ?_⟩ |
| 1802 | have hX := (Real.exp_pos a).trans hw.1.1 |
| 1803 | have he : activeZeta c a b =ᶠ[𝓝 w] (radialPullback (logWeightProfile c a b) ∘ swapInner) := by |
| 1804 | filter_upwards [continuousAt_fst.eventually (Ioi_mem_nhds hX)] with y hy |
| 1805 | simp [activeZeta, radialWeight, hy, radialPullback, logChart, logWeightProfile, |
| 1806 | swapInner] |
| 1807 | rfl |
| 1808 | rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq he m).self_of_nhds, |
| 1809 | swapInner.norm_iteratedFDeriv_comp_right] |
| 1810 | have hbound := hb w.2 hw.2 w.1 hw.1 |
| 1811 | simp only [activeZeta, activeDelta, div_eq_mul_inv, inv_pow] at hbound ⊢ |
| 1812 | exact hbound |
| 1813 | |
| 1814 | end ConcreteWeight |
| 1815 | |
| 1816 | section AxisStress |
| 1817 | |
| 1818 | open ProblemStatement DiagonalResidual |
| 1819 | |
| 1820 | /-- A common inner zero region for every actual stress coefficient. -/ |
| 1821 | def StressZeroCore (d : Coefficients) (r : ℝ) : Prop := |
| 1822 | ∀ j : ℕ, ∀ X ∈ Ico (0 : ℝ) r, ∀ eta ∈ Icc (-1 : ℝ) 1, |
| 1823 | d.stressTheta j (X, eta) = 0 ∧ d.stressAxial j (X, eta) = 0 |
| 1824 | |
| 1825 | theorem slowSum_zero_of_all {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 1826 | (a : ℕ → ℕ) (h q : ℝ) {f : ℕ → Inner → V} {w : Inner} |
| 1827 | (hf : ∀ j, f j w = 0) : slowSum a h f (q, w) = 0 := by |
| 1828 | rw [slowSum_eq_leading_of_positive_zero a h q (fun j _ => hf j), hf 0] |
| 1829 | |
| 1830 | theorem physicalProfile_zero_of_all {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 1831 | (a : ℕ → ℕ) (h b : ℝ) {f : ℕ → Inner → V} {p : Chart} |
| 1832 | (hf : ∀ j, f j (physicalChart h p).2 = 0) : physicalProfile a h b f p = 0 := by |
| 1833 | unfold physicalProfile |
| 1834 | rw [show slowSum a h f (physicalChart h p) = 0 from slowSum_zero_of_all a h _ hf] |
| 1835 | exact smul_zero _ |
| 1836 | |
| 1837 | theorem physicalUncutPrefix_zero_of_all {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 1838 | (h b : ℝ) {f : ℕ → Inner → V} (J : ℕ) {p : Chart} |
| 1839 | (hf : ∀ j, f j (physicalChart h p).2 = 0) : physicalUncutPrefix h b f J p = 0 := by |
| 1840 | simp only [physicalChart_eq] at hf |
| 1841 | simp [physicalUncutPrefix, uncutPrefix_eq_sum, powerCoefficient, hf] |
| 1842 | |
| 1843 | theorem stressForce_zero_at_axis (theta axial : Chart → ℝ) {z : SpaceTime} |
| 1844 | (hs : AxisymmetricFields.radialEnergy z.2 = 0) : stressForce theta axial z = 0 := by |
| 1845 | simp [stressForce, SlowResidualMatching.tangentialStressForce, LeadingStress.radialDivergence, |
| 1846 | AxisymmetricFields.profilePoint, hs, AxisymmetricResidual.pack] |
| 1847 | |
| 1848 | theorem stressForce_zero_core {h r : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1849 | {theta axial : Chart → ℝ} |
| 1850 | (htheta : ∀ p : Chart, p.1 < 1 → (physicalChart h p).2.1 ∈ Ioo 0 r → theta p = 0) |
| 1851 | (haxial : ∀ p : Chart, p.1 < 1 → (physicalChart h p).2.1 ∈ Ioo 0 r → axial p = 0) |
| 1852 | {z : SpaceTime} (ht : z.1 < 1) (hX : (cartesianChart h z).2.1 < r) : |
| 1853 | stressForce theta axial z = 0 := by |
| 1854 | by_cases hs : 0 < AxisymmetricFields.radialEnergy z.2 |
| 1855 | · let p := AxisymmetricFields.profilePoint z.1 z.2 |
| 1856 | have hpX : 0 < (physicalChart h p).2.1 := |
| 1857 | LeadingStress.inner_X_pos (p := p) hh hh1 ht hs |
| 1858 | let O : Set Inner := Ioo 0 r ×ˢ univ |
| 1859 | have hO : IsOpen O := isOpen_Ioo.prod isOpen_univ |
| 1860 | have hp : p ∈ SimilarityProfile.physicalDomain h O := ⟨ht, ⟨⟨hpX, hX⟩, mem_univ _⟩⟩ |
| 1861 | have htheta0 : theta =ᶠ[𝓝 p] (fun _ => 0) := by |
| 1862 | filter_upwards [(SimilarityProfile.isOpen_physicalDomain hh hh1 hO).mem_nhds hp] with y hy |
| 1863 | exact htheta y hy.1 hy.2.1 |
| 1864 | have haxial0 : axial =ᶠ[𝓝 p] (fun _ => 0) := by |
| 1865 | filter_upwards [(SimilarityProfile.isOpen_physicalDomain hh hh1 hO).mem_nhds hp] with y hy |
| 1866 | exact haxial y hy.1 hy.2.1 |
| 1867 | have ht0 := htheta0.self_of_nhds |
| 1868 | have ha0 := haxial0.self_of_nhds |
| 1869 | have htd : SimilarityProfile.partialS theta p = 0 := by |
| 1870 | simp [SimilarityProfile.partialS, htheta0.fderiv_eq] |
| 1871 | have had : SimilarityProfile.partialS axial p = 0 := by |
| 1872 | simp [SimilarityProfile.partialS, haxial0.fderiv_eq] |
| 1873 | simp only [stressForce, SlowResidualMatching.tangentialStressForce, LeadingStress.radialDivergence] |
| 1874 | change AxisymmetricResidual.pack |
| 1875 | (_ * (Real.sqrt (2 * p.2.1) * SimilarityProfile.partialS theta p + 2 * theta p / _)) |
| 1876 | (_ * (Real.sqrt (2 * p.2.1) * SimilarityProfile.partialS theta p + 2 * theta p / _)) |
| 1877 | (-(Real.sqrt (2 * p.2.1) * SimilarityProfile.partialS axial p + 1 * axial p / _)) = _ |
| 1878 | simp [ht0, ha0, htd, had, AxisymmetricResidual.pack] |
| 1879 | · exact stressForce_zero_at_axis _ _ (le_antisymm (le_of_not_gt hs) |
| 1880 | (AxisymmetricFields.radialEnergy_nonneg z.2)) |
| 1881 | |
| 1882 | theorem stressForce_core_germ {h r : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1883 | {theta axial : Chart → ℝ} |
| 1884 | (htheta : ∀ p : Chart, p.1 < 1 → (physicalChart h p).2.1 ∈ Ioo 0 r → theta p = 0) |
| 1885 | (haxial : ∀ p : Chart, p.1 < 1 → (physicalChart h p).2.1 ∈ Ioo 0 r → axial p = 0) |
| 1886 | {z : SpaceTime} (ht : z.1 < 1) (hX : (cartesianChart h z).2.1 < r) : |
| 1887 | stressForce theta axial =ᶠ[𝓝 z] (fun _ => 0) := by |
| 1888 | have hO : IsOpen {w : Inner | w.1 < r} := isOpen_lt continuous_fst continuous_const |
| 1889 | filter_upwards [(chartedDomain_isOpen hh hh1 hO).mem_nhds ⟨ht, hX⟩] with y hy |
| 1890 | exact stressForce_zero_core hh hh1 htheta haxial hy.1 hy.2 |
| 1891 | |
| 1892 | theorem baseStressForce_core_germ {h r C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1893 | (a : ℕ → ℕ) {d : Coefficients} (hc : StressZeroCore d r) |
| 1894 | {z : SpaceTime} (ht : z.1 < 1) (hX : (cartesianChart h z).2.1 < r) : |
| 1895 | baseStressForce a h C d =ᶠ[𝓝 z] (fun _ => 0) := by |
| 1896 | apply stressForce_core_germ hh hh1 (r := r) ?_ ?_ ht hX |
| 1897 | · intro p hp hpx |
| 1898 | have he := (physicalChart_inner_mem hh hh1 hp (show (physicalChart h p).2.1 ∈ Icc 0 r from |
| 1899 | ⟨hpx.1.le, hpx.2.le⟩)).2 |
| 1900 | apply physicalProfile_zero_of_all |
| 1901 | intro j |
| 1902 | exact (hc j _ ⟨hpx.1.le, hpx.2⟩ _ he).1 |
| 1903 | · intro p hp hpx |
| 1904 | have he := (physicalChart_inner_mem hh hh1 hp (show (physicalChart h p).2.1 ∈ Icc 0 r from |
| 1905 | ⟨hpx.1.le, hpx.2.le⟩)).2 |
| 1906 | apply physicalProfile_zero_of_all |
| 1907 | intro j |
| 1908 | exact (hc j _ ⟨hpx.1.le, hpx.2⟩ _ he).2 |
| 1909 | |
| 1910 | theorem prefixStressForce_core_germ {h r C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1911 | (J : ℕ) {d : Coefficients} (hc : StressZeroCore d r) |
| 1912 | {z : SpaceTime} (ht : z.1 < 1) (hX : (cartesianChart h z).2.1 < r) : |
| 1913 | prefixStressForce J h C d =ᶠ[𝓝 z] (fun _ => 0) := by |
| 1914 | apply stressForce_core_germ hh hh1 (r := r) ?_ ?_ ht hX |
| 1915 | · intro p hp hpx |
| 1916 | have he := (physicalChart_inner_mem hh hh1 hp (show (physicalChart h p).2.1 ∈ Icc 0 r from |
| 1917 | ⟨hpx.1.le, hpx.2.le⟩)).2 |
| 1918 | apply physicalUncutPrefix_zero_of_all |
| 1919 | intro j |
| 1920 | exact (hc j _ ⟨hpx.1.le, hpx.2⟩ _ he).1 |
| 1921 | · intro p hp hpx |
| 1922 | have he := (physicalChart_inner_mem hh hh1 hp (show (physicalChart h p).2.1 ∈ Icc 0 r from |
| 1923 | ⟨hpx.1.le, hpx.2.le⟩)).2 |
| 1924 | apply physicalUncutPrefix_zero_of_all |
| 1925 | intro j |
| 1926 | exact (hc j _ ⟨hpx.1.le, hpx.2⟩ _ he).2 |
| 1927 | |
| 1928 | theorem baseStressForce_smooth_past {a : ℕ → ℕ} (ha : StrictMono a) {h r C : ℝ} |
| 1929 | (hh : 0 < h) (hh1 : h < 1 / 2) (hr : 0 < r) {d : Coefficients} |
| 1930 | (hd : SmoothCoefficients d) (hc : StressZeroCore d r) : |
| 1931 | ContDiffOn ℝ ∞ (baseStressForce a h C d) past := by |
| 1932 | intro z hz |
| 1933 | by_cases hs : 0 < AxisymmetricFields.radialEnergy z.2 |
| 1934 | · exact ((baseStressForce_smooth ha hh hh1 hd C).contDiffAt |
| 1935 | (annularPast_isOpen.mem_nhds ⟨hz.1, hs⟩)).contDiffWithinAt |
| 1936 | · have hs0 := le_antisymm (le_of_not_gt hs) (AxisymmetricFields.radialEnergy_nonneg z.2) |
| 1937 | have hx : (cartesianChart h z).2.1 < r := by |
| 1938 | change AxisymmetricFields.radialEnergy z.2 / _ < r |
| 1939 | simpa only [hs0, zero_div] using hr |
| 1940 | exact (contDiffAt_const.congr_of_eventuallyEq (baseStressForce_core_germ hh hh1 a hc hz.1 hx)).contDiffWithinAt |
| 1941 | |
| 1942 | theorem prefixStressForce_smooth_past {h r C : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 1943 | (hr : 0 < r) {d : Coefficients} (hd : SmoothCoefficients d) (hc : StressZeroCore d r) (J : ℕ) : |
| 1944 | ContDiffOn ℝ ∞ (prefixStressForce J h C d) past := by |
| 1945 | intro z hz |
| 1946 | by_cases hs : 0 < AxisymmetricFields.radialEnergy z.2 |
| 1947 | · exact ((prefixStressForce_smooth hh hh1 hd J C).contDiffAt |
| 1948 | (annularPast_isOpen.mem_nhds ⟨hz.1, hs⟩)).contDiffWithinAt |
| 1949 | · have hs0 := le_antisymm (le_of_not_gt hs) (AxisymmetricFields.radialEnergy_nonneg z.2) |
| 1950 | have hx : (cartesianChart h z).2.1 < r := by |
| 1951 | change AxisymmetricFields.radialEnergy z.2 / _ < r |
| 1952 | simpa only [hs0, zero_div] using hr |
| 1953 | exact (contDiffAt_const.congr_of_eventuallyEq (prefixStressForce_core_germ hh hh1 J hc hz.1 hx)).contDiffWithinAt |
| 1954 | |
| 1955 | end AxisStress |
| 1956 | |
| 1957 | section AxisRateExtension |
| 1958 | |
| 1959 | open ProblemStatement DiagonalResidual |
| 1960 | |
| 1961 | theorem admissible_mono {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 1962 | {a : ℕ → ℕ} {h : ℝ} {f : ℕ → Inner → V} {K K' : Set Inner} |
| 1963 | (ha : AdmissibleScales h f K a) (hK : K' ⊆ K) : AdmissibleScales h f K' a := by |
| 1964 | exact ⟨ha.positive, ha.doubling, ha.strictMono, |
| 1965 | fun j hj m hm q hq hq1 w hw => ha.ordinary j hj m hm q hq hq1 w (hK hw), |
| 1966 | fun j hj m hm q hq hq1 w hw => ha.blown j hj m hm q hq hq1 w (hK hw)⟩ |
| 1967 | |
| 1968 | theorem finiteRate_extend_zero {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 1969 | {l : Filter SpaceTime} {q : SpaceTime → ℝ} {F : SpaceTime → V} {S : Set SpaceTime} |
| 1970 | {M : ℕ} {r : ℝ} (hF : FiniteJetRate (l ⊓ 𝓟 S) q F M r) |
| 1971 | (hq : ∀ᶠ z in l, 0 < q z) |
| 1972 | (hz : ∀ᶠ z in l, z ∉ S → F =ᶠ[𝓝 z] (fun _ => 0)) : FiniteJetRate l q F M r := by |
| 1973 | obtain ⟨C, hC, hb⟩ := hF |
| 1974 | have hb' := Filter.eventually_inf_principal.mp hb |
| 1975 | refine ⟨C, hC, ?_⟩ |
| 1976 | filter_upwards [hq, hz, hb'] with z hqz hzz hbz |
| 1977 | intro m hm |
| 1978 | by_cases hs : z ∈ S |
| 1979 | · exact hbz hs m hm |
| 1980 | · rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (hzz hs) m).self_of_nhds, |
| 1981 | iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] |
| 1982 | exact mul_nonneg hC (Real.rpow_nonneg hqz.le _) |
| 1983 | |
| 1984 | /-- The stress-force tail estimate also holds on boxes meeting the axis: |
| 1985 | the apparent reciprocal-radius singularities lie in a common zero region. -/ |
| 1986 | theorem stress_prefix_rate_axis {l : Filter SpaceTime} {a : ℕ → ℕ} {h C hi r : ℝ} |
| 1987 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h 0 hi) (hr : 0 < r) |
| 1988 | {d : Coefficients} (hd : SmoothCoefficients d) (hc : StressZeroCore d r) |
| 1989 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox 0 hi) a) |
| 1990 | (J M : ℕ) (hM : M + 1 ≤ J + 3) : |
| 1991 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 1992 | (fun z => baseStressForce a h C d z - prefixStressForce J h C d z) |
| 1993 | M (h * (J + 1) - CoordinateAlgebra.A h - 1 / 2 - 3 * (M + 1)) := by |
| 1994 | let S : Set SpaceTime := {z | r / 2 ≤ (cartesianChart h z).2.1} |
| 1995 | have hlS : ∀ᶠ z in l ⊓ 𝓟 S, z ∈ S := |
| 1996 | (Filter.eventually_principal.mpr (fun _ hz => hz)).filter_mono inf_le_right |
| 1997 | let A' : PhysicalApproach (l ⊓ 𝓟 S) h (r / 2) hi := { |
| 1998 | carrier := A.carrier |
| 1999 | compact := A.compact |
| 2000 | in_carrier := A.in_carrier.filter_mono inf_le_left |
| 2001 | past := A.past.filter_mono inf_le_left |
| 2002 | radial := by |
| 2003 | filter_upwards [A.radial.filter_mono inf_le_left, hlS] with z hz hzs |
| 2004 | exact ⟨hzs, hz.2⟩ |
| 2005 | scale := A.scale.mono_left inf_le_left } |
| 2006 | have ha' : AdmissibleScales h (coefficientBundle C d) (innerBox (r / 2) hi) a := |
| 2007 | admissible_mono ha (fun w hw => ⟨⟨(by linarith : (0 : ℝ) ≤ r / 2).trans hw.1.1, hw.1.2⟩, hw.2⟩) |
| 2008 | have hb := stress_prefix_rate hh hh1 A' (by positivity) hd ha' J M hM |
| 2009 | apply finiteRate_extend_zero hb ((A.positive_small hh hh1).mono (fun _ hz => hz.1)) |
| 2010 | filter_upwards [A.past] with z ht |
| 2011 | intro hz |
| 2012 | have hx : (cartesianChart h z).2.1 < r := by |
| 2013 | have hnot : ¬r / 2 ≤ (cartesianChart h z).2.1 := hz |
| 2014 | linarith [lt_of_not_ge hnot] |
| 2015 | have hb0 := baseStressForce_core_germ (C := C) hh hh1 a hc ht hx |
| 2016 | have hj0 := prefixStressForce_core_germ (C := C) hh hh1 J hc ht hx |
| 2017 | filter_upwards [hb0, hj0] with y hy hy' |
| 2018 | simp only [hy, hy', sub_zero] |
| 2019 | |
| 2020 | /-- Equality of continuous physical fields away from the symmetry axis |
| 2021 | extends across it. The proof uses an explicit Cartesian perturbation. -/ |
| 2022 | theorem eqOn_of_off_axis {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 2023 | {U : Set SpaceTime} (hU : IsOpen U) {F G : SpaceTime → V} |
| 2024 | (hF : ContinuousOn F U) (hG : ContinuousOn G U) |
| 2025 | (he : ∀ z ∈ U, 0 < AxisymmetricFields.radialEnergy z.2 → F z = G z) : EqOn F G U := by |
| 2026 | intro z hz |
| 2027 | by_cases hs : 0 < AxisymmetricFields.radialEnergy z.2 |
| 2028 | · exact he z hz hs |
| 2029 | have hs0 : AxisymmetricFields.radialEnergy z.2 = 0 := |
| 2030 | le_antisymm (le_of_not_gt hs) (AxisymmetricFields.radialEnergy_nonneg z.2) |
| 2031 | have hx0 : z.2 0 = 0 := by |
| 2032 | apply sq_eq_zero_iff.mp |
| 2033 | unfold AxisymmetricFields.radialEnergy at hs0 |
| 2034 | nlinarith [sq_nonneg (z.2 0), sq_nonneg (z.2 1)] |
| 2035 | have hx1 : z.2 1 = 0 := by |
| 2036 | apply sq_eq_zero_iff.mp |
| 2037 | unfold AxisymmetricFields.radialEnergy at hs0 |
| 2038 | nlinarith [sq_nonneg (z.2 0), sq_nonneg (z.2 1)] |
| 2039 | let gamma : ℝ → SpaceTime := fun t => (z.1, z.2 + t • coordinateVector 0) |
| 2040 | have hgamma : Continuous gamma := continuous_const.prodMk (continuous_const.add (continuous_id.smul continuous_const)) |
| 2041 | have hg0 : gamma 0 = z := by simp [gamma] |
| 2042 | have hlim : Tendsto gamma (𝓝[>] 0) (𝓝 z) := by |
| 2043 | simpa only [← hg0] using (hgamma.tendsto 0).mono_left nhdsWithin_le_nhds |
| 2044 | have hpos : ∀ t : ℝ, 0 < t → 0 < AxisymmetricFields.radialEnergy (gamma t).2 := by |
| 2045 | intro t ht |
| 2046 | simp only [gamma, AxisymmetricFields.radialEnergy, PiLp.add_apply, PiLp.smul_apply, |
| 2047 | coordinateVector, PiLp.single_apply, hx0, hx1, zero_add, smul_eq_mul] |
| 2048 | norm_num |
| 2049 | positivity |
| 2050 | have hevent : (F ∘ gamma) =ᶠ[𝓝[>] 0] (G ∘ gamma) := by |
| 2051 | filter_upwards [self_mem_nhdsWithin, hlim.eventually (hU.mem_nhds hz)] with t ht htu |
| 2052 | exact he (gamma t) htu (hpos t ht) |
| 2053 | exact tendsto_nhds_unique_of_eventuallyEq |
| 2054 | ((hF.continuousAt (hU.mem_nhds hz)).tendsto.comp hlim) |
| 2055 | ((hG.continuousAt (hU.mem_nhds hz)).tendsto.comp hlim) hevent |
| 2056 | |
| 2057 | end AxisRateExtension |
| 2058 | |
| 2059 | section RegularFiniteTails |
| 2060 | |
| 2061 | open ProblemStatement DiagonalResidual SlowExpansionResidual SlowResidualMatching AxisTailRegularity |
| 2062 | |
| 2063 | /-- The regular descriptors are actual finite sums of physical monomials. -/ |
| 2064 | noncomputable def regularTransportField (N : ℕ) (h e α : ℝ) |
| 2065 | (beta u f : ℕ → Inner → ℝ) (z : SpaceTime) : ℝ := |
| 2066 | ∑ i ∈ transportIndices N, |
| 2067 | cartesianMonomial h (transportPower N h e i) (regularTransportTerm N h e α beta u f i) z |
| 2068 | |
| 2069 | noncomputable def regularRadialField (N : ℕ) (h C : ℝ) |
| 2070 | (phi u beta : ℕ → Inner → ℝ) (z : SpaceTime) : ℝ := |
| 2071 | ∑ i ∈ pressureIndices N, |
| 2072 | cartesianMonomial h (pressurePower N h i - 1) (regularPressureTerm N h C phi u beta i) z |
| 2073 | |
| 2074 | noncomputable def regularTruncation (N : ℕ) (h C : ℝ) |
| 2075 | (phi u beta : ℕ → Inner → ℝ) : SpaceTime → Space := |
| 2076 | assembleComponents (regularRadialField N h C phi u beta) |
| 2077 | (fun z => C⁻¹ * regularTransportField N h (angularExponent h) 1 beta u phi z) |
| 2078 | (regularTransportField N h (axialExponent h) 0 beta u u) |
| 2079 | |
| 2080 | theorem assembleComponents_smooth {U : Set SpaceTime} {R A Z : SpaceTime → ℝ} |
| 2081 | (hR : ContDiffOn ℝ ∞ R U) (hA : ContDiffOn ℝ ∞ A U) (hZ : ContDiffOn ℝ ∞ Z U) : |
| 2082 | ContDiffOn ℝ ∞ (assembleComponents R A Z) U := |
| 2083 | ((hR.smul radialVector_smooth.contDiffOn).add |
| 2084 | (hA.smul angularVector_smooth.contDiffOn)).add (hZ.smul contDiffOn_const) |
| 2085 | |
| 2086 | theorem regularTransportField_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 2087 | {O : Set Inner} (hO : IsOpen O) (N : ℕ) (e α : ℝ) (beta u f : ℕ → Inner → ℝ) |
| 2088 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 2089 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 2090 | (hf : ∀ j ≤ N, ContDiffOn ℝ ∞ (f j) O) |
| 2091 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) : |
| 2092 | ContDiffOn ℝ ∞ (regularTransportField N h e α beta u f) (chartedDomain h O) := |
| 2093 | ContDiffOn.sum (fun _ hi => monomial_smoothOn hh hh1 hO |
| 2094 | (regularTransportTerm_smoothOn hO N h e α beta u f hb hu hf hL hi)) |
| 2095 | |
| 2096 | theorem regularRadialField_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 2097 | {O : Set Inner} (hO : IsOpen O) (N : ℕ) (C : ℝ) (phi u beta : ℕ → Inner → ℝ) |
| 2098 | (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) |
| 2099 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 2100 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 2101 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) : |
| 2102 | ContDiffOn ℝ ∞ (regularRadialField N h C phi u beta) (chartedDomain h O) := |
| 2103 | ContDiffOn.sum (fun _ hi => monomial_smoothOn hh hh1 hO |
| 2104 | (regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi)) |
| 2105 | |
| 2106 | theorem regularTruncation_smooth {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 2107 | {O : Set Inner} (hO : IsOpen O) (N : ℕ) (C : ℝ) (phi u beta : ℕ → Inner → ℝ) |
| 2108 | (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) |
| 2109 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 2110 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 2111 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) : |
| 2112 | ContDiffOn ℝ ∞ (regularTruncation N h C phi u beta) (chartedDomain h O) := by |
| 2113 | exact assembleComponents_smooth (regularRadialField_smooth hh hh1 hO N C phi u beta hp hu hb hL) |
| 2114 | (contDiffOn_const.mul (regularTransportField_smooth hh hh1 hO N _ _ beta u phi hb hu hp hL)) |
| 2115 | (regularTransportField_smooth hh hh1 hO N _ _ beta u u hb hu hu hL) |
| 2116 | |
| 2117 | /-- Cancellation of the radial factor loses no power of `q`, including |
| 2118 | for all physical derivatives on compact sets meeting the axis. -/ |
| 2119 | theorem regularTruncation_rate {l : Filter SpaceTime} {h lo hi : ℝ} |
| 2120 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) |
| 2121 | {O : Set Inner} (hO : IsOpen O) (hKO : innerBox lo hi ⊆ O) |
| 2122 | (N : ℕ) (C : ℝ) (phi u beta : ℕ → Inner → ℝ) |
| 2123 | (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) |
| 2124 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 2125 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 2126 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) (M : ℕ) : |
| 2127 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 2128 | (regularTruncation N h C phi u beta) M (2 * (N : ℝ) * h - 2 - M) := by |
| 2129 | have hW := chartedDomain_isOpen hh hh1 hO |
| 2130 | have hlW := A.in_chartedDomain hh hh1 hKO |
| 2131 | have hq := A.positive_small hh hh1 |
| 2132 | have hRs := regularRadialField_smooth hh hh1 hO N C phi u beta hp hu hb hL |
| 2133 | have hFs := regularTransportField_smooth hh hh1 hO N (angularExponent h) 1 beta u phi hb hu hp hL |
| 2134 | have hZs := regularTransportField_smooth hh hh1 hO N (axialExponent h) 0 beta u u hb hu hu hL |
| 2135 | have hR := finset_monomial_rate hh hh1 A hO hKO (pressureIndices N) |
| 2136 | (regularPressureTerm N h C phi u beta) (fun i => pressurePower N h i - 1) |
| 2137 | (2 * (N : ℝ) * h - 2) |
| 2138 | (fun _ hi => regularPressureTerm_smoothOn hO N h C phi u beta hp hu hb hL hi) |
| 2139 | (fun _ hi => radial_power_lower hh.le N hi) M |
| 2140 | have hF := finset_monomial_rate hh hh1 A hO hKO (transportIndices N) |
| 2141 | (regularTransportTerm N h (angularExponent h) 1 beta u phi) (transportPower N h (angularExponent h)) |
| 2142 | (2 * (N : ℝ) * h - 2) |
| 2143 | (fun _ hi => regularTransportTerm_smoothOn hO N h (angularExponent h) 1 beta u phi hb hu hp hL hi) |
| 2144 | (fun _ hi => angular_power_lower hh.le N hi) M |
| 2145 | have hZ := finset_monomial_rate hh hh1 A hO hKO (transportIndices N) |
| 2146 | (regularTransportTerm N h (axialExponent h) 0 beta u u) (transportPower N h (axialExponent h)) |
| 2147 | (2 * (N : ℝ) * h - 2) |
| 2148 | (fun _ hi => regularTransportTerm_smoothOn hO N h (axialExponent h) 0 beta u u hb hu hu hL hi) |
| 2149 | (fun _ hi => axial_power_lower hh.le N hi) M |
| 2150 | exact assembleComponents_rate hW hlW A.compact A.in_carrier |
| 2151 | (hq.mono (fun _ hz => hz.1)) hRs (contDiffOn_const.mul hFs) hZs hR |
| 2152 | (scalarConst_rate hF hW hlW hFs C⁻¹) hZ |
| 2153 | |
| 2154 | theorem regularTransportField_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 2155 | {O : Set Inner} (hO : IsOpen O) (N : ℕ) (e α : ℝ) |
| 2156 | {v u f beta u' f' : ℕ → Inner → ℝ} |
| 2157 | (hv : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → v j w = w.1 * beta j w) |
| 2158 | (hu : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → u j w = u' j w) |
| 2159 | (hf : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f j w = f' j w) |
| 2160 | {z : SpaceTime} (hz : z ∈ chartedDomain h O) (hs : 0 < AxisymmetricFields.radialEnergy z.2) : |
| 2161 | regularTransportField N h e α beta u' f' z = transportTailField N h e α v u f z := by |
| 2162 | rw [transportTailField_eq] |
| 2163 | apply Finset.sum_congr rfl |
| 2164 | intro i hi |
| 2165 | change _ * _ = _ * _ |
| 2166 | congr 1 |
| 2167 | exact (transportTerm_eq_regular_on_nonnegative hO N h e α hv hu hf hz.2 |
| 2168 | (LeadingStress.inner_X_pos (p := AxisymmetricFields.profilePoint z.1 z.2) hh hh1 hz.1 hs) hi).symm |
| 2169 | |
| 2170 | theorem regularRadialField_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 2171 | {O : Set Inner} (hO : IsOpen O) (N : ℕ) (C : ℝ) |
| 2172 | {f : SlowProfiles} {phi u beta : ℕ → Inner → ℝ} |
| 2173 | (hv : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.flux j w = w.1 * beta j w) |
| 2174 | (hu : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.axial j w = u j w) |
| 2175 | (hp : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.phi j w = phi j w) |
| 2176 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 2177 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 2178 | {z : SpaceTime} (hz : z ∈ chartedDomain h O) (hs : 0 < AxisymmetricFields.radialEnergy z.2) : |
| 2179 | regularRadialField N h C phi u beta z = radialTailField N h C f z := by |
| 2180 | rw [← radialTailExpression_eq hh hh1 N C f ⟨hz.1, hs⟩] |
| 2181 | apply Finset.sum_congr rfl |
| 2182 | intro i hi |
| 2183 | change _ * _ = _ * _ |
| 2184 | congr 1 |
| 2185 | exact (pressureTerm_eq_regular_on_nonnegative hO N h C hv hu hp hb hL hz.2 |
| 2186 | (LeadingStress.inner_X_pos (p := AxisymmetricFields.profilePoint z.1 z.2) hh hh1 hz.1 hs) hi).symm |
| 2187 | |
| 2188 | theorem regularTruncation_eq {h : ℝ} (hh : 0 < h) (hh1 : h < 1 / 2) |
| 2189 | {O : Set Inner} (hO : IsOpen O) (N : ℕ) (C : ℝ) |
| 2190 | {f : SlowProfiles} {phi u beta : ℕ → Inner → ℝ} |
| 2191 | (hv : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.flux j w = w.1 * beta j w) |
| 2192 | (hu : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.axial j w = u j w) |
| 2193 | (hp : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.phi j w = phi j w) |
| 2194 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 2195 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 2196 | {z : SpaceTime} (hz : z ∈ chartedDomain h O) (hs : 0 < AxisymmetricFields.radialEnergy z.2) : |
| 2197 | regularTruncation N h C phi u beta z = truncationResidual N h C f z.1 z.2 := by |
| 2198 | rw [regularTruncation, assembleComponents_eq_pack, |
| 2199 | regularRadialField_eq hh hh1 hO N C hv hu hp hb hL hz hs, |
| 2200 | regularTransportField_eq hh hh1 hO N (angularExponent h) 1 hv hu hp hz hs, |
| 2201 | regularTransportField_eq hh hh1 hO N (axialExponent h) 0 hv hu hu hz hs] |
| 2202 | rfl |
| 2203 | |
| 2204 | /-- The exact finite physical error has a smooth continuation through the |
| 2205 | axis, and its physical jet bounds follow from its regular monomials. -/ |
| 2206 | theorem finite_error_rate {l : Filter SpaceTime} {h C lo hi r : ℝ} |
| 2207 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h lo hi) (hr : 0 < r) |
| 2208 | {d : Coefficients} (hd : SmoothCoefficients d) (hc : StressZeroCore d r) |
| 2209 | (f : SlowProfiles) (hfinite : FiniteIdentities h C d f) |
| 2210 | {O : Set Inner} (hO : IsOpen O) (hKO : innerBox lo hi ⊆ O) |
| 2211 | (N : ℕ) (phi u beta : ℕ → Inner → ℝ) |
| 2212 | (hp : ∀ j ≤ N, ContDiffOn ℝ ∞ (phi j) O) |
| 2213 | (hu : ∀ j ≤ N, ContDiffOn ℝ ∞ (u j) O) |
| 2214 | (hb : ∀ j ≤ N, ContDiffOn ℝ ∞ (beta j) O) |
| 2215 | (hv : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.flux j w = w.1 * beta j w) |
| 2216 | (heu : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.axial j w = u j w) |
| 2217 | (hep : ∀ j ≤ N, ∀ w ∈ O, 0 ≤ w.1 → f.phi j w = phi j w) |
| 2218 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) (M : ℕ) : |
| 2219 | FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 2220 | (fun z => navierStokesResidual (prefixVelocity N h C d) (prefixPressure N h C d) z.1 z.2 - |
| 2221 | prefixStressForce N h C d z) M (2 * (N : ℝ) * h - 2 - M) := by |
| 2222 | have hW := chartedDomain_isOpen hh hh1 hO |
| 2223 | have hWP : chartedDomain h O ⊆ past := fun _ hz => ⟨hz.1, mem_univ _⟩ |
| 2224 | have hRs := regularTruncation_smooth hh hh1 hO N C phi u beta hp hu hb hL |
| 2225 | have hEs := ((ResidualRegularity.contDiffOn_residual past_isOpen |
| 2226 | (prefixVelocity_smooth hh hh1 hd N C) (prefixPressure_smooth hh hh1 hd N C)).sub |
| 2227 | (prefixStressForce_smooth_past (C := C) hh hh1 hr hd hc N)).mono hWP |
| 2228 | have he := eqOn_of_off_axis hW hRs.continuousOn hEs.continuousOn (fun z hz hs => by |
| 2229 | rw [regularTruncation_eq hh hh1 hO N C hv heu hep hb hL hz hs, hfinite N z ⟨hz.1, hs⟩] |
| 2230 | abel) |
| 2231 | exact finiteRate_congr_on (regularTruncation_rate hh hh1 A hO hKO N C phi u beta hp hu hb hL M) |
| 2232 | hW (A.in_chartedDomain hh hh1 hKO) he |
| 2233 | |
| 2234 | end RegularFiniteTails |
| 2235 | |
| 2236 | section FullNonlinearAssembly |
| 2237 | |
| 2238 | open ProblemStatement DiagonalResidual ResidualStability SlowExpansionResidual |
| 2239 | |
| 2240 | /-- The actual nonlinear error is flat in all physical jets on compact |
| 2241 | similarity boxes, including the symmetry axis. Smooth extensions are used |
| 2242 | only for the coefficients; their positive-side values are specified here. -/ |
| 2243 | theorem baseResidual_jetRate_axis {l : Filter SpaceTime} {a : ℕ → ℕ} {h C hi r : ℝ} |
| 2244 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h 0 hi) (hr : 0 < r) |
| 2245 | {d : Coefficients} (hd : SmoothCoefficients d) (hc : StressZeroCore d r) |
| 2246 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox 0 hi) a) |
| 2247 | (f : SlowProfiles) (hfinite : FiniteIdentities h C d f) |
| 2248 | {O : Set Inner} (hO : IsOpen O) (hKO : innerBox 0 hi ⊆ O) |
| 2249 | (phi u beta : ℕ → Inner → ℝ) |
| 2250 | (hp : ∀ j, ContDiffOn ℝ ∞ (phi j) O) |
| 2251 | (hu : ∀ j, ContDiffOn ℝ ∞ (u j) O) |
| 2252 | (hb : ∀ j, ContDiffOn ℝ ∞ (beta j) O) |
| 2253 | (hv : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.flux j w = w.1 * beta j w) |
| 2254 | (heu : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.axial j w = u j w) |
| 2255 | (hep : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.phi j w = phi j w) |
| 2256 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) |
| 2257 | (m : ℕ) (n : ℝ) (hn : 0 ≤ n) : |
| 2258 | JetRate l (fun z => (cartesianChart h z).1) (baseResidual a h C d) m n := by |
| 2259 | let b : ℝ := CoordinateAlgebra.A h + m + 2 |
| 2260 | have hA : 0 < CoordinateAlgebra.A h := by unfold CoordinateAlgebra.A; linarith |
| 2261 | have hm : (0 : ℝ) ≤ m := Nat.cast_nonneg m |
| 2262 | have hb0 : 0 ≤ b := by dsimp [b]; positivity |
| 2263 | obtain ⟨N, hN⟩ := exists_nat_ge ((n + b + 2 * CoordinateAlgebra.A h + 6 * m + 12) / h) |
| 2264 | let J := max (m + 2) N |
| 2265 | have hJ : m + 2 ≤ J := le_max_left _ _ |
| 2266 | have hJN : (N : ℝ) ≤ J := by exact_mod_cast le_max_right (m + 2) N |
| 2267 | have hgain : n + b + 2 * CoordinateAlgebra.A h + 6 * m + 12 ≤ h * ((J : ℝ) + 1) := by |
| 2268 | have hn' := (div_le_iff₀ hh).mp hN |
| 2269 | nlinarith |
| 2270 | have hq := A.positive_small hh hh1 |
| 2271 | have hU := past_isOpen |
| 2272 | have hlU : ∀ᶠ z in l, z ∈ past := A.past.mono (fun _ ht => ⟨ht, mem_univ _⟩) |
| 2273 | have hus := baseVelocity_smooth ha.strictMono hh hh1 hd C |
| 2274 | have hps := basePressure_smooth ha.strictMono hh hh1 hd C |
| 2275 | have huJs := prefixVelocity_smooth hh hh1 hd J C |
| 2276 | have hpJs := prefixPressure_smooth hh hh1 hd J C |
| 2277 | have htS := baseStressForce_smooth_past (C := C) ha.strictMono hh hh1 hr hd hc |
| 2278 | have htJ := prefixStressForce_smooth_past (C := C) hh hh1 hr hd hc J |
| 2279 | have hbg : FiniteJetRate l (fun z => (cartesianChart h z).1) (prefixVelocity J h C d) |
| 2280 | (m + 1) (-b) := by |
| 2281 | convert! prefixVelocity_growth (C := C) hh hh1 A hd J (m + 1) using 1 |
| 2282 | dsimp [b] |
| 2283 | push_cast |
| 2284 | ring |
| 2285 | have hvel : FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 2286 | (fun z => baseVelocity a h C d z - prefixVelocity J h C d z) (m + 2) (n + b) := by |
| 2287 | apply finiteRate_weaken (velocity_prefix_rate hh hh1 A hd ha J (m + 2) (by omega)) hq |
| 2288 | push_cast |
| 2289 | nlinarith |
| 2290 | have hpres : FiniteJetRate l (fun z => (cartesianChart h z).1) |
| 2291 | (fun z => basePressure a h C d z - prefixPressure J h C d z) (m + 1) (n + b) := by |
| 2292 | apply finiteRate_weaken (pressure_prefix_rate hh hh1 A hd ha J (m + 1) (by omega)) hq |
| 2293 | push_cast |
| 2294 | nlinarith |
| 2295 | have hstress : JetRate l (fun z => (cartesianChart h z).1) |
| 2296 | (fun z => baseStressForce a h C d z - prefixStressForce J h C d z) m n := by |
| 2297 | apply (finiteRate_at (stress_prefix_rate_axis hh hh1 A hr hd hc ha J m (by omega)) le_rfl).weaken hq |
| 2298 | dsimp [b] at hgain |
| 2299 | nlinarith |
| 2300 | let EJ : SpaceTime → Space := fun z => |
| 2301 | navierStokesResidual (prefixVelocity J h C d) (prefixPressure J h C d) z.1 z.2 - |
| 2302 | prefixStressForce J h C d z |
| 2303 | have hEJ : JetRate l (fun z => (cartesianChart h z).1) EJ m n := by |
| 2304 | apply (finiteRate_at (finite_error_rate hh hh1 A hr hd hc f hfinite hO hKO J phi u beta |
| 2305 | (fun j _ => hp j) (fun j _ => hu j) (fun j _ => hb j) |
| 2306 | (fun j _ => hv j) (fun j _ => heu j) (fun j _ => hep j) hL m) le_rfl).weaken hq |
| 2307 | dsimp [b] at hgain |
| 2308 | nlinarith |
| 2309 | have hEJs : ContDiffOn ℝ ∞ EJ past := |
| 2310 | (ResidualRegularity.contDiffOn_residual hU huJs hpJs).sub htJ |
| 2311 | let Df := residualDifference (prefixVelocity J h C d) |
| 2312 | (fun z => baseVelocity a h C d z - prefixVelocity J h C d z) |
| 2313 | (prefixPressure J h C d) (fun z => basePressure a h C d z - prefixPressure J h C d z) |
| 2314 | have hDf : JetRate l (fun z => (cartesianChart h z).1) Df m n := |
| 2315 | residualDifference_jetRate hU hlU hq huJs (hus.sub huJs) hpJs (hps.sub hpJs) |
| 2316 | m hb0 hn hbg hvel hpres |
| 2317 | have hDfs : ContDiffOn ℝ ∞ Df past := |
| 2318 | (ResidualRegularity.contDiffOn_residual hU (huJs.add (hus.sub huJs)) |
| 2319 | (hpJs.add (hps.sub hpJs))).sub (ResidualRegularity.contDiffOn_residual hU huJs hpJs) |
| 2320 | have hsum := (hEJ.add hDf hU hlU hEJs hDfs).add (jetRate_neg hstress) hU hlU |
| 2321 | (hEJs.add hDfs) (htS.sub htJ).neg |
| 2322 | have hvelsum : (fun z => prefixVelocity J h C d z + |
| 2323 | (baseVelocity a h C d z - prefixVelocity J h C d z)) = baseVelocity a h C d := by |
| 2324 | funext z |
| 2325 | abel |
| 2326 | have hpressum : (fun z => prefixPressure J h C d z + |
| 2327 | (basePressure a h C d z - prefixPressure J h C d z)) = basePressure a h C d := by |
| 2328 | funext z |
| 2329 | abel |
| 2330 | have heq : (fun z => EJ z + Df z + -(baseStressForce a h C d z - prefixStressForce J h C d z)) = |
| 2331 | baseResidual a h C d := by |
| 2332 | funext z |
| 2333 | simp only [EJ, Df, residualDifference, hvelsum, hpressum, baseResidual] |
| 2334 | abel |
| 2335 | rwa [heq] at hsum |
| 2336 | |
| 2337 | theorem baseResidual_allJetsFlat_axis {l : Filter SpaceTime} {a : ℕ → ℕ} {h C hi r : ℝ} |
| 2338 | (hh : 0 < h) (hh1 : h < 1 / 2) (A : PhysicalApproach l h 0 hi) (hr : 0 < r) |
| 2339 | {d : Coefficients} (hd : SmoothCoefficients d) (hc : StressZeroCore d r) |
| 2340 | (ha : AdmissibleScales h (coefficientBundle C d) (innerBox 0 hi) a) |
| 2341 | (f : SlowProfiles) (hfinite : FiniteIdentities h C d f) |
| 2342 | {O : Set Inner} (hO : IsOpen O) (hKO : innerBox 0 hi ⊆ O) |
| 2343 | (phi u beta : ℕ → Inner → ℝ) |
| 2344 | (hp : ∀ j, ContDiffOn ℝ ∞ (phi j) O) |
| 2345 | (hu : ∀ j, ContDiffOn ℝ ∞ (u j) O) |
| 2346 | (hb : ∀ j, ContDiffOn ℝ ∞ (beta j) O) |
| 2347 | (hv : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.flux j w = w.1 * beta j w) |
| 2348 | (heu : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.axial j w = u j w) |
| 2349 | (hep : ∀ j, ∀ w ∈ O, 0 ≤ w.1 → f.phi j w = phi j w) |
| 2350 | (hL : ∀ w ∈ O, CoordinateAlgebra.L h w.2 ≠ 0) : |
| 2351 | AllJetsFlat l (fun z => (cartesianChart h z).1) (baseResidual a h C d) := by |
| 2352 | intro m N |
| 2353 | obtain ⟨K, hK, hb⟩ := baseResidual_jetRate_axis hh hh1 A hr hd hc ha f hfinite hO hKO |
| 2354 | phi u beta hp hu hb hv heu hep hL m N (Nat.cast_nonneg N) |
| 2355 | refine ⟨K, hK, ?_⟩ |
| 2356 | filter_upwards [A.positive_small hh hh1, hb] with z hz hbound |
| 2357 | simpa only [abs_norm, abs_of_pos hz.1, Real.rpow_natCast] using hbound |
| 2358 | |
| 2359 | end FullNonlinearAssembly |
| 2360 | |
| 2361 | section WeightedInputConstruction |
| 2362 | |
| 2363 | open ActiveAnnulusWeight |
| 2364 | |
| 2365 | /-- Higher-order support is strictly interior to the active annulus. |
| 2366 | The interval and its distance from the edges may depend on the order. -/ |
| 2367 | def HigherInteriorSupport (d : Coefficients) (left right : ℝ) : Prop := |
| 2368 | ∀ j : ℕ, 2 ≤ j → ∃ a b : ℝ, Icc a b ⊆ Ioo (Real.exp left) (Real.exp right) ∧ |
| 2369 | SlowStressSupport.radialSupport univ a b (d.stressTheta j) ∧ |
| 2370 | SlowStressSupport.radialSupport univ a b (d.stressAxial j) |
| 2371 | |
| 2372 | theorem higherStressQuotient_smooth_of_support {d : Coefficients} (hd : SmoothCoefficients d) |
| 2373 | {c left right : ℝ} (hc : 0 < c) (hs : HigherInteriorSupport d left right) (j : ℕ) : |
| 2374 | ContDiff ℝ ∞ (higherStressQuotient d (activeZeta c left right) j) := by |
| 2375 | by_cases hj : j ≤ 1 |
| 2376 | · unfold higherStressQuotient |
| 2377 | simp only [ite_eq_left hj] |
| 2378 | exact contDiff_const |
| 2379 | obtain ⟨a, b, hab, ht, hz⟩ := hs j (by omega) |
| 2380 | have hq (f : Inner → ℝ) (hf : ContDiff ℝ ∞ f) |
| 2381 | (hfS : SlowStressSupport.radialSupport univ a b f) : |
| 2382 | ContDiff ℝ ∞ (fun w => f w / activeZeta c left right w) := by |
| 2383 | have h := SlowStressSupport.interior_quotient_smooth isOpen_univ hf.contDiffOn hfS hab |
| 2384 | (radialWeight_smooth hc left right).contDiffOn |
| 2385 | (fun _ hx => (radialWeight_pos hx).ne') |
| 2386 | simpa only [SlowStressSupport.Smooth, SlowStressSupport.region, univ_prod_univ, |
| 2387 | contDiffOn_univ, activeZeta] using h |
| 2388 | have htq := hq (d.stressTheta j) (hd.stressTheta j) ht |
| 2389 | have hzq := hq (d.stressAxial j) (hd.stressAxial j) hz |
| 2390 | unfold higherStressQuotient |
| 2391 | simp only [ite_eq_right hj] |
| 2392 | simpa only [stressPair, Prod.smul_mk, smul_eq_mul, |
| 2393 | div_eq_mul_inv, mul_comm] using htq.prodMk hzq |
| 2394 | |
| 2395 | theorem compact_weighted_jet_bound {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 2396 | {f : Inner → V} (hf : ContDiff ℝ ∞ f) {zeta : Inner → ℝ} (hz : Continuous zeta) |
| 2397 | {K : Set Inner} (hK : IsCompact K) (hp : ∀ w ∈ K, 0 < zeta w) (m : ℕ) : |
| 2398 | ∃ C : ℝ, 0 < C ∧ ∀ w ∈ K, ‖iteratedFDeriv ℝ m f w‖ ≤ C * zeta w := by |
| 2399 | have hj : Continuous (iteratedFDeriv ℝ m f) := |
| 2400 | (hf.iteratedFDeriv_right (m := 0) (by simpa only [zero_add] using nat_le_infty m)).continuous |
| 2401 | have hc : ContinuousOn (fun w => ‖iteratedFDeriv ℝ m f w‖ / zeta w) K := |
| 2402 | hj.norm.continuousOn.div hz.continuousOn (fun w hw => (hp w hw).ne') |
| 2403 | obtain ⟨B, hB⟩ := hK.exists_bound_of_continuousOn hc |
| 2404 | refine ⟨max B 0 + 1, by positivity, fun w hw => ?_⟩ |
| 2405 | have he : ‖iteratedFDeriv ℝ m f w‖ / zeta w ≤ B := by |
| 2406 | simpa only [Real.norm_eq_abs, abs_of_nonneg (div_nonneg (norm_nonneg _) (hp w hw).le)] |
| 2407 | using hB w hw |
| 2408 | exact ((div_le_iff₀ (hp w hw)).mp he).trans |
| 2409 | (mul_le_mul_of_nonneg_right (by linarith [le_max_left B 0]) (hp w hw).le) |
| 2410 | |
| 2411 | noncomputable def outerWindow (cut right : ℝ) : Set Inner := |
| 2412 | Ico cut (Real.exp right) ×ˢ Icc (-1) 1 |
| 2413 | |
| 2414 | /-- Compact middle-region bounds and actual zero germs at the inner edge |
| 2415 | extend an outer collar estimate to the entire active annulus. -/ |
| 2416 | theorem edgeJets_of_outer_collar {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 2417 | {f : Inner → V} (hf : ContDiff ℝ ∞ f) {c left right inner cut : ℝ} |
| 2418 | (hc : 0 < c) (hl : Real.exp left < inner) (_hi : inner ≤ cut) (hr : cut < Real.exp right) |
| 2419 | (hzero : ∀ w : Inner, w.1 < inner → f w = 0) |
| 2420 | (ho : PolynomialEdgeJets (outerWindow cut right) (activeZeta c left right) |
| 2421 | (activeDelta left right) f) : |
| 2422 | PolynomialEdgeJets (activeWindow left right) (activeZeta c left right) |
| 2423 | (activeDelta left right) f := by |
| 2424 | intro m |
| 2425 | let K : Set Inner := Icc inner cut ×ˢ Icc (-1) 1 |
| 2426 | have hKW : K ⊆ activeWindow left right := fun _ hw => |
| 2427 | ⟨⟨hl.trans_le hw.1.1, hw.1.2.trans_lt hr⟩, hw.2⟩ |
| 2428 | obtain ⟨A, hA, hAb⟩ := compact_weighted_jet_bound hf |
| 2429 | (activeZeta_smooth hc left right).continuous (isCompact_Icc.prod isCompact_Icc) |
| 2430 | (fun w (hw : w ∈ K) => radialWeight_pos (hKW hw).1) m |
| 2431 | obtain ⟨B, hB, N, hBb⟩ := ho m |
| 2432 | refine ⟨A + B, add_pos hA hB, N, fun w hw => ?_⟩ |
| 2433 | have hz : 0 < activeZeta c left right w := radialWeight_pos hw.1 |
| 2434 | have hdelta := activeDelta_bounds hw |
| 2435 | have hN : 1 ≤ (activeDelta left right w)⁻¹ ^ N := |
| 2436 | one_le_pow₀ ((one_le_inv₀ hdelta.1).mpr hdelta.2) |
| 2437 | by_cases hwi : w.1 < inner |
| 2438 | · have he : f =ᶠ[𝓝 w] (fun _ => 0) := by |
| 2439 | filter_upwards [continuousAt_fst.eventually (Iio_mem_nhds hwi)] with v hv |
| 2440 | exact hzero v hv |
| 2441 | rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq he m).self_of_nhds, |
| 2442 | iteratedFDeriv_fun_zero, Pi.zero_apply, norm_zero] |
| 2443 | positivity |
| 2444 | by_cases hwc : w.1 ≤ cut |
| 2445 | · have hb := hAb w ⟨⟨le_of_not_gt hwi, hwc⟩, hw.2⟩ |
| 2446 | calc |
| 2447 | _ ≤ A * activeZeta c left right w := hb |
| 2448 | _ ≤ (A + B) * activeZeta c left right w := |
| 2449 | mul_le_mul_of_nonneg_right (by linarith) hz.le |
| 2450 | _ ≤ (A + B) * activeZeta c left right w * (activeDelta left right w)⁻¹ ^ N := |
| 2451 | le_mul_of_one_le_right (mul_nonneg (add_pos hA hB).le hz.le) hN |
| 2452 | · exact (hBb w ⟨⟨(lt_of_not_ge hwc).le, hw.1.2⟩, hw.2⟩).trans |
| 2453 | (mul_le_mul_of_nonneg_right |
| 2454 | (mul_le_mul_of_nonneg_right (by linarith) hz.le) |
| 2455 | (pow_nonneg (inv_nonneg.mpr hdelta.1.le) _)) |
| 2456 | |
| 2457 | theorem terminal_zeta_eq {c left y0 : ℝ} {w : Inner} (hw : 0 < w.1) : |
| 2458 | SlowFirstOrderEdge.zeta c (Real.exp left) y0 w.1 = activeZeta c left (y0 + 3) w := by |
| 2459 | simp [SlowFirstOrderEdge.zeta, activeZeta, radialWeight, hw, weight, |
| 2460 | Real.log_div hw.ne' (Real.exp_ne_zero left), Real.log_exp] |
| 2461 | |
| 2462 | theorem terminal_delta_eq {left y0 : ℝ} {w : Inner} (hw : 0 < w.1) : |
| 2463 | SlowFirstOrderEdge.edgeDistance (Real.exp left) y0 w.1 = activeDelta left (y0 + 3) w := by |
| 2464 | simp [SlowFirstOrderEdge.edgeDistance, activeDelta, edgeDistance, |
| 2465 | Real.log_div hw.ne' (Real.exp_ne_zero left), Real.log_exp] |
| 2466 | |
| 2467 | noncomputable def stressSlotInjection : ℝ →L[ℝ] Inner := |
| 2468 | (ContinuousLinearMap.id ℝ ℝ).prod 0 |
| 2469 | |
| 2470 | /-- The first-order collar bound is imported from the actual backward |
| 2471 | viscous stress primitive. Only its equality with the coefficient is supplied. -/ |
| 2472 | theorem firstOrder_pair_outer_edgeJets (C : ℝ) (d : OutgoingTail.TailData) |
| 2473 | (y0 : ℝ) {c left width : ℝ} (hc : 0 < c) (hw : 0 < width) |
| 2474 | (hl : left < y0 + 3 - width) {F : Inner → Inner} |
| 2475 | (he : ∀ w ∈ outerWindow (Real.exp (y0 + 3 - width)) (y0 + 3), |
| 2476 | F =ᶠ[𝓝 w] (fun v => (SlowFirstOrderEdge.stressX C d y0 v, 0))) : |
| 2477 | PolynomialEdgeJets (outerWindow (Real.exp (y0 + 3 - width)) (y0 + 3)) |
| 2478 | (activeZeta c left (y0 + 3)) (activeDelta left (y0 + 3)) F := by |
| 2479 | intro m |
| 2480 | obtain ⟨B, hB, N, hBb⟩ := SlowFirstOrderEdge.stressX_weighted_jets C d y0 m hw |
| 2481 | (Real.exp_pos left) hc (Real.exp_lt_exp.mpr hl) |
| 2482 | refine ⟨(‖stressSlotInjection‖ + 1) * B, mul_pos (by positivity) hB, N, fun w hwW => ?_⟩ |
| 2483 | have hX : 0 < w.1 := (Real.exp_pos _).trans_le hwW.1.1 |
| 2484 | have hb := hBb w.1 hwW.1 w.2 hwW.2 |
| 2485 | rw [terminal_zeta_eq hX, terminal_delta_eq hX, div_eq_mul_inv, ← inv_pow] at hb |
| 2486 | have hs := SlowFirstOrderEdge.stressX_contDiffOn C d y0 |
| 2487 | have hO : IsOpen {v : Inner | 0 < v.1} := isOpen_lt continuous_const continuous_fst |
| 2488 | have hj := ResidualStability.norm_jet_linear_map stressSlotInjection hO hs hX m |
| 2489 | rw [(SolenoidalDiagonal.iteratedFDeriv_eventuallyEq (he w hwW) m).self_of_nhds] |
| 2490 | change ‖iteratedFDeriv ℝ m (fun v => stressSlotInjection (SlowFirstOrderEdge.stressX C d y0 v)) w‖ ≤ _ |
| 2491 | have hz : 0 ≤ activeZeta c left (y0 + 3) w := by |
| 2492 | exact (radialWeight_pos ⟨(Real.exp_lt_exp.mpr hl).trans_le hwW.1.1, hwW.1.2⟩).le |
| 2493 | have hd : 0 ≤ (activeDelta left (y0 + 3) w)⁻¹ ^ N := by |
| 2494 | exact pow_nonneg (inv_nonneg.mpr (activeDelta_bounds |
| 2495 | ⟨⟨(Real.exp_lt_exp.mpr hl).trans_le hwW.1.1, hwW.1.2⟩, hwW.2⟩).1.le) _ |
| 2496 | calc |
| 2497 | _ ≤ ‖stressSlotInjection‖ * ‖iteratedFDeriv ℝ m (SlowFirstOrderEdge.stressX C d y0) w‖ := hj |
| 2498 | _ ≤ ‖stressSlotInjection‖ * (B * activeZeta c left (y0 + 3) w * (activeDelta left (y0 + 3) w)⁻¹ ^ N) := |
| 2499 | mul_le_mul_of_nonneg_left hb (norm_nonneg _) |
| 2500 | _ ≤ (‖stressSlotInjection‖ + 1) * (B * activeZeta c left (y0 + 3) w * (activeDelta left (y0 + 3) w)⁻¹ ^ N) := |
| 2501 | mul_le_mul_of_nonneg_right (by linarith) (mul_nonneg (mul_nonneg hB.le hz) hd) |
| 2502 | _ = _ := by ring |
| 2503 | |
| 2504 | end WeightedInputConstruction |
| 2505 | |
| 2506 | end NavierStokes.BaseResidual |