aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Init/Peano.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-08-11 10:29:45 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-08-11 10:29:45 +0000
commit06a2c96d8489f3ab57956c193456a2b394c1ca06 (patch)
tree3f8b5a5f8dfc8c00615003b12c3f2b21aaf7999e /theories/Init/Peano.v
parentcb84fd65bcc043e685ab83ae9dc7222a5b49263b (diff)
Fixed extra space in printing notation { x & P } + minor other things
(shorter proof of O_S in trunk + typo). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12271 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Init/Peano.v')
-rw-r--r--theories/Init/Peano.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/theories/Init/Peano.v b/theories/Init/Peano.v
index 322a25468..9924d8a65 100644
--- a/theories/Init/Peano.v
+++ b/theories/Init/Peano.v
@@ -77,8 +77,7 @@ Definition IsSucc (n:nat) : Prop :=
Theorem O_S : forall n:nat, 0 <> S n.
Proof.
- unfold not; intros n H.
- inversion H.
+ discriminate.
Qed.
Hint Resolve O_S: core.