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

Theorem r1pcyc 26759
Description: The polynomial remainder operation is periodic. See modcyc 14107. (Contributed by Thierry Arnoux, 2-Apr-2025.)
Hypotheses
Ref Expression
r1padd1.p 𝑃 = (Poly1‘𝑅)
r1padd1.u 𝑈 = (Base‘𝑃)
r1padd1.n 𝑁 = (Unic1p‘𝑅)
r1padd1.e 𝐸 = (rem1p‘𝑅)
r1pcyc.p + = (+g‘𝑃)
r1pcyc.m · = (.r‘𝑃)
r1pcyc.r (𝜑 → 𝑅 ∈ Ring)
r1pcyc.a (𝜑 → 𝐴 ∈ 𝑈)
r1pcyc.b (𝜑 → 𝐵 ∈ 𝑁)
r1pcyc.c (𝜑 → 𝐶 ∈ 𝑈)
Assertion
Ref Expression
r1pcyc (𝜑 → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = (𝐴𝐸𝐵))

Proof of Theorem r1pcyc
StepHypRef Expression
1 r1pcyc.r . . . . 5 (𝜑 → 𝑅 ∈ Ring)
2 r1padd1.p . . . . . 6 𝑃 = (Poly1‘𝑅)
32ply1ring 22670 . . . . 5 (𝑅 ∈ Ring → 𝑃 ∈ Ring)
41, 3syl 18 . . . 4 (𝜑 → 𝑃 ∈ Ring)
54ringgrpd 20551 . . 3 (𝜑 → 𝑃 ∈ Grp)
6 r1pcyc.a . . 3 (𝜑 → 𝐴 ∈ 𝑈)
7 r1padd1.u . . . 4 𝑈 = (Base‘𝑃)
8 r1pcyc.m . . . 4 · = (.r‘𝑃)
9 r1pcyc.b . . . . 5 (𝜑 → 𝐵 ∈ 𝑁)
10 eqid 2774 . . . . . 6 (quot1p‘𝑅) = (quot1p‘𝑅)
11 r1padd1.n . . . . . 6 𝑁 = (Unic1p‘𝑅)
1210, 2, 7, 11q1pcl 26591 . . . . 5 ((𝑅 ∈ Ring ∧ 𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑁) → (𝐴(quot1p‘𝑅)𝐵) ∈ 𝑈)
131, 6, 9, 12syl3anc 1401 . . . 4 (𝜑 → (𝐴(quot1p‘𝑅)𝐵) ∈ 𝑈)
142, 7, 11uc1pcl 26578 . . . . 5 (𝐵 ∈ 𝑁 → 𝐵 ∈ 𝑈)
159, 14syl 18 . . . 4 (𝜑 → 𝐵 ∈ 𝑈)
167, 8, 4, 13, 15ringcld 20566 . . 3 (𝜑 → ((𝐴(quot1p‘𝑅)𝐵) · 𝐵) ∈ 𝑈)
17 r1pcyc.c . . . 4 (𝜑 → 𝐶 ∈ 𝑈)
187, 8, 4, 17, 15ringcld 20566 . . 3 (𝜑 → (𝐶 · 𝐵) ∈ 𝑈)
19 r1pcyc.p . . . 4 + = (+g‘𝑃)
20 eqid 2774 . . . 4 (-g‘𝑃) = (-g‘𝑃)
217, 19, 20grppnpcan2 19324 . . 3 ((𝑃 ∈ Grp ∧ (𝐴 ∈ 𝑈 ∧ ((𝐴(quot1p‘𝑅)𝐵) · 𝐵) ∈ 𝑈 ∧ (𝐶 · 𝐵) ∈ 𝑈)) → ((𝐴 + (𝐶 · 𝐵))(-g‘𝑃)(((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))) = (𝐴(-g‘𝑃)((𝐴(quot1p‘𝑅)𝐵) · 𝐵)))
225, 6, 16, 18, 21syl13anc 1402 . 2 (𝜑 → ((𝐴 + (𝐶 · 𝐵))(-g‘𝑃)(((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))) = (𝐴(-g‘𝑃)((𝐴(quot1p‘𝑅)𝐵) · 𝐵)))
237, 19, 5, 6, 18grpcld 19236 . . . 4 (𝜑 → (𝐴 + (𝐶 · 𝐵)) ∈ 𝑈)
24 r1padd1.e . . . . 5 𝐸 = (rem1p‘𝑅)
2524, 2, 7, 10, 8, 20r1pval 26592 . . . 4 (((𝐴 + (𝐶 · 𝐵)) ∈ 𝑈 ∧ 𝐵 ∈ 𝑈) → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = ((𝐴 + (𝐶 · 𝐵))(-g‘𝑃)(((𝐴 + (𝐶 · 𝐵))(quot1p‘𝑅)𝐵) · 𝐵)))
2623, 15, 25syl2anc 596 . . 3 (𝜑 → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = ((𝐴 + (𝐶 · 𝐵))(-g‘𝑃)(((𝐴 + (𝐶 · 𝐵))(quot1p‘𝑅)𝐵) · 𝐵)))
2710, 2, 7, 11q1pcl 26591 . . . . . . 7 ((𝑅 ∈ Ring ∧ (𝐶 · 𝐵) ∈ 𝑈 ∧ 𝐵 ∈ 𝑁) → ((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) ∈ 𝑈)
281, 18, 9, 27syl3anc 1401 . . . . . 6 (𝜑 → ((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) ∈ 𝑈)
297, 19, 8ringdir 20572 . . . . . 6 ((𝑃 ∈ Ring ∧ ((𝐴(quot1p‘𝑅)𝐵) ∈ 𝑈 ∧ ((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) ∈ 𝑈 ∧ 𝐵 ∈ 𝑈)) → (((𝐴(quot1p‘𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p‘𝑅)𝐵)) · 𝐵) = (((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) · 𝐵)))
304, 13, 28, 15, 29syl13anc 1402 . . . . 5 (𝜑 → (((𝐴(quot1p‘𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p‘𝑅)𝐵)) · 𝐵) = (((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) · 𝐵)))
312, 7, 11, 10, 1, 6, 9, 18, 19q1pdir 26755 . . . . . 6 (𝜑 → ((𝐴 + (𝐶 · 𝐵))(quot1p‘𝑅)𝐵) = ((𝐴(quot1p‘𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p‘𝑅)𝐵)))
3231oveq1d 7485 . . . . 5 (𝜑 → (((𝐴 + (𝐶 · 𝐵))(quot1p‘𝑅)𝐵) · 𝐵) = (((𝐴(quot1p‘𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p‘𝑅)𝐵)) · 𝐵))
33 eqid 2774 . . . . . . . . 9 (∥r‘𝑃) = (∥r‘𝑃)
347, 33, 8dvdsrmul 20676 . . . . . . . 8 ((𝐵 ∈ 𝑈 ∧ 𝐶 ∈ 𝑈) → 𝐵(∥r‘𝑃)(𝐶 · 𝐵))
3515, 17, 34syl2anc 596 . . . . . . 7 (𝜑 → 𝐵(∥r‘𝑃)(𝐶 · 𝐵))
362, 33, 7, 11, 8, 10dvdsq1p 26597 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝐶 · 𝐵) ∈ 𝑈 ∧ 𝐵 ∈ 𝑁) → (𝐵(∥r‘𝑃)(𝐶 · 𝐵) ↔ (𝐶 · 𝐵) = (((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) · 𝐵)))
371, 18, 9, 36syl3anc 1401 . . . . . . 7 (𝜑 → (𝐵(∥r‘𝑃)(𝐶 · 𝐵) ↔ (𝐶 · 𝐵) = (((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) · 𝐵)))
3835, 37mpbid 235 . . . . . 6 (𝜑 → (𝐶 · 𝐵) = (((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) · 𝐵))
3938oveq2d 7486 . . . . 5 (𝜑 → (((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵)) = (((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (((𝐶 · 𝐵)(quot1p‘𝑅)𝐵) · 𝐵)))
4030, 32, 393eqtr4d 2819 . . . 4 (𝜑 → (((𝐴 + (𝐶 · 𝐵))(quot1p‘𝑅)𝐵) · 𝐵) = (((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵)))
4140oveq2d 7486 . . 3 (𝜑 → ((𝐴 + (𝐶 · 𝐵))(-g‘𝑃)(((𝐴 + (𝐶 · 𝐵))(quot1p‘𝑅)𝐵) · 𝐵)) = ((𝐴 + (𝐶 · 𝐵))(-g‘𝑃)(((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))))
4226, 41eqtrd 2809 . 2 (𝜑 → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = ((𝐴 + (𝐶 · 𝐵))(-g‘𝑃)(((𝐴(quot1p‘𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))))
4324, 2, 7, 10, 8, 20r1pval 26592 . . 3 ((𝐴 ∈ 𝑈 ∧ 𝐵 ∈ 𝑈) → (𝐴𝐸𝐵) = (𝐴(-g‘𝑃)((𝐴(quot1p‘𝑅)𝐵) · 𝐵)))
446, 15, 43syl2anc 596 . 2 (𝜑 → (𝐴𝐸𝐵) = (𝐴(-g‘𝑃)((𝐴(quot1p‘𝑅)𝐵) · 𝐵)))
4522, 42, 443eqtr4d 2819 1 (𝜑 → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = (𝐴𝐸𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1572   ∈ wcel 2156   class class class wbr 5116  ‘cfv 6579  (class class class)co 7470  Basecbs 17455  +gcplusg 17496  .rcmulr 17497  Grpcgrp 19222  -gcsg 19224  Ringcrg 20541  ∥rcdsr 20666  Poly1cpl1 22598  Unic1pcuc1p 26556  quot1pcq1p 26557  rem1pcr1p 26558
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335  ax-pre-sup 11336  ax-addf 11337
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-tp 4600  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-iin 4967  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-se 5620  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-isom 6588  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-of 7744  df-ofr 7745  df-om 7931  df-1st 8054  df-2nd 8055  df-supp 8234  df-tpos 8300  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-1o 8533  df-2o 8534  df-er 8774  df-map 8906  df-pm 8907  df-ixp 8983  df-en 9031  df-dom 9032  df-sdom 9033  df-fin 9034  df-fsupp 9411  df-sup 9490  df-oi 9560  df-card 10076  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11601  df-neg 11602  df-nn 12395  df-2 12464  df-3 12465  df-4 12466  df-5 12467  df-6 12468  df-7 12469  df-8 12470  df-9 12471  df-n0 12666  df-z 12753  df-dec 12874  df-uz 13025  df-fz 13699  df-fzo 13848  df-seq 14206  df-hash 14537  df-struct 17393  df-sets 17410  df-slot 17428  df-ndx 17440  df-base 17456  df-ress 17477  df-plusg 17510  df-mulr 17511  df-starv 17512  df-sca 17513  df-vsca 17514  df-ip 17515  df-tset 17516  df-ple 17517  df-ds 17519  df-unif 17520  df-hom 17521  df-cco 17522  df-euf 17523  df-0g 17690  df-gsum 17691  df-prds 17696  df-pws 17698  df-mre 17834  df-mrc 17835  df-acs 17837  df-mgm 18894  df-sgrp 18986  df-mnd 19002  df-mhm 19056  df-submnd 19057  df-grp 19225  df-minusg 19226  df-sbg 19227  df-mulg 19358  df-subg 19413  df-ghm 19508  df-cntz 19612  df-cmn 20077  df-abl 20078  df-mgp 20443  df-rng 20457  df-ur 20490  df-ring 20543  df-cring 20544  df-oppr 20649  df-dvdsr 20669  df-unit 20670  df-invr 20700  df-subrng 20880  df-subrg 20904  df-rlreg 21029  df-lmod 21220  df-lss 21290  df-cnfld 21775  df-psr 22318  df-mvr 22319  df-mpl 22320  df-mdeg 22321  df-opsr 22323  df-psr1 22601  df-vr1 22602  df-deg1 22603  df-ply1 22604  df-coe1 22605  df-uc1p 26561  df-q1p 26562  df-r1p 26563
This theorem is used by:  r1padd1  26760
  Copyright terms: Public domain W3C validator