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

Theorem funco 6364
Description: The composition of two functions is a function. Exercise 29 of [TakeutiZaring] p. 25. (Contributed by NM, 26-Jan-1997.) (Proof shortened by Andrew Salmon, 17-Sep-2011.)
Assertion
Ref Expression
funco ((Fun 𝐹 ∧ Fun 𝐺) → Fun (𝐹𝐺))

Proof of Theorem funco
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 funmo 6340 . . . . 5 (Fun 𝐺 → ∃*𝑧 𝑥𝐺𝑧)
2 funmo 6340 . . . . . 6 (Fun 𝐹 → ∃*𝑦 𝑧𝐹𝑦)
32alrimiv 1928 . . . . 5 (Fun 𝐹 → ∀𝑧∃*𝑦 𝑧𝐹𝑦)
4 moexexvw 2690 . . . . 5 ((∃*𝑧 𝑥𝐺𝑧 ∧ ∀𝑧∃*𝑦 𝑧𝐹𝑦) → ∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
51, 3, 4syl2anr 599 . . . 4 ((Fun 𝐹 ∧ Fun 𝐺) → ∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
65alrimiv 1928 . . 3 ((Fun 𝐹 ∧ Fun 𝐺) → ∀𝑥∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
7 funopab 6359 . . 3 (Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)} ↔ ∀𝑥∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
86, 7sylibr 237 . 2 ((Fun 𝐹 ∧ Fun 𝐺) → Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)})
9 df-co 5528 . . 3 (𝐹𝐺) = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)}
109funeqi 6345 . 2 (Fun (𝐹𝐺) ↔ Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)})
118, 10sylibr 237 1 ((Fun 𝐹 ∧ Fun 𝐺) → Fun (𝐹𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wal 1536  wex 1781  ∃*wmo 2596   class class class wbr 5030  {copab 5092  ccom 5523  Fun wfun 6318
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-fun 6326
This theorem is referenced by:  funresfunco  6365  fnco  6437  f1co  6560  curry1  7782  curry2  7785  tposfun  7891  fsuppco  8849  fsuppco2  8850  fsuppcor  8851  fin23lem30  9753  smobeth  9997  hashkf  13688  xppreima  30408  smatrcl  31149  comptiunov2i  40407  fco3  41857  hoicvr  43187
  Copyright terms: Public domain W3C validator