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

Theorem comfffn 17671
Description: The functionalized composition operation is a function. (Contributed by Mario Carneiro, 4-Jan-2017.)
Hypotheses
Ref Expression
comfffn.o 𝑂 = (compf𝐶)
comfffn.b 𝐵 = (Base‘𝐶)
Assertion
Ref Expression
comfffn 𝑂 Fn ((𝐵 × 𝐵) × 𝐵)

Proof of Theorem comfffn
Dummy variables 𝑥 𝑦 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 comfffn.o . . 3 𝑂 = (compf𝐶)
2 comfffn.b . . 3 𝐵 = (Base‘𝐶)
3 eqid 2730 . . 3 (Hom ‘𝐶) = (Hom ‘𝐶)
4 eqid 2730 . . 3 (comp‘𝐶) = (comp‘𝐶)
51, 2, 3, 4comfffval 17665 . 2 𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)𝑦), 𝑓 ∈ ((Hom ‘𝐶)‘𝑥) ↦ (𝑔(𝑥(comp‘𝐶)𝑦)𝑓)))
6 ovex 7422 . . 3 ((2nd𝑥)(Hom ‘𝐶)𝑦) ∈ V
7 fvex 6873 . . 3 ((Hom ‘𝐶)‘𝑥) ∈ V
86, 7mpoex 8060 . 2 (𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)𝑦), 𝑓 ∈ ((Hom ‘𝐶)‘𝑥) ↦ (𝑔(𝑥(comp‘𝐶)𝑦)𝑓)) ∈ V
95, 8fnmpoi 8051 1 𝑂 Fn ((𝐵 × 𝐵) × 𝐵)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1540   × cxp 5638   Fn wfn 6508  cfv 6513  (class class class)co 7389  cmpo 7391  2nd c2nd 7969  Basecbs 17185  Hom chom 17237  compcco 17238  compfccomf 17634
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-rep 5236  ax-sep 5253  ax-nul 5263  ax-pow 5322  ax-pr 5389  ax-un 7713
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-ral 3046  df-rex 3055  df-reu 3357  df-rab 3409  df-v 3452  df-sbc 3756  df-csb 3865  df-dif 3919  df-un 3921  df-in 3923  df-ss 3933  df-nul 4299  df-if 4491  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4874  df-iun 4959  df-br 5110  df-opab 5172  df-mpt 5191  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 6515  df-fn 6516  df-f 6517  df-f1 6518  df-fo 6519  df-f1o 6520  df-fv 6521  df-ov 7392  df-oprab 7393  df-mpo 7394  df-1st 7970  df-2nd 7971  df-comf 17638
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator