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

Theorem fcompt 7104
Description: Express composition of two functions as a maps-to applying both in sequence. (Contributed by Stefan O'Rear, 5-Oct-2014.) (Proof shortened by Mario Carneiro, 27-Dec-2014.)
Assertion
Ref Expression
fcompt ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → (𝐴𝐵) = (𝑥𝐶 ↦ (𝐴‘(𝐵𝑥))))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝑥,𝐷   𝑥,𝐸

Proof of Theorem fcompt
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 ffvelcdm 7051 . . 3 ((𝐵:𝐶𝐷𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
21adantll 722 . 2 (((𝐴:𝐷𝐸𝐵:𝐶𝐷) ∧ 𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
3 ffn 6680 . . . 4 (𝐵:𝐶𝐷𝐵 Fn 𝐶)
43adantl 484 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 Fn 𝐶)
5 dffn5 6914 . . 3 (𝐵 Fn 𝐶𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
64, 5sylib 220 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
7 ffn 6680 . . . 4 (𝐴:𝐷𝐸𝐴 Fn 𝐷)
87adantr 483 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 Fn 𝐷)
9 dffn5 6914 . . 3 (𝐴 Fn 𝐷𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
108, 9sylib 220 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
11 fveq2 6856 . 2 (𝑦 = (𝐵𝑥) → (𝐴𝑦) = (𝐴‘(𝐵𝑥)))
122, 6, 10, 11fmptco 7100 1 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → (𝐴𝐵) = (𝑥𝐶 ↦ (𝐴‘(𝐵𝑥))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1554  wcel 2136  cmpt 5175  ccom 5644   Fn wfn 6505  wf 6506  cfv 6510
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1809  ax-4 1823  ax-5 1924  ax-6 1981  ax-7 2022  ax-8 2138  ax-9 2146  ax-10 2169  ax-11 2185  ax-12 2206  ax-ext 2728  ax-sep 5240  ax-nul 5250  ax-pr 5384
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 857  df-3an 1097  df-tru 1557  df-fal 1567  df-ex 1794  df-nf 1798  df-sb 2085  df-mo 2560  df-eu 2590  df-clab 2735  df-cleq 2748  df-clel 2831  df-nfc 2905  df-ne 2952  df-ral 3071  df-rex 3081  df-rab 3409  df-v 3450  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4281  df-if 4475  df-sn 4577  df-pr 4579  df-op 4583  df-uni 4860  df-br 5095  df-opab 5157  df-mpt 5176  df-id 5535  df-xp 5646  df-rel 5647  df-cnv 5648  df-co 5649  df-dm 5650  df-rn 5651  df-res 5652  df-ima 5653  df-iota 6466  df-fun 6512  df-fn 6513  df-f 6514  df-fv 6518
This theorem is referenced by:  2fvcoidd  7270  revco  14837  repsco  14843  caucvgrlem2  15678  fucidcl  17977  fucsect  17984  dfinito3  18014  dftermo3  18015  prf1st  18212  prf2nd  18213  curfcl  18240  yonedalem4c  18285  yonedalem3b  18287  yonedainv  18289  mhmvlin  18811  frmdup3  18877  smndex1gid  18914  smndex1gidOLD  18915  efginvrel1  19744  frgpup3lem  19793  frgpup3  19794  dprdfinv  20037  grpvlinv  22431  grpvrinv  22432  chcoeffeqlem  22918  prdstps  23662  imasdsf1olem  24406  gamcvg2lem  27093  cofmpt2  32779  meascnbl  34470  elmrsubrn  35818  mzprename  43278  mendassa  43715  fcomptss  45728  mulc1cncfg  46113  expcnfg  46115  cncficcgt0  46410  fprodsubrecnncnvlem  46429  fprodaddrecnncnvlem  46431  dvsinax  46435  dirkercncflem2  46626  fourierdlem18  46647  fourierdlem53  46681  fourierdlem93  46721  fourierdlem101  46729  fourierdlem111  46739  sge0resrnlem  46925  omeiunle  47039  ovolval3  47169  fucorid2  49932  precofval2  49938  amgmwlem  50371
  Copyright terms: Public domain W3C validator