@@ -502,13 +502,13 @@ theorem HasFPowerSeriesOnBall.comp_sub (hf : HasFPowerSeriesOnBall f p x r) (y :
502502theorem HasFPowerSeriesWithinOnBall.hasSum_sub (hf : HasFPowerSeriesWithinOnBall f p s x r) {y : E}
503503 (hy : y ∈ (insert x s) ∩ EMetric.ball x r) :
504504 HasSum (fun n : ℕ => p n fun _ => y - x) (f y) := by
505- have : y - x ∈ EMetric.ball (0 : E) r := by simpa [edist_eq_coe_nnnorm_sub ] using hy.2
505+ have : y - x ∈ EMetric.ball (0 : E) r := by simpa [edist_eq_enorm_sub ] using hy.2
506506 have := hf.hasSum (by simpa only [add_sub_cancel] using hy.1 ) this
507507 simpa only [add_sub_cancel]
508508
509509theorem HasFPowerSeriesOnBall.hasSum_sub (hf : HasFPowerSeriesOnBall f p x r) {y : E}
510510 (hy : y ∈ EMetric.ball x r) : HasSum (fun n : ℕ => p n fun _ => y - x) (f y) := by
511- have : y - x ∈ EMetric.ball (0 : E) r := by simpa [edist_eq_coe_nnnorm_sub ] using hy
511+ have : y - x ∈ EMetric.ball (0 : E) r := by simpa [edist_eq_enorm_sub ] using hy
512512 simpa only [add_sub_cancel] using hf.hasSum this
513513
514514theorem HasFPowerSeriesOnBall.radius_pos (hf : HasFPowerSeriesOnBall f p x r) : 0 < p.radius :=
@@ -543,7 +543,7 @@ lemma HasFPowerSeriesWithinOnBall.congr {f g : E → F} {p : FormalMultilinearSe
543543 · simpa using h''
544544 · apply h'
545545 refine ⟨hy, ?_⟩
546- simpa [edist_eq_coe_nnnorm_sub ] using h'y
546+ simpa [edist_eq_enorm_sub ] using h'y
547547
548548/-- Variant of `HasFPowerSeriesWithinOnBall.congr` in which one requests equality on `insert x s`
549549instead of separating `x` and `s`. -/
@@ -553,7 +553,7 @@ lemma HasFPowerSeriesWithinOnBall.congr' {f g : E → F} {p : FormalMultilinearS
553553 HasFPowerSeriesWithinOnBall g p s x r := by
554554 refine ⟨h.r_le, h.r_pos, fun {y} hy h'y ↦ ?_⟩
555555 convert h.hasSum hy h'y using 1
556- exact h' ⟨hy, by simpa [edist_eq_coe_nnnorm_sub ] using h'y⟩
556+ exact h' ⟨hy, by simpa [edist_eq_enorm_sub ] using h'y⟩
557557
558558lemma HasFPowerSeriesWithinAt.congr {f g : E → F} {p : FormalMultilinearSeries 𝕜 E F} {s : Set E}
559559 {x : E} (h : HasFPowerSeriesWithinAt f p s x) (h' : g =ᶠ[𝓝[s] x] f) (h'' : g x = f x) :
@@ -575,7 +575,7 @@ theorem HasFPowerSeriesOnBall.congr (hf : HasFPowerSeriesOnBall f p x r)
575575 hasSum := fun {y} hy => by
576576 convert hf.hasSum hy using 1
577577 apply hg.symm
578- simpa [edist_eq_coe_nnnorm_sub ] using hy }
578+ simpa [edist_eq_enorm_sub ] using hy }
579579
580580theorem HasFPowerSeriesAt.congr (hf : HasFPowerSeriesAt f p x) (hg : f =ᶠ[𝓝 x] g) :
581581 HasFPowerSeriesAt g p x := by
@@ -678,7 +678,7 @@ theorem HasFPowerSeriesWithinAt.mono_of_mem_nhdsWithin
678678 rcases hy with rfl | hy
679679 · simp
680680 apply mem_insert_of_mem _ (hr' ?_)
681- simp only [EMetric.mem_ball, edist_eq_coe_nnnorm_sub , sub_zero, lt_min_iff, mem_inter_iff,
681+ simp only [EMetric.mem_ball, edist_eq_enorm_sub , sub_zero, lt_min_iff, mem_inter_iff,
682682 add_sub_cancel_left, hy, and_true] at h'y ⊢
683683 exact h'y.2
684684
@@ -911,7 +911,7 @@ theorem HasFPowerSeriesWithinOnBall.tendsto_partialSum_prod {y : E}
911911 (atTop ×ˢ 𝓝 y) (𝓝 0 ) by simpa using A.add this
912912 apply Metric.tendsto_nhds.2 (fun ε εpos ↦ ?_)
913913 obtain ⟨r', yr', r'r⟩ : ∃ (r' : ℝ≥0 ), ‖y‖₊ < r' ∧ r' < r := by
914- simp [edist_eq_coe_nnnorm ] at hy
914+ simp [edist_zero_eq_enorm ] at hy
915915 simpa using ENNReal.lt_iff_exists_nnreal_btwn.1 hy
916916 have yr'_2 : ‖y‖ < r' := by simpa [← coe_nnnorm] using yr'
917917 have S : Summable fun n ↦ ‖p n‖ * ↑r' ^ n := p.summable_norm_mul_pow (r'r.trans_le hf.r_le)
@@ -990,7 +990,7 @@ theorem HasFPowerSeriesWithinOnBall.uniform_geometric_approx' {r' : ℝ≥0}
990990 have hr'0 : 0 < (r' : ℝ) := (norm_nonneg _).trans_lt yr'
991991 have : y ∈ EMetric.ball (0 : E) r := by
992992 refine mem_emetric_ball_zero_iff.2 (lt_trans ?_ h)
993- exact mod_cast yr'
993+ simpa [enorm] using yr'
994994 rw [norm_sub_rev, ← mul_div_right_comm]
995995 have ya : a * (‖y‖ / ↑r') ≤ a :=
996996 mul_le_of_le_one_right ha.1 .le (div_le_one_of_le₀ yr'.le r'.coe_nonneg)
@@ -1101,7 +1101,7 @@ theorem HasFPowerSeriesWithinOnBall.isBigO_image_sub_image_sub_deriv_principal
11011101 zero_add, ← Subsingleton.pi_single_eq (0 : Fin 1 ) (y.1 - x), Pi.single,
11021102 ← Subsingleton.pi_single_eq (0 : Fin 1 ) (y.2 - x), Pi.single, ← (p 1 ).map_update_sub,
11031103 ← Pi.single, Subsingleton.pi_single_eq, sub_sub_sub_cancel_right]
1104- rw [EMetric.mem_ball, edist_eq_coe_nnnorm_sub, ENNReal.coe_lt_coe ] at hy'
1104+ rw [EMetric.mem_ball, edist_eq_enorm_sub, enorm_lt_coe ] at hy'
11051105 set B : ℕ → ℝ := fun n => C * (a / r') ^ 2 * (‖y - (x, x)‖ * ‖y.1 - y.2 ‖) * ((n + 2 ) * a ^ n)
11061106 have hAB : ∀ n, ‖A (n + 2 )‖ ≤ B n := fun n =>
11071107 calc
@@ -1281,7 +1281,7 @@ theorem HasFPowerSeriesWithinOnBall.tendstoLocallyUniformlyOn'
12811281 · ext z
12821282 simp
12831283 · intro z
1284- simp [edist_eq_coe_nnnorm, edist_eq_coe_nnnorm_sub ]
1284+ simp [edist_zero_eq_enorm, edist_eq_enorm_sub ]
12851285
12861286/-- If a function admits a power series expansion at `x`, then it is the locally uniform limit of
12871287the partial sums of this power series on the disk of convergence, i.e., `f y`
0 commit comments