The areas / V12. Number theory
Mathlib.NumberTheory.AbelSummation
13 declarations. Mathlib docs · Source
Abel's summation formula
We prove several versions of Abel's summation formula.
Results
-
sum_mul_eq_sub_sub_integral_mul: general statement of the formula for a sum between two (nonnegative) realsaandb. -
sum_mul_eq_sub_integral_mul: a specialized version ofsum_mul_eq_sub_sub_integral_mulfor the casea = 0. -
sum_mul_eq_sub_integral_mul₀: a specialized version ofsum_mul_eq_sub_integral_mulfor when the first coefficient of the sequence is0. This is useful forArithmeticFunction.
Primed versions of the three results above are also stated for when the endpoints are Nat.
-
tendsto_sum_mul_atTop_nhds_one_sub_integral: limit version ofsum_mul_eq_sub_integral_mulwhenatends to∞. -
tendsto_sum_mul_atTop_nhds_one_sub_integral₀: limit version ofsum_mul_eq_sub_integral_mul₀whenatends to∞. -
summable_mul_of_bigO_atTop: letc : ℕ → 𝕜andf : ℝ → 𝕜with𝕜 = ℝorℂ, prove the summability ofn ↦ (c n) * (f n)using Abel's formula under somebigOassumptions at infinity.
References
theorem integrableOn_mul_sum_Icc E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {a b : ℝ} {m : ℕ},
0 ≤ a →
∀ {g : ℝ → 𝕜},
MeasureTheory.IntegrableOn g (Set.Icc a b) MeasureTheory.volume →
MeasureTheory.IntegrableOn (fun t ↦ g t * ∑ k ∈ Finset.Icc m ⌊t⌋₊, c k) (Set.Icc a b) MeasureTheory.volume
theorem sum_mul_eq_sub_sub_integral_mul E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜} {a b : ℝ},
0 ≤ a →
a ≤ b →
(∀ t ∈ Set.Icc a b, DifferentiableAt ℝ f t) →
MeasureTheory.IntegrableOn (deriv f) (Set.Icc a b) MeasureTheory.volume →
∑ k ∈ Finset.Ioc ⌊a⌋₊ ⌊b⌋₊, f ↑k * c k =
f b * ∑ k ∈ Finset.Icc 0 ⌊b⌋₊, c k - f a * ∑ k ∈ Finset.Icc 0 ⌊a⌋₊, c k -
∫ (t : ℝ) in Set.Ioc a b, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k
Abel's summation formula.
theorem sum_mul_eq_sub_sub_integral_mul' E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜} {n m : ℕ},
n ≤ m →
(∀ t ∈ Set.Icc ↑n ↑m, DifferentiableAt ℝ f t) →
MeasureTheory.IntegrableOn (deriv f) (Set.Icc ↑n ↑m) MeasureTheory.volume →
∑ k ∈ Finset.Ioc n m, f ↑k * c k =
f ↑m * ∑ k ∈ Finset.Icc 0 m, c k - f ↑n * ∑ k ∈ Finset.Icc 0 n, c k -
∫ (t : ℝ) in Set.Ioc ↑n ↑m, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k
A version of sum_mul_eq_sub_sub_integral_mul where the endpoints are Nat.
theorem sum_mul_eq_sub_integral_mul E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜} {b : ℝ},
0 ≤ b →
(∀ t ∈ Set.Icc 0 b, DifferentiableAt ℝ f t) →
MeasureTheory.IntegrableOn (deriv f) (Set.Icc 0 b) MeasureTheory.volume →
∑ k ∈ Finset.Icc 0 ⌊b⌋₊, f ↑k * c k =
f b * ∑ k ∈ Finset.Icc 0 ⌊b⌋₊, c k - ∫ (t : ℝ) in Set.Ioc 0 b, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k
Specialized version of sum_mul_eq_sub_sub_integral_mul for the case a = 0
theorem sum_mul_eq_sub_integral_mul' E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜} (m : ℕ),
(∀ t ∈ Set.Icc 0 ↑m, DifferentiableAt ℝ f t) →
MeasureTheory.IntegrableOn (deriv f) (Set.Icc 0 ↑m) MeasureTheory.volume →
∑ k ∈ Finset.Icc 0 m, f ↑k * c k =
f ↑m * ∑ k ∈ Finset.Icc 0 m, c k - ∫ (t : ℝ) in Set.Ioc 0 ↑m, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k
A version of sum_mul_eq_sub_integral_mul where the endpoint is a Nat.
theorem sum_mul_eq_sub_integral_mul₀ E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜},
c 0 = 0 →
∀ (b : ℝ),
(∀ t ∈ Set.Icc 1 b, DifferentiableAt ℝ f t) →
MeasureTheory.IntegrableOn (deriv f) (Set.Icc 1 b) MeasureTheory.volume →
∑ k ∈ Finset.Icc 0 ⌊b⌋₊, f ↑k * c k =
f b * ∑ k ∈ Finset.Icc 0 ⌊b⌋₊, c k - ∫ (t : ℝ) in Set.Ioc 1 b, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k
Specialized version of sum_mul_eq_sub_integral_mul when the first coefficient of the sequence
c is equal to 0.
theorem sum_mul_eq_sub_integral_mul₀' E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜},
c 0 = 0 →
∀ (m : ℕ),
(∀ t ∈ Set.Icc 1 ↑m, DifferentiableAt ℝ f t) →
MeasureTheory.IntegrableOn (deriv f) (Set.Icc 1 ↑m) MeasureTheory.volume →
∑ k ∈ Finset.Icc 0 m, f ↑k * c k =
f ↑m * ∑ k ∈ Finset.Icc 0 m, c k - ∫ (t : ℝ) in Set.Ioc 1 ↑m, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k
A version of sum_mul_eq_sub_integral_mul₀ where the endpoint is a Nat.
theorem sum_mul_eq_sub_integral_mul₁ E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜},
c 0 = 0 →
c 1 = 0 →
∀ (b : ℝ),
(∀ t ∈ Set.Icc 2 b, DifferentiableAt ℝ f t) →
MeasureTheory.IntegrableOn (deriv f) (Set.Icc 2 b) MeasureTheory.volume →
∑ k ∈ Finset.Icc 0 ⌊b⌋₊, f ↑k * c k =
f b * ∑ k ∈ Finset.Icc 0 ⌊b⌋₊, c k - ∫ (t : ℝ) in Set.Ioc 2 b, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k
Specialized version of sum_mul_eq_sub_integral_mul when c 0 = c 1 = 0.
theorem locallyIntegrableOn_mul_sum_Icc E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {a : ℝ} {m : ℕ},
0 ≤ a →
∀ {g : ℝ → 𝕜},
MeasureTheory.LocallyIntegrableOn g (Set.Ici a) MeasureTheory.volume →
MeasureTheory.LocallyIntegrableOn (fun t ↦ g t * ∑ k ∈ Finset.Icc m ⌊t⌋₊, c k) (Set.Ici a) MeasureTheory.volume
theorem tendsto_sum_mul_atTop_nhds_one_sub_integral E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜},
(∀ t ∈ Set.Ici 0, DifferentiableAt ℝ f t) →
MeasureTheory.LocallyIntegrableOn (deriv f) (Set.Ici 0) MeasureTheory.volume →
∀ {l : 𝕜},
Filter.Tendsto (fun n ↦ f ↑n * ∑ k ∈ Finset.Icc 0 n, c k) Filter.atTop (nhds l) →
∀ {g : ℝ → 𝕜},
(fun t ↦ deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k) =O[Filter.atTop] g →
MeasureTheory.IntegrableAtFilter g Filter.atTop MeasureTheory.volume →
Filter.Tendsto (fun n ↦ ∑ k ∈ Finset.Icc 0 n, f ↑k * c k) Filter.atTop
(nhds (l - ∫ (t : ℝ) in Set.Ioi 0, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k))
theorem tendsto_sum_mul_atTop_nhds_one_sub_integral₀ E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜},
c 0 = 0 →
(∀ t ∈ Set.Ici 1, DifferentiableAt ℝ f t) →
MeasureTheory.LocallyIntegrableOn (deriv f) (Set.Ici 1) MeasureTheory.volume →
∀ {l : 𝕜},
Filter.Tendsto (fun n ↦ f ↑n * ∑ k ∈ Finset.Icc 0 n, c k) Filter.atTop (nhds l) →
∀ {g : ℝ → ℝ},
(fun t ↦ deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k) =O[Filter.atTop] g →
MeasureTheory.IntegrableAtFilter g Filter.atTop MeasureTheory.volume →
Filter.Tendsto (fun n ↦ ∑ k ∈ Finset.Icc 0 n, f ↑k * c k) Filter.atTop
(nhds (l - ∫ (t : ℝ) in Set.Ioi 1, deriv f t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, c k))
theorem summable_mul_of_bigO_atTop E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜},
(∀ t ∈ Set.Ici 0, DifferentiableAt ℝ (fun x ↦ ‖f x‖) t) →
MeasureTheory.LocallyIntegrableOn (deriv fun t ↦ ‖f t‖) (Set.Ici 0) MeasureTheory.volume →
((fun n ↦ ‖f ↑n‖ * ∑ k ∈ Finset.Icc 0 n, ‖c k‖) =O[Filter.atTop] fun x ↦ 1) →
∀ {g : ℝ → ℝ},
(fun t ↦ deriv (fun t ↦ ‖f t‖) t * ∑ k ∈ Finset.Icc 0 ⌊t⌋₊, ‖c k‖) =O[Filter.atTop] g →
MeasureTheory.IntegrableAtFilter g Filter.atTop MeasureTheory.volume → Summable fun n ↦ f ↑n * c n
theorem summable_mul_of_bigO_atTop' E1 #
∀ {𝕜 : Type u_1} [inst : RCLike 𝕜] (c : ℕ → 𝕜) {f : ℝ → 𝕜},
(∀ t ∈ Set.Ici 1, DifferentiableAt ℝ (fun x ↦ ‖f x‖) t) →
MeasureTheory.LocallyIntegrableOn (deriv fun t ↦ ‖f t‖) (Set.Ici 1) MeasureTheory.volume →
((fun n ↦ ‖f ↑n‖ * ∑ k ∈ Finset.Icc 1 n, ‖c k‖) =O[Filter.atTop] fun x ↦ 1) →
∀ {g : ℝ → ℝ},
(fun t ↦ deriv (fun t ↦ ‖f t‖) t * ∑ k ∈ Finset.Icc 1 ⌊t⌋₊, ‖c k‖) =O[Filter.atTop] g →
MeasureTheory.IntegrableAtFilter g Filter.atTop MeasureTheory.volume → Summable fun n ↦ f ↑n * c n
A version of summable_mul_of_bigO_atTop that can be useful to avoid difficulties near zero.