Definition hzmod ( p : hz ) ( x : hzneq 0 p ) : hrel hz. Proof. intros n m. exact ( make_hProp ( hzremaindermod p x n = hzremaindermod p x m ) ( hzmodisaprop p x n m ) ). Defined.
Require Import UniMath.PAdics.lemmas. Require Import UniMath.NumberSystems.Integers. Require Import UniMath.Foundations.Preamble.