aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtlib2/smtlib2_genConstr.mli
blob: 65f47b5b57e8fa129bbe989fa5a0095dd48e7a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(**************************************************************************)
(*                                                                        *)
(*     SMTCoq                                                             *)
(*     Copyright (C) 2011 - 2022                                          *)
(*                                                                        *)
(*     See file "AUTHORS" for the list of authors                         *)
(*                                                                        *)
(*   This file is distributed under the terms of the CeCILL-C licence     *)
(*                                                                        *)
(**************************************************************************)


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