Skip to content

Commit

Permalink
generalize (l : V) to (l : set_system V) in sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
t6s committed Dec 7, 2024
1 parent f788745 commit 8590831
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@

### Generalized

- in `sequences.v`:
+ lemmas `cvg_restrict`, `cvg_centern`, `cvg_shiftn cvg_shiftS`

- in `probability.v`:
+ definition `random_variable`
+ lemmas `notin_range_measure`, `probability_range`
Expand Down
8 changes: 4 additions & 4 deletions theories/sequences.v
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ Section sequences_patched.
Section NatShift.

Variables (N : nat) (V : ptopologicalType).
Implicit Types (f : nat -> V) (u : V ^nat) (l : V).
Implicit Types (f : nat -> V) (u : V ^nat) (l : set_system V).

Lemma cvg_restrict f u_ l :
([sequence if (n <= N)%N then f n else u_ n]_n @ \oo --> l) =
Expand Down Expand Up @@ -410,7 +410,7 @@ End NatShift.

Variables (V : ptopologicalType).

Lemma cvg_shiftS u_ (l : V) :
Lemma cvg_shiftS u_ (l : set_system V) :
([sequence u_ n.+1]_n @ \oo --> l) = (u_ @ \oo --> l).
Proof.
suff -> : [sequence u_ n.+1]_n = [sequence u_(n + 1)%N]_n by rewrite cvg_shiftn.
Expand Down Expand Up @@ -645,7 +645,7 @@ Proof. by rewrite telescopeK/= addrC addrNK. Qed.

Section series_patched.
Variables (N : nat) (K : numFieldType) (V : normedModType K).
Implicit Types (f : nat -> V) (u : V ^nat) (l : V).
Implicit Types (f : nat -> V) (u : V ^nat) (l : set_system V).

Lemma is_cvg_series_restrict u_ :
cvgn [sequence \sum_(N <= k < n) u_ k]_n = cvgn (series u_).
Expand Down Expand Up @@ -3002,7 +3002,7 @@ rewrite cvg_ex //= => -[l Hl]; exists l; split.
by move: Ball_a0; rewrite closed_ballE //= subsetI; apply: proj1.
- move=> i _.
have : closed_ball (a i) (r i)%:num l.
rewrite -(@cvg_shiftn i _ a l) /= in Hl.
rewrite -(@cvg_shiftn i _ a _) /= in Hl.
apply: (@closed_cvg _ _ \oo eventually_filter (fun n => a (n + i)%N)) => //=.
+ exact: closed_ball_closed.
+ by apply: nearW; move=> n; exact/(Suite_ball _ _ (leq_addl n i))/closed_ballxx.
Expand Down

0 comments on commit 8590831

Please sign in to comment.