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

Theorem chpmatfval 20858
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 20855 . . . 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 6824 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat 𝑟) = (𝑁 Mat 𝑅))
5 chpmatfval.a . . . . . . . 8 𝐴 = (𝑁 Mat 𝑅)
64, 5syl6eqr 2813 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat 𝑟) = 𝐴)
76fveq2d 6358 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (Base‘(𝑛 Mat 𝑟)) = (Base‘𝐴))
8 chpmatfval.b . . . . . 6 𝐵 = (Base‘𝐴)
97, 8syl6eqr 2813 . . . . 5 ((𝑛 = 𝑁𝑟 = 𝑅) → (Base‘(𝑛 Mat 𝑟)) = 𝐵)
10 simpl 474 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → 𝑛 = 𝑁)
11 simpr 479 . . . . . . . . . 10 ((𝑛 = 𝑁𝑟 = 𝑅) → 𝑟 = 𝑅)
1211fveq2d 6358 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = (Poly1𝑅))
13 chpmatfval.p . . . . . . . . 9 𝑃 = (Poly1𝑅)
1412, 13syl6eqr 2813 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = 𝑃)
1510, 14oveq12d 6833 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 maDet (Poly1𝑟)) = (𝑁 maDet 𝑃))
16 chpmatfval.d . . . . . . 7 𝐷 = (𝑁 maDet 𝑃)
1715, 16syl6eqr 2813 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 maDet (Poly1𝑟)) = 𝐷)
18 fveq2 6354 . . . . . . . . . . . . 13 (𝑟 = 𝑅 → (Poly1𝑟) = (Poly1𝑅))
1918adantl 473 . . . . . . . . . . . 12 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = (Poly1𝑅))
2019, 13syl6eqr 2813 . . . . . . . . . . 11 ((𝑛 = 𝑁𝑟 = 𝑅) → (Poly1𝑟) = 𝑃)
2110, 20oveq12d 6833 . . . . . . . . . 10 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat (Poly1𝑟)) = (𝑁 Mat 𝑃))
22 chpmatfval.y . . . . . . . . . 10 𝑌 = (𝑁 Mat 𝑃)
2321, 22syl6eqr 2813 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 Mat (Poly1𝑟)) = 𝑌)
2423fveq2d 6358 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (-g‘(𝑛 Mat (Poly1𝑟))) = (-g𝑌))
25 chpmatfval.s . . . . . . . 8 = (-g𝑌)
2624, 25syl6eqr 2813 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → (-g‘(𝑛 Mat (Poly1𝑟))) = )
2723fveq2d 6358 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → ( ·𝑠 ‘(𝑛 Mat (Poly1𝑟))) = ( ·𝑠𝑌))
28 chpmatfval.m . . . . . . . . 9 · = ( ·𝑠𝑌)
2927, 28syl6eqr 2813 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → ( ·𝑠 ‘(𝑛 Mat (Poly1𝑟))) = · )
30 fveq2 6354 . . . . . . . . . 10 (𝑟 = 𝑅 → (var1𝑟) = (var1𝑅))
31 chpmatfval.x . . . . . . . . . 10 𝑋 = (var1𝑅)
3230, 31syl6eqr 2813 . . . . . . . . 9 (𝑟 = 𝑅 → (var1𝑟) = 𝑋)
3332adantl 473 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (var1𝑟) = 𝑋)
3423fveq2d 6358 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (1r‘(𝑛 Mat (Poly1𝑟))) = (1r𝑌))
35 chpmatfval.i . . . . . . . . 9 1 = (1r𝑌)
3634, 35syl6eqr 2813 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (1r‘(𝑛 Mat (Poly1𝑟))) = 1 )
3729, 33, 36oveq123d 6836 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → ((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟)))) = (𝑋 · 1 ))
38 oveq12 6824 . . . . . . . . 9 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 matToPolyMat 𝑟) = (𝑁 matToPolyMat 𝑅))
39 chpmatfval.t . . . . . . . . 9 𝑇 = (𝑁 matToPolyMat 𝑅)
4038, 39syl6eqr 2813 . . . . . . . 8 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑛 matToPolyMat 𝑟) = 𝑇)
4140fveq1d 6356 . . . . . . 7 ((𝑛 = 𝑁𝑟 = 𝑅) → ((𝑛 matToPolyMat 𝑟)‘𝑚) = (𝑇𝑚))
4226, 37, 41oveq123d 6836 . . . . . 6 ((𝑛 = 𝑁𝑟 = 𝑅) → (((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)) = ((𝑋 · 1 ) (𝑇𝑚)))
4317, 42fveq12d 6360 . . . . 5 ((𝑛 = 𝑁𝑟 = 𝑅) → ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚))) = (𝐷‘((𝑋 · 1 ) (𝑇𝑚))))
449, 43mpteq12dv 4886 . . . 4 ((𝑛 = 𝑁𝑟 = 𝑅) → (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)))) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
4544adantl 473 . . 3 (((𝑁 ∈ Fin ∧ 𝑅𝑉) ∧ (𝑛 = 𝑁𝑟 = 𝑅)) → (𝑚 ∈ (Base‘(𝑛 Mat 𝑟)) ↦ ((𝑛 maDet (Poly1𝑟))‘(((var1𝑟)( ·𝑠 ‘(𝑛 Mat (Poly1𝑟)))(1r‘(𝑛 Mat (Poly1𝑟))))(-g‘(𝑛 Mat (Poly1𝑟)))((𝑛 matToPolyMat 𝑟)‘𝑚)))) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
46 simpl 474 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝑁 ∈ Fin)
47 elex 3353 . . . 4 (𝑅𝑉𝑅 ∈ V)
4847adantl 473 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝑅 ∈ V)
49 fvex 6364 . . . . 5 (Base‘𝐴) ∈ V
508, 49eqeltri 2836 . . . 4 𝐵 ∈ V
51 mptexg 6650 . . . 4 (𝐵 ∈ V → (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))) ∈ V)
5250, 51mp1i 13 . . 3 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))) ∈ V)
533, 45, 46, 48, 52ovmpt2d 6955 . 2 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → (𝑁 CharPlyMat 𝑅) = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
541, 53syl5eq 2807 1 ((𝑁 ∈ Fin ∧ 𝑅𝑉) → 𝐶 = (𝑚𝐵 ↦ (𝐷‘((𝑋 · 1 ) (𝑇𝑚)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1632  wcel 2140  Vcvv 3341  cmpt 4882  cfv 6050  (class class class)co 6815  cmpt2 6817  Fincfn 8124  Basecbs 16080   ·𝑠 cvsca 16168  -gcsg 17646  1rcur 18722  var1cv1 19769  Poly1cpl1 19770   Mat cmat 20436   maDet cmdat 20613   matToPolyMat cmat2pmat 20732   CharPlyMat cchpmat 20854
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1989  ax-6 2055  ax-7 2091  ax-9 2149  ax-10 2169  ax-11 2184  ax-12 2197  ax-13 2392  ax-ext 2741  ax-rep 4924  ax-sep 4934  ax-nul 4942  ax-pr 5056
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2048  df-eu 2612  df-mo 2613  df-clab 2748  df-cleq 2754  df-clel 2757  df-nfc 2892  df-ne 2934  df-ral 3056  df-rex 3057  df-reu 3058  df-rab 3060  df-v 3343  df-sbc 3578  df-csb 3676  df-dif 3719  df-un 3721  df-in 3723  df-ss 3730  df-nul 4060  df-if 4232  df-sn 4323  df-pr 4325  df-op 4329  df-uni 4590  df-iun 4675  df-br 4806  df-opab 4866  df-mpt 4883  df-id 5175  df-xp 5273  df-rel 5274  df-cnv 5275  df-co 5276  df-dm 5277  df-rn 5278  df-res 5279  df-ima 5280  df-iota 6013  df-fun 6052  df-fn 6053  df-f 6054  df-f1 6055  df-fo 6056  df-f1o 6057  df-fv 6058  df-ov 6818  df-oprab 6819  df-mpt2 6820  df-chpmat 20855
This theorem is referenced by:  chpmatval  20859
  Copyright terms: Public domain W3C validator