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

Theorem f2ndres 8050
Description: Mapping of a restriction of the 2nd (second member of an ordered pair) function. (Contributed by NM, 7-Aug-2006.) (Revised by Mario Carneiro, 8-Sep-2013.)
Assertion
Ref Expression
f2ndres (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵

Proof of Theorem f2ndres
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3458 . . . . . . 7 𝑦 ∈ V
2 vex 3458 . . . . . . 7 𝑧 ∈ V
31, 2op2nda 6242 . . . . . 6 ∪ ran {⟨𝑦, 𝑧⟩} = 𝑧
43eleq1i 2855 . . . . 5 (∪ ran {⟨𝑦, 𝑧⟩} ∈ 𝐵 ↔ 𝑧 ∈ 𝐵)
54bilanri 512 . . . 4 ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∪ ran {⟨𝑦, 𝑧⟩} ∈ 𝐵)
65rgen2 3206 . . 3 ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ ran {⟨𝑦, 𝑧⟩} ∈ 𝐵
7 sneq 4594 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
87rneqd 5927 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → ran {𝑥} = ran {⟨𝑦, 𝑧⟩})
98unieqd 4883 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → ∪ ran {𝑥} = ∪ ran {⟨𝑦, 𝑧⟩})
109eleq1d 2849 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → (∪ ran {𝑥} ∈ 𝐵 ↔ ∪ ran {⟨𝑦, 𝑧⟩} ∈ 𝐵))
1110ralxp 5824 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵)∪ ran {𝑥} ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ ran {⟨𝑦, 𝑧⟩} ∈ 𝐵)
126, 11mpbir 234 . 2 ∀𝑥 ∈ (𝐴 × 𝐵)∪ ran {𝑥} ∈ 𝐵
13 df-2nd 8026 . . . . 5 2nd = (𝑥 ∈ V ↦ ∪ ran {𝑥})
1413reseq1i 5977 . . . 4 (2nd ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ ∪ ran {𝑥}) ↾ (𝐴 × 𝐵))
15 ssv 3937 . . . . 5 (𝐴 × 𝐵) ⊆ V
16 resmpt 6041 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ ∪ ran {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ ran {𝑥}))
1715, 16ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ ∪ ran {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ ran {𝑥})
1814, 17eqtri 2786 . . 3 (2nd ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ ran {𝑥})
1918fmpt 7134 . 2 (∀𝑥 ∈ (𝐴 × 𝐵)∪ ran {𝑥} ∈ 𝐵 ↔ (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵)
2012, 19mpbi 233 1 (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵
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 4838  ∪ cuni 4870   ↦ cmpt 5189   × cxp 5653  ran crn 5656   ↾ cres 5657  ⟶wf 6554  2nd c2nd 8024
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 5252  ax-pr 5395
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 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-fun 6560  df-fn 6561  df-f 6562  df-2nd 8026
This theorem is used by:  fo2ndres  8052  2ndcof  8056  fparlem2  8151  f2ndf  8158  eucalgcvga  16790  2ndfcl  18401  gaid  19543  tx2cn  23959  txkgen  24001  xpinpreima  34608  xpinpreima2  34609  2ndmbfm  34963  filnetlem4  37347  hausgraph  44399
  Copyright terms: Public domain W3C validator