diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-01-21 23:28:40 +0100 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2016-09-15 18:39:58 +0200 |
commit | 6eede071cb97e1e39772c2bdecb5189c4fa2adb0 (patch) | |
tree | 33187ddeb6e48a59fe2cfcc69d97d05d2bdaa7f6 /theories/Structures | |
parent | ccbb78b17fada5d9f0f5937dc276cb0b0960f4c3 (diff) |
Extending "contradiction" so that it recognizes statements such as "~x=x" or ~True.
Found 1 incompatibility in tested contribs and 3 times the same
pattern of incompatibility in the standard library. In all cases, it
is an improvement in the form of the script.
New behavior deactivated when version is <= 8.5.
Diffstat (limited to 'theories/Structures')
-rw-r--r-- | theories/Structures/OrdersFacts.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/Structures/OrdersFacts.v b/theories/Structures/OrdersFacts.v index 954d3df20..b059173cb 100644 --- a/theories/Structures/OrdersFacts.v +++ b/theories/Structures/OrdersFacts.v @@ -448,7 +448,7 @@ Lemma leb_compare x y : (x <=? y) = match compare x y with Gt => false | _ => true end. Proof. apply eq_true_iff_eq. rewrite leb_le, <- compare_le_iff. -destruct compare; split; try easy. now destruct 1. +now destruct compare; split. Qed. End BoolOrderFacts. |