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

Theorem fo2ndf 7811
Description: The 2nd (second component of an ordered pair) function restricted to a function 𝐹 is a function from 𝐹 onto the range of 𝐹. (Contributed by Alexander van der Vekens, 4-Feb-2018.)
Assertion
Ref Expression
fo2ndf (𝐹:𝐴𝐵 → (2nd𝐹):𝐹onto→ran 𝐹)

Proof of Theorem fo2ndf
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ffrn 6521 . . 3 (𝐹:𝐴𝐵𝐹:𝐴⟶ran 𝐹)
2 f2ndf 7810 . . 3 (𝐹:𝐴⟶ran 𝐹 → (2nd𝐹):𝐹⟶ran 𝐹)
31, 2syl 17 . 2 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹⟶ran 𝐹)
4 ffn 6509 . . . . 5 (𝐹:𝐴𝐵𝐹 Fn 𝐴)
5 dffn3 6520 . . . . . 6 (𝐹 Fn 𝐴𝐹:𝐴⟶ran 𝐹)
65, 2sylbi 219 . . . . 5 (𝐹 Fn 𝐴 → (2nd𝐹):𝐹⟶ran 𝐹)
74, 6syl 17 . . . 4 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹⟶ran 𝐹)
87frnd 6516 . . 3 (𝐹:𝐴𝐵 → ran (2nd𝐹) ⊆ ran 𝐹)
9 elrn2g 5756 . . . . . 6 (𝑦 ∈ ran 𝐹 → (𝑦 ∈ ran 𝐹 ↔ ∃𝑥𝑥, 𝑦⟩ ∈ 𝐹))
109ibi 269 . . . . 5 (𝑦 ∈ ran 𝐹 → ∃𝑥𝑥, 𝑦⟩ ∈ 𝐹)
11 fvres 6684 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ((2nd𝐹)‘⟨𝑥, 𝑦⟩) = (2nd ‘⟨𝑥, 𝑦⟩))
1211adantl 484 . . . . . . . . 9 ((𝐹:𝐴𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ((2nd𝐹)‘⟨𝑥, 𝑦⟩) = (2nd ‘⟨𝑥, 𝑦⟩))
13 vex 3498 . . . . . . . . . 10 𝑥 ∈ V
14 vex 3498 . . . . . . . . . 10 𝑦 ∈ V
1513, 14op2nd 7692 . . . . . . . . 9 (2nd ‘⟨𝑥, 𝑦⟩) = 𝑦
1612, 15syl6req 2873 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → 𝑦 = ((2nd𝐹)‘⟨𝑥, 𝑦⟩))
17 f2ndf 7810 . . . . . . . . . 10 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹𝐵)
1817ffnd 6510 . . . . . . . . 9 (𝐹:𝐴𝐵 → (2nd𝐹) Fn 𝐹)
19 fnfvelrn 6843 . . . . . . . . 9 (((2nd𝐹) Fn 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ((2nd𝐹)‘⟨𝑥, 𝑦⟩) ∈ ran (2nd𝐹))
2018, 19sylan 582 . . . . . . . 8 ((𝐹:𝐴𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ((2nd𝐹)‘⟨𝑥, 𝑦⟩) ∈ ran (2nd𝐹))
2116, 20eqeltrd 2913 . . . . . . 7 ((𝐹:𝐴𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → 𝑦 ∈ ran (2nd𝐹))
2221ex 415 . . . . . 6 (𝐹:𝐴𝐵 → (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑦 ∈ ran (2nd𝐹)))
2322exlimdv 1930 . . . . 5 (𝐹:𝐴𝐵 → (∃𝑥𝑥, 𝑦⟩ ∈ 𝐹𝑦 ∈ ran (2nd𝐹)))
2410, 23syl5 34 . . . 4 (𝐹:𝐴𝐵 → (𝑦 ∈ ran 𝐹𝑦 ∈ ran (2nd𝐹)))
2524ssrdv 3973 . . 3 (𝐹:𝐴𝐵 → ran 𝐹 ⊆ ran (2nd𝐹))
268, 25eqssd 3984 . 2 (𝐹:𝐴𝐵 → ran (2nd𝐹) = ran 𝐹)
27 dffo2 6589 . 2 ((2nd𝐹):𝐹onto→ran 𝐹 ↔ ((2nd𝐹):𝐹⟶ran 𝐹 ∧ ran (2nd𝐹) = ran 𝐹))
283, 26, 27sylanbrc 585 1 (𝐹:𝐴𝐵 → (2nd𝐹):𝐹onto→ran 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1533  wex 1776  wcel 2110  cop 4567  ran crn 5551  cres 5552   Fn wfn 6345  wf 6346  ontowfo 6348  cfv 6350  2nd c2nd 7682
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-fo 6356  df-fv 6358  df-2nd 7684
This theorem is referenced by:  f1o2ndf1  7812
  Copyright terms: Public domain W3C validator