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

Theorem fcompt 6895
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 ffvelrn 6849 . . 3 ((𝐵:𝐶𝐷𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
21adantll 712 . 2 (((𝐴:𝐷𝐸𝐵:𝐶𝐷) ∧ 𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
3 ffn 6514 . . . 4 (𝐵:𝐶𝐷𝐵 Fn 𝐶)
43adantl 484 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 Fn 𝐶)
5 dffn5 6724 . . 3 (𝐵 Fn 𝐶𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
64, 5sylib 220 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
7 ffn 6514 . . . 4 (𝐴:𝐷𝐸𝐴 Fn 𝐷)
87adantr 483 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 Fn 𝐷)
9 dffn5 6724 . . 3 (𝐴 Fn 𝐷𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
108, 9sylib 220 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
11 fveq2 6670 . 2 (𝑦 = (𝐵𝑥) → (𝐴𝑦) = (𝐴‘(𝐵𝑥)))
122, 6, 10, 11fmptco 6891 1 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → (𝐴𝐵) = (𝑥𝐶 ↦ (𝐴‘(𝐵𝑥))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  cmpt 5146  ccom 5559   Fn wfn 6350  wf 6351  cfv 6355
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 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330
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 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-fv 6363
This theorem is referenced by:  2fvcoidd  7053  revco  14196  repsco  14202  caucvgrlem2  15031  fucidcl  17235  fucsect  17242  prf1st  17454  prf2nd  17455  curfcl  17482  yonedalem4c  17527  yonedalem3b  17529  yonedainv  17531  frmdup3  18032  smndex1gid  18068  efginvrel1  18854  frgpup3lem  18903  frgpup3  18904  dprdfinv  19141  grpvlinv  21006  grpvrinv  21007  mhmvlin  21008  chcoeffeqlem  21493  prdstps  22237  imasdsf1olem  22983  gamcvg2lem  25636  cofmpt2  30379  meascnbl  31478  elmrsubrn  32767  mzprename  39395  mendassa  39843  fcomptss  41515  mulc1cncfg  41919  expcnfg  41921  cncficcgt0  42220  fprodsubrecnncnvlem  42240  fprodaddrecnncnvlem  42242  dvsinax  42246  dirkercncflem2  42438  fourierdlem18  42459  fourierdlem53  42493  fourierdlem93  42533  fourierdlem101  42541  fourierdlem111  42551  sge0resrnlem  42734  omeiunle  42848  ovolval3  42978  amgmwlem  44952
  Copyright terms: Public domain W3C validator