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

Theorem 2ndval 7938
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 4578 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
21rneqd 5887 . . . 4 (𝑥 = 𝐴 → ran {𝑥} = ran {𝐴})
32unieqd 4864 . . 3 (𝑥 = 𝐴 ran {𝑥} = ran {𝐴})
4 df-2nd 7936 . . 3 2nd = (𝑥 ∈ V ↦ ran {𝑥})
5 snex 5376 . . . . 5 {𝐴} ∈ V
65rnex 7854 . . . 4 ran {𝐴} ∈ V
76uniex 7688 . . 3 ran {𝐴} ∈ V
83, 4, 7fvmpt 6941 . 2 (𝐴 ∈ V → (2nd𝐴) = ran {𝐴})
9 fvprc 6826 . . 3 𝐴 ∈ V → (2nd𝐴) = ∅)
10 snprc 4662 . . . . . . . 8 𝐴 ∈ V ↔ {𝐴} = ∅)
1110biimpi 216 . . . . . . 7 𝐴 ∈ V → {𝐴} = ∅)
1211rneqd 5887 . . . . . 6 𝐴 ∈ V → ran {𝐴} = ran ∅)
13 rn0 5875 . . . . . 6 ran ∅ = ∅
1412, 13eqtrdi 2788 . . . . 5 𝐴 ∈ V → ran {𝐴} = ∅)
1514unieqd 4864 . . . 4 𝐴 ∈ V → ran {𝐴} = ∅)
16 uni0 4879 . . . 4 ∅ = ∅
1715, 16eqtrdi 2788 . . 3 𝐴 ∈ V → ran {𝐴} = ∅)
189, 17eqtr4d 2775 . 2 𝐴 ∈ V → (2nd𝐴) = ran {𝐴})
198, 18pm2.61i 182 1 (2nd𝐴) = ran {𝐴}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1542  wcel 2114  Vcvv 3430  c0 4274  {csn 4568   cuni 4851  ran crn 5625  cfv 6492  2nd c2nd 7934
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-sep 5231  ax-nul 5241  ax-pr 5370  ax-un 7682
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3063  df-rab 3391  df-v 3432  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-nul 4275  df-if 4468  df-sn 4569  df-pr 4571  df-op 4575  df-uni 4852  df-br 5087  df-opab 5149  df-mpt 5168  df-id 5519  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-iota 6448  df-fun 6494  df-fv 6500  df-2nd 7936
This theorem is referenced by:  2ndnpr  7940  2nd0  7942  op2nd  7944  2nd2val  7964  elxp6  7969
  Copyright terms: Public domain W3C validator