Skip to content
Snippets Groups Projects
Commit 82b3e17d authored by Ralf Jung's avatar Ralf Jung
Browse files

more auto

parent 0fbbe7ac
No related branches found
No related tags found
1 merge request!81add inverses of bool_decide_{true,false}
This commit is part of merge request !81. Comments created here will be created in the context of that merge request.
......@@ -126,7 +126,7 @@ Lemma bool_decide_false_2 P `{!Decision P}: bool_decide P = false → ¬P.
Proof.
intros Heq HP. assert (HP': bool_decide P).
{ apply bool_decide_spec. assumption. }
destruct (bool_decide P). discriminate. contradiction.
case_bool_decide; auto || discriminate.
Qed.
(** * Decidable Sigma types *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment