Library Coq.Numbers.DecimalZ


DecimalZ

Proofs that conversions between decimal numbers and Z are bijections.

Require Import Decimal DecimalFacts DecimalPos DecimalN ZArith.

Lemma of_to (z:Z) : Z.of_int (Z.to_int z) = z.

Lemma to_of (d:int) : Z.to_int (Z.of_int d) = norm d.

Some consequences