Pretty-print 0 as "0" for N, Z, and nat
Alternative to #198 (closed) that is correct. This MR also:
- Adds test cases.
- Proves injectivity of
pretty
forZ
. - Refactored the code a bit by turning some results into lemmas.
Edited by Robbert Krebbers
Alternative to #198 (closed) that is correct. This MR also:
pretty
for Z
.