Skip to content

Unexpected exception thrown #623

Description

@amenahh
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions