(*
This file is part of the dpll(t) engine sammy
Copyright (C) 2004  The University of Iowa
George Hagen
                                                                                
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
                                                                                
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
                                                                                
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*)

(* convert.mli *)

(** Functions for converting formulas into clauses. *)

exception Conversion_error

val convert_formula_to_lit_lists : Formula.exprtype -> Pred_db.pred_db -> 
  Skolemizer.skolemizer -> Pred.lit list list
(** Returns a list of [Pred.lit] lists, to be reduced and then 
converted to clauses. Raises [Convert.Conversion_error] on error. *)

(*
val convert_lit_lists_to_clauses : Pred.lit list list -> Pred.clause list
(** Returns a list of clauses *)
*)

val negate_formula : Formula.exprtype -> Formula.exprtype
(** Returns the formula [NOT f].
Side effect: may add an abstract predicate to the predicate database.
*)
