Description: A two-element swap is a bijection on a pair. (Contributed by Mario Carneiro, 23-Jan-2015)
Ref | Expression | ||
---|---|---|---|
Assertion | f1oprswap | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | f1osng | |
|
2 | 1 | anidms | |
3 | 2 | ad2antrr | |
4 | dfsn2 | |
|
5 | opeq2 | |
|
6 | opeq1 | |
|
7 | 5 6 | preq12d | |
8 | 4 7 | eqtrid | |
9 | dfsn2 | |
|
10 | preq2 | |
|
11 | 9 10 | eqtrid | |
12 | 8 11 11 | f1oeq123d | |
13 | 12 | adantl | |
14 | 3 13 | mpbid | |
15 | simpll | |
|
16 | simplr | |
|
17 | simpr | |
|
18 | fnprg | |
|
19 | 15 16 16 15 17 18 | syl221anc | |
20 | cnvsng | |
|
21 | cnvsng | |
|
22 | 21 | ancoms | |
23 | 20 22 | uneq12d | |
24 | uncom | |
|
25 | 23 24 | eqtrdi | |
26 | 25 | adantr | |
27 | df-pr | |
|
28 | 27 | cnveqi | |
29 | cnvun | |
|
30 | 28 29 | eqtri | |
31 | 26 30 27 | 3eqtr4g | |
32 | 31 | fneq1d | |
33 | 19 32 | mpbird | |
34 | dff1o4 | |
|
35 | 19 33 34 | sylanbrc | |
36 | 14 35 | pm2.61dane | |