diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-12-17 21:00:26 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2010-12-17 21:00:26 +0000 |
commit | e1cad068ffc188d06c37f46e1bf6e7b57e02e219 (patch) | |
tree | 7d9f6b7051b21d3fd1fde1a257bdf1562b15729f /theories/ZArith | |
parent | b1040ad095410fe925b0a3aaf9399776279486f0 (diff) |
Cosmetic : let's take advantage of the n-ary exists notation
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13721 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/ZArith')
-rw-r--r-- | theories/ZArith/Zdigits_def.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/ZArith/Zdigits_def.v b/theories/ZArith/Zdigits_def.v index 71b647063..028149eb8 100644 --- a/theories/ZArith/Zdigits_def.v +++ b/theories/ZArith/Zdigits_def.v @@ -109,7 +109,7 @@ Proof. Qed. Lemma Ztestbit_spec : forall a n, 0<=n -> - exists l, exists h, 0<=l<2^n /\ + exists l h, 0<=l<2^n /\ a = l + ((if Ztestbit a n then 1 else 0) + 2*h)*2^n. Proof. intros a [ |n|n] Hn; (now destruct Hn) || clear Hn. |