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

Theorem 1stval 7976
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 4595 . . . . 5 (𝑥 = 𝐴 → {𝑥} = {𝐴})
21dmeqd 5885 . . . 4 (𝑥 = 𝐴 → dom {𝑥} = dom {𝐴})
32unieqd 4880 . . 3 (𝑥 = 𝐴 dom {𝑥} = dom {𝐴})
4 df-1st 7974 . . 3 1st = (𝑥 ∈ V ↦ dom {𝑥})
5 snex 5400 . . . . 5 {𝐴} ∈ V
65dmex 7894 . . . 4 dom {𝐴} ∈ V
76uniex 7728 . . 3 dom {𝐴} ∈ V
83, 4, 7fvmpt 6979 . 2 (𝐴 ∈ V → (1st𝐴) = dom {𝐴})
9 fvprc 6863 . . 3 𝐴 ∈ V → (1st𝐴) = ∅)
10 snprc 4679 . . . . . . . 8 𝐴 ∈ V ↔ {𝐴} = ∅)
1110biimpi 219 . . . . . . 7 𝐴 ∈ V → {𝐴} = ∅)
1211dmeqd 5885 . . . . . 6 𝐴 ∈ V → dom {𝐴} = dom ∅)
13 dm0 5900 . . . . . 6 dom ∅ = ∅
1412, 13eqtrdi 2816 . . . . 5 𝐴 ∈ V → dom {𝐴} = ∅)
1514unieqd 4880 . . . 4 𝐴 ∈ V → dom {𝐴} = ∅)
16 uni0 4896 . . . 4 ∅ = ∅
1715, 16eqtrdi 2816 . . 3 𝐴 ∈ V → dom {𝐴} = ∅)
189, 17eqtr4d 2803 . 2 𝐴 ∈ V → (1st𝐴) = dom {𝐴})
198, 18pm2.61i 184 1 (1st𝐴) = dom {𝐴}
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1563  wcel 2145  Vcvv 3457  c0 4288  {csn 4585   cuni 4867  dom cdm 5651  cfv 6525  1st c1st 7972
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1818  ax-4 1832  ax-5 1933  ax-6 1990  ax-7 2031  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2737  ax-sep 5250  ax-nul 5260  ax-pr 5394  ax-un 7722
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1566  df-fal 1576  df-ex 1803  df-nf 1807  df-sb 2094  df-mo 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3080  df-rex 3090  df-rab 3418  df-v 3459  df-dif 3910  df-un 3912  df-in 3914  df-ss 3924  df-nul 4289  df-if 4484  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-br 5105  df-opab 5167  df-mpt 5186  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6481  df-fun 6527  df-fv 6533  df-1st 7974
This theorem is referenced by:  1stnpr  7978  1st0  7980  op1st  7982  1st2val  8002  elxp6  8008  mpoxopxnop0  8199
  Copyright terms: Public domain W3C validator