Description: If the domain of a function G is a subset of the range of a function F , then the composition ( G o. F ) is surjective iff G is surjective. (Contributed by GL and AV, 29-Sep-2024)
Ref | Expression | ||
---|---|---|---|
Assertion | funfocofob | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fdmrn | |
|
2 | 1 | biimpi | |
3 | 2 | 3ad2ant1 | |
4 | 3 | adantr | |
5 | eqid | |
|
6 | eqid | |
|
7 | eqid | |
|
8 | simp2 | |
|
9 | 8 | adantr | |
10 | eqid | |
|
11 | simpr | |
|
12 | 4 5 6 7 9 10 11 | fcoresfo | |
13 | 12 | ex | |
14 | sseqin2 | |
|
15 | 14 | biimpi | |
16 | 15 | 3ad2ant3 | |
17 | 8 | fdmd | |
18 | 16 17 | eqtr4d | |
19 | 18 | reseq2d | |
20 | 8 | freld | |
21 | resdm | |
|
22 | 20 21 | syl | |
23 | 19 22 | eqtrd | |
24 | eqidd | |
|
25 | 23 16 24 | foeq123d | |
26 | 13 25 | sylibd | |
27 | simpr | |
|
28 | simpl1 | |
|
29 | simpl3 | |
|
30 | focofo | |
|
31 | 27 28 29 30 | syl3anc | |
32 | 31 | ex | |
33 | 26 32 | impbid | |