Library Coq.NArith.Nnat
Conversions from N to nat
N.to_nat is a bijection between N and nat,
with Pos.of_nat as reciprocal.
See Nat2N.id below for the dual equation.
N.to_nat is hence injective
Interaction of this translation and usual operations.
Conversions from nat to N
N.of_nat is an bijection between nat and N,
with Pos.to_nat as reciprocal.
See N2Nat.id above for the dual equation.
N.of_nat is hence injective
Interaction of this translation and usual operations.
Compatibility notations