Metamath Proof Explorer


Theorem fcobij

Description: Composing functions with a bijection yields a bijection between sets of functions. (Contributed by Thierry Arnoux, 25-Aug-2017)

Ref Expression
Hypotheses fcobij.1 φG:S1-1 ontoT
fcobij.2 φRU
fcobij.3 φSV
fcobij.4 φTW
Assertion fcobij φfSRGf:SR1-1 ontoTR

Proof

Step Hyp Ref Expression
1 fcobij.1 φG:S1-1 ontoT
2 fcobij.2 φRU
3 fcobij.3 φSV
4 fcobij.4 φTW
5 eqid fSRGf=fSRGf
6 f1of G:S1-1 ontoTG:ST
7 1 6 syl φG:ST
8 7 adantr φfSRG:ST
9 3 2 elmapd φfSRf:RS
10 9 biimpa φfSRf:RS
11 fco G:STf:RSGf:RT
12 8 10 11 syl2anc φfSRGf:RT
13 4 2 elmapd φGfTRGf:RT
14 13 adantr φfSRGfTRGf:RT
15 12 14 mpbird φfSRGfTR
16 f1ocnv G:S1-1 ontoTG-1:T1-1 ontoS
17 f1of G-1:T1-1 ontoSG-1:TS
18 1 16 17 3syl φG-1:TS
19 18 adantr φhTRG-1:TS
20 4 2 elmapd φhTRh:RT
21 20 biimpa φhTRh:RT
22 fco G-1:TSh:RTG-1h:RS
23 19 21 22 syl2anc φhTRG-1h:RS
24 3 2 elmapd φG-1hSRG-1h:RS
25 24 adantr φhTRG-1hSRG-1h:RS
26 23 25 mpbird φhTRG-1hSR
27 simpr φfSRhTRf=G-1hf=G-1h
28 27 coeq2d φfSRhTRf=G-1hGf=GG-1h
29 coass GG-1h=GG-1h
30 28 29 eqtr4di φfSRhTRf=G-1hGf=GG-1h
31 simpll φfSRhTRf=G-1hφ
32 f1ococnv2 G:S1-1 ontoTGG-1=IT
33 31 1 32 3syl φfSRhTRf=G-1hGG-1=IT
34 33 coeq1d φfSRhTRf=G-1hGG-1h=ITh
35 simplrr φfSRhTRf=G-1hhTR
36 31 35 21 syl2anc φfSRhTRf=G-1hh:RT
37 fcoi2 h:RTITh=h
38 36 37 syl φfSRhTRf=G-1hITh=h
39 30 34 38 3eqtrrd φfSRhTRf=G-1hh=Gf
40 simpr φfSRhTRh=Gfh=Gf
41 40 coeq2d φfSRhTRh=GfG-1h=G-1Gf
42 coass G-1Gf=G-1Gf
43 41 42 eqtr4di φfSRhTRh=GfG-1h=G-1Gf
44 simpll φfSRhTRh=Gfφ
45 f1ococnv1 G:S1-1 ontoTG-1G=IS
46 44 1 45 3syl φfSRhTRh=GfG-1G=IS
47 46 coeq1d φfSRhTRh=GfG-1Gf=ISf
48 simplrl φfSRhTRh=GffSR
49 44 48 10 syl2anc φfSRhTRh=Gff:RS
50 fcoi2 f:RSISf=f
51 49 50 syl φfSRhTRh=GfISf=f
52 43 47 51 3eqtrrd φfSRhTRh=Gff=G-1h
53 39 52 impbida φfSRhTRf=G-1hh=Gf
54 5 15 26 53 f1o2d φfSRGf:SR1-1 ontoTR