From 6477ab0f7ea03a0563ca7ba2731d6aae1d3aa447 Mon Sep 17 00:00:00 2001 From: letouzey Date: Fri, 8 Jan 2010 17:36:28 +0000 Subject: Numbers: BigN and BigZ get instantiations of all properties about div and mod NB: for declaring div and mod as a morphism, even when divisor is zero, I've slightly changed the definition of div_eucl: it now starts by a check of whether the divisor is zero. Not very nice, but this way we can say that BigN.div and BigZ.div _always_ answer like Zdiv.Zdiv. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12646 85f007b7-540e-0410-9357-904b9bb8a0f7 --- theories/Numbers/NatInt/NZDiv.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'theories/Numbers/NatInt') diff --git a/theories/Numbers/NatInt/NZDiv.v b/theories/Numbers/NatInt/NZDiv.v index 4acd6540d6..b189d5b298 100644 --- a/theories/Numbers/NatInt/NZDiv.v +++ b/theories/Numbers/NatInt/NZDiv.v @@ -13,7 +13,7 @@ Require Import NZAxioms NZMulOrder. (** The first signatures will be common to all divisions over NZ, N and Z *) Module Type DivMod (Import T:Typ). - Parameters div modulo : t -> t -> t. + Parameters Inline div modulo : t -> t -> t. End DivMod. Module Type DivModNotation (T:Typ)(Import NZ:DivMod T). -- cgit v1.2.3