From 240b76807340e59bb85b35e3ebbb807792459912 Mon Sep 17 00:00:00 2001 From: ckeller Date: Tue, 23 Feb 2021 17:06:51 +0100 Subject: Link equality on uninterpreted sorts with SMT equality (#86) Equality is now treated from uninterpreted sorts, which makes them usable with tactics! Closes #17 Closes #78 --- src/versions/standard/Tactics_standard.v | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/versions') diff --git a/src/versions/standard/Tactics_standard.v b/src/versions/standard/Tactics_standard.v index 95b92d6..4162f13 100644 --- a/src/versions/standard/Tactics_standard.v +++ b/src/versions/standard/Tactics_standard.v @@ -29,11 +29,11 @@ Tactic Notation "verit_bool_no_check" constr_list(h) := Ltac zchaff := prop2bool; zchaff_bool; bool2prop. Ltac zchaff_no_check := prop2bool; zchaff_bool_no_check; bool2prop. -Tactic Notation "verit" constr_list(h) := prop2bool; verit_bool h; bool2prop. -Tactic Notation "verit_no_check" constr_list(h) := prop2bool; verit_bool_no_check h; bool2prop. +Tactic Notation "verit" constr_list(h) := prop2bool; [ .. | verit_bool h; bool2prop ]. +Tactic Notation "verit_no_check" constr_list(h) := prop2bool; [ .. | verit_bool_no_check h; bool2prop ]. -Ltac cvc4 := prop2bool; cvc4_bool; bool2prop. -Ltac cvc4_no_check := prop2bool; cvc4_bool_no_check; bool2prop. +Ltac cvc4 := prop2bool; [ .. | cvc4_bool; bool2prop ]. +Ltac cvc4_no_check := prop2bool; [ .. | cvc4_bool_no_check; bool2prop ]. (* Ltac smt := prop2bool; *) @@ -53,8 +53,8 @@ Ltac cvc4_no_check := prop2bool; cvc4_bool_no_check; bool2prop. (* end; *) (* bool2prop. *) -Tactic Notation "smt" constr_list(h) := (prop2bool; try verit_bool h; cvc4_bool; try verit_bool h; bool2prop). -Tactic Notation "smt_no_check" constr_list(h) := (prop2bool; try verit_bool_no_check h; cvc4_bool_no_check; try verit_bool_no_check h; bool2prop). +Tactic Notation "smt" constr_list(h) := (prop2bool; [ .. | try verit_bool h; cvc4_bool; try verit_bool h; bool2prop ]). +Tactic Notation "smt_no_check" constr_list(h) := (prop2bool; [ .. | try verit_bool_no_check h; cvc4_bool_no_check; try verit_bool_no_check h; bool2prop]). -- cgit