mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
feat(asolver): add pp_stats
This commit is contained in:
parent
811c06b566
commit
8f2e2ac6de
2 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ class type t =
|
|||
(** Convert a term into a simplified literal. *)
|
||||
|
||||
method tst : Term.store
|
||||
method pp_stats : unit Fmt.printer
|
||||
|
||||
method solve :
|
||||
?on_exit:(unit -> unit) list ->
|
||||
|
|
@ -60,6 +61,7 @@ let assert_clause (self : #t) c p : unit = self#assert_clause c p
|
|||
let assert_clause_l (self : #t) c p : unit = self#assert_clause_l c p
|
||||
let add_ty (self : #t) ~ty : unit = self#add_ty ~ty
|
||||
let lit_of_term (self : #t) ?sign t : Lit.t = self#lit_of_term ?sign t
|
||||
let pp_stats out (self : #t) : unit = self#pp_stats out ()
|
||||
|
||||
let solve (self : #t) ?on_exit ?on_progress ?should_stop ~assumptions () :
|
||||
Check_res.t =
|
||||
|
|
|
|||
|
|
@ -271,6 +271,7 @@ let as_asolver (self : t) : Sidekick_abstract_solver.Asolver.t =
|
|||
method proof_tracer = (self.tracer :> Proof.Tracer.t)
|
||||
method last_res = last_res self
|
||||
method add_ty ~ty = add_ty self ty
|
||||
method pp_stats out () = pp_stats out self
|
||||
|
||||
method solve ?on_exit ?on_progress ?should_stop ~assumptions () : res =
|
||||
solve ?on_exit ?on_progress ?should_stop ~assumptions self
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue