Metamath Proof Explorer


Theorem 2ndval

Description: The value of the function that extracts the second member of an ordered pair. (Contributed by NM, 9-Oct-2004) (Revised by Mario Carneiro, 8-Sep-2013)

Ref Expression
Assertion 2ndval 2ndA=ranA

Proof

Step Hyp Ref Expression
1 sneq x=Ax=A
2 1 rneqd x=Aranx=ranA
3 2 unieqd x=Aranx=ranA
4 df-2nd 2nd=xVranx
5 snex AV
6 5 rnex ranAV
7 6 uniex ranAV
8 3 4 7 fvmpt AV2ndA=ranA
9 fvprc ¬AV2ndA=
10 snprc ¬AVA=
11 10 biimpi ¬AVA=
12 11 rneqd ¬AVranA=ran
13 rn0 ran=
14 12 13 eqtrdi ¬AVranA=
15 14 unieqd ¬AVranA=
16 uni0 =
17 15 16 eqtrdi ¬AVranA=
18 9 17 eqtr4d ¬AV2ndA=ranA
19 8 18 pm2.61i 2ndA=ranA