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

Theorem fcompt 7130
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 7077 . . 3 ((𝐵:𝐶𝐷𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
21adantll 727 . 2 (((𝐴:𝐷𝐸𝐵:𝐶𝐷) ∧ 𝑥𝐶) → (𝐵𝑥) ∈ 𝐷)
3 ffn 6706 . . . 4 (𝐵:𝐶𝐷𝐵 Fn 𝐶)
43adantl 487 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 Fn 𝐶)
5 dffn5 6940 . . 3 (𝐵 Fn 𝐶𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
64, 5sylib 221 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐵 = (𝑥𝐶 ↦ (𝐵𝑥)))
7 ffn 6706 . . . 4 (𝐴:𝐷𝐸𝐴 Fn 𝐷)
87adantr 486 . . 3 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 Fn 𝐷)
9 dffn5 6940 . . 3 (𝐴 Fn 𝐷𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
108, 9sylib 221 . 2 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → 𝐴 = (𝑦𝐷 ↦ (𝐴𝑦)))
11 fveq2 6882 . 2 (𝑦 = (𝐵𝑥) → (𝐴𝑦) = (𝐴‘(𝐵𝑥)))
122, 6, 10, 11fmptco 7126 1 ((𝐴:𝐷𝐸𝐵:𝐶𝐷) → (𝐴𝐵) = (𝑥𝐶 ↦ (𝐴‘(𝐵𝑥))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wa 401   = wceq 1570  wcel 2145  cmpt 5190  ccom 5663   Fn wfn 6532  wf 6533  cfv 6537
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2215  ax-ext 2734  ax-sep 5255  ax-nul 5267  ax-pr 5402
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-ral 3079  df-rex 3089  df-rab 3415  df-v 3455  df-sbc 3743  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4283  df-if 4486  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4871  df-br 5108  df-opab 5172  df-mpt 5191  df-id 5554  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-fv 6545
This theorem is used by:  2fvcoidd  7301  revco  14907  repsco  14913  caucvgrlem2  15764  fucidcl  18061  fucsect  18068  dfinito3  18098  dftermo3  18099  prf1st  18296  prf2nd  18297  curfcl  18324  yonedalem4c  18369  yonedalem3b  18371  yonedainv  18373  mhmvlin  18913  frmdup3  18980  smndex1gid  19017  smndex1gidOLD  19018  efginvrel1  19859  frgpup3lem  19908  frgpup3  19909  dprdfinv  20152  grpvlinv  22624  grpvrinv  22625  chcoeffeqlem  23114  prdstps  23859  imasdsf1olem  24603  gamcvg2lem  27296  cofmpt2  33109  meascnbl  34732  elmrsubrn  36101  mzprename  43596  mendassa  44033  fcomptss  46036  mulc1cncfg  46421  expcnfg  46423  cncficcgt0  46718  fprodsubrecnncnvlem  46737  fprodaddrecnncnvlem  46739  dvsinax  46743  dirkercncflem2  46934  fourierdlem18  46955  fourierdlem53  46989  fourierdlem93  47029  fourierdlem101  47037  fourierdlem111  47047  sge0resrnlem  47233  omeiunle  47347  ovolval3  47477  fucorid2  50291  precofval2  50297  amgmwlem  50822
  Copyright terms: Public domain W3C validator