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

Theorem chpmatfval 21887
Description: Value of the characteristic polynomial function. (Contributed by AV, 2-Aug-2019.)
Hypotheses
Ref Expression
chpmatfval.c 𝐶 = (𝑁 CharPlyMat 𝑅)
chpmatfval.a 𝐴 = (𝑁 Mat 𝑅)
chpmatfval.b 𝐵 = (Base‘𝐴)
chpmatfval.p 𝑃 = (Poly1𝑅)
chpmatfval.y 𝑌 = (𝑁 Mat 𝑃)
chpmatfval.d 𝐷 = (𝑁 maDet 𝑃)
chpmatfval.s = (-g𝑌)
chpmatfval.x 𝑋 = (var1𝑅)
chpmatfval.m · = ( ·𝑠𝑌)
chpmatfval.t 𝑇 = (𝑁 matToPolyMat 𝑅)
chpmatfval.i 1 = (1r𝑌)
Assertion
Ref Expression
chpmatfval ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝐶 = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
Distinct variable groups:   𝐵,𝑚   𝐷,𝑚   1 ,𝑚   𝑚,𝑁   𝑅,𝑚   𝑚,𝑋   𝑇,𝑚   · ,𝑚   ,𝑚
Allowed substitution hints:   𝐴(𝑚)   𝐶(𝑚)   𝑃(𝑚)   𝑉(𝑚)   𝑌(𝑚)

Proof of Theorem chpmatfval
Dummy variables 𝑛 𝑟 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 chpmatfval.c . 2 𝐶 = (𝑁 CharPlyMat 𝑅)
2 df-chpmat 21884 . . . 4 CharPlyMat = (𝑛 ∈ Fin, 𝑟 ∈ V ↦ (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)))))
32a1i 11 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → CharPlyMat = (𝑛 ∈ Fin, 𝑟 ∈ V ↦ (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚))))))
4 oveq12 7264 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat 𝑟) = (𝑁 Mat 𝑅))
5 chpmatfval.a . . . . . . . 8 𝐴 = (𝑁 Mat 𝑅)
64, 5eqtr4di 2797 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat 𝑟) = 𝐴)
76fveq2d 6760 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (Base‘(𝑛 Mat 𝑟)) = (Base‘𝐴))
8 chpmatfval.b . . . . . 6 𝐵 = (Base‘𝐴)
97, 8eqtr4di 2797 . . . . 5 ((𝑛 = 𝑁𝑟 = 𝑅) → (Base‘(𝑛 Mat 𝑟)) = 𝐵)
10 simpl 482 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → 𝑛 = 𝑁)
11 simpr 484 . . . . . . . . . 10 ((𝑛 = 𝑁𝑟 = 𝑅) → 𝑟 = 𝑅)
1211fveq2d 6760 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = (Poly1𝑅))
13 chpmatfval.p . . . . . . . . 9 𝑃 = (Poly1𝑅)
1412, 13eqtr4di 2797 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = 𝑃)
1510, 14oveq12d 7273 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 maDet (Poly1𝑟)) = (𝑁 maDet 𝑃))
16 chpmatfval.d . . . . . . 7 𝐷 = (𝑁 maDet 𝑃)
1715, 16eqtr4di 2797 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 maDet (Poly1𝑟)) = 𝐷)
18 fveq2 6756 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (Poly1𝑟) = (Poly1𝑅))
1918adantl 481 . . . . . . . . . . . 12 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = (Poly1𝑅))
2019, 13eqtr4di 2797 . . . . . . . . . . 11 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = 𝑃)
2110, 20oveq12d 7273 . . . . . . . . . 10 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat (Poly1𝑟)) = (𝑁 Mat 𝑃))
22 chpmatfval.y . . . . . . . . . 10 𝑌 = (𝑁 Mat 𝑃)
2321, 22eqtr4di 2797 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat (Poly1𝑟)) = 𝑌)
2423fveq2d 6760 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (-g‘(𝑛 Mat (Poly1𝑟))) = (-g𝑌))
25 chpmatfval.s . . . . . . . 8 = (-g𝑌)
2624, 25eqtr4di 2797 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (-g‘(𝑛 Mat (Poly1𝑟))) = )
2723fveq2d 6760 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → ( ·𝑠 ‘(𝑛 Mat (Poly1𝑟))) = ( ·𝑠𝑌))
28 chpmatfval.m . . . . . . . . 9 · = ( ·𝑠𝑌)
2927, 28eqtr4di 2797 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → ( ·𝑠 ‘(𝑛 Mat (Poly1𝑟))) = · )
30 fveq2 6756 . . . . . . . . . 10 (𝑟 = 𝑅 → (var1𝑟) = (var1𝑅))
31 chpmatfval.x . . . . . . . . . 10 𝑋 = (var1𝑅)
3230, 31eqtr4di 2797 . . . . . . . . 9 (𝑟 = 𝑅 → (var1𝑟) = 𝑋)
3332adantl 481 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (var1𝑟) = 𝑋)
3423fveq2d 6760 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (1r‘(𝑛 Mat (Poly1𝑟))) = (1r𝑌))
35 chpmatfval.i . . . . . . . . 9 1 = (1r𝑌)
3634, 35eqtr4di 2797 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (1r‘(𝑛 Mat (Poly1𝑟))) = 1 )
3729, 33, 36oveq123d 7276 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → ((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟)))) = (𝑋 · 1 ))
38 oveq12 7264 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 matToPolyMat 𝑟) = (𝑁 matToPolyMat 𝑅))
39 chpmatfval.t . . . . . . . . 9 𝑇 = (𝑁 matToPolyMat 𝑅)
4038, 39eqtr4di 2797 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 matToPolyMat 𝑟) = 𝑇)
4140fveq1d 6758 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → ((𝑛 matToPolyMat 𝑟)‘𝑚) = (𝑇𝑚))
4226, 37, 41oveq123d 7276 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)) = ((𝑋 · 1 ) (𝑇𝑚)))
4317, 42fveq12d 6763 . . . . 5 ((𝑛 = 𝑁𝑟 = 𝑅) → ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚))) = (𝐷‘((𝑋 · 1 ) (𝑇𝑚))))
449, 43mpteq12dv 5161 . . . 4 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)))) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
4544adantl 481 . . 3 (((𝑁 ∈ Fin ∧ 𝑅𝑉) ∧ (𝑛 = 𝑁𝑟 = 𝑅)) → (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)))) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
46 simpl 482 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝑁 ∈ Fin)
47 elex 3440 . . . 4 (𝑅𝑉𝑅 ∈ V)
4847adantl 481 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝑅 ∈ V)
498fvexi 6770 . . . 4 𝐵 ∈ V
50 mptexg 7079 . . . 4 (𝐵 ∈ V → (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))) ∈ V)
5149, 50mp1i 13 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))) ∈ V)
523, 45, 46, 48, 51ovmpod 7403 . 2 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑁 CharPlyMat 𝑅) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
531, 52eqtrid 2790 1 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝐶 = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  cmpt 5153  cfv 6418  (class class class)co 7255  cmpo 7257  Fincfn 8691  Basecbs 16840   ·𝑠 cvsca 16892  -gcsg 18494  1rcur 19652  var1cv1 21257  Poly1cpl1 21258   Mat cmat 21464   maDet cmdat 21641   matToPolyMat cmat2pmat 21761   CharPlyMat cchpmat 21883
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-chpmat 21884
This theorem is referenced by:  chpmatval  21888
  Copyright terms: Public domain W3C validator