diff options
author | Chantal Keller <Chantal.Keller@lri.fr> | 2021-10-21 15:54:19 +0200 |
---|---|---|
committer | Chantal Keller <Chantal.Keller@lri.fr> | 2021-10-21 15:54:19 +0200 |
commit | 469eaf98bc6e0c6de32ec8dd67ddd9baa7ff30d5 (patch) | |
tree | f6ad5048ed6c8b995e6e8765230c064473892f36 /src/PropToBool.v | |
parent | b81fc31f55c42137cdc50fd07fc34959e23a4ec3 (diff) | |
parent | 6699a08a64470c8145324e6ff392fcb3453ade38 (diff) | |
download | smtcoq-469eaf98bc6e0c6de32ec8dd67ddd9baa7ff30d5.tar.gz smtcoq-469eaf98bc6e0c6de32ec8dd67ddd9baa7ff30d5.zip |
Merge remote-tracking branch 'origin/master' into coq-8.10
Diffstat (limited to 'src/PropToBool.v')
-rw-r--r-- | src/PropToBool.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PropToBool.v b/src/PropToBool.v index 98ce55c..6f7c5ca 100644 --- a/src/PropToBool.v +++ b/src/PropToBool.v @@ -59,7 +59,7 @@ Ltac prop2bool := | _ => let p := fresh "p" in assert (p:CompDec t); - [ auto with typeclass_instances + [ try (exact _) (* Use the typeclass machinery *) | rewrite (@compdec_eq_eqb _ p) ] end @@ -172,7 +172,7 @@ Ltac prop2bool_hyp H := | _ => let Hcompdec := fresh "Hcompdec" in assert (Hcompdec: CompDec A); - [ auto with typeclass_instances | ] + [ try (exact _) | ] end | false => idtac end; @@ -223,7 +223,7 @@ Ltac remove_compdec_hyp H := | _ => let c := fresh "c" in assert (c : CompDec A); - [ auto with typeclass_instances + [ try (exact _) | let H1 := fresh in assert (H1 := H c); clear H; assert (H := H1); clear H1; remove_compdec_hyp H ] |