Skip to content
Snippets Groups Projects
Commit 0f5fdc68 authored by François Bobot's avatar François Bobot
Browse files

[Quant] Add a tests for E-matching

parent f371ed3f
No related branches found
No related tags found
No related merge requests found
......@@ -15,3 +15,5 @@
(rule (alias runtest) (action (diff oracle forall5.smt2.res)))
(rule (action (with-stdout-to forall6.smt2.res (run %{bin:colibri2} --max-step 1000 %{dep:forall6.smt2}))))
(rule (alias runtest) (action (diff oracle forall6.smt2.res)))
(rule (action (with-stdout-to forall7.smt2.res (run %{bin:colibri2} --max-step 1000 %{dep:forall7.smt2}))))
(rule (alias runtest) (action (diff oracle forall7.smt2.res)))
(set-logic ALL)
(declare-sort S 0)
(declare-fun a () S)
(declare-fun P (S) Bool)
(declare-fun f (S S) S)
(declare-fun g (S) S)
(assert (forall ((x S)) (= (f x x) (g x))))
(assert (forall ((x S)) (P (g x))))
(assert (not (P (f a a))))
(check-sat)
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