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

Theorem fununfun 6533
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 6502 . . 3 (Fun (𝐹𝐺) → Rel (𝐹𝐺))
2 relun 5754 . . 3 (Rel (𝐹𝐺) ↔ (Rel 𝐹 ∧ Rel 𝐺))
31, 2sylib 219 . 2 (Fun (𝐹𝐺) → (Rel 𝐹 ∧ Rel 𝐺))
4 simpl 483 . . . . 5 ((Rel 𝐹 ∧ Rel 𝐺) → Rel 𝐹)
5 fununmo 6532 . . . . . 6 (Fun (𝐹𝐺) → ∃*𝑦 𝑥𝐹𝑦)
65alrimiv 1934 . . . . 5 (Fun (𝐹𝐺) → ∀𝑥∃*𝑦 𝑥𝐹𝑦)
74, 6anim12i 619 . . . 4 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
8 dffun6 6496 . . . 4 (Fun 𝐹 ↔ (Rel 𝐹 ∧ ∀𝑥∃*𝑦 𝑥𝐹𝑦))
97, 8sylibr 235 . . 3 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → Fun 𝐹)
10 simpr 485 . . . . 5 ((Rel 𝐹 ∧ Rel 𝐺) → Rel 𝐺)
11 uncom 4088 . . . . . . . 8 (𝐹𝐺) = (𝐺𝐹)
1211funeqi 6506 . . . . . . 7 (Fun (𝐹𝐺) ↔ Fun (𝐺𝐹))
13 fununmo 6532 . . . . . . 7 (Fun (𝐺𝐹) → ∃*𝑦 𝑥𝐺𝑦)
1412, 13sylbi 218 . . . . . 6 (Fun (𝐹𝐺) → ∃*𝑦 𝑥𝐺𝑦)
1514alrimiv 1934 . . . . 5 (Fun (𝐹𝐺) → ∀𝑥∃*𝑦 𝑥𝐺𝑦)
1610, 15anim12i 619 . . . 4 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Rel 𝐺 ∧ ∀𝑥∃*𝑦 𝑥𝐺𝑦))
17 dffun6 6496 . . . 4 (Fun 𝐺 ↔ (Rel 𝐺 ∧ ∀𝑥∃*𝑦 𝑥𝐺𝑦))
1816, 17sylibr 235 . . 3 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → Fun 𝐺)
199, 18jca 516 . 2 (((Rel 𝐹 ∧ Rel 𝐺) ∧ Fun (𝐹𝐺)) → (Fun 𝐹 ∧ Fun 𝐺))
203, 19mpancom 694 1 (Fun (𝐹𝐺) → (Fun 𝐹 ∧ Fun 𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1545  ∃*wmo 2541  cun 3881   class class class wbr 5072  Rel wrel 5623  Fun wfun 6479
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-ext 2711  ax-sep 5218  ax-pr 5362
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-sb 2074  df-mo 2543  df-clab 2718  df-cleq 2731  df-clel 2814  df-ral 3054  df-rex 3064  df-rab 3392  df-v 3433  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4262  df-if 4455  df-sn 4556  df-pr 4558  df-op 4562  df-br 5073  df-opab 5135  df-id 5513  df-xp 5624  df-rel 5625  df-cnv 5626  df-co 5627  df-fun 6487
This theorem is referenced by:  fsuppunbi  9292
  Copyright terms: Public domain W3C validator