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