aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtlib2/smtlib2_genConstr.mli
diff options
context:
space:
mode:
authorChantal Keller <Chantal.Keller@lri.fr>2019-09-25 18:22:53 +0200
committerChantal Keller <Chantal.Keller@lri.fr>2019-09-25 18:22:53 +0200
commitd35b057995b4940af0e66bb081b3fe3ac7ff97f3 (patch)
treed64f000e89d0125543c29cc2de423038d65f7b33 /src/smtlib2/smtlib2_genConstr.mli
parenta17e48674bace4df1509b0624bef85128d81afbf (diff)
downloadsmtcoq-d35b057995b4940af0e66bb081b3fe3ac7ff97f3.tar.gz
smtcoq-d35b057995b4940af0e66bb081b3fe3ac7ff97f3.zip
Made SmtCommands independent from VeritSyntax
Made lfsc/* mostly independent from VeritSyntax
Diffstat (limited to 'src/smtlib2/smtlib2_genConstr.mli')
-rw-r--r--src/smtlib2/smtlib2_genConstr.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/smtlib2/smtlib2_genConstr.mli b/src/smtlib2/smtlib2_genConstr.mli
index dabd99b..7868839 100644
--- a/src/smtlib2/smtlib2_genConstr.mli
+++ b/src/smtlib2/smtlib2_genConstr.mli
@@ -13,8 +13,16 @@
val pp_symbol : Smtlib2_ast.symbol -> string
val parse_smt2bv : string -> bool list
val bigint_bv : Big_int.big_int -> int -> string
+
+(* Import from an SMTLIB2 file *)
val import_smtlib2 :
SmtBtype.reify_tbl ->
SmtAtom.Op.reify_tbl ->
SmtAtom.Atom.reify_tbl ->
SmtAtom.Form.reify -> string -> SmtAtom.Form.t list
+
+(* Lower level functions, to build types and terms *)
+val declare_sort_from_name : SmtBtype.reify_tbl -> string -> SmtBtype.btype
+val declare_fun_from_name :
+ SmtBtype.reify_tbl -> SmtAtom.Op.reify_tbl -> string ->
+ SmtBtype.btype list -> SmtBtype.btype -> SmtAtom.indexed_op