diff options
| author | Maxime Dénès | 2017-04-27 17:11:02 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-04-27 17:11:02 +0200 |
| commit | 0bfd1f2a461ec989dbe812b10d8ee39d296bc777 (patch) | |
| tree | 80a26bcfefb5afce742438068c510fa4881768d3 | |
| parent | 44c781d3087aab80e017a288be0e44a9a0ae76a0 (diff) | |
| parent | 16b8ed513cb4a0e68456fc968a9a0107d02acf5a (diff) | |
Merge PR#584: Give andb_prop a simpler proof
| -rw-r--r-- | theories/Init/Datatypes.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theories/Init/Datatypes.v b/theories/Init/Datatypes.v index 11d80dbc33..41e1fea61d 100644 --- a/theories/Init/Datatypes.v +++ b/theories/Init/Datatypes.v @@ -65,7 +65,7 @@ Infix "&&" := andb : bool_scope. Lemma andb_prop : forall a b:bool, andb a b = true -> a = true /\ b = true. Proof. - destruct a; destruct b; intros; split; try (reflexivity || discriminate). + destruct a, b; repeat split; assumption. Qed. Hint Resolve andb_prop: bool. |
