MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  2ndval Structured version   Visualization version   GIF version

Theorem 2ndval 7998
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.)
Assertion
Ref Expression
2ndval (2nd𝐴) = ran {𝐴}

Proof of Theorem 2ndval
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 sneq 4604 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
21rneqd 5933 . . . 4 (𝑥 = 𝐴 → ran {𝑥} = ran {𝐴})
32unieqd 4890 . . 3 (𝑥 = 𝐴 ran {𝑥} = ran {𝐴})
4 df-2nd 7996 . . 3 2nd = (𝑥 ∈ V ↦ ran {𝑥})
5 snex 5415 . . . . 5 {𝐴} ∈ V
65rnex 7916 . . . 4 ran {𝐴} ∈ V
76uniex 7752 . . 3 ran {𝐴} ∈ V
83, 4, 7fvmpt 6996 . 2 (𝐴 ∈ V → (2nd𝐴) = ran {𝐴})
9 fvprc 6880 . . 3 𝐴 ∈ V → (2nd𝐴) = ∅)
10 snprc 4688 . . . . . . . 8 𝐴 ∈ V ↔ {𝐴} = ∅)
1110biimpi 219 . . . . . . 7 𝐴 ∈ V → {𝐴} = ∅)
1211rneqd 5933 . . . . . 6 𝐴 ∈ V → ran {𝐴} = ran ∅)
13 rn0 5921 . . . . . 6 ran ∅ = ∅
1412, 13eqtrdi 2817 . . . . 5 𝐴 ∈ V → ran {𝐴} = ∅)
1514unieqd 4890 . . . 4 𝐴 ∈ V → ran {𝐴} = ∅)
16 uni0 4906 . . . 4 ∅ = ∅
1715, 16eqtrdi 2817 . . 3 𝐴 ∈ V → ran {𝐴} = ∅)
189, 17eqtr4d 2804 . 2 𝐴 ∈ V → (2nd𝐴) = ran {𝐴})
198, 18pm2.61i 184 1 (2nd𝐴) = ran {𝐴}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   = wceq 1570  wcel 2146  Vcvv 3458  c0 4289  {csn 4594   cuni 4877  ran crn 5667  cfv 6543  2nd c2nd 7994
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pr 5409  ax-un 7745
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-br 5115  df-opab 5179  df-mpt 5198  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-iota 6499  df-fun 6545  df-fv 6551  df-2nd 7996
This theorem is used by:  2ndnpr  8000  2nd0  8002  op2nd  8004  2nd2val  8024  elxp6  8029
  Copyright terms: Public domain W3C validator