Skip to content

Commit

Permalink
Rebase artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevendeo committed Nov 17, 2023
1 parent a75a304 commit a1fc5c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
16 changes: 0 additions & 16 deletions src/lib/frontend/frontend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,6 @@ open Commands
open Format
open Options

let timeout_reason_to_string = function
| Sat_solver_sig.Assume -> "Assume"
| ProofSearch -> "ProofSearch"
| ModelGen -> "ModelGen"

let unknown_reason_to_string = function
| Sat_solver_sig.Incomplete -> "Incomplete"
| Memout -> "Memout"
| Steps_limit n -> Fmt.str "Step limit reached: %i" n
| Timeout t -> Fmt.str "Timeout:%s" (timeout_reason_to_string t)

let unknown_reason_opt_to_string =
function
| None -> "Decided"
| Some r -> unknown_reason_to_string r

module E = Expr
module Ex = Explanation

Expand Down
6 changes: 1 addition & 5 deletions src/lib/reasoners/sat_solver_sig.ml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ type unknown_reason =
| Memout
| Steps_limit of int
| Timeout of timeout_reason

let pp_unknown_reason ppf = function
| Incomplete -> Fmt.pf ppf "Incomplete"
| Memout -> Fmt.pf ppf "Memout"
| Timeout t -> Fmt.pf ppf "Timeout:%a" pp_timeout_reason t
[@@deriving show]

let pp_unknown_reason_opt ppf = function
| None -> Fmt.pf ppf "Decided"
Expand Down

0 comments on commit a1fc5c0

Please sign in to comment.