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

Theorem pmatcollpw3fi1 22826
Description: Write a polynomial matrix (over a commutative ring) as a finite sum of (at least two) products of variable powers and constant matrices with scalar entries. (Contributed by AV, 6-Nov-2019.) (Revised by AV, 4-Dec-2019.)
Hypotheses
Ref Expression
pmatcollpw.p 𝑃 = (Poly1𝑅)
pmatcollpw.c 𝐶 = (𝑁 Mat 𝑃)
pmatcollpw.b 𝐵 = (Base‘𝐶)
pmatcollpw.m = ( ·𝑠𝐶)
pmatcollpw.e = (.g‘(mulGrp‘𝑃))
pmatcollpw.x 𝑋 = (var1𝑅)
pmatcollpw.t 𝑇 = (𝑁 matToPolyMat 𝑅)
pmatcollpw3.a 𝐴 = (𝑁 Mat 𝑅)
pmatcollpw3.d 𝐷 = (Base‘𝐴)
Assertion
Ref Expression
pmatcollpw3fi1 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → ∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))))
Distinct variable groups:   𝐵,𝑛   𝑛,𝑀   𝑛,𝑁   𝑃,𝑛   𝑅,𝑛   𝑛,𝑋   ,𝑛   𝐵,𝑠,𝑛   𝐶,𝑛   𝑀,𝑠   𝑁,𝑠   𝑅,𝑠   𝐵,𝑓   𝐶,𝑓,𝑛   𝐷,𝑓   𝑓,𝑀   𝑓,𝑁   𝑅,𝑓   𝑇,𝑓   𝑓,𝑋   ,𝑓   ,𝑓,𝑠   𝐷,𝑛   𝐴,𝑓,𝑛,𝑠   𝐶,𝑠   𝐷,𝑠   𝑇,𝑠   𝑋,𝑠   ,𝑠   ,𝑠
Allowed substitution hints:   𝑃(𝑓,𝑠)   𝑇(𝑛)   (𝑛)

Proof of Theorem pmatcollpw3fi1
StepHypRef Expression
1 pmatcollpw.p . . 3 𝑃 = (Poly1𝑅)
2 pmatcollpw.c . . 3 𝐶 = (𝑁 Mat 𝑃)
3 pmatcollpw.b . . 3 𝐵 = (Base‘𝐶)
4 pmatcollpw.m . . 3 = ( ·𝑠𝐶)
5 pmatcollpw.e . . 3 = (.g‘(mulGrp‘𝑃))
6 pmatcollpw.x . . 3 𝑋 = (var1𝑅)
7 pmatcollpw.t . . 3 𝑇 = (𝑁 matToPolyMat 𝑅)
8 pmatcollpw3.a . . 3 𝐴 = (𝑁 Mat 𝑅)
9 pmatcollpw3.d . . 3 𝐷 = (Base‘𝐴)
101, 2, 3, 4, 5, 6, 7, 8, 9pmatcollpw3fi 22823 . 2 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → ∃𝑠 ∈ ℕ0𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))))
11 df-n0 12477 . . . . 5 0 = (ℕ ∪ {0})
1211rexeqi 3318 . . . 4 (∃𝑠 ∈ ℕ0𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ ∃𝑠 ∈ (ℕ ∪ {0})∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))))
13 rexun 4148 . . . 4 (∃𝑠 ∈ (ℕ ∪ {0})∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ (∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ∨ ∃𝑠 ∈ {0}∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
1412, 13bitri 277 . . 3 (∃𝑠 ∈ ℕ0𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ (∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ∨ ∃𝑠 ∈ {0}∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
15 c0ex 11168 . . . . . 6 0 ∈ V
16 oveq2 7398 . . . . . . . . 9 (𝑠 = 0 → (0...𝑠) = (0...0))
17 0z 12574 . . . . . . . . . 10 0 ∈ ℤ
18 fzsn 13566 . . . . . . . . . 10 (0 ∈ ℤ → (0...0) = {0})
1917, 18mp1i 13 . . . . . . . . 9 (𝑠 = 0 → (0...0) = {0})
2016, 19eqtrd 2796 . . . . . . . 8 (𝑠 = 0 → (0...𝑠) = {0})
2120oveq2d 7406 . . . . . . 7 (𝑠 = 0 → (𝐷m (0...𝑠)) = (𝐷m {0}))
2220mpteq1d 5189 . . . . . . . . 9 (𝑠 = 0 → (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))) = (𝑛 ∈ {0} ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))
2322oveq2d 7406 . . . . . . . 8 (𝑠 = 0 → (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) = (𝐶 Σg (𝑛 ∈ {0} ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))))
2423eqeq2d 2772 . . . . . . 7 (𝑠 = 0 → (𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ 𝑀 = (𝐶 Σg (𝑛 ∈ {0} ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
2521, 24rexeqbidv 3336 . . . . . 6 (𝑠 = 0 → (∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ ∃𝑓 ∈ (𝐷m {0})𝑀 = (𝐶 Σg (𝑛 ∈ {0} ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
2615, 25rexsn 4640 . . . . 5 (∃𝑠 ∈ {0}∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ↔ ∃𝑓 ∈ (𝐷m {0})𝑀 = (𝐶 Σg (𝑛 ∈ {0} ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))))
271, 2, 3, 4, 5, 6, 7, 8, 9pmatcollpw3fi1lem2 22825 . . . . . 6 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → (∃𝑓 ∈ (𝐷m {0})𝑀 = (𝐶 Σg (𝑛 ∈ {0} ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) → ∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
2827com12 32 . . . . 5 (∃𝑓 ∈ (𝐷m {0})𝑀 = (𝐶 Σg (𝑛 ∈ {0} ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) → ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → ∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
2926, 28sylbi 219 . . . 4 (∃𝑠 ∈ {0}∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) → ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → ∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
3029jao1i 869 . . 3 ((∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) ∨ ∃𝑠 ∈ {0}∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))) → ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → ∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
3114, 30sylbi 219 . 2 (∃𝑠 ∈ ℕ0𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))) → ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → ∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛)))))))
3210, 31mpcom 38 1 ((𝑁 ∈ Fin ∧ 𝑅 ∈ CRing ∧ 𝑀𝐵) → ∃𝑠 ∈ ℕ ∃𝑓 ∈ (𝐷m (0...𝑠))𝑀 = (𝐶 Σg (𝑛 ∈ (0...𝑠) ↦ ((𝑛 𝑋) (𝑇‘(𝑓𝑛))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 858  w3a 1097   = wceq 1559  wcel 2141  wrex 3085  cun 3902  {csn 4581  cmpt 5180  cfv 6515  (class class class)co 7390  m cmap 8801  Fincfn 8921  0cc0 11068  cn 12205  0cn0 12476  cz 12563  ...cfz 13507  Basecbs 17226   ·𝑠 cvsca 17271   Σg cgsu 17450  .gcmg 19090  mulGrpcmgp 20167  CRingccrg 20261  var1cv1 22216  Poly1cpl1 22217   Mat cmat 22445   matToPolyMat cmat2pmat 22742
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-rep 5226  ax-sep 5245  ax-nul 5255  ax-pow 5321  ax-pr 5389  ax-un 7712  ax-cnex 11124  ax-resscn 11125  ax-1cn 11126  ax-icn 11127  ax-addcl 11128  ax-addrcl 11129  ax-mulcl 11130  ax-mulrcl 11131  ax-mulcom 11132  ax-addass 11133  ax-mulass 11134  ax-distr 11135  ax-i2m1 11136  ax-1ne0 11137  ax-1rid 11138  ax-rnegex 11139  ax-rrecex 11140  ax-cnre 11141  ax-pre-lttri 11142  ax-pre-lttrn 11143  ax-pre-ltadd 11144  ax-pre-mulgt0 11145
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1098  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3061  df-ral 3076  df-rex 3086  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3455  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4480  df-pw 4556  df-sn 4582  df-pr 4584  df-tp 4586  df-op 4588  df-ot 4590  df-uni 4865  df-int 4905  df-iun 4950  df-iin 4951  df-br 5100  df-opab 5162  df-mpt 5181  df-tr 5207  df-id 5540  df-eprel 5545  df-po 5553  df-so 5554  df-fr 5598  df-se 5599  df-we 5600  df-xp 5651  df-rel 5652  df-cnv 5653  df-co 5654  df-dm 5655  df-rn 5656  df-res 5657  df-ima 5658  df-pred 6282  df-ord 6343  df-on 6344  df-lim 6345  df-suc 6346  df-iota 6471  df-fun 6517  df-fn 6518  df-f 6519  df-f1 6520  df-fo 6521  df-f1o 6522  df-fv 6523  df-isom 6524  df-riota 7347  df-ov 7393  df-oprab 7394  df-mpo 7395  df-of 7654  df-ofr 7655  df-om 7841  df-1st 7964  df-2nd 7965  df-supp 8134  df-cur 8240  df-frecs 8255  df-wrecs 8286  df-recs 8335  df-rdg 8374  df-1o 8430  df-2o 8431  df-er 8671  df-map 8803  df-pm 8804  df-ixp 8874  df-en 8922  df-dom 8923  df-sdom 8924  df-fin 8925  df-fsupp 9303  df-sup 9383  df-oi 9453  df-card 9892  df-pnf 11213  df-mnf 11214  df-xr 11215  df-ltxr 11216  df-le 11217  df-sub 11411  df-neg 11412  df-nn 12206  df-2 12275  df-3 12276  df-4 12277  df-5 12278  df-6 12279  df-7 12280  df-8 12281  df-9 12282  df-n0 12477  df-z 12564  df-dec 12684  df-uz 12835  df-fz 13508  df-fzo 13655  df-seq 14010  df-hash 14339  df-struct 17164  df-sets 17181  df-slot 17199  df-ndx 17211  df-base 17227  df-ress 17248  df-plusg 17280  df-mulr 17281  df-sca 17283  df-vsca 17284  df-ip 17285  df-tset 17286  df-ple 17287  df-ds 17289  df-hom 17291  df-cco 17292  df-0g 17451  df-gsum 17452  df-prds 17457  df-pws 17459  df-mre 17595  df-mrc 17596  df-acs 17598  df-mgm 18655  df-sgrp 18734  df-mnd 18750  df-mhm 18798  df-submnd 18799  df-grp 18959  df-minusg 18960  df-sbg 18961  df-mulg 19091  df-subg 19146  df-ghm 19235  df-cntz 19338  df-cmn 19803  df-abl 19804  df-mgp 20168  df-rng 20180  df-ur 20209  df-srg 20214  df-ring 20262  df-cring 20263  df-subrng 20573  df-subrg 20597  df-lmod 20907  df-lss 20977  df-sra 21218  df-rgmod 21219  df-dsmm 21762  df-frlm 21777  df-assa 21883  df-ascl 21885  df-psr 21939  df-mvr 21940  df-mpl 21941  df-opsr 21943  df-psr1 22220  df-vr1 22221  df-ply1 22222  df-coe1 22223  df-mamu 22429  df-mat 22446  df-mat2pmat 22745  df-decpmat 22801
This theorem is referenced by:  cpmadugsumfi  22915
  Copyright terms: Public domain W3C validator