Metamath Proof Explorer


Theorem df2nd2

Description: An alternate possible definition of the 2nd function. (Contributed by NM, 10-Aug-2006) (Revised by Mario Carneiro, 31-Aug-2015)

Ref Expression
Assertion df2nd2 x y z | z = y = 2 nd V × V

Proof

Step Hyp Ref Expression
1 fo2nd 2 nd : V onto V
2 fofn 2 nd : V onto V 2 nd Fn V
3 1 2 ax-mp 2 nd Fn V
4 dffn5 2 nd Fn V 2 nd = w V 2 nd w
5 3 4 mpbi 2 nd = w V 2 nd w
6 mptv w V 2 nd w = w z | z = 2 nd w
7 5 6 eqtri 2 nd = w z | z = 2 nd w
8 7 reseq1i 2 nd V × V = w z | z = 2 nd w V × V
9 resopab w z | z = 2 nd w V × V = w z | w V × V z = 2 nd w
10 vex x V
11 vex y V
12 10 11 op2ndd w = x y 2 nd w = y
13 12 eqeq2d w = x y z = 2 nd w z = y
14 13 dfoprab3 w z | w V × V z = 2 nd w = x y z | z = y
15 8 9 14 3eqtrri x y z | z = y = 2 nd V × V