End N2Nat.
Global Hint Rewrite N2Nat.inj_div N2Nat.inj_mod N2Nat.inj_pow
N2Nat.inj_double N2Nat.inj_succ_double
N2Nat.inj_succ N2Nat.inj_add N2Nat.inj_mul N2Nat.inj_sub
N2Nat.inj_pred N2Nat.inj_div2 N2Nat.inj_max N2Nat.inj_min
N2Nat.id
: Nnat.
(** * Conversions from [nat] to [N] *)
Module Nat2N.
(** [N.of_nat] is an bijection between [nat] and [N], with [N.to_nat] as reciprocal. See [N2Nat.id] above for the dual equation. *)

(* Specifications: *)
Lemma id n : N.to_nat (N.of_nat n) = n.
Global Hint Rewrite id : Nnat.