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

Theorem f1stres 8059
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 3458 . . . . . . 7 𝑦 ∈ V
2 vex 3458 . . . . . . 7 𝑧 ∈ V
31, 2op1sta 6245 . . . . . 6 ∪ dom {⟨𝑦, 𝑧⟩} = 𝑦
43eleq1i 2855 . . . . 5 (∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴 ↔ 𝑦 ∈ 𝐴)
54biranri 511 . . . 4 ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
65rgen2 3206 . . 3 ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴
7 sneq 4594 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
87dmeqd 5899 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
98unieqd 4885 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → ∪ dom {𝑥} = ∪ dom {⟨𝑦, 𝑧⟩})
109eleq1d 2849 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → (∪ dom {𝑥} ∈ 𝐴 ↔ ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴))
1110ralxp 5828 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
126, 11mpbir 234 . 2 ∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴
13 df-1st 8035 . . . . 5 1st = (𝑥 ∈ V ↦ ∪ dom {𝑥})
1413reseq1i 5982 . . . 4 (1st ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵))
15 ssv 3937 . . . . 5 (𝐴 × 𝐵) ⊆ V
16 resmpt 6047 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥}))
1715, 16ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥})
1814, 17eqtri 2786 . . 3 (1st ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥})
1918fmpt 7142 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴 ↔ (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴)
2012, 19mpbi 233 1 (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∈ wcel 2147  ∀wral 3080  Vcvv 3454   ⊆ wss 3900  {csn 4588  ⟨cop 4840  ∪ cuni 4872   ↦ cmpt 5192   × cxp 5656  dom cdm 5658   ↾ cres 5660  ⟶wf 6562  1st c1st 8033
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-fun 6568  df-fn 6569  df-f 6570  df-1st 8035
This theorem is used by:  fo1stres  8061  1stcof  8065  fparlem1  8160  domssex2  9194  domssex  9195  unxpwdom2  9619  1stfcl  18421  tx1cn  23983  xpinpreima  34649  xpinpreima2  34650  1stmbfm  35003  hausgraph  44468
  Copyright terms: Public domain W3C validator