aboutsummaryrefslogtreecommitdiffstats
path: root/unit-tests/Tests_lfsc_tactics.v
diff options
context:
space:
mode:
authorckeller <ckeller@users.noreply.github.com>2021-04-26 16:25:57 +0200
committerGitHub <noreply@github.com>2021-04-26 16:25:57 +0200
commit1cd1e8d4e3399a582c2f5b8de203ba59cd3f8010 (patch)
treec5e7203ff4ac418a5d6206690bf13df2ef0f59a1 /unit-tests/Tests_lfsc_tactics.v
parentf7ecc2f20d4cd8d777e6169675a4057148bf6ccb (diff)
downloadsmtcoq-1cd1e8d4e3399a582c2f5b8de203ba59cd3f8010.tar.gz
smtcoq-1cd1e8d4e3399a582c2f5b8de203ba59cd3f8010.zip
Take hypotheses from the local context (#91)
* The tactics sets veritXXX and smtXXX now automatically take hypotheses from the local context * `prop2bool_hyps` also apply to hypotheses not in the local context * Second strategy for vauto (still incomplete)
Diffstat (limited to 'unit-tests/Tests_lfsc_tactics.v')
-rw-r--r--unit-tests/Tests_lfsc_tactics.v10
1 files changed, 5 insertions, 5 deletions
diff --git a/unit-tests/Tests_lfsc_tactics.v b/unit-tests/Tests_lfsc_tactics.v
index eb9744b..280ed17 100644
--- a/unit-tests/Tests_lfsc_tactics.v
+++ b/unit-tests/Tests_lfsc_tactics.v
@@ -714,13 +714,13 @@ Section A_BV_EUF_LIA_PR.
Goal forall (x: bitvector 1), bv_subt x #b|0| = x.
Proof using.
smt.
- Admitted.
+ Abort.
(* The original issue (invalid) *)
Goal forall (x: bitvector 1), bv_subt (bv_shl #b|0| x) #b|0| = #b|0|.
Proof using.
smt.
- Admitted.
+ Abort.
End A_BV_EUF_LIA_PR.
@@ -760,15 +760,15 @@ Section Group.
(* Some other interesting facts about groups *)
Lemma unique_identity e':
(forall z, op e' z ==? z) -> e' ==? e.
- Proof. intros pe'; smt pe'. Qed.
+ Proof. smt. Qed.
Lemma simplification_right x1 x2 y:
op x1 y ==? op x2 y -> x1 ==? x2.
- Proof. intro H. smt_no_check (H, inverse'). Qed.
+ Proof. smt_no_check inverse'. Qed.
Lemma simplification_left x1 x2 y:
op y x1 ==? op y x2 -> x1 ==? x2.
- Proof. intro H. smt_no_check (H, inverse'). Qed.
+ Proof. smt_no_check inverse'. Qed.
Clear_lemmas.
End Group.