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

Theorem fcompt 7082
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 7029 . . 3 ((𝐵:𝐶𝐷𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
21adantll 720 . 2 (((𝐴:𝐷𝐸𝐵:𝐶𝐷) ∧ 𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
3 ffn 6662 . . . 4 (𝐵:𝐶𝐷𝐵 Fn 𝐶)
43adantl 482 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 Fn 𝐶)
5 dffn5 6892 . . 3 (𝐵 Fn 𝐶𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
64, 5sylib 219 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
7 ffn 6662 . . . 4 (𝐴:𝐷𝐸𝐴 Fn 𝐷)
87adantr 481 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 Fn 𝐷)
9 dffn5 6892 . . 3 (𝐴 Fn 𝐷𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
108, 9sylib 219 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
11 fveq2 6834 . 2 (𝑦 = (𝐵𝑥) → (𝐴𝑦) = (𝐴‘(𝐵𝑥)))
122, 6, 10, 11fmptco 7078 1 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → (𝐴𝐵) = (𝑥𝐶 ↦ (𝐴‘(𝐵𝑥))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1547  wcel 2119  cmpt 5160  ccom 5629   Fn wfn 6487  wf 6488  cfv 6492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2712  ax-sep 5225  ax-nul 5235  ax-pr 5369
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2719  df-cleq 2732  df-clel 2815  df-nfc 2889  df-ne 2936  df-ral 3055  df-rex 3065  df-rab 3393  df-v 3434  df-sbc 3731  df-csb 3839  df-dif 3893  df-un 3895  df-in 3897  df-ss 3907  df-nul 4269  df-if 4462  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4846  df-br 5080  df-opab 5142  df-mpt 5161  df-id 5520  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-iota 6448  df-fun 6494  df-fn 6495  df-f 6496  df-fv 6500
This theorem is referenced by:  2fvcoidd  7248  revco  14794  repsco  14800  caucvgrlem2  15635  fucidcl  17933  fucsect  17940  dfinito3  17970  dftermo3  17971  prf1st  18168  prf2nd  18169  curfcl  18196  yonedalem4c  18241  yonedalem3b  18243  yonedainv  18245  mhmvlin  18767  frmdup3  18833  smndex1gid  18870  smndex1gidOLD  18871  efginvrel1  19701  frgpup3lem  19750  frgpup3  19751  dprdfinv  19994  grpvlinv  22388  grpvrinv  22389  chcoeffeqlem  22875  prdstps  23619  imasdsf1olem  24363  gamcvg2lem  27047  cofmpt2  32733  meascnbl  34410  elmrsubrn  35749  mzprename  43199  mendassa  43636  fcomptss  45650  mulc1cncfg  46035  expcnfg  46037  cncficcgt0  46332  fprodsubrecnncnvlem  46351  fprodaddrecnncnvlem  46353  dvsinax  46357  dirkercncflem2  46548  fourierdlem18  46569  fourierdlem53  46603  fourierdlem93  46643  fourierdlem101  46651  fourierdlem111  46661  sge0resrnlem  46847  omeiunle  46961  ovolval3  47091  fucorid2  49854  precofval2  49860  amgmwlem  50293
  Copyright terms: Public domain W3C validator