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

Theorem f1stres 7694
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 3484 . . . . . . . 8 𝑦 ∈ V
2 vex 3484 . . . . . . . 8 𝑧 ∈ V
31, 2op1sta 6063 . . . . . . 7 dom {⟨𝑦, 𝑧⟩} = 𝑦
43eleq1i 2901 . . . . . 6 ( dom {⟨𝑦, 𝑧⟩} ∈ 𝐴𝑦𝐴)
54biimpri 230 . . . . 5 (𝑦𝐴 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
65adantr 483 . . . 4 ((𝑦𝐴𝑧𝐵) → dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
76rgen2 3198 . . 3 𝑦𝐴𝑧𝐵 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴
8 sneq 4558 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
98dmeqd 5755 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
109unieqd 4833 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
1110eleq1d 2895 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → ( dom {𝑥} ∈ 𝐴 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴))
1211ralxp 5693 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴 ↔ ∀𝑦𝐴𝑧𝐵 dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
137, 12mpbir 233 . 2 𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴
14 df-1st 7670 . . . . 5 1st = (𝑥 ∈ V ↦ dom {𝑥})
1514reseq1i 5830 . . . 4 (1st ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵))
16 ssv 3974 . . . . 5 (𝐴 × 𝐵) ⊆ V
17 resmpt 5886 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥}))
1816, 17ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥})
1915, 18eqtri 2843 . . 3 (1st ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ dom {𝑥})
2019fmpt 6855 . 2 (∀𝑥 ∈ (𝐴 × 𝐵) dom {𝑥} ∈ 𝐴 ↔ (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴)
2113, 20mpbi 232 1 (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴
Colors of variables: wff setvar class
Syntax hints:   = wceq 1537  wcel 2114  wral 3133  Vcvv 3481  wss 3919  {csn 4548  cop 4554   cuni 4819  cmpt 5127   × cxp 5534  dom cdm 5536  cres 5538  wf 6332  1st c1st 7668
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2792  ax-sep 5184  ax-nul 5191  ax-pr 5311
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2891  df-nfc 2959  df-ne 3012  df-ral 3138  df-rex 3139  df-rab 3142  df-v 3483  df-sbc 3759  df-csb 3867  df-dif 3922  df-un 3924  df-in 3926  df-ss 3935  df-nul 4275  df-if 4449  df-sn 4549  df-pr 4551  df-op 4555  df-uni 4820  df-iun 4902  df-br 5048  df-opab 5110  df-mpt 5128  df-id 5441  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6295  df-fun 6338  df-fn 6339  df-f 6340  df-fv 6344  df-1st 7670
This theorem is referenced by:  fo1stres  7696  1stcof  7700  fparlem1  7788  domssex2  8658  domssex  8659  unxpwdom2  9033  1stfcl  17425  tx1cn  22195  xpinpreima  31151  xpinpreima2  31152  1stmbfm  31520  hausgraph  39899
  Copyright terms: Public domain W3C validator