Skip to content

Commit 26b3ef0

Browse files
authored
fixes #1735 (adjacent_seq) (#1745)
* fixes #1735
1 parent 95a61c3 commit 26b3ef0

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG_UNRELEASED.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@
339339
+ `lb_ereal_inf` -> `le_ereal_inf_tmp`
340340
+ `ereal_sup_ge` -> `le_ereal_sup_tmp`
341341

342+
- in `sequences.v`:
343+
+ `adjacent` -> `adjacent_seq`
344+
342345
### Generalized
343346

344347
- in `pseudometric_normed_Zmodule.v`:

theories/sequences.v

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ From mathcomp Require Import ereal topology tvs normedtype landau.
5757
(* is convergent and its limit is sup u_n *)
5858
(* nonincreasing_cvgn u_ == if u_ is nonincreasing u_ and bound by below *)
5959
(* then u_ is convergent *)
60-
(* adjacent == adjacent sequences lemma *)
60+
(* adjacent_seq == adjacent sequences lemma *)
6161
(* cesaro == Cesaro's lemma *)
6262
(* ``` *)
6363
(* *)
@@ -681,7 +681,7 @@ rewrite -(opprK u_); apply: is_cvgN; apply/(@near_nondecreasing_is_cvgn _ (- m))
681681
- by apply: filterS u_m => x u_x; rewrite lerNl opprK.
682682
Qed.
683683

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

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

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

0 commit comments

Comments
 (0)