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

Theorem f1stres 8023
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 3455 . . . . . . 7 𝑦 ∈ V
2 vex 3455 . . . . . . 7 𝑧 ∈ V
31, 2op1sta 6225 . . . . . 6 ∪ dom {⟨𝑦, 𝑧⟩} = 𝑦
43eleq1i 2852 . . . . 5 (∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴 ↔ 𝑦 ∈ 𝐴)
54biranri 511 . . . 4 ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
65rgen2 3203 . . 3 ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴
7 sneq 4594 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
87dmeqd 5887 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
98unieqd 4880 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → ∪ dom {𝑥} = ∪ dom {⟨𝑦, 𝑧⟩})
109eleq1d 2846 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → (∪ dom {𝑥} ∈ 𝐴 ↔ ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴))
1110ralxp 5818 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
126, 11mpbir 234 . 2 ∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴
13 df-1st 7999 . . . . 5 1st = (𝑥 ∈ V ↦ ∪ dom {𝑥})
1413reseq1i 5966 . . . 4 (1st ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵))
15 ssv 3955 . . . . 5 (𝐴 × 𝐵) ⊆ V
16 resmpt 6029 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥}))
1715, 16ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥})
1814, 17eqtri 2784 . . 3 (1st ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥})
1918fmpt 7108 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴 ↔ (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴)
2012, 19mpbi 233 1 (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570   ∈ wcel 2145  ∀wral 3077  Vcvv 3451   ⊆ wss 3899  {csn 4584  ⟨cop 4590  ∪ cuni 4867   ↦ cmpt 5186   × cxp 5649  dom cdm 5651   ↾ cres 5653  ⟶wf 6533  1st c1st 7997
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-fun 6539  df-fn 6540  df-f 6541  df-1st 7999
This theorem is used by:  fo1stres  8025  1stcof  8029  fparlem1  8121  domssex2  9149  domssex  9150  unxpwdom2  9575  1stfcl  18364  tx1cn  23921  xpinpreima  34531  xpinpreima2  34532  1stmbfm  34885  hausgraph  44191
  Copyright terms: Public domain W3C validator