Description: Rewrite the cartesian product of two sets as the intersection of their preimage by 1st and 2nd , the projections on the first and second elements. (Contributed by Thierry Arnoux, 22-Sep-2017)
Ref | Expression | ||
---|---|---|---|
Assertion | xpinpreima | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | inrab | |
|
2 | f1stres | |
|
3 | ffn | |
|
4 | fncnvima2 | |
|
5 | 2 3 4 | mp2b | |
6 | fvres | |
|
7 | 6 | eleq1d | |
8 | 7 | rabbiia | |
9 | 5 8 | eqtri | |
10 | f2ndres | |
|
11 | ffn | |
|
12 | fncnvima2 | |
|
13 | 10 11 12 | mp2b | |
14 | fvres | |
|
15 | 14 | eleq1d | |
16 | 15 | rabbiia | |
17 | 13 16 | eqtri | |
18 | 9 17 | ineq12i | |
19 | xp2 | |
|
20 | 1 18 19 | 3eqtr4ri | |