(*
This file is part of the dpll(t) engine sammy
Copyright (C) 2005  The University of Iowa
George Hagen
Mike Decoster

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.
*)


open Theory_db

let linear_real_arithmetic_theory = new theory_spec();;
add_theory "QF_LRA" linear_real_arithmetic_theory;;

let qf_auflia_theory = new theory_spec();;
qf_auflia_theory#add_sort_synonym "Array" ".Int_Int_Array";;
qf_auflia_theory#add_function_synonym "store" ".Int_Int_store";;
qf_auflia_theory#add_function_synonym "select" ".Int_Int_select";;
qf_auflia_theory#set_numeral_sort int_sort;;
add_theory "QF_AUFLIA" qf_auflia_theory;;

let qf_uf_theory = new theory_spec();;
qf_uf_theory#add_sort "U";;
add_theory "QF_UF" qf_uf_theory;;

let qf_uflia_theory = new theory_spec();;
qf_uflia_theory#set_numeral_sort int_sort;;
add_theory "QF_UFLIA" qf_uflia_theory;;

let qf_ufidl_theory = new theory_spec();;
qf_ufidl_theory#set_numeral_sort int_sort;;
add_theory "QF_UFIDL" qf_ufidl_theory;;

let qf_lia_theory = new theory_spec();;
qf_lia_theory#set_numeral_sort int_sort;;
add_theory "QF_LIA" qf_lia_theory;;

let qf_lra_theory = new theory_spec();;
qf_lra_theory#set_numeral_sort real_sort;;
add_theory "QF_LRA" qf_lra_theory;;

let qf_rdl_theory = new theory_spec();;
qf_rdl_theory#set_numeral_sort real_sort;;
add_theory "QF_RDL" qf_lra_theory;;

let qf_idl_theory = new theory_spec();;
qf_idl_theory#set_numeral_sort int_sort;;
add_theory "QF_IDL" qf_lra_theory;;

let qf_uflra_theory = new theory_spec();;
qf_uflra_theory#set_numeral_sort real_sort;;
add_theory "QF_UFLRA" qf_uflra_theory;;

