This is an inofficial mirror of http://metamath.tirix.org for personal testing of a visualizer extension only.
Description: An integer greater than one divides another integer minus one iff the second integer modulo the first integer is one. (Contributed by AV, 30-May-2023)
| Ref | Expression | ||
|---|---|---|---|
| Assertion | modm1div |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eluzelre | ||
| 2 | eluz2gt1 | ||
| 3 | 2 | adantr | |
| 4 | 1mod | ||
| 5 | 4 | eqcomd | |
| 6 | 1 3 5 | syl2an2r | |
| 7 | 6 | eqeq2d | |
| 8 | eluz2nn | ||
| 9 | 8 | adantr | |
| 10 | simpr | ||
| 11 | 1zzd | ||
| 12 | moddvds | ||
| 13 | 9 10 11 12 | syl3anc | |
| 14 | 7 13 | bitrd |