Description: A composition restricted to a singleton is a function under certain conditions. (Contributed by Alexander van der Vekens, 25-Jul-2017)
Ref | Expression | ||
---|---|---|---|
Assertion | funcoressn | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | dmressnsn | |
|
2 | df-fn | |
|
3 | 2 | simplbi2com | |
4 | 1 3 | syl | |
5 | 4 | imp | |
6 | 5 | adantr | |
7 | fnsnfv | |
|
8 | 7 | adantl | |
9 | df-ima | |
|
10 | 8 9 | eqtrdi | |
11 | 10 | reseq2d | |
12 | 11 10 | fneq12d | |
13 | 6 12 | mpbid | |
14 | fnfun | |
|
15 | funres | |
|
16 | 15 | funfnd | |
17 | 14 16 | syl | |
18 | 17 | adantr | |
19 | 18 | adantl | |
20 | fnresfnco | |
|
21 | 13 19 20 | syl2anc | |
22 | fnfun | |
|
23 | 21 22 | syl | |
24 | resco | |
|
25 | 24 | funeqi | |
26 | 23 25 | sylibr | |