ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fo2ndf GIF version

Theorem fo2ndf 6463
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 ffn 5533 . . . 4 (𝐹:𝐴⟶𝐵 → 𝐹 Fn 𝐴)
2 dffn3 5544 . . . 4 (𝐹 Fn 𝐴 ↔ 𝐹:𝐴⟶ran 𝐹)
31, 2sylib 122 . . 3 (𝐹:𝐴⟶𝐵 → 𝐹:𝐴⟶ran 𝐹)
4 f2ndf 6462 . . 3 (𝐹:𝐴⟶ran 𝐹 → (2nd ↾ 𝐹):𝐹⟶ran 𝐹)
53, 4syl 14 . 2 (𝐹:𝐴⟶𝐵 → (2nd ↾ 𝐹):𝐹⟶ran 𝐹)
62, 4sylbi 121 . . . . 5 (𝐹 Fn 𝐴 → (2nd ↾ 𝐹):𝐹⟶ran 𝐹)
71, 6syl 14 . . . 4 (𝐹:𝐴⟶𝐵 → (2nd ↾ 𝐹):𝐹⟶ran 𝐹)
8 frn 5542 . . . 4 ((2nd ↾ 𝐹):𝐹⟶ran 𝐹 → ran (2nd ↾ 𝐹) ⊆ ran 𝐹)
97, 8syl 14 . . 3 (𝐹:𝐴⟶𝐵 → ran (2nd ↾ 𝐹) ⊆ ran 𝐹)
10 elrn2g 4970 . . . . . 6 (𝑦 ∈ ran 𝐹 → (𝑦 ∈ ran 𝐹 ↔ ∃𝑥⟨𝑥, 𝑦⟩ ∈ 𝐹))
1110ibi 176 . . . . 5 (𝑦 ∈ ran 𝐹 → ∃𝑥⟨𝑥, 𝑦⟩ ∈ 𝐹)
12 fvres 5719 . . . . . . . . . 10 (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ((2nd ↾ 𝐹)‘⟨𝑥, 𝑦⟩) = (2nd ‘⟨𝑥, 𝑦⟩))
1312adantl 277 . . . . . . . . 9 ((𝐹:𝐴⟶𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ((2nd ↾ 𝐹)‘⟨𝑥, 𝑦⟩) = (2nd ‘⟨𝑥, 𝑦⟩))
14 vex 2824 . . . . . . . . . 10 𝑥 ∈ V
15 vex 2824 . . . . . . . . . 10 𝑦 ∈ V
1614, 15op2nd 6381 . . . . . . . . 9 (2nd ‘⟨𝑥, 𝑦⟩) = 𝑦
1713, 16eqtr2di 2288 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → 𝑦 = ((2nd ↾ 𝐹)‘⟨𝑥, 𝑦⟩))
18 f2ndf 6462 . . . . . . . . . 10 (𝐹:𝐴⟶𝐵 → (2nd ↾ 𝐹):𝐹⟶𝐵)
19 ffn 5533 . . . . . . . . . 10 ((2nd ↾ 𝐹):𝐹⟶𝐵 → (2nd ↾ 𝐹) Fn 𝐹)
2018, 19syl 14 . . . . . . . . 9 (𝐹:𝐴⟶𝐵 → (2nd ↾ 𝐹) Fn 𝐹)
21 fnfvelrn 5840 . . . . . . . . 9 (((2nd ↾ 𝐹) Fn 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ((2nd ↾ 𝐹)‘⟨𝑥, 𝑦⟩) ∈ ran (2nd ↾ 𝐹))
2220, 21sylan 283 . . . . . . . 8 ((𝐹:𝐴⟶𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ((2nd ↾ 𝐹)‘⟨𝑥, 𝑦⟩) ∈ ran (2nd ↾ 𝐹))
2317, 22eqeltrd 2315 . . . . . . 7 ((𝐹:𝐴⟶𝐵 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → 𝑦 ∈ ran (2nd ↾ 𝐹))
2423ex 115 . . . . . 6 (𝐹:𝐴⟶𝐵 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → 𝑦 ∈ ran (2nd ↾ 𝐹)))
2524exlimdv 1872 . . . . 5 (𝐹:𝐴⟶𝐵 → (∃𝑥⟨𝑥, 𝑦⟩ ∈ 𝐹 → 𝑦 ∈ ran (2nd ↾ 𝐹)))
2611, 25syl5 32 . . . 4 (𝐹:𝐴⟶𝐵 → (𝑦 ∈ ran 𝐹 → 𝑦 ∈ ran (2nd ↾ 𝐹)))
2726ssrdv 3254 . . 3 (𝐹:𝐴⟶𝐵 → ran 𝐹 ⊆ ran (2nd ↾ 𝐹))
289, 27eqssd 3265 . 2 (𝐹:𝐴⟶𝐵 → ran (2nd ↾ 𝐹) = ran 𝐹)
29 dffo2 5619 . 2 ((2nd ↾ 𝐹):𝐹–onto→ran 𝐹 ↔ ((2nd ↾ 𝐹):𝐹⟶ran 𝐹 ∧ ran (2nd ↾ 𝐹) = ran 𝐹))
305, 28, 29sylanbrc 421 1 (𝐹:𝐴⟶𝐵 → (2nd ↾ 𝐹):𝐹–onto→ran 𝐹)
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   = wceq 1402  ∃wex 1545   ∈ wcel 2209   ⊆ wss 3220  ⟨cop 3712  ran crn 4775   ↾ cres 4776   Fn wfn 5372  ⟶wf 5373  –onto→wfo 5375  ‘cfv 5377  2nd c2nd 6373
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346  ax-un 4578
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-iun 4014  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-fo 5383  df-fv 5385  df-2nd 6375
This theorem is used by:  f1o2ndf1  6464
  Copyright terms: Public domain W3C validator