diff options
author | notin <notin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-03-06 11:21:01 +0000 |
---|---|---|
committer | notin <notin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-03-06 11:21:01 +0000 |
commit | 49719da11fda90dda89c66fdddcc1ac9a23bb43e (patch) | |
tree | 5b72d34cad621789c5da32164ae5429d2c2ee3ac /theories/Arith | |
parent | 0c4ae87ef3152501da1e31abc867d16be2ee4755 (diff) |
even_2n et odd_S2n deviennent transparents (chez moi, ça empêchait de compiler la contrib Nijmegen/QArith ?!)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10625 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Arith')
-rw-r--r-- | theories/Arith/Div2.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/Arith/Div2.v b/theories/Arith/Div2.v index 47e66e5b7..1f8d13973 100644 --- a/theories/Arith/Div2.v +++ b/theories/Arith/Div2.v @@ -169,12 +169,12 @@ Hint Resolve even_double double_even odd_double double_odd: arith. Lemma even_2n : forall n, even n -> {p : nat | n = double p}. Proof. intros n H. exists (div2 n). auto with arith. -Qed. +Defined. Lemma odd_S2n : forall n, odd n -> {p : nat | n = S (double p)}. Proof. intros n H. exists (div2 n). auto with arith. -Qed. +Defined. (** Doubling before dividing by two brings back to the initial number. *) |