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

Theorem funco 6397
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 6373 . . . . 5 (Fun 𝐺 → ∃*𝑧 𝑥𝐺𝑧)
2 funmo 6373 . . . . . 6 (Fun 𝐹 → ∃*𝑦 𝑧𝐹𝑦)
32alrimiv 1928 . . . . 5 (Fun 𝐹 → ∀𝑧∃*𝑦 𝑧𝐹𝑦)
4 moexexvw 2713 . . . . 5 ((∃*𝑧 𝑥𝐺𝑧 ∧ ∀𝑧∃*𝑦 𝑧𝐹𝑦) → ∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
51, 3, 4syl2anr 598 . . . 4 ((Fun 𝐹 ∧ Fun 𝐺) → ∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
65alrimiv 1928 . . 3 ((Fun 𝐹 ∧ Fun 𝐺) → ∀𝑥∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
7 funopab 6392 . . 3 (Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)} ↔ ∀𝑥∃*𝑦𝑧(𝑥𝐺𝑧𝑧𝐹𝑦))
86, 7sylibr 236 . 2 ((Fun 𝐹 ∧ Fun 𝐺) → Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)})
9 df-co 5566 . . 3 (𝐹𝐺) = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)}
109funeqi 6378 . 2 (Fun (𝐹𝐺) ↔ Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧𝑧𝐹𝑦)})
118, 10sylibr 236 1 ((Fun 𝐹 ∧ Fun 𝐺) → Fun (𝐹𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wal 1535  wex 1780  ∃*wmo 2620   class class class wbr 5068  {copab 5130  ccom 5561  Fun wfun 6351
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069  df-opab 5131  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-fun 6359
This theorem is referenced by:  funresfunco  6398  fnco  6467  f1co  6587  curry1  7801  curry2  7804  tposfun  7910  fsuppco  8867  fsuppco2  8868  fsuppcor  8869  fin23lem30  9766  smobeth  10010  hashkf  13695  xppreima  30396  smatrcl  31063  comptiunov2i  40058  fco3  41498  hoicvr  42837
  Copyright terms: Public domain W3C validator