Definition hzremaindermod ( p : hz ) ( x : hzneq 0 p ) : hz -> hz := fun n : hz => pr2 ( pr1 ( divalgorithmexists n p x ) ).
Require Import UniMath.PAdics.lemmas. Require Import UniMath.NumberSystems.Integers. Require Import UniMath.Foundations.Preamble.