Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@
+ `lb_ereal_inf` -> `le_ereal_inf_tmp`
+ `ereal_sup_ge` -> `le_ereal_sup_tmp`

- in `sequences.v`:
+ `adjacent` -> `adjacent_seq`

### Generalized

- in `pseudometric_normed_Zmodule.v`:
Expand Down
6 changes: 4 additions & 2 deletions theories/sequences.v
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ From mathcomp Require Import ereal topology tvs normedtype landau.
(* is convergent and its limit is sup u_n *)
(* nonincreasing_cvgn u_ == if u_ is nonincreasing u_ and bound by below *)
(* then u_ is convergent *)
(* adjacent == adjacent sequences lemma *)
(* adjacent_seq == adjacent sequences lemma *)
(* cesaro == Cesaro's lemma *)
(* ``` *)
(* *)
Expand Down Expand Up @@ -681,7 +681,7 @@ rewrite -(opprK u_); apply: is_cvgN; apply/(@near_nondecreasing_is_cvgn _ (- m))
- by apply: filterS u_m => x u_x; rewrite lerNl opprK.
Qed.

Lemma adjacent (u_ v_ : R ^nat) : nondecreasing_seq u_ -> nonincreasing_seq v_ ->
Lemma adjacent_seq (u_ v_ : R ^nat) : nondecreasing_seq u_ -> nonincreasing_seq v_ ->
v_ - u_ @ \oo --> 0 ->
[/\ limn v_ = limn u_, cvgn u_ & cvgn v_].
Proof.
Expand All @@ -699,6 +699,8 @@ by split=> //; apply/eqP; rewrite -subr_eq0 -limB //; exact/eqP/cvg_lim.
Qed.

End sequences_R_lemmas.
#[deprecated(since="mathcomp-analysis 1.14.0", note="renamed to `adjacent_seq`")]
Notation adjacent := adjacent_seq (only parsing).

Definition harmonic {R : fieldType} : R ^nat := [sequence n.+1%:R^-1]_n.
Arguments harmonic {R} n /.
Expand Down