mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
47 lines
1 KiB
OCaml
47 lines
1 KiB
OCaml
(** Main Signatures.
|
|
|
|
Theories and concrete solvers rely on an environment that defines
|
|
several important types:
|
|
|
|
- types
|
|
- terms (to represent logic expressions and formulas)
|
|
- a congruence closure instance
|
|
- a bridge to some SAT solver
|
|
|
|
In this module we define most of the main signatures used
|
|
throughout Sidekick.
|
|
*)
|
|
|
|
module Fmt = CCFormat
|
|
|
|
(** {2 Re-exports from core-logic} *)
|
|
|
|
module Const = Sidekick_core_logic.Const
|
|
|
|
module Term = struct
|
|
include Sidekick_core_logic.Term
|
|
include Sidekick_core_logic.T_builtins
|
|
include T_printer
|
|
end
|
|
|
|
module Gensym = Gensym
|
|
|
|
(** {2 view} *)
|
|
|
|
module Bool_view = Bool_view
|
|
module CC_view = CC_view
|
|
module Default_cc_view = Default_cc_view
|
|
|
|
(** {2 Main modules} *)
|
|
|
|
module Bvar = Sidekick_core_logic.Bvar
|
|
module Lit = Lit
|
|
module Proof_step = Proof_step
|
|
module Proof_core = Proof_core
|
|
module Proof_sat = Proof_sat
|
|
module Proof_trace = Proof_trace
|
|
module Proof_term = Proof_term
|
|
module Subst = Sidekick_core_logic.Subst
|
|
module Var = Sidekick_core_logic.Var
|
|
|
|
exception Resource_exhausted
|