Documentation

Projects.RealAnalysis.Series

def RealAnalysis.series (a : ) (n : ) :
Equations
Instances For
    theorem RealAnalysis.series_eq {a : } :
    series a = fun (n : ) => iFinset.range n, a i
    @[simp]
    theorem RealAnalysis.series_zero {a : } :
    series a 0 = 0
    theorem RealAnalysis.series_succ {a : } {n : } :
    series a (n + 1) = series a n + a n
    @[simp]
    theorem RealAnalysis.series_const {x : } {n : } :
    series (fun (x_1 : ) => x) n = n * x
    @[simp]
    theorem RealAnalysis.inv_add_tendsTo_zero {x : } :
    tendsTo (fun (n : ) => (n + x)⁻¹) 0
    theorem RealAnalysis.add_div_add_tendsTo_one_aux₁ {x y : } (hy : 0 < y) :
    tendsTo (fun (n : ) => (n + x) / (n + y)) 1
    @[simp]
    theorem RealAnalysis.add_div_add_tendsTo_one {x y : } :
    tendsTo (fun (n : ) => (n + x) / (n + y)) 1
    @[simp]
    theorem RealAnalysis.add_div_tendsTo_one {x : } :
    tendsTo (fun (n : ) => (n + x) / n) 1
    @[simp]
    theorem RealAnalysis.div_add_tendsTo_one {x : } :
    tendsTo (fun (n : ) => n / (n + x)) 1
    theorem RealAnalysis.leibniz_sum {n : } :
    iFinset.range n, 1 / ((i + 1) * (i + 2)) = n / (n + 1)
    theorem RealAnalysis.leibniz_sum' {n : } :
    iFinset.range n, 1 / ((i + 1) * (i + 2)) = 1 - 1 / (n + 1)
    theorem RealAnalysis.leibniz_series_tendsTo :
    tendsTo (series fun (n : ) => 1 / ((n + 1) * (n + 2))) 1
    theorem RealAnalysis.series_le_of_le {a b : } {n : } (h₁ : ∀ (n : ), a n b n) :
    series a n series b n
    theorem RealAnalysis.converges_of_monoLe_and_forall_le_add {a b : } {x : } (h₁ : converges b) (h₂ : monoLe a) (h₃ : ∀ (n : ), a n b n + x) :
    theorem RealAnalysis.converges_of_monoLe_and_forall_le {a b : } (h₁ : converges b) (h₂ : monoLe a) (h₃ : ∀ (n : ), a n b n) :
    theorem RealAnalysis.series_add {a : } {n k : } :
    series a (n + k) = series a n + series (fun (x : ) => a (n + x)) k
    theorem RealAnalysis.series_add' {a : } {n k : } :
    series a (n + k) = series a k + series (fun (x : ) => a (k + x)) n
    theorem RealAnalysis.converges_basel {x : } :
    converges (series fun (n : ) => 1 / (n + x) ^ 2)
    @[simp]
    theorem RealAnalysis.subseq_add_right {k : } :
    Subseq fun (x : ) => x + k
    @[simp]
    theorem RealAnalysis.subseq_add_left {k : } :
    Subseq fun (x : ) => k + x
    @[simp]
    theorem RealAnalysis.subseq_mul_right {k : } (h : k 0) :
    Subseq fun (x : ) => x * k
    @[simp]
    theorem RealAnalysis.subseq_mul_left {k : } (h : k 0) :
    Subseq fun (x : ) => k * x
    theorem RealAnalysis.pow_tendsTo_zero_of_pos_and_lt_one {x : } (h₁ : 0 < x) (h₂ : x < 1) :
    tendsTo (fun (x_1 : ) => x ^ x_1) 0
    theorem RealAnalysis.geom_series_eq {x : } {n : } (h : x 1) :
    series (fun (x_1 : ) => x ^ x_1) n = (1 - x ^ n) / (1 - x)
    theorem RealAnalysis.geom_series_eq_ext {x : } (h : x 1) :
    (series fun (x_1 : ) => x ^ x_1) = fun (n : ) => (1 - x ^ n) / (1 - x)
    theorem RealAnalysis.geom_series_tendsTo {x : } (h₁ : 0 < x) (h₂ : x < 1) :
    tendsTo (series fun (x_1 : ) => x ^ x_1) (1 / (1 - x))
    theorem RealAnalysis.limit_le_limit_of_forall_le {a b : } {L M : } (h₁ : tendsTo a L) (h₂ : tendsTo b M) (h₃ : ∀ (n : ), a n b n) :
    L M
    theorem RealAnalysis.tendsTo_zero_of_abs_tendsTo {a : } (h : tendsTo (fun (x : ) => |a x|) 0) :
    theorem RealAnalysis.abs_tendsTo_zero_iff {a : } :
    tendsTo (fun (x : ) => |a x|) 0 tendsTo a 0
    theorem RealAnalysis.le_limit_of_monoLe' {a : } {L : } {n : } (h₁ : monoLe a) (h₂ : tendsTo a L) :
    a n L
    theorem RealAnalysis.limit_le_of_monoGe' {a : } {L : } {n : } (h₁ : monoGe a) (h₂ : tendsTo a L) :
    L a n
    theorem RealAnalysis.le_limit_of_monoLe {a : } {L : } (h₁ : monoLe a) (h₂ : tendsTo a L) (n : ) :
    a n L
    theorem RealAnalysis.limit_le_of_monoGe {a : } {L : } (h₁ : monoGe a) (h₂ : tendsTo a L) (n : ) :
    L a n
    @[simp]
    theorem RealAnalysis.monoLe_series_abs {a : } :
    monoLe (series fun (x : ) => |a x|)
    theorem RealAnalysis.abs_series_le_series_abs {a : } {n : } :
    |series a n| series (fun (x : ) => |a x|) n
    theorem RealAnalysis.series_sub_series_of_le {a : } {n m : } (h : n m) :
    series a m - series a n = iFinset.Ico n m, a i
    theorem RealAnalysis.sum_range_mul_two_alternating {a : } {m : } :
    kFinset.range (m * 2), (-1) ^ k * a k = kFinset.range m, (a (k * 2) - a (k * 2 + 1))
    theorem RealAnalysis.subseq_lt_of_lt {σ : } {i j : } (h₁ : Subseq σ) (h₂ : i < j) :
    σ i < σ j
    theorem RealAnalysis.subseq_le_of_le {σ : } {i j : } (h₁ : Subseq σ) (h₂ : i j) :
    σ i σ j
    theorem RealAnalysis.subseq_eq_of_eq {σ : } {i j : } (h₂ : i = j) :
    σ i = σ j
    theorem RealAnalysis.eq_of_subseq_eq {σ : } {i j : } (h₁ : Subseq σ) (h₂ : σ i = σ j) :
    i = j
    theorem RealAnalysis.subseq_eq_iff {σ : } {i j : } (h₁ : Subseq σ) :
    σ i = σ j i = j
    theorem RealAnalysis.lt_of_subseq_lt {σ : } {i j : } (h₁ : Subseq σ) (h₂ : σ i < σ j) :
    i < j
    theorem RealAnalysis.subseq_lt_iff {σ : } {i j : } (h₁ : Subseq σ) :
    σ i < σ j i < j
    theorem RealAnalysis.le_of_subseq_le {σ : } {i j : } (h₁ : Subseq σ) (h₂ : σ i σ j) :
    i j
    theorem RealAnalysis.subseq_le_iff {σ : } {i j : } (h₁ : Subseq σ) :
    σ i σ j i j
    theorem RealAnalysis.subseq_ne_of_ne {σ : } {i j : } (h₁ : Subseq σ) (h₂ : i j) :
    σ i σ j
    theorem RealAnalysis.ne_of_subseq_ne {σ : } {i j : } (h₁ : Subseq σ) (h₂ : σ i σ j) :
    i j
    theorem RealAnalysis.subseq_ne_iff {σ : } {i j : } (h₁ : Subseq σ) :
    σ i σ j i j
    theorem RealAnalysis.monoLe_subseq {a : } {σ : } (h₁ : monoLe a) (h₂ : Subseq σ) :
    monoLe fun (x : ) => a (σ x)
    theorem RealAnalysis.monoGe_subseq {a : } {σ : } (h₁ : monoGe a) (h₂ : Subseq σ) :
    monoGe fun (x : ) => a (σ x)
    theorem RealAnalysis.monoLt_subseq {a : } {σ : } (h₁ : monoLt a) (h₂ : Subseq σ) :
    monoLt fun (x : ) => a (σ x)
    theorem RealAnalysis.monoGt_subseq {a : } {σ : } (h₁ : monoGt a) (h₂ : Subseq σ) :
    monoGt fun (x : ) => a (σ x)
    theorem RealAnalysis.limit_eq_of_sub_tendsTo_zero {a b : } {L M : } (h₁ : tendsTo a L) (h₂ : tendsTo b M) (h₃ : tendsTo (a - b) 0) :
    L = M
    theorem RealAnalysis.converges_series_alternating_of_monoGe.aux₁ {a : } {n : } (h₁ : monoGe a) (h₂ : tendsTo a 0) :
    0 a n
    theorem RealAnalysis.converges_series_alternating_of_monoGe.aux₂ {a : } {n : } {f : } (h₁ : monoGe a) :
    0 kFinset.range n, (a (f k) - a (f k + 1))
    theorem RealAnalysis.converges_series_alternating_of_monoGe.aux₃ {a : } {n : } (h₁ : monoGe a) (h₂ : tendsTo a 0) :
    0 kFinset.range n, (-1) ^ k * a k
    theorem RealAnalysis.converges_series_alternating_of_monoGe.aux₄ {a : } {n : } (h₁ : monoGe a) (h₂ : tendsTo a 0) :
    kFinset.range n, (-1) ^ k * a k a 0
    theorem RealAnalysis.converges_series_alternating_of_monoGe {a : } (h₁ : monoGe a) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    @[simp]
    theorem RealAnalysis.neg_series' {a : } :
    @[simp]
    theorem RealAnalysis.neg_series {a : } {n : } :
    -series a n = series (-a) n
    theorem RealAnalysis.converges_series_alternating_of_monoLe {a : } (h₁ : monoLe a) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    theorem RealAnalysis.converges_series_alternating_of_monoGt {a : } (h₁ : monoGt a) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    theorem RealAnalysis.converges_series_alternating_of_monoLt {a : } (h₁ : monoLt a) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    theorem RealAnalysis.series_drop_eq {a : } {N : } :
    (series fun (x : ) => a (N + x)) = fun (n : ) => series a (N + n) - series a N
    theorem RealAnalysis.series_drop_tendsTo_of {a : } {L : } {N : } (h : tendsTo (series a) L) :
    tendsTo (series fun (x : ) => a (N + x)) (L - series a N)
    theorem RealAnalysis.series_drop_tendsTo_iff {a : } {L : } {N : } :
    tendsTo (series fun (x : ) => a (N + x)) L tendsTo (series a) (L + series a N)
    theorem RealAnalysis.converges_series_drop_iff {a : } {N : } :
    converges (series fun (x : ) => a (N + x)) converges (series a)
    theorem RealAnalysis.converges_series_alternating_of_monoLe_drop {a : } {N : } (h₁ : monoLe fun (x : ) => a (N + x)) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    theorem RealAnalysis.converges_series_alternating_of_monoGe_drop {a : } {N : } (h₁ : monoGe fun (x : ) => a (N + x)) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    theorem RealAnalysis.converges_series_alternating_of_monoLt_drop {a : } {N : } (h₁ : monoLt fun (x : ) => a (N + x)) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    theorem RealAnalysis.converges_series_alternating_of_monoGt_drop {a : } {N : } (h₁ : monoGt fun (x : ) => a (N + x)) (h₂ : tendsTo a 0) :
    converges (series fun (n : ) => (-1) ^ n * a n)
    theorem RealAnalysis.tendsTo_even_of {a : } {L : } (h : tendsTo a L) :
    tendsTo (fun (x : ) => a (x * 2)) L
    theorem RealAnalysis.tendsTo_odd_of {a : } {L : } (h : tendsTo a L) :
    tendsTo (fun (x : ) => a (x * 2 + 1)) L