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

Theorem funco 6580
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 6554 . . . . 5 (Fun 𝐺 → ∃*𝑧 𝑥𝐺𝑧)
2 funmo 6554 . . . . . 6 (Fun 𝐹 → ∃*𝑦 𝑧𝐹𝑦)
32alrimiv 1959 . . . . 5 (Fun 𝐹 → ∀𝑧∃*𝑦 𝑧𝐹𝑦)
4 moexexvw 2653 . . . . 5 ((∃*𝑧 𝑥𝐺𝑧 ∧ ∀𝑧∃*𝑦 𝑧𝐹𝑦) → ∃*𝑦∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦))
51, 3, 4syl2anr 609 . . . 4 ((Fun 𝐹 ∧ Fun 𝐺) → ∃*𝑦∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦))
65alrimiv 1959 . . 3 ((Fun 𝐹 ∧ Fun 𝐺) → ∀𝑥∃*𝑦∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦))
7 funopab 6575 . . 3 (Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦)} ↔ ∀𝑥∃*𝑦∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦))
86, 7sylibr 237 . 2 ((Fun 𝐹 ∧ Fun 𝐺) → Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦)})
9 df-co 5659 . . 3 (𝐹 ∘ 𝐺) = {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦)}
109funeqi 6560 . 2 (Fun (𝐹 ∘ 𝐺) ↔ Fun {⟨𝑥, 𝑦⟩ ∣ ∃𝑧(𝑥𝐺𝑧 ∧ 𝑧𝐹𝑦)})
118, 10sylibr 237 1 ((Fun 𝐹 ∧ Fun 𝐺) → Fun (𝐹 ∘ 𝐺))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  ∀wal 1567  ∃wex 1811  ∃*wmo 2562   class class class wbr 5102  {copab 5166   ∘ ccom 5654  Fun wfun 6532
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-fun 6540
This theorem is used by:  funresfunco  6581  fncofn  6656  f1cof1  6790  curry1  8117  curry2  8120  tposfun  8262  fsuppco  9397  fsuppco2  9398  fsuppcor  9399  fin23lem30  10423  smobeth  10674  hashkf  14479  precsexlem10  28607  precsexlem11  28608  xppreima  33286  smatrcl  34474  comptiunov2i  44799  hoicvr  47651  upgrimpthslem1  49098  upgrimspths  49101
  Copyright terms: Public domain W3C validator