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

Theorem f2ndres 7350
 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 3335 . . . . . . . 8 𝑦 ∈ V
2 vex 3335 . . . . . . . 8 𝑧 ∈ V
31, 2op2nda 5773 . . . . . . 7 ran {⟨𝑦, 𝑧⟩} = 𝑧
43eleq1i 2822 . . . . . 6 ( ran {⟨𝑦, 𝑧⟩} ∈ 𝐵𝑧𝐵)
54biimpri 218 . . . . 5 (𝑧𝐵 ran {⟨𝑦, 𝑧⟩} ∈ 𝐵)
65adantl 473 . . . 4 ((𝑦𝐴𝑧𝐵) → ran {⟨𝑦, 𝑧⟩} ∈ 𝐵)
76rgen2 3105 . . 3 𝑦𝐴𝑧𝐵 ran {⟨𝑦, 𝑧⟩} ∈ 𝐵
8 sneq 4323 . . . . . . 7 (𝑥 = ⟨𝑦, 𝑧⟩ → {𝑥} = {⟨𝑦, 𝑧⟩})
98rneqd 5500 . . . . . 6 (𝑥 = ⟨𝑦, 𝑧⟩ → ran {𝑥} = ran {⟨𝑦, 𝑧⟩})
109unieqd 4590 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → ran {𝑥} = ran {⟨𝑦, 𝑧⟩})
1110eleq1d 2816 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → ( ran {𝑥} ∈ 𝐵 ran {⟨𝑦, 𝑧⟩} ∈ 𝐵))
1211ralxp 5411 . . 3 (∀𝑥 ∈ (𝐴 × 𝐵) ran {𝑥} ∈ 𝐵 ↔ ∀𝑦𝐴𝑧𝐵 ran {⟨𝑦, 𝑧⟩} ∈ 𝐵)
137, 12mpbir 221 . 2 𝑥 ∈ (𝐴 × 𝐵) ran {𝑥} ∈ 𝐵
14 df-2nd 7326 . . . . 5 2nd = (𝑥 ∈ V ↦ ran {𝑥})
1514reseq1i 5539 . . . 4 (2nd ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ ran {𝑥}) ↾ (𝐴 × 𝐵))
16 ssv 3758 . . . . 5 (𝐴 × 𝐵) ⊆ V
17 resmpt 5599 . . . . 5 ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ ran {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ran {𝑥}))
1816, 17ax-mp 5 . . . 4 ((𝑥 ∈ V ↦ ran {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ran {𝑥})
1915, 18eqtri 2774 . . 3 (2nd ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ran {𝑥})
2019fmpt 6536 . 2 (∀𝑥 ∈ (𝐴 × 𝐵) ran {𝑥} ∈ 𝐵 ↔ (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵)
2113, 20mpbi 220 1 (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵
 Colors of variables: wff setvar class Syntax hints:   = wceq 1624   ∈ wcel 2131  ∀wral 3042  Vcvv 3332   ⊆ wss 3707  {csn 4313  ⟨cop 4319  ∪ cuni 4580   ↦ cmpt 4873   × cxp 5256  ran crn 5259   ↾ cres 5260  ⟶wf 6037  2nd c2nd 7324 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1863  ax-4 1878  ax-5 1980  ax-6 2046  ax-7 2082  ax-9 2140  ax-10 2160  ax-11 2175  ax-12 2188  ax-13 2383  ax-ext 2732  ax-sep 4925  ax-nul 4933  ax-pr 5047 This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1627  df-ex 1846  df-nf 1851  df-sb 2039  df-eu 2603  df-mo 2604  df-clab 2739  df-cleq 2745  df-clel 2748  df-nfc 2883  df-ne 2925  df-ral 3047  df-rex 3048  df-rab 3051  df-v 3334  df-sbc 3569  df-csb 3667  df-dif 3710  df-un 3712  df-in 3714  df-ss 3721  df-nul 4051  df-if 4223  df-sn 4314  df-pr 4316  df-op 4320  df-uni 4581  df-iun 4666  df-br 4797  df-opab 4857  df-mpt 4874  df-id 5166  df-xp 5264  df-rel 5265  df-cnv 5266  df-co 5267  df-dm 5268  df-rn 5269  df-res 5270  df-ima 5271  df-iota 6004  df-fun 6043  df-fn 6044  df-f 6045  df-fv 6049  df-2nd 7326 This theorem is referenced by:  fo2ndres  7352  2ndcof  7356  fparlem2  7438  f2ndf  7443  eucalgcvga  15493  2ndfcl  17031  gaid  17924  tx2cn  21607  txkgen  21649  xpinpreima  30253  xpinpreima2  30254  2ndmbfm  30624  filnetlem4  32674  hausgraph  38284
 Copyright terms: Public domain W3C validator