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

Theorem f1stres 8078
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 3465 . . . . . . 7 𝑦 ∈ V
2 vex 3465 . . . . . . 7 𝑧 ∈ V
31, 2op1sta 6258 . . . . . 6 ∪ dom {⟨𝑦, 𝑧⟩} = 𝑦
43eleq1i 2866 . . . . 5 (∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴 ↔ 𝑦 ∈ 𝐴)
54biranri 511 . . . 4 ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
65rgen2 3217 . . 3 ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴
7 sneq 4601 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
87dmeqd 5907 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → dom {𝑥} = dom {⟨𝑦, 𝑧⟩})
98unieqd 4893 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → ∪ dom {𝑥} = ∪ dom {⟨𝑦, 𝑧⟩})
109eleq1d 2860 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → (∪ dom {𝑥} ∈ 𝐴 ↔ ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴))
1110ralxp 5836 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ dom {⟨𝑦, 𝑧⟩} ∈ 𝐴)
126, 11mpbir 234 . 2 ∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴
13 df-1st 8054 . . . . 5 1st = (𝑥 ∈ V ↦ ∪ dom {𝑥})
1413reseq1i 5990 . . . 4 (1st ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵))
15 ssv 3944 . . . . 5 (𝐴 × 𝐵) ⊆ V
16 resmpt 6055 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥}))
1715, 16ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ ∪ dom {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥})
1814, 17eqtri 2797 . . 3 (1st ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ dom {𝑥})
1918fmpt 7160 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)∪ dom {𝑥} ∈ 𝐴 ↔ (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴)
2012, 19mpbi 233 1 (1st ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐴
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572   ∈ wcel 2156  ∀wral 3091  Vcvv 3461   ⊆ wss 3907  {csn 4595  ⟨cop 4848  ∪ cuni 4880   ↦ cmpt 5200   × cxp 5664  dom cdm 5666   ↾ cres 5668  ⟶wf 6575  1st c1st 8052
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-fun 6581  df-fn 6582  df-f 6583  df-1st 8054
This theorem is used by:  fo1stres  8080  1stcof  8084  fparlem1  8179  domssex2  9213  domssex  9214  unxpwdom2  9638  1stfcl  18449  tx1cn  24036  xpinpreima  34740  xpinpreima2  34741  1stmbfm  35094  hausgraph  44566
  Copyright terms: Public domain W3C validator