Metamath Proof Explorer


Theorem climeldmeq

Description: Two functions that are eventually equal, either both are convergent or both are divergent. (Contributed by Glauco Siliprandi, 26-Jun-2021)

Ref Expression
Hypotheses climeldmeq.z
|- Z = ( ZZ>= ` M )
climeldmeq.f
|- ( ph -> F e. V )
climeldmeq.g
|- ( ph -> G e. W )
climeldmeq.m
|- ( ph -> M e. ZZ )
climeldmeq.e
|- ( ( ph /\ k e. Z ) -> ( F ` k ) = ( G ` k ) )
Assertion climeldmeq
|- ( ph -> ( F e. dom ~~> <-> G e. dom ~~> ) )

Proof

Step Hyp Ref Expression
1 climeldmeq.z
 |-  Z = ( ZZ>= ` M )
2 climeldmeq.f
 |-  ( ph -> F e. V )
3 climeldmeq.g
 |-  ( ph -> G e. W )
4 climeldmeq.m
 |-  ( ph -> M e. ZZ )
5 climeldmeq.e
 |-  ( ( ph /\ k e. Z ) -> ( F ` k ) = ( G ` k ) )
6 3 adantr
 |-  ( ( ph /\ F e. dom ~~> ) -> G e. W )
7 fvexd
 |-  ( ( ph /\ F e. dom ~~> ) -> ( ~~> ` F ) e. _V )
8 climdm
 |-  ( F e. dom ~~> <-> F ~~> ( ~~> ` F ) )
9 8 bilani
 |-  ( ( ph /\ F e. dom ~~> ) -> F ~~> ( ~~> ` F ) )
10 1 2 3 4 5 climeq
 |-  ( ph -> ( F ~~> ( ~~> ` F ) <-> G ~~> ( ~~> ` F ) ) )
11 10 adantr
 |-  ( ( ph /\ F e. dom ~~> ) -> ( F ~~> ( ~~> ` F ) <-> G ~~> ( ~~> ` F ) ) )
12 9 11 mpbid
 |-  ( ( ph /\ F e. dom ~~> ) -> G ~~> ( ~~> ` F ) )
13 breldmg
 |-  ( ( G e. W /\ ( ~~> ` F ) e. _V /\ G ~~> ( ~~> ` F ) ) -> G e. dom ~~> )
14 6 7 12 13 syl3anc
 |-  ( ( ph /\ F e. dom ~~> ) -> G e. dom ~~> )
15 14 ex
 |-  ( ph -> ( F e. dom ~~> -> G e. dom ~~> ) )
16 2 adantr
 |-  ( ( ph /\ G e. dom ~~> ) -> F e. V )
17 fvexd
 |-  ( ( ph /\ G e. dom ~~> ) -> ( ~~> ` G ) e. _V )
18 climdm
 |-  ( G e. dom ~~> <-> G ~~> ( ~~> ` G ) )
19 18 bilani
 |-  ( ( ph /\ G e. dom ~~> ) -> G ~~> ( ~~> ` G ) )
20 5 eqcomd
 |-  ( ( ph /\ k e. Z ) -> ( G ` k ) = ( F ` k ) )
21 1 3 2 4 20 climeq
 |-  ( ph -> ( G ~~> ( ~~> ` G ) <-> F ~~> ( ~~> ` G ) ) )
22 21 adantr
 |-  ( ( ph /\ G e. dom ~~> ) -> ( G ~~> ( ~~> ` G ) <-> F ~~> ( ~~> ` G ) ) )
23 19 22 mpbid
 |-  ( ( ph /\ G e. dom ~~> ) -> F ~~> ( ~~> ` G ) )
24 breldmg
 |-  ( ( F e. V /\ ( ~~> ` G ) e. _V /\ F ~~> ( ~~> ` G ) ) -> F e. dom ~~> )
25 16 17 23 24 syl3anc
 |-  ( ( ph /\ G e. dom ~~> ) -> F e. dom ~~> )
26 25 ex
 |-  ( ph -> ( G e. dom ~~> -> F e. dom ~~> ) )
27 15 26 impbid
 |-  ( ph -> ( F e. dom ~~> <-> G e. dom ~~> ) )