Description: Absorption law for modulo. (Contributed by Paul Chapman, 22-Jun-2011)
Ref | Expression | ||
---|---|---|---|
Assertion | modaddabs | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | modcl | |
|
2 | 1 | recnd | |
3 | 2 | 3adant2 | |
4 | modcl | |
|
5 | 4 | recnd | |
6 | 5 | 3adant1 | |
7 | 3 6 | addcomd | |
8 | 7 | oveq1d | |
9 | simpl | |
|
10 | 4 9 | jca | |
11 | 10 | 3adant1 | |
12 | simpr | |
|
13 | 1 12 | jca | |
14 | 13 | 3adant2 | |
15 | modabs2 | |
|
16 | 15 | 3adant1 | |
17 | modadd1 | |
|
18 | 11 14 16 17 | syl3anc | |
19 | recn | |
|
20 | 19 | 3ad2ant2 | |
21 | 3 20 | addcomd | |
22 | 21 | oveq1d | |
23 | 18 22 | eqtr4d | |
24 | simpl | |
|
25 | 1 24 | jca | |
26 | 25 | 3adant2 | |
27 | 3simpc | |
|
28 | modabs2 | |
|
29 | 28 | 3adant2 | |
30 | modadd1 | |
|
31 | 26 27 29 30 | syl3anc | |
32 | 8 23 31 | 3eqtrd | |