![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
Mirrors > Home > MPE Home > Th. List > modsubdir | Unicode version |
Description: Distribute the modulo operation over a subtraction. (Contributed by NM, 30-Dec-2008.) |
Ref | Expression |
---|---|
modsubdir |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | modcl 12000 | . . . 4 | |
2 | 1 | 3adant2 1015 | . . 3 |
3 | modcl 12000 | . . . 4 | |
4 | 3 | 3adant1 1014 | . . 3 |
5 | 2, 4 | subge0d 10167 | . 2 |
6 | resubcl 9906 | . . . . . . . 8 | |
7 | 6 | 3adant3 1016 | . . . . . . 7 |
8 | simp3 998 | . . . . . . 7 | |
9 | rerpdivcl 11276 | . . . . . . . . . 10 | |
10 | 9 | flcld 11935 | . . . . . . . . 9 |
11 | 10 | 3adant2 1015 | . . . . . . . 8 |
12 | rerpdivcl 11276 | . . . . . . . . . 10 | |
13 | 12 | flcld 11935 | . . . . . . . . 9 |
14 | 13 | 3adant1 1014 | . . . . . . . 8 |
15 | 11, 14 | zsubcld 10999 | . . . . . . 7 |
16 | modcyc2 12032 | . . . . . . 7 | |
17 | 7, 8, 15, 16 | syl3anc 1228 | . . . . . 6 |
18 | recn 9603 | . . . . . . . . . 10 | |
19 | 18 | 3ad2ant1 1017 | . . . . . . . . 9 |
20 | recn 9603 | . . . . . . . . . 10 | |
21 | 20 | 3ad2ant2 1018 | . . . . . . . . 9 |
22 | rpre 11255 | . . . . . . . . . . . . 13 | |
23 | 22 | adantl 466 | . . . . . . . . . . . 12 |
24 | refldivcl 11957 | . . . . . . . . . . . 12 | |
25 | 23, 24 | remulcld 9645 | . . . . . . . . . . 11 |
26 | 25 | recnd 9643 | . . . . . . . . . 10 |
27 | 26 | 3adant2 1015 | . . . . . . . . 9 |
28 | 22 | adantl 466 | . . . . . . . . . . . 12 |
29 | refldivcl 11957 | . . . . . . . . . . . 12 | |
30 | 28, 29 | remulcld 9645 | . . . . . . . . . . 11 |
31 | 30 | recnd 9643 | . . . . . . . . . 10 |
32 | 31 | 3adant1 1014 | . . . . . . . . 9 |
33 | 19, 21, 27, 32 | sub4d 10003 | . . . . . . . 8 |
34 | 22 | 3ad2ant3 1019 | . . . . . . . . . . 11 |
35 | 34 | recnd 9643 | . . . . . . . . . 10 |
36 | 24 | recnd 9643 | . . . . . . . . . . 11 |
37 | 36 | 3adant2 1015 | . . . . . . . . . 10 |
38 | 29 | recnd 9643 | . . . . . . . . . . 11 |
39 | 38 | 3adant1 1014 | . . . . . . . . . 10 |
40 | 35, 37, 39 | subdid 10037 | . . . . . . . . 9 |
41 | 40 | oveq2d 6312 | . . . . . . . 8 |
42 | modval 11998 | . . . . . . . . . 10 | |
43 | 42 | 3adant2 1015 | . . . . . . . . 9 |
44 | modval 11998 | . . . . . . . . . 10 | |
45 | 44 | 3adant1 1014 | . . . . . . . . 9 |
46 | 43, 45 | oveq12d 6314 | . . . . . . . 8 |
47 | 33, 41, 46 | 3eqtr4d 2508 | . . . . . . 7 |
48 | 47 | oveq1d 6311 | . . . . . 6 |
49 | 17, 48 | eqtr3d 2500 | . . . . 5 |
50 | 49 | adantr 465 | . . . 4 |
51 | 2, 4 | resubcld 10012 | . . . . . 6 |
52 | 51 | adantr 465 | . . . . 5 |
53 | simpl3 1001 | . . . . 5 | |
54 | simpr 461 | . . . . 5 | |
55 | modge0 12005 | . . . . . . . . 9 | |
56 | 55 | 3adant1 1014 | . . . . . . . 8 |
57 | 2, 4 | subge02d 10169 | . . . . . . . 8 |
58 | 56, 57 | mpbid 210 | . . . . . . 7 |
59 | modlt 12006 | . . . . . . . 8 | |
60 | 59 | 3adant2 1015 | . . . . . . 7 |
61 | 51, 2, 34, 58, 60 | lelttrd 9761 | . . . . . 6 |
62 | 61 | adantr 465 | . . . . 5 |
63 | modid 12020 | . . . . 5 | |
64 | 52, 53, 54, 62, 63 | syl22anc 1229 | . . . 4 |
65 | 50, 64 | eqtrd 2498 | . . 3 |
66 | modge0 12005 | . . . . . 6 | |
67 | 6, 66 | stoic3 1609 | . . . . 5 |
68 | 67 | adantr 465 | . . . 4 |
69 | simpr 461 | . . . 4 | |
70 | 68, 69 | breqtrd 4476 | . . 3 |
71 | 65, 70 | impbida 832 | . 2 |
72 | 5, 71 | bitr3d 255 | 1 |
Colors of variables: wff setvar class |
Syntax hints: -> wi 4 <-> wb 184
/\ wa 369 /\ w3a 973 = wceq 1395
e. wcel 1818 class class class wbr 4452
` cfv 5593 (class class class)co 6296
cc 9511 cr 9512 0 cc0 9513 cmul 9518 clt 9649 cle 9650 cmin 9828 cdiv 10231 cz 10889 crp 11249
cfl 11927
cmo 11996 |
This theorem is referenced by: modeqmodmin 12056 digit1 12300 4sqlem12 14474 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1618 ax-4 1631 ax-5 1704 ax-6 1747 ax-7 1790 ax-8 1820 ax-9 1822 ax-10 1837 ax-11 1842 ax-12 1854 ax-13 1999 ax-ext 2435 ax-sep 4573 ax-nul 4581 ax-pow 4630 ax-pr 4691 ax-un 6592 ax-cnex 9569 ax-resscn 9570 ax-1cn 9571 ax-icn 9572 ax-addcl 9573 ax-addrcl 9574 ax-mulcl 9575 ax-mulrcl 9576 ax-mulcom 9577 ax-addass 9578 ax-mulass 9579 ax-distr 9580 ax-i2m1 9581 ax-1ne0 9582 ax-1rid 9583 ax-rnegex 9584 ax-rrecex 9585 ax-cnre 9586 ax-pre-lttri 9587 ax-pre-lttrn 9588 ax-pre-ltadd 9589 ax-pre-mulgt0 9590 ax-pre-sup 9591 |
This theorem depends on definitions: df-bi 185 df-or 370 df-an 371 df-3or 974 df-3an 975 df-tru 1398 df-ex 1613 df-nf 1617 df-sb 1740 df-eu 2286 df-mo 2287 df-clab 2443 df-cleq 2449 df-clel 2452 df-nfc 2607 df-ne 2654 df-nel 2655 df-ral 2812 df-rex 2813 df-reu 2814 df-rmo 2815 df-rab 2816 df-v 3111 df-sbc 3328 df-csb 3435 df-dif 3478 df-un 3480 df-in 3482 df-ss 3489 df-pss 3491 df-nul 3785 df-if 3942 df-pw 4014 df-sn 4030 df-pr 4032 df-tp 4034 df-op 4036 df-uni 4250 df-iun 4332 df-br 4453 df-opab 4511 df-mpt 4512 df-tr 4546 df-eprel 4796 df-id 4800 df-po 4805 df-so 4806 df-fr 4843 df-we 4845 df-ord 4886 df-on 4887 df-lim 4888 df-suc 4889 df-xp 5010 df-rel 5011 df-cnv 5012 df-co 5013 df-dm 5014 df-rn 5015 df-res 5016 df-ima 5017 df-iota 5556 df-fun 5595 df-fn 5596 df-f 5597 df-f1 5598 df-fo 5599 df-f1o 5600 df-fv 5601 df-riota 6257 df-ov 6299 df-oprab 6300 df-mpt2 6301 df-om 6701 df-recs 7061 df-rdg 7095 df-er 7330 df-en 7537 df-dom 7538 df-sdom 7539 df-sup 7921 df-pnf 9651 df-mnf 9652 df-xr 9653 df-ltxr 9654 df-le 9655 df-sub 9830 df-neg 9831 df-div 10232 df-nn 10562 df-n0 10821 df-z 10890 df-uz 11111 df-rp 11250 df-fl 11929 df-mod 11997 |
Copyright terms: Public domain | W3C validator |