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

Theorem f1stres 7716
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 3500 . . . . . . . 8 𝑦 ∈ V
2 vex 3500 . . . . . . . 8 𝑧 ∈ V
31, 2op1sta 6085 . . . . . . 7 dom {⟨𝑦, 𝑧⟩} = 𝑦
43eleq1i 2906 . . . . . 6 ( dom {⟨𝑦, 𝑧⟩} ∈ 𝐴𝑦𝐴)
54biimpri 230 . . . . 5 (𝑦𝐴 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
65adantr 483 . . . 4 ((𝑦𝐴𝑧𝐵) → dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
76rgen2 3206 . . 3 𝑦𝐴𝑧𝐵 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴
8 sneq 4580 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
98dmeqd 5777 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
109unieqd 4855 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
1110eleq1d 2900 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → ( dom {𝑥} ∈ 𝐴 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴))
1211ralxp 5715 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴 ↔ ∀𝑦𝐴𝑧𝐵 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
137, 12mpbir 233 . 2 𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴
14 df-1st 7692 . . . . 5 1st = (𝑥 ∈ V ↦ dom {𝑥})
1514reseq1i 5852 . . . 4 (1st ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵))
16 ssv 3994 . . . . 5 (𝐴 × 𝐵) ⊆ V
17 resmpt 5908 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥}))
1816, 17ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥})
1915, 18eqtri 2847 . . 3 (1st ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥})
2019fmpt 6877 . 2 (∀𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴 ↔ (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴)
2113, 20mpbi 232 1 (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴
Colors of variables: wff setvar class
Syntax hints:   = wceq 1536  wcel 2113  wral 3141  Vcvv 3497  wss 3939  {csn 4570  cop 4576   cuni 4841  cmpt 5149   × cxp 5556  dom cdm 5558  cres 5560  wf 6354  1st c1st 7690
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-sep 5206  ax-nul 5213  ax-pr 5333
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-ral 3146  df-rex 3147  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-iun 4924  df-br 5070  df-opab 5132  df-mpt 5150  df-id 5463  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-fv 6366  df-1st 7692
This theorem is referenced by:  fo1stres  7718  1stcof  7722  fparlem1  7810  domssex2  8680  domssex  8681  unxpwdom2  9055  1stfcl  17450  tx1cn  22220  xpinpreima  31153  xpinpreima2  31154  1stmbfm  31522  hausgraph  39818
  Copyright terms: Public domain W3C validator