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

Theorem dffo4 6283
 Description: Alternate definition of an onto mapping. (Contributed by NM, 20-Mar-2007.)
Assertion
Ref Expression
dffo4 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝐹,𝑦

Proof of Theorem dffo4
StepHypRef Expression
1 dffo2 6032 . . 3 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵))
2 simpl 472 . . . 4 ((𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵) → 𝐹:𝐴𝐵)
3 vex 3176 . . . . . . . . . 10 𝑦 ∈ V
43elrn 5287 . . . . . . . . 9 (𝑦 ∈ ran 𝐹 ↔ ∃𝑥 𝑥𝐹𝑦)
5 eleq2 2677 . . . . . . . . 9 (ran 𝐹 = 𝐵 → (𝑦 ∈ ran 𝐹𝑦𝐵))
64, 5syl5bbr 273 . . . . . . . 8 (ran 𝐹 = 𝐵 → (∃𝑥 𝑥𝐹𝑦𝑦𝐵))
76biimpar 501 . . . . . . 7 ((ran 𝐹 = 𝐵𝑦𝐵) → ∃𝑥 𝑥𝐹𝑦)
87adantll 746 . . . . . 6 (((𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵) ∧ 𝑦𝐵) → ∃𝑥 𝑥𝐹𝑦)
9 ffn 5958 . . . . . . . . . . 11 (𝐹:𝐴𝐵𝐹 Fn 𝐴)
10 fnbr 5907 . . . . . . . . . . . 12 ((𝐹 Fn 𝐴𝑥𝐹𝑦) → 𝑥𝐴)
1110ex 449 . . . . . . . . . . 11 (𝐹 Fn 𝐴 → (𝑥𝐹𝑦𝑥𝐴))
129, 11syl 17 . . . . . . . . . 10 (𝐹:𝐴𝐵 → (𝑥𝐹𝑦𝑥𝐴))
1312ancrd 575 . . . . . . . . 9 (𝐹:𝐴𝐵 → (𝑥𝐹𝑦 → (𝑥𝐴𝑥𝐹𝑦)))
1413eximdv 1833 . . . . . . . 8 (𝐹:𝐴𝐵 → (∃𝑥 𝑥𝐹𝑦 → ∃𝑥(𝑥𝐴𝑥𝐹𝑦)))
15 df-rex 2902 . . . . . . . 8 (∃𝑥𝐴 𝑥𝐹𝑦 ↔ ∃𝑥(𝑥𝐴𝑥𝐹𝑦))
1614, 15syl6ibr 241 . . . . . . 7 (𝐹:𝐴𝐵 → (∃𝑥 𝑥𝐹𝑦 → ∃𝑥𝐴 𝑥𝐹𝑦))
1716ad2antrr 758 . . . . . 6 (((𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵) ∧ 𝑦𝐵) → (∃𝑥 𝑥𝐹𝑦 → ∃𝑥𝐴 𝑥𝐹𝑦))
188, 17mpd 15 . . . . 5 (((𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵) ∧ 𝑦𝐵) → ∃𝑥𝐴 𝑥𝐹𝑦)
1918ralrimiva 2949 . . . 4 ((𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵) → ∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦)
202, 19jca 553 . . 3 ((𝐹:𝐴𝐵 ∧ ran 𝐹 = 𝐵) → (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦))
211, 20sylbi 206 . 2 (𝐹:𝐴onto𝐵 → (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦))
22 fnbrfvb 6146 . . . . . . . . 9 ((𝐹 Fn 𝐴𝑥𝐴) → ((𝐹𝑥) = 𝑦𝑥𝐹𝑦))
2322biimprd 237 . . . . . . . 8 ((𝐹 Fn 𝐴𝑥𝐴) → (𝑥𝐹𝑦 → (𝐹𝑥) = 𝑦))
24 eqcom 2617 . . . . . . . 8 ((𝐹𝑥) = 𝑦𝑦 = (𝐹𝑥))
2523, 24syl6ib 240 . . . . . . 7 ((𝐹 Fn 𝐴𝑥𝐴) → (𝑥𝐹𝑦𝑦 = (𝐹𝑥)))
269, 25sylan 487 . . . . . 6 ((𝐹:𝐴𝐵𝑥𝐴) → (𝑥𝐹𝑦𝑦 = (𝐹𝑥)))
2726reximdva 3000 . . . . 5 (𝐹:𝐴𝐵 → (∃𝑥𝐴 𝑥𝐹𝑦 → ∃𝑥𝐴 𝑦 = (𝐹𝑥)))
2827ralimdv 2946 . . . 4 (𝐹:𝐴𝐵 → (∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦 → ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
2928imdistani 722 . . 3 ((𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦) → (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
30 dffo3 6282 . . 3 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑦 = (𝐹𝑥)))
3129, 30sylibr 223 . 2 ((𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦) → 𝐹:𝐴onto𝐵)
3221, 31impbii 198 1 (𝐹:𝐴onto𝐵 ↔ (𝐹:𝐴𝐵 ∧ ∀𝑦𝐵𝑥𝐴 𝑥𝐹𝑦))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   = wceq 1475  ∃wex 1695   ∈ wcel 1977  ∀wral 2896  ∃wrex 2897   class class class wbr 4583  ran crn 5039   Fn wfn 5799  ⟶wf 5800  –onto→wfo 5802  ‘cfv 5804 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-fo 5810  df-fv 5812 This theorem is referenced by:  dffo5  6284  exfo  6285  brdom3  9231  phpreu  32563  poimirlem26  32605
 Copyright terms: Public domain W3C validator