Library Coqtail.Complex.Cseries


Require Export Complex.
Require Export Csequence.
Require Import Rsequence_def.
Open Local Scope C_scope.
Open Local Scope Cseq_scope.

Convergence of series

Definition Cser_cv Un l := Cseq_cv (sum_f_C0 Un) l.

Definition Cser_abs_cv Un l := Rseq_cv (sum_f_R0 (fun nCnorm (Un n))) l.

Definition Cser_cv_infty Un := Rseq_cv_pos_infty (sum_f_R0 (fun nCnorm (Un n))).

Bounds

Definition Cser_bound Un M := n, Cnorm (sum_f_C0 Un n) M.

Definition Cser_abs_bound Un M := n, sum_f_R0 (fun kCnorm (Un k)) n M.

Remainders of series

Definition Cser_rem (Un : natR) (l : R) (Hcv : Cser_cv Un l) (n : nat) :=
 (l - (sum_f_C0 Un n))%C.