Metamath Proof Explorer


Theorem pmatcollpw1lem2

Description: Lemma 2 for pmatcollpw1 : An entry of a polynomial matrix is the sum of the entries of the matrix consisting of the coefficients in the entries of the polynomial matrix multiplied with the corresponding power of the variable. (Contributed by AV, 25-Sep-2019) (Revised by AV, 3-Dec-2019)

Ref Expression
Hypotheses pmatcollpw1.p P = Poly 1 R
pmatcollpw1.c C = N Mat P
pmatcollpw1.b B = Base C
pmatcollpw1.m × ˙ = P
pmatcollpw1.e × ˙ = mulGrp P
pmatcollpw1.x X = var 1 R
Assertion pmatcollpw1lem2 N Fin R Ring M B a N b N a M b = P n 0 a M decompPMat n b × ˙ n × ˙ X

Proof

Step Hyp Ref Expression
1 pmatcollpw1.p P = Poly 1 R
2 pmatcollpw1.c C = N Mat P
3 pmatcollpw1.b B = Base C
4 pmatcollpw1.m × ˙ = P
5 pmatcollpw1.e × ˙ = mulGrp P
6 pmatcollpw1.x X = var 1 R
7 simpl2 N Fin R Ring M B a N b N R Ring
8 eqid Base P = Base P
9 simprl N Fin R Ring M B a N b N a N
10 simprr N Fin R Ring M B a N b N b N
11 simpl3 N Fin R Ring M B a N b N M B
12 2 8 3 9 10 11 matecld N Fin R Ring M B a N b N a M b Base P
13 eqid mulGrp P = mulGrp P
14 eqid mulGrp P = mulGrp P
15 eqid coe 1 a M b = coe 1 a M b
16 1 6 8 4 13 14 15 ply1coe R Ring a M b Base P a M b = P n 0 coe 1 a M b n × ˙ n mulGrp P X
17 7 12 16 syl2anc N Fin R Ring M B a N b N a M b = P n 0 coe 1 a M b n × ˙ n mulGrp P X
18 7 adantr N Fin R Ring M B a N b N n 0 R Ring
19 11 adantr N Fin R Ring M B a N b N n 0 M B
20 simpr N Fin R Ring M B a N b N n 0 n 0
21 simpr N Fin R Ring M B a N b N a N b N
22 21 adantr N Fin R Ring M B a N b N n 0 a N b N
23 1 2 3 decpmate R Ring M B n 0 a N b N a M decompPMat n b = coe 1 a M b n
24 18 19 20 22 23 syl31anc N Fin R Ring M B a N b N n 0 a M decompPMat n b = coe 1 a M b n
25 24 eqcomd N Fin R Ring M B a N b N n 0 coe 1 a M b n = a M decompPMat n b
26 5 eqcomi mulGrp P = × ˙
27 26 oveqi n mulGrp P X = n × ˙ X
28 27 a1i N Fin R Ring M B a N b N n 0 n mulGrp P X = n × ˙ X
29 25 28 oveq12d N Fin R Ring M B a N b N n 0 coe 1 a M b n × ˙ n mulGrp P X = a M decompPMat n b × ˙ n × ˙ X
30 29 mpteq2dva N Fin R Ring M B a N b N n 0 coe 1 a M b n × ˙ n mulGrp P X = n 0 a M decompPMat n b × ˙ n × ˙ X
31 30 oveq2d N Fin R Ring M B a N b N P n 0 coe 1 a M b n × ˙ n mulGrp P X = P n 0 a M decompPMat n b × ˙ n × ˙ X
32 17 31 eqtrd N Fin R Ring M B a N b N a M b = P n 0 a M decompPMat n b × ˙ n × ˙ X