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

Theorem comfffval 17586
Description: Value of the functionalized composition operation. (Contributed by Mario Carneiro, 4-Jan-2017.) (Proof shortened by AV, 1-Mar-2024.)
Hypotheses
Ref Expression
comfffval.o ๐‘‚ = (compfโ€˜๐ถ)
comfffval.b ๐ต = (Baseโ€˜๐ถ)
comfffval.h ๐ป = (Hom โ€˜๐ถ)
comfffval.x ยท = (compโ€˜๐ถ)
Assertion
Ref Expression
comfffval ๐‘‚ = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“)))
Distinct variable groups:   ๐‘ฅ,๐‘ฆ,๐ต   ๐‘“,๐‘”,๐‘ฅ,๐‘ฆ,๐ถ   ยท ,๐‘“,๐‘”,๐‘ฅ   ๐‘“,๐ป,๐‘”,๐‘ฅ
Allowed substitution hints:   ๐ต(๐‘“,๐‘”)   ยท (๐‘ฆ)   ๐ป(๐‘ฆ)   ๐‘‚(๐‘ฅ,๐‘ฆ,๐‘“,๐‘”)

Proof of Theorem comfffval
Dummy variable ๐‘ is distinct from all other variables.
StepHypRef Expression
1 comfffval.o . 2 ๐‘‚ = (compfโ€˜๐ถ)
2 fveq2 6846 . . . . . . 7 (๐‘ = ๐ถ โ†’ (Baseโ€˜๐‘) = (Baseโ€˜๐ถ))
3 comfffval.b . . . . . . 7 ๐ต = (Baseโ€˜๐ถ)
42, 3eqtr4di 2791 . . . . . 6 (๐‘ = ๐ถ โ†’ (Baseโ€˜๐‘) = ๐ต)
54sqxpeqd 5669 . . . . 5 (๐‘ = ๐ถ โ†’ ((Baseโ€˜๐‘) ร— (Baseโ€˜๐‘)) = (๐ต ร— ๐ต))
6 fveq2 6846 . . . . . . . 8 (๐‘ = ๐ถ โ†’ (Hom โ€˜๐‘) = (Hom โ€˜๐ถ))
7 comfffval.h . . . . . . . 8 ๐ป = (Hom โ€˜๐ถ)
86, 7eqtr4di 2791 . . . . . . 7 (๐‘ = ๐ถ โ†’ (Hom โ€˜๐‘) = ๐ป)
98oveqd 7378 . . . . . 6 (๐‘ = ๐ถ โ†’ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ) = ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ))
108fveq1d 6848 . . . . . 6 (๐‘ = ๐ถ โ†’ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) = (๐ปโ€˜๐‘ฅ))
11 fveq2 6846 . . . . . . . . 9 (๐‘ = ๐ถ โ†’ (compโ€˜๐‘) = (compโ€˜๐ถ))
12 comfffval.x . . . . . . . . 9 ยท = (compโ€˜๐ถ)
1311, 12eqtr4di 2791 . . . . . . . 8 (๐‘ = ๐ถ โ†’ (compโ€˜๐‘) = ยท )
1413oveqd 7378 . . . . . . 7 (๐‘ = ๐ถ โ†’ (๐‘ฅ(compโ€˜๐‘)๐‘ฆ) = (๐‘ฅ ยท ๐‘ฆ))
1514oveqd 7378 . . . . . 6 (๐‘ = ๐ถ โ†’ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“) = (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))
169, 10, 15mpoeq123dv 7436 . . . . 5 (๐‘ = ๐ถ โ†’ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ), ๐‘“ โˆˆ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“)) = (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“)))
175, 4, 16mpoeq123dv 7436 . . . 4 (๐‘ = ๐ถ โ†’ (๐‘ฅ โˆˆ ((Baseโ€˜๐‘) ร— (Baseโ€˜๐‘)), ๐‘ฆ โˆˆ (Baseโ€˜๐‘) โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ), ๐‘“ โˆˆ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“))) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))))
18 df-comf 17559 . . . 4 compf = (๐‘ โˆˆ V โ†ฆ (๐‘ฅ โˆˆ ((Baseโ€˜๐‘) ร— (Baseโ€˜๐‘)), ๐‘ฆ โˆˆ (Baseโ€˜๐‘) โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ), ๐‘“ โˆˆ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“))))
193fvexi 6860 . . . . . 6 ๐ต โˆˆ V
2019, 19xpex 7691 . . . . 5 (๐ต ร— ๐ต) โˆˆ V
2120, 19mpoex 8016 . . . 4 (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))) โˆˆ V
2217, 18, 21fvmpt 6952 . . 3 (๐ถ โˆˆ V โ†’ (compfโ€˜๐ถ) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))))
23 fvprc 6838 . . . 4 (ยฌ ๐ถ โˆˆ V โ†’ (compfโ€˜๐ถ) = โˆ…)
24 fvprc 6838 . . . . . . 7 (ยฌ ๐ถ โˆˆ V โ†’ (Baseโ€˜๐ถ) = โˆ…)
253, 24eqtrid 2785 . . . . . 6 (ยฌ ๐ถ โˆˆ V โ†’ ๐ต = โˆ…)
2625olcd 873 . . . . 5 (ยฌ ๐ถ โˆˆ V โ†’ ((๐ต ร— ๐ต) = โˆ… โˆจ ๐ต = โˆ…))
27 0mpo0 7444 . . . . 5 (((๐ต ร— ๐ต) = โˆ… โˆจ ๐ต = โˆ…) โ†’ (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))) = โˆ…)
2826, 27syl 17 . . . 4 (ยฌ ๐ถ โˆˆ V โ†’ (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))) = โˆ…)
2923, 28eqtr4d 2776 . . 3 (ยฌ ๐ถ โˆˆ V โ†’ (compfโ€˜๐ถ) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))))
3022, 29pm2.61i 182 . 2 (compfโ€˜๐ถ) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“)))
311, 30eqtri 2761 1 ๐‘‚ = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“)))
Colors of variables: wff setvar class
Syntax hints:  ยฌ wn 3   โˆจ wo 846   = wceq 1542   โˆˆ wcel 2107  Vcvv 3447  โˆ…c0 4286   ร— cxp 5635  โ€˜cfv 6500  (class class class)co 7361   โˆˆ cmpo 7363  2nd c2nd 7924  Basecbs 17091  Hom chom 17152  compcco 17153  compfccomf 17555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5246  ax-sep 5260  ax-nul 5267  ax-pow 5324  ax-pr 5388  ax-un 7676
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3353  df-rab 3407  df-v 3449  df-sbc 3744  df-csb 3860  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-nul 4287  df-if 4491  df-pw 4566  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4870  df-iun 4960  df-br 5110  df-opab 5172  df-mpt 5193  df-id 5535  df-xp 5643  df-rel 5644  df-cnv 5645  df-co 5646  df-dm 5647  df-rn 5648  df-res 5649  df-ima 5650  df-iota 6452  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-ov 7364  df-oprab 7365  df-mpo 7366  df-1st 7925  df-2nd 7926  df-comf 17559
This theorem is referenced by:  comffval  17587  comfffval2  17589  comfffn  17592  comfeq  17594
  Copyright terms: Public domain W3C validator