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

Theorem f1stres 7946
Description: Mapping of a restriction of the 1st (first member of an ordered pair) function. (Contributed by NM, 11-Oct-2004.) (Revised by Mario Carneiro, 8-Sep-2013.)
Assertion
Ref Expression
f1stres (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴

Proof of Theorem f1stres
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3450 . . . . . . . 8 𝑦 ∈ V
2 vex 3450 . . . . . . . 8 𝑧 ∈ V
31, 2op1sta 6178 . . . . . . 7 dom {⟨𝑦, 𝑧⟩} = 𝑦
43eleq1i 2829 . . . . . 6 ( dom {⟨𝑦, 𝑧⟩} ∈ 𝐴𝑦𝐴)
54biimpri 227 . . . . 5 (𝑦𝐴 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
65adantr 482 . . . 4 ((𝑦𝐴𝑧𝐵) → dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
76rgen2 3195 . . 3 𝑦𝐴𝑧𝐵 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴
8 sneq 4597 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
98dmeqd 5862 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
109unieqd 4880 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
1110eleq1d 2823 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → ( dom {𝑥} ∈ 𝐴 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴))
1211ralxp 5798 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴 ↔ ∀𝑦𝐴𝑧𝐵 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
137, 12mpbir 230 . 2 𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴
14 df-1st 7922 . . . . 5 1st = (𝑥 ∈ V ↦ dom {𝑥})
1514reseq1i 5934 . . . 4 (1st ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵))
16 ssv 3969 . . . . 5 (𝐴 × 𝐵) ⊆ V
17 resmpt 5992 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥}))
1816, 17ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥})
1915, 18eqtri 2765 . . 3 (1st ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥})
2019fmpt 7059 . 2 (∀𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴 ↔ (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴)
2113, 20mpbi 229 1 (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴
Colors of variables: wff setvar class
Syntax hints:   = wceq 1542  wcel 2107  wral 3065  Vcvv 3446  wss 3911  {csn 4587  cop 4593   cuni 4866  cmpt 5189   × cxp 5632  dom cdm 5634  cres 5636  wf 6493  1st c1st 7920
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2708  ax-sep 5257  ax-nul 5264  ax-pr 5385
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2890  df-ral 3066  df-rex 3075  df-rab 3409  df-v 3448  df-sbc 3741  df-csb 3857  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4284  df-if 4488  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4867  df-iun 4957  df-br 5107  df-opab 5169  df-mpt 5190  df-id 5532  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-fun 6499  df-fn 6500  df-f 6501  df-1st 7922
This theorem is referenced by:  fo1stres  7948  1stcof  7952  fparlem1  8045  domssex2  9082  domssex  9083  unxpwdom2  9525  1stfcl  18086  tx1cn  22963  xpinpreima  32490  xpinpreima2  32491  1stmbfm  32863  hausgraph  41542
  Copyright terms: Public domain W3C validator