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

Theorem fununfun 6395
Description: If the union of classes is a function, the classes itselves are functions. (Contributed by AV, 18-Jul-2019.)
Assertion
Ref Expression
fununfun (Fun (𝐹𝐺) → (Fun 𝐹 ∧ Fun 𝐺))

Proof of Theorem fununfun
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 funrel 6365 . . 3 (Fun (𝐹𝐺) → Rel (𝐹𝐺))
2 relun 5677 . . 3 (Rel (𝐹𝐺) ↔ (Rel 𝐹 ∧ Rel 𝐺))
31, 2sylib 219 . 2 (Fun (𝐹𝐺) → (Rel 𝐹 ∧ Rel 𝐺))
4 simpl 483 . . . . 5 ((Rel 𝐹 ∧ Rel 𝐺) → Rel 𝐹)
5 fununmo 6394 . . . . . 6 (Fun (𝐹𝐺) → ∃*𝑦 𝑥𝐹𝑦)
65alrimiv 1919 . . . . 5 (Fun (𝐹𝐺) → ∀𝑥∃*𝑦 𝑥𝐹𝑦)
74, 6anim12i 612 . . . 4 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
8 dffun6 6363 . . . 4 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
97, 8sylibr 235 . . 3 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → Fun 𝐹)
10 simpr 485 . . . . 5 ((Rel 𝐹 ∧ Rel 𝐺) → Rel 𝐺)
11 uncom 4126 . . . . . . . 8 (𝐹𝐺) = (𝐺𝐹)
1211funeqi 6369 . . . . . . 7 (Fun (𝐹𝐺) ↔ Fun (𝐺𝐹))
13 fununmo 6394 . . . . . . 7 (Fun (𝐺𝐹) → ∃*𝑦 𝑥𝐺𝑦)
1412, 13sylbi 218 . . . . . 6 (Fun (𝐹𝐺) → ∃*𝑦 𝑥𝐺𝑦)
1514alrimiv 1919 . . . . 5 (Fun (𝐹𝐺) → ∀𝑥∃*𝑦 𝑥𝐺𝑦)
1610, 15anim12i 612 . . . 4 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Rel 𝐺 ∧ ∀𝑥∃*𝑦 𝑥𝐺𝑦))
17 dffun6 6363 . . . 4 (Fun 𝐺 ↔ (Rel 𝐺 ∧ ∀𝑥∃*𝑦 𝑥𝐺𝑦))
1816, 17sylibr 235 . . 3 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → Fun 𝐺)
199, 18jca 512 . 2 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Fun 𝐹 ∧ Fun 𝐺))
203, 19mpancom 684 1 (Fun (𝐹𝐺) → (Fun 𝐹 ∧ Fun 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1526  ∃*wmo 2613  cun 3931   class class class wbr 5057  Rel wrel 5553  Fun wfun 6342
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-fun 6350
This theorem is referenced by:  fsuppunbi  8842
  Copyright terms: Public domain W3C validator