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

Theorem comfffn 16345
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 2620 . . 3 (Hom ‘𝐶) = (Hom ‘𝐶)
4 eqid 2620 . . 3 (comp‘𝐶) = (comp‘𝐶)
51, 2, 3, 4comfffval 16339 . 2 𝑂 = (𝑥 ∈ (𝐵 × 𝐵), 𝑦𝐵 ↦ (𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)𝑦), 𝑓 ∈ ((Hom ‘𝐶)‘𝑥) ↦ (𝑔(𝑥(comp‘𝐶)𝑦)𝑓)))
6 ovex 6663 . . 3 ((2nd𝑥)(Hom ‘𝐶)𝑦) ∈ V
7 fvex 6188 . . 3 ((Hom ‘𝐶)‘𝑥) ∈ V
86, 7mpt2ex 7232 . 2 (𝑔 ∈ ((2nd𝑥)(Hom ‘𝐶)𝑦), 𝑓 ∈ ((Hom ‘𝐶)‘𝑥) ↦ (𝑔(𝑥(comp‘𝐶)𝑦)𝑓)) ∈ V
95, 8fnmpt2i 7224 1 𝑂 Fn ((𝐵 × 𝐵) × 𝐵)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1481   × cxp 5102   Fn wfn 5871  cfv 5876  (class class class)co 6635  cmpt2 6637  2nd c2nd 7152  Basecbs 15838  Hom chom 15933  compcco 15934  compfccomf 16309
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-rep 4762  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-ral 2914  df-rex 2915  df-reu 2916  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-op 4175  df-uni 4428  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-id 5014  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-iota 5839  df-fun 5878  df-fn 5879  df-f 5880  df-f1 5881  df-fo 5882  df-f1o 5883  df-fv 5884  df-ov 6638  df-oprab 6639  df-mpt2 6640  df-1st 7153  df-2nd 7154  df-comf 16313
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator