Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  r1pcyc Structured version   Visualization version   GIF version

Theorem r1pcyc 33607
Description: The polynomial remainder operation is periodic. See modcyc 13943. (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 22265 . . . . 5 (𝑅 ∈ Ring → 𝑃 ∈ Ring)
41, 3syl 17 . . . 4 (𝜑𝑃 ∈ Ring)
54ringgrpd 20260 . . 3 (𝜑𝑃 ∈ Grp)
6 r1pcyc.a . . 3 (𝜑𝐴𝑈)
7 r1padd1.u . . . 4 𝑈 = (Base‘𝑃)
8 r1pcyc.m . . . 4 · = (.r𝑃)
9 r1pcyc.b . . . . 5 (𝜑𝐵𝑁)
10 eqid 2735 . . . . . 6 (quot1p𝑅) = (quot1p𝑅)
11 r1padd1.n . . . . . 6 𝑁 = (Unic1p𝑅)
1210, 2, 7, 11q1pcl 26211 . . . . 5 ((𝑅 ∈ Ring ∧ 𝐴𝑈𝐵𝑁) → (𝐴(quot1p𝑅)𝐵) ∈ 𝑈)
131, 6, 9, 12syl3anc 1370 . . . 4 (𝜑 → (𝐴(quot1p𝑅)𝐵) ∈ 𝑈)
142, 7, 11uc1pcl 26198 . . . . 5 (𝐵𝑁𝐵𝑈)
159, 14syl 17 . . . 4 (𝜑𝐵𝑈)
167, 8, 4, 13, 15ringcld 20277 . . 3 (𝜑 → ((𝐴(quot1p𝑅)𝐵) · 𝐵) ∈ 𝑈)
17 r1pcyc.c . . . 4 (𝜑𝐶𝑈)
187, 8, 4, 17, 15ringcld 20277 . . 3 (𝜑 → (𝐶 · 𝐵) ∈ 𝑈)
19 r1pcyc.p . . . 4 + = (+g𝑃)
20 eqid 2735 . . . 4 (-g𝑃) = (-g𝑃)
217, 19, 20grppnpcan2 19065 . . 3 ((𝑃 ∈ Grp ∧ (𝐴𝑈 ∧ ((𝐴(quot1p𝑅)𝐵) · 𝐵) ∈ 𝑈 ∧ (𝐶 · 𝐵) ∈ 𝑈)) → ((𝐴 + (𝐶 · 𝐵))(-g𝑃)(((𝐴(quot1p𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))) = (𝐴(-g𝑃)((𝐴(quot1p𝑅)𝐵) · 𝐵)))
225, 6, 16, 18, 21syl13anc 1371 . 2 (𝜑 → ((𝐴 + (𝐶 · 𝐵))(-g𝑃)(((𝐴(quot1p𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))) = (𝐴(-g𝑃)((𝐴(quot1p𝑅)𝐵) · 𝐵)))
237, 19, 5, 6, 18grpcld 18978 . . . 4 (𝜑 → (𝐴 + (𝐶 · 𝐵)) ∈ 𝑈)
24 r1padd1.e . . . . 5 𝐸 = (rem1p𝑅)
2524, 2, 7, 10, 8, 20r1pval 26212 . . . 4 (((𝐴 + (𝐶 · 𝐵)) ∈ 𝑈𝐵𝑈) → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = ((𝐴 + (𝐶 · 𝐵))(-g𝑃)(((𝐴 + (𝐶 · 𝐵))(quot1p𝑅)𝐵) · 𝐵)))
2623, 15, 25syl2anc 584 . . 3 (𝜑 → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = ((𝐴 + (𝐶 · 𝐵))(-g𝑃)(((𝐴 + (𝐶 · 𝐵))(quot1p𝑅)𝐵) · 𝐵)))
2710, 2, 7, 11q1pcl 26211 . . . . . . 7 ((𝑅 ∈ Ring ∧ (𝐶 · 𝐵) ∈ 𝑈𝐵𝑁) → ((𝐶 · 𝐵)(quot1p𝑅)𝐵) ∈ 𝑈)
281, 18, 9, 27syl3anc 1370 . . . . . 6 (𝜑 → ((𝐶 · 𝐵)(quot1p𝑅)𝐵) ∈ 𝑈)
297, 19, 8ringdir 20279 . . . . . 6 ((𝑃 ∈ Ring ∧ ((𝐴(quot1p𝑅)𝐵) ∈ 𝑈 ∧ ((𝐶 · 𝐵)(quot1p𝑅)𝐵) ∈ 𝑈𝐵𝑈)) → (((𝐴(quot1p𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p𝑅)𝐵)) · 𝐵) = (((𝐴(quot1p𝑅)𝐵) · 𝐵) + (((𝐶 · 𝐵)(quot1p𝑅)𝐵) · 𝐵)))
304, 13, 28, 15, 29syl13anc 1371 . . . . 5 (𝜑 → (((𝐴(quot1p𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p𝑅)𝐵)) · 𝐵) = (((𝐴(quot1p𝑅)𝐵) · 𝐵) + (((𝐶 · 𝐵)(quot1p𝑅)𝐵) · 𝐵)))
312, 7, 11, 10, 1, 6, 9, 18, 19q1pdir 33603 . . . . . 6 (𝜑 → ((𝐴 + (𝐶 · 𝐵))(quot1p𝑅)𝐵) = ((𝐴(quot1p𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p𝑅)𝐵)))
3231oveq1d 7446 . . . . 5 (𝜑 → (((𝐴 + (𝐶 · 𝐵))(quot1p𝑅)𝐵) · 𝐵) = (((𝐴(quot1p𝑅)𝐵) + ((𝐶 · 𝐵)(quot1p𝑅)𝐵)) · 𝐵))
33 eqid 2735 . . . . . . . . 9 (∥r𝑃) = (∥r𝑃)
347, 33, 8dvdsrmul 20381 . . . . . . . 8 ((𝐵𝑈𝐶𝑈) → 𝐵(∥r𝑃)(𝐶 · 𝐵))
3515, 17, 34syl2anc 584 . . . . . . 7 (𝜑𝐵(∥r𝑃)(𝐶 · 𝐵))
362, 33, 7, 11, 8, 10dvdsq1p 26217 . . . . . . . 8 ((𝑅 ∈ Ring ∧ (𝐶 · 𝐵) ∈ 𝑈𝐵𝑁) → (𝐵(∥r𝑃)(𝐶 · 𝐵) ↔ (𝐶 · 𝐵) = (((𝐶 · 𝐵)(quot1p𝑅)𝐵) · 𝐵)))
371, 18, 9, 36syl3anc 1370 . . . . . . 7 (𝜑 → (𝐵(∥r𝑃)(𝐶 · 𝐵) ↔ (𝐶 · 𝐵) = (((𝐶 · 𝐵)(quot1p𝑅)𝐵) · 𝐵)))
3835, 37mpbid 232 . . . . . 6 (𝜑 → (𝐶 · 𝐵) = (((𝐶 · 𝐵)(quot1p𝑅)𝐵) · 𝐵))
3938oveq2d 7447 . . . . 5 (𝜑 → (((𝐴(quot1p𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵)) = (((𝐴(quot1p𝑅)𝐵) · 𝐵) + (((𝐶 · 𝐵)(quot1p𝑅)𝐵) · 𝐵)))
4030, 32, 393eqtr4d 2785 . . . 4 (𝜑 → (((𝐴 + (𝐶 · 𝐵))(quot1p𝑅)𝐵) · 𝐵) = (((𝐴(quot1p𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵)))
4140oveq2d 7447 . . 3 (𝜑 → ((𝐴 + (𝐶 · 𝐵))(-g𝑃)(((𝐴 + (𝐶 · 𝐵))(quot1p𝑅)𝐵) · 𝐵)) = ((𝐴 + (𝐶 · 𝐵))(-g𝑃)(((𝐴(quot1p𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))))
4226, 41eqtrd 2775 . 2 (𝜑 → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = ((𝐴 + (𝐶 · 𝐵))(-g𝑃)(((𝐴(quot1p𝑅)𝐵) · 𝐵) + (𝐶 · 𝐵))))
4324, 2, 7, 10, 8, 20r1pval 26212 . . 3 ((𝐴𝑈𝐵𝑈) → (𝐴𝐸𝐵) = (𝐴(-g𝑃)((𝐴(quot1p𝑅)𝐵) · 𝐵)))
446, 15, 43syl2anc 584 . 2 (𝜑 → (𝐴𝐸𝐵) = (𝐴(-g𝑃)((𝐴(quot1p𝑅)𝐵) · 𝐵)))
4522, 42, 443eqtr4d 2785 1 (𝜑 → ((𝐴 + (𝐶 · 𝐵))𝐸𝐵) = (𝐴𝐸𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206   = wceq 1537  wcel 2106   class class class wbr 5148  cfv 6563  (class class class)co 7431  Basecbs 17245  +gcplusg 17298  .rcmulr 17299  Grpcgrp 18964  -gcsg 18966  Ringcrg 20251  rcdsr 20371  Poly1cpl1 22194  Unic1pcuc1p 26181  quot1pcq1p 26182  rem1pcr1p 26183
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1908  ax-6 1965  ax-7 2005  ax-8 2108  ax-9 2116  ax-10 2139  ax-11 2155  ax-12 2175  ax-ext 2706  ax-rep 5285  ax-sep 5302  ax-nul 5312  ax-pow 5371  ax-pr 5438  ax-un 7754  ax-cnex 11209  ax-resscn 11210  ax-1cn 11211  ax-icn 11212  ax-addcl 11213  ax-addrcl 11214  ax-mulcl 11215  ax-mulrcl 11216  ax-mulcom 11217  ax-addass 11218  ax-mulass 11219  ax-distr 11220  ax-i2m1 11221  ax-1ne0 11222  ax-1rid 11223  ax-rnegex 11224  ax-rrecex 11225  ax-cnre 11226  ax-pre-lttri 11227  ax-pre-lttrn 11228  ax-pre-ltadd 11229  ax-pre-mulgt0 11230  ax-pre-sup 11231  ax-addf 11232
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1540  df-fal 1550  df-ex 1777  df-nf 1781  df-sb 2063  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2727  df-clel 2814  df-nfc 2890  df-ne 2939  df-nel 3045  df-ral 3060  df-rex 3069  df-rmo 3378  df-reu 3379  df-rab 3434  df-v 3480  df-sbc 3792  df-csb 3909  df-dif 3966  df-un 3968  df-in 3970  df-ss 3980  df-pss 3983  df-nul 4340  df-if 4532  df-pw 4607  df-sn 4632  df-pr 4634  df-tp 4636  df-op 4638  df-uni 4913  df-int 4952  df-iun 4998  df-iin 4999  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5583  df-eprel 5589  df-po 5597  df-so 5598  df-fr 5641  df-se 5642  df-we 5643  df-xp 5695  df-rel 5696  df-cnv 5697  df-co 5698  df-dm 5699  df-rn 5700  df-res 5701  df-ima 5702  df-pred 6323  df-ord 6389  df-on 6390  df-lim 6391  df-suc 6392  df-iota 6516  df-fun 6565  df-fn 6566  df-f 6567  df-f1 6568  df-fo 6569  df-f1o 6570  df-fv 6571  df-isom 6572  df-riota 7388  df-ov 7434  df-oprab 7435  df-mpo 7436  df-of 7697  df-ofr 7698  df-om 7888  df-1st 8013  df-2nd 8014  df-supp 8185  df-tpos 8250  df-frecs 8305  df-wrecs 8336  df-recs 8410  df-rdg 8449  df-1o 8505  df-2o 8506  df-er 8744  df-map 8867  df-pm 8868  df-ixp 8937  df-en 8985  df-dom 8986  df-sdom 8987  df-fin 8988  df-fsupp 9400  df-sup 9480  df-oi 9548  df-card 9977  df-pnf 11295  df-mnf 11296  df-xr 11297  df-ltxr 11298  df-le 11299  df-sub 11492  df-neg 11493  df-nn 12265  df-2 12327  df-3 12328  df-4 12329  df-5 12330  df-6 12331  df-7 12332  df-8 12333  df-9 12334  df-n0 12525  df-z 12612  df-dec 12732  df-uz 12877  df-fz 13545  df-fzo 13692  df-seq 14040  df-hash 14367  df-struct 17181  df-sets 17198  df-slot 17216  df-ndx 17228  df-base 17246  df-ress 17275  df-plusg 17311  df-mulr 17312  df-starv 17313  df-sca 17314  df-vsca 17315  df-ip 17316  df-tset 17317  df-ple 17318  df-ds 17320  df-unif 17321  df-hom 17322  df-cco 17323  df-0g 17488  df-gsum 17489  df-prds 17494  df-pws 17496  df-mre 17631  df-mrc 17632  df-acs 17634  df-mgm 18666  df-sgrp 18745  df-mnd 18761  df-mhm 18809  df-submnd 18810  df-grp 18967  df-minusg 18968  df-sbg 18969  df-mulg 19099  df-subg 19154  df-ghm 19244  df-cntz 19348  df-cmn 19815  df-abl 19816  df-mgp 20153  df-rng 20171  df-ur 20200  df-ring 20253  df-cring 20254  df-oppr 20351  df-dvdsr 20374  df-unit 20375  df-invr 20405  df-subrng 20563  df-subrg 20587  df-rlreg 20711  df-lmod 20877  df-lss 20948  df-cnfld 21383  df-psr 21947  df-mvr 21948  df-mpl 21949  df-opsr 21951  df-psr1 22197  df-vr1 22198  df-ply1 22199  df-coe1 22200  df-mdeg 26109  df-deg1 26110  df-uc1p 26186  df-q1p 26187  df-r1p 26188
This theorem is referenced by:  r1padd1  33608
  Copyright terms: Public domain W3C validator