let a = Smtml.Expr.symbol (Smtml.Symbol.make Smtml.Ty.Ty_bool "a")
let expr = Smtml.Expr.Bool.implies a Smtml.Expr.Bool.true_
module Altergo = Smtml.Solver.Batch (Smtml.Altergo_mappings)
let solver = Altergo.create ()
let () =
match Altergo.check solver [ expr ] with
| `Sat -> Format.printf "SAT@\n"
| `Unsat -> Format.printf "UNSAT@\n"
| `Unknown -> Format.printf "UNKNOWN@\n"
For the following example an exception is thrown.
For the following example an exception is thrown.