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

Theorem 2ndval 7969
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 4591 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
21rneqd 5912 . . . 4 (𝑥 = 𝐴 → ran {𝑥} = ran {𝐴})
32unieqd 4877 . . 3 (𝑥 = 𝐴 ran {𝑥} = ran {𝐴})
4 df-2nd 7967 . . 3 2nd = (𝑥 ∈ V ↦ ran {𝑥})
5 snex 5395 . . . . 5 {𝐴} ∈ V
65rnex 7887 . . . 4 ran {𝐴} ∈ V
76uniex 7720 . . 3 ran {𝐴} ∈ V
83, 4, 7fvmpt 6971 . 2 (𝐴 ∈ V → (2nd𝐴) = ran {𝐴})
9 fvprc 6855 . . 3 𝐴 ∈ V → (2nd𝐴) = ∅)
10 snprc 4675 . . . . . . . 8 𝐴 ∈ V ↔ {𝐴} = ∅)
1110biimpi 218 . . . . . . 7 𝐴 ∈ V → {𝐴} = ∅)
1211rneqd 5912 . . . . . 6 𝐴 ∈ V → ran {𝐴} = ran ∅)
13 rn0 5900 . . . . . 6 ran ∅ = ∅
1412, 13eqtrdi 2812 . . . . 5 𝐴 ∈ V → ran {𝐴} = ∅)
1514unieqd 4877 . . . 4 𝐴 ∈ V → ran {𝐴} = ∅)
16 uni0 4893 . . . 4 ∅ = ∅
1715, 16eqtrdi 2812 . . 3 𝐴 ∈ V → ran {𝐴} = ∅)
189, 17eqtr4d 2799 . 2 𝐴 ∈ V → (2nd𝐴) = ran {𝐴})
198, 18pm2.61i 183 1 (2nd𝐴) = ran {𝐴}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1559  wcel 2141  Vcvv 3453  c0 4285  {csn 4581   cuni 4864  ran crn 5646  cfv 6517  2nd c2nd 7965
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-sep 5245  ax-nul 5255  ax-pr 5389  ax-un 7714
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3076  df-rex 3086  df-rab 3414  df-v 3455  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4480  df-sn 4582  df-pr 4584  df-op 4588  df-uni 4865  df-br 5100  df-opab 5162  df-mpt 5181  df-id 5540  df-xp 5651  df-rel 5652  df-cnv 5653  df-co 5654  df-dm 5655  df-rn 5656  df-iota 6473  df-fun 6519  df-fv 6525  df-2nd 7967
This theorem is referenced by:  2ndnpr  7971  2nd0  7973  op2nd  7975  2nd2val  7995  elxp6  8000
  Copyright terms: Public domain W3C validator