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

Theorem chpmatfval 21979
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 21976 . . . 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 7284 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat 𝑟) = (𝑁 Mat 𝑅))
5 chpmatfval.a . . . . . . . 8 𝐴 = (𝑁 Mat 𝑅)
64, 5eqtr4di 2796 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat 𝑟) = 𝐴)
76fveq2d 6778 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (Base‘(𝑛 Mat 𝑟)) = (Base‘𝐴))
8 chpmatfval.b . . . . . 6 𝐵 = (Base‘𝐴)
97, 8eqtr4di 2796 . . . . 5 ((𝑛 = 𝑁𝑟 = 𝑅) → (Base‘(𝑛 Mat 𝑟)) = 𝐵)
10 simpl 483 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → 𝑛 = 𝑁)
11 simpr 485 . . . . . . . . . 10 ((𝑛 = 𝑁𝑟 = 𝑅) → 𝑟 = 𝑅)
1211fveq2d 6778 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = (Poly1𝑅))
13 chpmatfval.p . . . . . . . . 9 𝑃 = (Poly1𝑅)
1412, 13eqtr4di 2796 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = 𝑃)
1510, 14oveq12d 7293 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 maDet (Poly1𝑟)) = (𝑁 maDet 𝑃))
16 chpmatfval.d . . . . . . 7 𝐷 = (𝑁 maDet 𝑃)
1715, 16eqtr4di 2796 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 maDet (Poly1𝑟)) = 𝐷)
18 fveq2 6774 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (Poly1𝑟) = (Poly1𝑅))
1918adantl 482 . . . . . . . . . . . 12 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = (Poly1𝑅))
2019, 13eqtr4di 2796 . . . . . . . . . . 11 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = 𝑃)
2110, 20oveq12d 7293 . . . . . . . . . 10 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat (Poly1𝑟)) = (𝑁 Mat 𝑃))
22 chpmatfval.y . . . . . . . . . 10 𝑌 = (𝑁 Mat 𝑃)
2321, 22eqtr4di 2796 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat (Poly1𝑟)) = 𝑌)
2423fveq2d 6778 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (-g‘(𝑛 Mat (Poly1𝑟))) = (-g𝑌))
25 chpmatfval.s . . . . . . . 8 = (-g𝑌)
2624, 25eqtr4di 2796 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (-g‘(𝑛 Mat (Poly1𝑟))) = )
2723fveq2d 6778 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → ( ·𝑠 ‘(𝑛 Mat (Poly1𝑟))) = ( ·𝑠𝑌))
28 chpmatfval.m . . . . . . . . 9 · = ( ·𝑠𝑌)
2927, 28eqtr4di 2796 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → ( ·𝑠 ‘(𝑛 Mat (Poly1𝑟))) = · )
30 fveq2 6774 . . . . . . . . . 10 (𝑟 = 𝑅 → (var1𝑟) = (var1𝑅))
31 chpmatfval.x . . . . . . . . . 10 𝑋 = (var1𝑅)
3230, 31eqtr4di 2796 . . . . . . . . 9 (𝑟 = 𝑅 → (var1𝑟) = 𝑋)
3332adantl 482 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (var1𝑟) = 𝑋)
3423fveq2d 6778 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (1r‘(𝑛 Mat (Poly1𝑟))) = (1r𝑌))
35 chpmatfval.i . . . . . . . . 9 1 = (1r𝑌)
3634, 35eqtr4di 2796 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (1r‘(𝑛 Mat (Poly1𝑟))) = 1 )
3729, 33, 36oveq123d 7296 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → ((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟)))) = (𝑋 · 1 ))
38 oveq12 7284 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 matToPolyMat 𝑟) = (𝑁 matToPolyMat 𝑅))
39 chpmatfval.t . . . . . . . . 9 𝑇 = (𝑁 matToPolyMat 𝑅)
4038, 39eqtr4di 2796 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 matToPolyMat 𝑟) = 𝑇)
4140fveq1d 6776 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → ((𝑛 matToPolyMat 𝑟)‘𝑚) = (𝑇𝑚))
4226, 37, 41oveq123d 7296 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)) = ((𝑋 · 1 ) (𝑇𝑚)))
4317, 42fveq12d 6781 . . . . 5 ((𝑛 = 𝑁𝑟 = 𝑅) → ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚))) = (𝐷‘((𝑋 · 1 ) (𝑇𝑚))))
449, 43mpteq12dv 5165 . . . 4 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)))) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
4544adantl 482 . . 3 (((𝑁 ∈ Fin ∧ 𝑅𝑉) ∧ (𝑛 = 𝑁𝑟 = 𝑅)) → (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)))) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
46 simpl 483 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝑁 ∈ Fin)
47 elex 3450 . . . 4 (𝑅𝑉𝑅 ∈ V)
4847adantl 482 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝑅 ∈ V)
498fvexi 6788 . . . 4 𝐵 ∈ V
50 mptexg 7097 . . . 4 (𝐵 ∈ V → (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))) ∈ V)
5149, 50mp1i 13 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))) ∈ V)
523, 45, 46, 48, 51ovmpod 7425 . 2 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑁 CharPlyMat 𝑅) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
531, 52eqtrid 2790 1 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝐶 = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  Vcvv 3432  cmpt 5157  cfv 6433  (class class class)co 7275  cmpo 7277  Fincfn 8733  Basecbs 16912   ·𝑠 cvsca 16966  -gcsg 18579  1rcur 19737  var1cv1 21347  Poly1cpl1 21348   Mat cmat 21554   maDet cmdat 21733   matToPolyMat cmat2pmat 21853   CharPlyMat cchpmat 21975
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-chpmat 21976
This theorem is referenced by:  chpmatval  21980
  Copyright terms: Public domain W3C validator