diff options
Diffstat (limited to 'src/verit/veritSyntax.mli')
-rw-r--r-- | src/verit/veritSyntax.mli | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/verit/veritSyntax.mli b/src/verit/veritSyntax.mli new file mode 100644 index 0000000..9813b54 --- /dev/null +++ b/src/verit/veritSyntax.mli @@ -0,0 +1,44 @@ +(**************************************************************************) +(* *) +(* SMTCoq *) +(* Copyright (C) 2011 - 2015 *) +(* *) +(* Michaël Armand *) +(* Benjamin Grégoire *) +(* Chantal Keller *) +(* *) +(* Inria - École Polytechnique - MSR-Inria Joint Lab *) +(* *) +(* This file is distributed under the terms of the CeCILL-C licence *) +(* *) +(**************************************************************************) + +exception Sat + +type typ = | Inpu | Deep | True | Fals | Andp | Andn | Orp | Orn | Xorp1 | Xorp2 | Xorn1 | Xorn2 | Impp | Impn1 | Impn2 | Equp1 | Equp2 | Equn1 | Equn2 | Itep1 | Itep2 | Iten1 | Iten2 | Eqre | Eqtr | Eqco | Eqcp | Dlge | Lage | Lata | Dlde | Lade | Fins | Eins | Skea | Skaa | Qnts | Qntm | Reso | And | Nor | Or | Nand | Xor1 | Xor2 | Nxor1 | Nxor2 | Imp | Nimp1 | Nimp2 | Equ1 | Equ2 | Nequ1 | Nequ2 | Ite1 | Ite2 | Nite1 | Nite2 | Tpal | Tlap | Tple | Tpne | Tpde | Tpsa | Tpie | Tpma | Tpbr | Tpbe | Tpsc | Tppp | Tpqt | Tpqs | Tpsk | Subp + +val get_clause : int -> SmtAtom.Form.t SmtCertif.clause +val add_clause : int -> SmtAtom.Form.t SmtCertif.clause -> unit + +val mk_clause : SmtCertif.clause_id * typ * SmtAtom.Form.t list * SmtCertif.clause_id list -> SmtCertif.clause_id + +type atom_form_lit = + | Atom of SmtAtom.Atom.t + | Form of SmtAtom.Form.pform + | Lit of SmtAtom.Form.t +val lit_of_atom_form_lit : SmtAtom.Form.reify -> atom_form_lit -> SmtAtom.Form.t +val get_solver : int -> atom_form_lit +val add_solver : int -> atom_form_lit -> unit + +val get_btype : string -> SmtAtom.btype +val add_btype : string -> SmtAtom.btype -> unit + +val get_fun : string -> SmtAtom.indexed_op +val add_fun : string -> SmtAtom.indexed_op -> unit + +val ra : SmtAtom.Atom.reify_tbl +val rf : SmtAtom.Form.reify + +val hlets : (string, atom_form_lit) Hashtbl.t + +val clear : unit -> unit |