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

Theorem comfffval 17641
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 6891 . . . . . . 7 (๐‘ = ๐ถ โ†’ (Baseโ€˜๐‘) = (Baseโ€˜๐ถ))
3 comfffval.b . . . . . . 7 ๐ต = (Baseโ€˜๐ถ)
42, 3eqtr4di 2790 . . . . . 6 (๐‘ = ๐ถ โ†’ (Baseโ€˜๐‘) = ๐ต)
54sqxpeqd 5708 . . . . 5 (๐‘ = ๐ถ โ†’ ((Baseโ€˜๐‘) ร— (Baseโ€˜๐‘)) = (๐ต ร— ๐ต))
6 fveq2 6891 . . . . . . . 8 (๐‘ = ๐ถ โ†’ (Hom โ€˜๐‘) = (Hom โ€˜๐ถ))
7 comfffval.h . . . . . . . 8 ๐ป = (Hom โ€˜๐ถ)
86, 7eqtr4di 2790 . . . . . . 7 (๐‘ = ๐ถ โ†’ (Hom โ€˜๐‘) = ๐ป)
98oveqd 7425 . . . . . 6 (๐‘ = ๐ถ โ†’ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ) = ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ))
108fveq1d 6893 . . . . . 6 (๐‘ = ๐ถ โ†’ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) = (๐ปโ€˜๐‘ฅ))
11 fveq2 6891 . . . . . . . . 9 (๐‘ = ๐ถ โ†’ (compโ€˜๐‘) = (compโ€˜๐ถ))
12 comfffval.x . . . . . . . . 9 ยท = (compโ€˜๐ถ)
1311, 12eqtr4di 2790 . . . . . . . 8 (๐‘ = ๐ถ โ†’ (compโ€˜๐‘) = ยท )
1413oveqd 7425 . . . . . . 7 (๐‘ = ๐ถ โ†’ (๐‘ฅ(compโ€˜๐‘)๐‘ฆ) = (๐‘ฅ ยท ๐‘ฆ))
1514oveqd 7425 . . . . . 6 (๐‘ = ๐ถ โ†’ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“) = (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))
169, 10, 15mpoeq123dv 7483 . . . . 5 (๐‘ = ๐ถ โ†’ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ), ๐‘“ โˆˆ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“)) = (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“)))
175, 4, 16mpoeq123dv 7483 . . . 4 (๐‘ = ๐ถ โ†’ (๐‘ฅ โˆˆ ((Baseโ€˜๐‘) ร— (Baseโ€˜๐‘)), ๐‘ฆ โˆˆ (Baseโ€˜๐‘) โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ), ๐‘“ โˆˆ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“))) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))))
18 df-comf 17614 . . . 4 compf = (๐‘ โˆˆ V โ†ฆ (๐‘ฅ โˆˆ ((Baseโ€˜๐‘) ร— (Baseโ€˜๐‘)), ๐‘ฆ โˆˆ (Baseโ€˜๐‘) โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)(Hom โ€˜๐‘)๐‘ฆ), ๐‘“ โˆˆ ((Hom โ€˜๐‘)โ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ(compโ€˜๐‘)๐‘ฆ)๐‘“))))
193fvexi 6905 . . . . . 6 ๐ต โˆˆ V
2019, 19xpex 7739 . . . . 5 (๐ต ร— ๐ต) โˆˆ V
2120, 19mpoex 8065 . . . 4 (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))) โˆˆ V
2217, 18, 21fvmpt 6998 . . 3 (๐ถ โˆˆ V โ†’ (compfโ€˜๐ถ) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))))
23 fvprc 6883 . . . 4 (ยฌ ๐ถ โˆˆ V โ†’ (compfโ€˜๐ถ) = โˆ…)
24 fvprc 6883 . . . . . . 7 (ยฌ ๐ถ โˆˆ V โ†’ (Baseโ€˜๐ถ) = โˆ…)
253, 24eqtrid 2784 . . . . . 6 (ยฌ ๐ถ โˆˆ V โ†’ ๐ต = โˆ…)
2625olcd 872 . . . . 5 (ยฌ ๐ถ โˆˆ V โ†’ ((๐ต ร— ๐ต) = โˆ… โˆจ ๐ต = โˆ…))
27 0mpo0 7491 . . . . 5 (((๐ต ร— ๐ต) = โˆ… โˆจ ๐ต = โˆ…) โ†’ (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))) = โˆ…)
2826, 27syl 17 . . . 4 (ยฌ ๐ถ โˆˆ V โ†’ (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))) = โˆ…)
2923, 28eqtr4d 2775 . . 3 (ยฌ ๐ถ โˆˆ V โ†’ (compfโ€˜๐ถ) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“))))
3022, 29pm2.61i 182 . 2 (compfโ€˜๐ถ) = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“)))
311, 30eqtri 2760 1 ๐‘‚ = (๐‘ฅ โˆˆ (๐ต ร— ๐ต), ๐‘ฆ โˆˆ ๐ต โ†ฆ (๐‘” โˆˆ ((2nd โ€˜๐‘ฅ)๐ป๐‘ฆ), ๐‘“ โˆˆ (๐ปโ€˜๐‘ฅ) โ†ฆ (๐‘”(๐‘ฅ ยท ๐‘ฆ)๐‘“)))
Colors of variables: wff setvar class
Syntax hints:  ยฌ wn 3   โˆจ wo 845   = wceq 1541   โˆˆ wcel 2106  Vcvv 3474  โˆ…c0 4322   ร— cxp 5674  โ€˜cfv 6543  (class class class)co 7408   โˆˆ cmpo 7410  2nd c2nd 7973  Basecbs 17143  Hom chom 17207  compcco 17208  compfccomf 17610
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7724
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rex 3071  df-reu 3377  df-rab 3433  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-iun 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7411  df-oprab 7412  df-mpo 7413  df-1st 7974  df-2nd 7975  df-comf 17614
This theorem is referenced by:  comffval  17642  comfffval2  17644  comfffn  17647  comfeq  17649
  Copyright terms: Public domain W3C validator