mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-10 05:03:59 -05:00
setup dyn-trans in main solver
This commit is contained in:
parent
729f171985
commit
18f86e8eb7
5 changed files with 10 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
(public_name sidekick-base.solver)
|
||||
(synopsis "Instantiation of solver and theories for Sidekick_base")
|
||||
(libraries sidekick-base sidekick.core sidekick.smt-solver
|
||||
sidekick.th-bool-static
|
||||
sidekick.th-bool-static sidekick.th-dyn-trans
|
||||
sidekick.mini-cc sidekick.th-data
|
||||
sidekick.arith-lra sidekick.zarith)
|
||||
(flags :standard -warn-error -a+8 -safe-string -color always -open Sidekick_util))
|
||||
|
|
|
|||
|
|
@ -116,6 +116,11 @@ module Th_lra = Sidekick_arith_lra.Make(struct
|
|||
end
|
||||
end)
|
||||
|
||||
module Th_dyn_trans = Sidekick_th_dyn_trans.Make(struct
|
||||
module Solver = Solver
|
||||
end)
|
||||
|
||||
let th_bool : Solver.theory = Th_bool.theory
|
||||
let th_data : Solver.theory = Th_data.theory
|
||||
let th_lra : Solver.theory = Th_lra.theory
|
||||
let th_dyn_trans : Solver.theory = Th_dyn_trans.theory
|
||||
|
|
|
|||
|
|
@ -107,6 +107,7 @@ let main_smt () : _ result =
|
|||
Process.th_bool;
|
||||
Process.th_data;
|
||||
Process.th_lra;
|
||||
Process.th_dyn_trans;
|
||||
]
|
||||
in
|
||||
Process.Solver.create ~proof ~theories tst () ()
|
||||
|
|
|
|||
|
|
@ -282,7 +282,9 @@ let process_stmt
|
|||
module Th_data = SBS.Th_data
|
||||
module Th_bool = SBS.Th_bool
|
||||
module Th_lra = SBS.Th_lra
|
||||
module Th_dyn_trans = SBS.Th_dyn_trans
|
||||
|
||||
let th_bool : Solver.theory = Th_bool.theory
|
||||
let th_data : Solver.theory = Th_data.theory
|
||||
let th_lra : Solver.theory = Th_lra.theory
|
||||
let th_dyn_trans : Solver.theory = Th_dyn_trans.theory
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ module Solver
|
|||
val th_bool : Solver.theory
|
||||
val th_data : Solver.theory
|
||||
val th_lra : Solver.theory
|
||||
val th_dyn_trans : Solver.theory
|
||||
|
||||
type 'a or_error = ('a, string) CCResult.t
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue