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

Theorem eqcoe1ply1eq 22289
Description: Two polynomials over the same ring are equal if they have identical coefficients. (Contributed by AV, 7-Oct-2019.)
Hypotheses
Ref Expression
eqcoe1ply1eq.p 𝑃 = (Poly1𝑅)
eqcoe1ply1eq.b 𝐵 = (Base‘𝑃)
eqcoe1ply1eq.a 𝐴 = (coe1𝐾)
eqcoe1ply1eq.c 𝐶 = (coe1𝐿)
Assertion
Ref Expression
eqcoe1ply1eq ((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) → (∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘) → 𝐾 = 𝐿))
Distinct variable groups:   𝐴,𝑘   𝐶,𝑘
Allowed substitution hints:   𝐵(𝑘)   𝑃(𝑘)   𝑅(𝑘)   𝐾(𝑘)   𝐿(𝑘)

Proof of Theorem eqcoe1ply1eq
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6831 . . . . . . . . . . 11 (𝑘 = 𝑛 → (𝐴𝑘) = (𝐴𝑛))
2 fveq2 6831 . . . . . . . . . . 11 (𝑘 = 𝑛 → (𝐶𝑘) = (𝐶𝑛))
31, 2eqeq12d 2757 . . . . . . . . . 10 (𝑘 = 𝑛 → ((𝐴𝑘) = (𝐶𝑘) ↔ (𝐴𝑛) = (𝐶𝑛)))
43rspccv 3559 . . . . . . . . 9 (∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘) → (𝑛 ∈ ℕ0 → (𝐴𝑛) = (𝐶𝑛)))
54adantl 483 . . . . . . . 8 (((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) → (𝑛 ∈ ℕ0 → (𝐴𝑛) = (𝐶𝑛)))
65imp 408 . . . . . . 7 ((((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) ∧ 𝑛 ∈ ℕ0) → (𝐴𝑛) = (𝐶𝑛))
7 eqcoe1ply1eq.a . . . . . . . 8 𝐴 = (coe1𝐾)
87fveq1i 6832 . . . . . . 7 (𝐴𝑛) = ((coe1𝐾)‘𝑛)
9 eqcoe1ply1eq.c . . . . . . . 8 𝐶 = (coe1𝐿)
109fveq1i 6832 . . . . . . 7 (𝐶𝑛) = ((coe1𝐿)‘𝑛)
116, 8, 103eqtr3g 2799 . . . . . 6 ((((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) ∧ 𝑛 ∈ ℕ0) → ((coe1𝐾)‘𝑛) = ((coe1𝐿)‘𝑛))
1211oveq1d 7375 . . . . 5 ((((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) ∧ 𝑛 ∈ ℕ0) → (((coe1𝐾)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))) = (((coe1𝐿)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))
1312mpteq2dva 5168 . . . 4 (((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) → (𝑛 ∈ ℕ0 ↦ (((coe1𝐾)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅)))) = (𝑛 ∈ ℕ0 ↦ (((coe1𝐿)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅)))))
1413oveq2d 7376 . . 3 (((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) → (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐾)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))) = (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐿)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))))
15 eqcoe1ply1eq.p . . . . . . 7 𝑃 = (Poly1𝑅)
16 eqid 2741 . . . . . . 7 (var1𝑅) = (var1𝑅)
17 eqcoe1ply1eq.b . . . . . . 7 𝐵 = (Base‘𝑃)
18 eqid 2741 . . . . . . 7 ( ·𝑠𝑃) = ( ·𝑠𝑃)
19 eqid 2741 . . . . . . 7 (mulGrp‘𝑃) = (mulGrp‘𝑃)
20 eqid 2741 . . . . . . 7 (.g‘(mulGrp‘𝑃)) = (.g‘(mulGrp‘𝑃))
21 eqid 2741 . . . . . . 7 (coe1𝐾) = (coe1𝐾)
2215, 16, 17, 18, 19, 20, 21ply1coe 22288 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝐾𝐵) → 𝐾 = (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐾)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))))
23223adant3 1139 . . . . 5 ((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) → 𝐾 = (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐾)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))))
24 eqid 2741 . . . . . . 7 (coe1𝐿) = (coe1𝐿)
2515, 16, 17, 18, 19, 20, 24ply1coe 22288 . . . . . 6 ((𝑅 ∈ Ring ∧ 𝐿𝐵) → 𝐿 = (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐿)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))))
26253adant2 1138 . . . . 5 ((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) → 𝐿 = (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐿)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))))
2723, 26eqeq12d 2757 . . . 4 ((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) → (𝐾 = 𝐿 ↔ (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐾)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))) = (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐿)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅)))))))
2827adantr 482 . . 3 (((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) → (𝐾 = 𝐿 ↔ (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐾)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅))))) = (𝑃 Σg (𝑛 ∈ ℕ0 ↦ (((coe1𝐿)‘𝑛)( ·𝑠𝑃)(𝑛(.g‘(mulGrp‘𝑃))(var1𝑅)))))))
2914, 28mpbird 259 . 2 (((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) ∧ ∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘)) → 𝐾 = 𝐿)
3029ex 414 1 ((𝑅 ∈ Ring ∧ 𝐾𝐵𝐿𝐵) → (∀𝑘 ∈ ℕ0 (𝐴𝑘) = (𝐶𝑘) → 𝐾 = 𝐿))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 397  w3a 1093   = wceq 1548  wcel 2121  wral 3055  cmpt 5156  cfv 6489  (class class class)co 7360  0cn0 12432  Basecbs 17174   ·𝑠 cvsca 17219   Σg cgsu 17398  .gcmg 19038  mulGrpcmgp 20116  Ringcrg 20209  var1cv1 22165  Poly1cpl1 22166  coe1cco1 22167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-10 2154  ax-11 2170  ax-12 2191  ax-ext 2713  ax-rep 5202  ax-sep 5221  ax-nul 5231  ax-pow 5297  ax-pr 5365  ax-un 7682  ax-cnex 11089  ax-resscn 11090  ax-1cn 11091  ax-icn 11092  ax-addcl 11093  ax-addrcl 11094  ax-mulcl 11095  ax-mulrcl 11096  ax-mulcom 11097  ax-addass 11098  ax-mulass 11099  ax-distr 11100  ax-i2m1 11101  ax-1ne0 11102  ax-1rid 11103  ax-rnegex 11104  ax-rrecex 11105  ax-cnre 11106  ax-pre-lttri 11107  ax-pre-lttrn 11108  ax-pre-ltadd 11109  ax-pre-mulgt0 11110
This theorem depends on definitions:  df-bi 209  df-an 398  df-or 855  df-3or 1094  df-3an 1095  df-tru 1551  df-fal 1561  df-ex 1788  df-nf 1792  df-sb 2075  df-mo 2545  df-eu 2575  df-clab 2720  df-cleq 2733  df-clel 2816  df-nfc 2890  df-ne 2937  df-nel 3041  df-ral 3056  df-rex 3066  df-rmo 3346  df-reu 3347  df-rab 3394  df-v 3435  df-sbc 3726  df-csb 3834  df-dif 3888  df-un 3890  df-in 3892  df-ss 3902  df-pss 3905  df-nul 4265  df-if 4458  df-pw 4534  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4842  df-int 4881  df-iun 4926  df-iin 4927  df-br 5076  df-opab 5138  df-mpt 5157  df-tr 5183  df-id 5516  df-eprel 5521  df-po 5529  df-so 5530  df-fr 5574  df-se 5575  df-we 5576  df-xp 5627  df-rel 5628  df-cnv 5629  df-co 5630  df-dm 5631  df-rn 5632  df-res 5633  df-ima 5634  df-pred 6256  df-ord 6317  df-on 6318  df-lim 6319  df-suc 6320  df-iota 6445  df-fun 6491  df-fn 6492  df-f 6493  df-f1 6494  df-fo 6495  df-f1o 6496  df-fv 6497  df-isom 6498  df-riota 7317  df-ov 7363  df-oprab 7364  df-mpo 7365  df-of 7624  df-ofr 7625  df-om 7811  df-1st 7935  df-2nd 7936  df-supp 8105  df-frecs 8225  df-wrecs 8256  df-recs 8305  df-rdg 8343  df-1o 8399  df-2o 8400  df-er 8637  df-map 8769  df-pm 8770  df-ixp 8840  df-en 8888  df-dom 8889  df-sdom 8890  df-fin 8891  df-fsupp 9269  df-sup 9349  df-oi 9419  df-card 9858  df-pnf 11176  df-mnf 11177  df-xr 11178  df-ltxr 11179  df-le 11180  df-sub 11374  df-neg 11375  df-nn 12170  df-2 12239  df-3 12240  df-4 12241  df-5 12242  df-6 12243  df-7 12244  df-8 12245  df-9 12246  df-n0 12433  df-z 12520  df-dec 12640  df-uz 12784  df-fz 13457  df-fzo 13604  df-seq 13959  df-hash 14288  df-struct 17112  df-sets 17129  df-slot 17147  df-ndx 17159  df-base 17175  df-ress 17196  df-plusg 17228  df-mulr 17229  df-sca 17231  df-vsca 17232  df-ip 17233  df-tset 17234  df-ple 17235  df-ds 17237  df-hom 17239  df-cco 17240  df-0g 17399  df-gsum 17400  df-prds 17405  df-pws 17407  df-mre 17543  df-mrc 17544  df-acs 17546  df-mgm 18603  df-sgrp 18682  df-mnd 18698  df-mhm 18746  df-submnd 18747  df-grp 18907  df-minusg 18908  df-sbg 18909  df-mulg 19039  df-subg 19094  df-ghm 19183  df-cntz 19287  df-cmn 19752  df-abl 19753  df-mgp 20117  df-rng 20129  df-ur 20158  df-srg 20163  df-ring 20211  df-subrng 20522  df-subrg 20546  df-lmod 20856  df-lss 20926  df-psr 21888  df-mvr 21889  df-mpl 21890  df-opsr 21892  df-psr1 22169  df-vr1 22170  df-ply1 22171  df-coe1 22172
This theorem is referenced by:  ply1coe1eq  22290  cply1coe0bi  22292  mp2pm2mp  22798
  Copyright terms: Public domain W3C validator