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

Theorem 1stval 7937
Description: The value of the function that extracts the first member of an ordered pair. (Contributed by NM, 9-Oct-2004.) (Revised by Mario Carneiro, 8-Sep-2013.)
Assertion
Ref Expression
1stval (1st𝐴) = dom {𝐴}

Proof of Theorem 1stval
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 sneq 4578 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
21dmeqd 5854 . . . 4 (𝑥 = 𝐴 → dom {𝑥} = dom {𝐴})
32unieqd 4864 . . 3 (𝑥 = 𝐴 dom {𝑥} = dom {𝐴})
4 df-1st 7935 . . 3 1st = (𝑥 ∈ V ↦ dom {𝑥})
5 snex 5376 . . . . 5 {𝐴} ∈ V
65dmex 7853 . . . 4 dom {𝐴} ∈ V
76uniex 7688 . . 3 dom {𝐴} ∈ V
83, 4, 7fvmpt 6941 . 2 (𝐴 ∈ V → (1st𝐴) = dom {𝐴})
9 fvprc 6826 . . 3 𝐴 ∈ V → (1st𝐴) = ∅)
10 snprc 4662 . . . . . . . 8 𝐴 ∈ V ↔ {𝐴} = ∅)
1110biimpi 216 . . . . . . 7 𝐴 ∈ V → {𝐴} = ∅)
1211dmeqd 5854 . . . . . 6 𝐴 ∈ V → dom {𝐴} = dom ∅)
13 dm0 5869 . . . . . 6 dom ∅ = ∅
1412, 13eqtrdi 2788 . . . . 5 𝐴 ∈ V → dom {𝐴} = ∅)
1514unieqd 4864 . . . 4 𝐴 ∈ V → dom {𝐴} = ∅)
16 uni0 4879 . . . 4 ∅ = ∅
1715, 16eqtrdi 2788 . . 3 𝐴 ∈ V → dom {𝐴} = ∅)
189, 17eqtr4d 2775 . 2 𝐴 ∈ V → (1st𝐴) = dom {𝐴})
198, 18pm2.61i 182 1 (1st𝐴) = dom {𝐴}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1542  wcel 2114  Vcvv 3430  c0 4274  {csn 4568   cuni 4851  dom cdm 5624  cfv 6492  1st c1st 7933
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-1st 7935
This theorem is referenced by:  1stnpr  7939  1st0  7941  op1st  7943  1st2val  7963  elxp6  7969  mpoxopxnop0  8158
  Copyright terms: Public domain W3C validator