diff options
author | 2010-01-05 18:39:14 +0000 | |
---|---|---|
committer | 2010-01-05 18:39:14 +0000 | |
commit | 70eb4b8dd94ef17cb246a25eb7525626e0f30296 (patch) | |
tree | a33bbbfe85a13b2f1071c8559da6825abc14b768 /theories/Numbers/NatInt/NZAdd.v | |
parent | 5ca33dcd307ce331964a2e9867e03218c6de621b (diff) |
Numbers abstract layer: more Module Type, used especially for divisions.
Properties are now rather passed as functor arg instead of via Include or
some inner modules.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12629 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Numbers/NatInt/NZAdd.v')
-rw-r--r-- | theories/Numbers/NatInt/NZAdd.v | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/theories/Numbers/NatInt/NZAdd.v b/theories/Numbers/NatInt/NZAdd.v index 785abb5c7..bca7c3682 100644 --- a/theories/Numbers/NatInt/NZAdd.v +++ b/theories/Numbers/NatInt/NZAdd.v @@ -13,7 +13,8 @@ Require Import NZAxioms. Require Import NZBase. -Module NZAddProp (Import NZ : NZAxiomsSig)(Import NZBase : NZBaseProp NZ). +Module Type NZAddPropSig + (Import NZ : NZAxiomsSig)(Import NZBase : NZBasePropSig NZ). Local Open Scope NumScope. Hint Rewrite @@ -88,6 +89,4 @@ Proof. intro n; now nzsimpl. Qed. -End NZAddProp. - -Module NZAddPropFunct (NZ : NZAxiomsSig) := NZBasePropFunct NZ <+ NZAddProp NZ. +End NZAddPropSig. |