diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-07-11 08:30:14 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-07-11 08:30:14 +0200 |
commit | d5b86a98560c36fbcb3ab8d2698e09147acda512 (patch) | |
tree | f3ab850a1620fa5d3dbbe439998d09de8e0d817d /lib/Coqlib.v | |
parent | ea2d6b70ed06c60dba9ba81cf53883c85fb92068 (diff) | |
parent | 3872ce9f9806d9af334b1fde092145edf664d170 (diff) | |
download | compcert-d5b86a98560c36fbcb3ab8d2698e09147acda512.tar.gz compcert-d5b86a98560c36fbcb3ab8d2698e09147acda512.zip |
Merge branch 'master' into add-file
Diffstat (limited to 'lib/Coqlib.v')
-rw-r--r-- | lib/Coqlib.v | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Coqlib.v b/lib/Coqlib.v index fc4a59f6..6fa82492 100644 --- a/lib/Coqlib.v +++ b/lib/Coqlib.v @@ -22,6 +22,8 @@ Require Export Znumtheory. Require Export List. Require Export Bool. +Global Set Asymmetric Patterns. + (** * Useful tactics *) Ltac inv H := inversion H; clear H; subst. @@ -768,7 +770,7 @@ Proof. discriminate. rewrite list_length_z_cons. destruct (zeq n 0). generalize (list_length_z_pos l); omega. - exploit IHl; eauto. unfold Zpred. omega. + exploit IHl; eauto. omega. Qed. (** Properties of [List.incl] (list inclusion). *) @@ -1431,4 +1433,3 @@ Lemma nlist_forall2_imply: Proof. induction 1; simpl; intros; constructor; auto. Qed. - |