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

Theorem fununfun 6585
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 6554 . . 3 (Fun (𝐹𝐺) → Rel (𝐹𝐺))
2 relun 5799 . . 3 (Rel (𝐹𝐺) ↔ (Rel 𝐹 ∧ Rel 𝐺))
31, 2sylib 221 . 2 (Fun (𝐹𝐺) → (Rel 𝐹 ∧ Rel 𝐺))
4 simpl 487 . . . . 5 ((Rel 𝐹 ∧ Rel 𝐺) → Rel 𝐹)
5 fununmo 6584 . . . . . 6 (Fun (𝐹𝐺) → ∃*𝑦 𝑥𝐹𝑦)
65alrimiv 1954 . . . . 5 (Fun (𝐹𝐺) → ∀𝑥∃*𝑦 𝑥𝐹𝑦)
74, 6anim12i 624 . . . 4 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
8 dffun6 6548 . . . 4 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
97, 8sylibr 237 . . 3 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → Fun 𝐹)
10 simpr 489 . . . . 5 ((Rel 𝐹 ∧ Rel 𝐺) → Rel 𝐺)
11 uncom 4120 . . . . . . . 8 (𝐹𝐺) = (𝐺𝐹)
1211funeqi 6558 . . . . . . 7 (Fun (𝐹𝐺) ↔ Fun (𝐺𝐹))
13 fununmo 6584 . . . . . . 7 (Fun (𝐺𝐹) → ∃*𝑦 𝑥𝐺𝑦)
1412, 13sylbi 220 . . . . . 6 (Fun (𝐹𝐺) → ∃*𝑦 𝑥𝐺𝑦)
1514alrimiv 1954 . . . . 5 (Fun (𝐹𝐺) → ∀𝑥∃*𝑦 𝑥𝐺𝑦)
1610, 15anim12i 624 . . . 4 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Rel 𝐺 ∧ ∀𝑥∃*𝑦 𝑥𝐺𝑦))
17 dffun6 6548 . . . 4 (Fun 𝐺 ↔ (Rel 𝐺 ∧ ∀𝑥∃*𝑦 𝑥𝐺𝑦))
1816, 17sylibr 237 . . 3 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → Fun 𝐺)
199, 18jca 520 . 2 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Fun 𝐹 ∧ Fun 𝐺))
203, 19mpancom 700 1 (Fun (𝐹𝐺) → (Fun 𝐹 ∧ Fun 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400  wal 1565  ∃*wmo 2571  cun 3911   class class class wbr 5113  Rel wrel 5667  Fun wfun 6531
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-ext 2741  ax-sep 5261  ax-pr 5405
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-sb 2098  df-mo 2573  df-clab 2748  df-cleq 2761  df-clel 2844  df-ral 3086  df-rex 3096  df-rab 3424  df-v 3465  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-br 5114  df-opab 5178  df-id 5557  df-xp 5668  df-rel 5669  df-cnv 5670  df-co 5671  df-fun 6539
This theorem is referenced by:  fsuppunbi  9348
  Copyright terms: Public domain W3C validator