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

Theorem eqcoe1ply1eq 18534
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  |-  P  =  (Poly1 `  R )
eqcoe1ply1eq.b  |-  B  =  ( Base `  P
)
eqcoe1ply1eq.a  |-  A  =  (coe1 `  K )
eqcoe1ply1eq.c  |-  C  =  (coe1 `  L )
Assertion
Ref Expression
eqcoe1ply1eq  |-  ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  ->  ( A. k  e.  NN0  ( A `  k )  =  ( C `  k )  ->  K  =  L ) )
Distinct variable groups:    A, k    C, k
Allowed substitution hints:    B( k)    P( k)    R( k)    K( k)    L( k)

Proof of Theorem eqcoe1ply1eq
Dummy variable  n is distinct from all other variables.
StepHypRef Expression
1 fveq2 5848 . . . . . . . . . . 11  |-  ( k  =  n  ->  ( A `  k )  =  ( A `  n ) )
2 fveq2 5848 . . . . . . . . . . 11  |-  ( k  =  n  ->  ( C `  k )  =  ( C `  n ) )
31, 2eqeq12d 2476 . . . . . . . . . 10  |-  ( k  =  n  ->  (
( A `  k
)  =  ( C `
 k )  <->  ( A `  n )  =  ( C `  n ) ) )
43rspccv 3204 . . . . . . . . 9  |-  ( A. k  e.  NN0  ( A `
 k )  =  ( C `  k
)  ->  ( n  e.  NN0  ->  ( A `  n )  =  ( C `  n ) ) )
54adantl 464 . . . . . . . 8  |-  ( ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  -> 
( n  e.  NN0  ->  ( A `  n
)  =  ( C `
 n ) ) )
65imp 427 . . . . . . 7  |-  ( ( ( ( R  e. 
Ring  /\  K  e.  B  /\  L  e.  B
)  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  /\  n  e. 
NN0 )  ->  ( A `  n )  =  ( C `  n ) )
7 eqcoe1ply1eq.a . . . . . . . 8  |-  A  =  (coe1 `  K )
87fveq1i 5849 . . . . . . 7  |-  ( A `
 n )  =  ( (coe1 `  K ) `  n )
9 eqcoe1ply1eq.c . . . . . . . 8  |-  C  =  (coe1 `  L )
109fveq1i 5849 . . . . . . 7  |-  ( C `
 n )  =  ( (coe1 `  L ) `  n )
116, 8, 103eqtr3g 2518 . . . . . 6  |-  ( ( ( ( R  e. 
Ring  /\  K  e.  B  /\  L  e.  B
)  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  /\  n  e. 
NN0 )  ->  (
(coe1 `  K ) `  n )  =  ( (coe1 `  L ) `  n ) )
1211oveq1d 6285 . . . . 5  |-  ( ( ( ( R  e. 
Ring  /\  K  e.  B  /\  L  e.  B
)  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  /\  n  e. 
NN0 )  ->  (
( (coe1 `  K ) `  n ) ( .s
`  P ) ( n (.g `  (mulGrp `  P
) ) (var1 `  R
) ) )  =  ( ( (coe1 `  L
) `  n )
( .s `  P
) ( n (.g `  (mulGrp `  P )
) (var1 `  R ) ) ) )
1312mpteq2dva 4525 . . . 4  |-  ( ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  -> 
( n  e.  NN0  |->  ( ( (coe1 `  K
) `  n )
( .s `  P
) ( n (.g `  (mulGrp `  P )
) (var1 `  R ) ) ) )  =  ( n  e.  NN0  |->  ( ( (coe1 `  L ) `  n ) ( .s
`  P ) ( n (.g `  (mulGrp `  P
) ) (var1 `  R
) ) ) ) )
1413oveq2d 6286 . . 3  |-  ( ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  -> 
( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  K
) `  n )
( .s `  P
) ( n (.g `  (mulGrp `  P )
) (var1 `  R ) ) ) ) )  =  ( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  L
) `  n )
( .s `  P
) ( n (.g `  (mulGrp `  P )
) (var1 `  R ) ) ) ) ) )
15 eqcoe1ply1eq.p . . . . . . 7  |-  P  =  (Poly1 `  R )
16 eqid 2454 . . . . . . 7  |-  (var1 `  R
)  =  (var1 `  R
)
17 eqcoe1ply1eq.b . . . . . . 7  |-  B  =  ( Base `  P
)
18 eqid 2454 . . . . . . 7  |-  ( .s
`  P )  =  ( .s `  P
)
19 eqid 2454 . . . . . . 7  |-  (mulGrp `  P )  =  (mulGrp `  P )
20 eqid 2454 . . . . . . 7  |-  (.g `  (mulGrp `  P ) )  =  (.g `  (mulGrp `  P
) )
21 eqid 2454 . . . . . . 7  |-  (coe1 `  K
)  =  (coe1 `  K
)
2215, 16, 17, 18, 19, 20, 21ply1coe 18532 . . . . . 6  |-  ( ( R  e.  Ring  /\  K  e.  B )  ->  K  =  ( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  K ) `  n ) ( .s
`  P ) ( n (.g `  (mulGrp `  P
) ) (var1 `  R
) ) ) ) ) )
23223adant3 1014 . . . . 5  |-  ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  ->  K  =  ( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  K ) `  n ) ( .s
`  P ) ( n (.g `  (mulGrp `  P
) ) (var1 `  R
) ) ) ) ) )
24 eqid 2454 . . . . . . 7  |-  (coe1 `  L
)  =  (coe1 `  L
)
2515, 16, 17, 18, 19, 20, 24ply1coe 18532 . . . . . 6  |-  ( ( R  e.  Ring  /\  L  e.  B )  ->  L  =  ( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  L ) `  n ) ( .s
`  P ) ( n (.g `  (mulGrp `  P
) ) (var1 `  R
) ) ) ) ) )
26253adant2 1013 . . . . 5  |-  ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  ->  L  =  ( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  L ) `  n ) ( .s
`  P ) ( n (.g `  (mulGrp `  P
) ) (var1 `  R
) ) ) ) ) )
2723, 26eqeq12d 2476 . . . 4  |-  ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  ->  ( K  =  L  <->  ( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  K ) `  n ) ( .s
`  P ) ( n (.g `  (mulGrp `  P
) ) (var1 `  R
) ) ) ) )  =  ( P 
gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  L
) `  n )
( .s `  P
) ( n (.g `  (mulGrp `  P )
) (var1 `  R ) ) ) ) ) ) )
2827adantr 463 . . 3  |-  ( ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  -> 
( K  =  L  <-> 
( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  K
) `  n )
( .s `  P
) ( n (.g `  (mulGrp `  P )
) (var1 `  R ) ) ) ) )  =  ( P  gsumg  ( n  e.  NN0  |->  ( ( (coe1 `  L
) `  n )
( .s `  P
) ( n (.g `  (mulGrp `  P )
) (var1 `  R ) ) ) ) ) ) )
2914, 28mpbird 232 . 2  |-  ( ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  /\  A. k  e.  NN0  ( A `  k )  =  ( C `  k ) )  ->  K  =  L )
3029ex 432 1  |-  ( ( R  e.  Ring  /\  K  e.  B  /\  L  e.  B )  ->  ( A. k  e.  NN0  ( A `  k )  =  ( C `  k )  ->  K  =  L ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    /\ w3a 971    = wceq 1398    e. wcel 1823   A.wral 2804    |-> cmpt 4497   ` cfv 5570  (class class class)co 6270   NN0cn0 10791   Basecbs 14716   .scvsca 14788    gsumg cgsu 14930  .gcmg 16255  mulGrpcmgp 17336   Ringcrg 17393  var1cv1 18410  Poly1cpl1 18411  coe1cco1 18412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-8 1825  ax-9 1827  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432  ax-rep 4550  ax-sep 4560  ax-nul 4568  ax-pow 4615  ax-pr 4676  ax-un 6565  ax-inf2 8049  ax-cnex 9537  ax-resscn 9538  ax-1cn 9539  ax-icn 9540  ax-addcl 9541  ax-addrcl 9542  ax-mulcl 9543  ax-mulrcl 9544  ax-mulcom 9545  ax-addass 9546  ax-mulass 9547  ax-distr 9548  ax-i2m1 9549  ax-1ne0 9550  ax-1rid 9551  ax-rnegex 9552  ax-rrecex 9553  ax-cnre 9554  ax-pre-lttri 9555  ax-pre-lttrn 9556  ax-pre-ltadd 9557  ax-pre-mulgt0 9558
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 972  df-3an 973  df-tru 1401  df-fal 1404  df-ex 1618  df-nf 1622  df-sb 1745  df-eu 2288  df-mo 2289  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2651  df-nel 2652  df-ral 2809  df-rex 2810  df-reu 2811  df-rmo 2812  df-rab 2813  df-v 3108  df-sbc 3325  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-pss 3477  df-nul 3784  df-if 3930  df-pw 4001  df-sn 4017  df-pr 4019  df-tp 4021  df-op 4023  df-uni 4236  df-int 4272  df-iun 4317  df-iin 4318  df-br 4440  df-opab 4498  df-mpt 4499  df-tr 4533  df-eprel 4780  df-id 4784  df-po 4789  df-so 4790  df-fr 4827  df-se 4828  df-we 4829  df-ord 4870  df-on 4871  df-lim 4872  df-suc 4873  df-xp 4994  df-rel 4995  df-cnv 4996  df-co 4997  df-dm 4998  df-rn 4999  df-res 5000  df-ima 5001  df-iota 5534  df-fun 5572  df-fn 5573  df-f 5574  df-f1 5575  df-fo 5576  df-f1o 5577  df-fv 5578  df-isom 5579  df-riota 6232  df-ov 6273  df-oprab 6274  df-mpt2 6275  df-of 6513  df-ofr 6514  df-om 6674  df-1st 6773  df-2nd 6774  df-supp 6892  df-recs 7034  df-rdg 7068  df-1o 7122  df-2o 7123  df-oadd 7126  df-er 7303  df-map 7414  df-pm 7415  df-ixp 7463  df-en 7510  df-dom 7511  df-sdom 7512  df-fin 7513  df-fsupp 7822  df-oi 7927  df-card 8311  df-pnf 9619  df-mnf 9620  df-xr 9621  df-ltxr 9622  df-le 9623  df-sub 9798  df-neg 9799  df-nn 10532  df-2 10590  df-3 10591  df-4 10592  df-5 10593  df-6 10594  df-7 10595  df-8 10596  df-9 10597  df-10 10598  df-n0 10792  df-z 10861  df-uz 11083  df-fz 11676  df-fzo 11800  df-seq 12090  df-hash 12388  df-struct 14718  df-ndx 14719  df-slot 14720  df-base 14721  df-sets 14722  df-ress 14723  df-plusg 14797  df-mulr 14798  df-sca 14800  df-vsca 14801  df-tset 14803  df-ple 14804  df-0g 14931  df-gsum 14932  df-mre 15075  df-mrc 15076  df-acs 15078  df-mgm 16071  df-sgrp 16110  df-mnd 16120  df-mhm 16165  df-submnd 16166  df-grp 16256  df-minusg 16257  df-sbg 16258  df-mulg 16259  df-subg 16397  df-ghm 16464  df-cntz 16554  df-cmn 16999  df-abl 17000  df-mgp 17337  df-ur 17349  df-srg 17353  df-ring 17395  df-subrg 17622  df-lmod 17709  df-lss 17774  df-psr 18200  df-mvr 18201  df-mpl 18202  df-opsr 18204  df-psr1 18414  df-vr1 18415  df-ply1 18416  df-coe1 18417
This theorem is referenced by:  ply1coe1eq  18535  cply1coe0bi  18537  mp2pm2mp  19479
  Copyright terms: Public domain W3C validator