Efficient computation of (a - 1) % N #
predModKR computes (a + (N - 1)) % N using Nat.rec so the kernel can reduce it
via eagerReduce, avoiding the overhead of general modular arithmetic.
(a - 1) % N #predModKR computes (a + (N - 1)) % N using Nat.rec so the kernel can reduce it
via eagerReduce, avoiding the overhead of general modular arithmetic.