Description: Closure law for the modulo operation restricted to integers. (Contributed by NM, 27-Nov-2008)
Ref | Expression | ||
---|---|---|---|
Assertion | zmodcl | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | zre | |
|
2 | nnrp | |
|
3 | modval | |
|
4 | 1 2 3 | syl2an | |
5 | nnz | |
|
6 | 5 | adantl | |
7 | nndivre | |
|
8 | 1 7 | sylan | |
9 | 8 | flcld | |
10 | 6 9 | zmulcld | |
11 | zsubcl | |
|
12 | 10 11 | syldan | |
13 | 4 12 | eqeltrd | |
14 | modge0 | |
|
15 | 1 2 14 | syl2an | |
16 | elnn0z | |
|
17 | 13 15 16 | sylanbrc | |