1 (* Why3 driver for Yices-smt2 solver *)
3 prelude ";;; this is a prelude for Yices-smt2"
4 prelude "(set-logic QF_AUFLIRA)"
6 UF : Uninterpreted Function
7 LIRA : Linear Integer Reals Arithmetic
10 import "smt-libv2.gen"
11 filename "%f-%t-%g.smt2"
13 import "discrimination.gen"
15 (* specific messages from Yices-smt2 *)
16 unknown "feature not supported: non linear problem" "non linear arith"
18 (* Performed introductions depending on whether counterexamples are
19 requested, as said by the meta "get_counterexmp". When this meta
20 set, this transformation introduces the model variables that are
21 still embedded in the goal. When it is not set, it removes all
22 these unused-ce-related variables, even in the context. *)
23 transformation "counterexamples_dependent_intros"
25 transformation "inline_trivial"
27 transformation "eliminate_builtin"
28 transformation "eliminate_definition"
29 transformation "eliminate_inductive"
30 transformation "eliminate_epsilon"
31 transformation "eliminate_algebraic"
32 transformation "eliminate_literal"
34 transformation "simplify_formula"
35 (*transformation "simplify_trivial_quantification"*)
37 transformation "encoding_smt"
38 transformation "encoding_sort"