package smtml

  1. Overview
  2. Docs
A Front-end library for SMT solvers in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.2.5.tar.gz
md5=6ce9f854ab5f55331ccef35077ee66f9
sha512=2c72728f7dd482ef462530a9d5b40082b6f6b3cfa226c081775a4875c2a9a39ceabd46660548d73bc0c3f06cadafb7399d25ca7c8354d0e7dbb28feeca3e58f0

CHANGES.md.html

Unreleased

Added

Fixed

Changed

v0.2.5

Fixed

  • Fixes cvc5 mappigns

v0.2.4

Changed

  • Bump prelude 0.2 -> 0.3

v0.2.3

Added

  • Add Num.set_default_printer to change between pretty and hexa modes

Changed

  • Reverted Num.pp hexadecimal printing

v0.2.2

Added

  • Allow creating and lifting bitvecs of bitwidth = 1

  • Add unitary value Value.Unit

  • Add simplification cases for Nan and Infinity floats (@joaomhmpereira)

  • Add Model.to_json function

  • Add Solver.get_statistics function

Fixed

Changed

  • Print bitvectors and fps in hexadecimal and removed Value.pp_num

  • Deprecated Solver.get_statistics

v0.2.1

Fixed

  • Add conflicts on solvers versions outside depopt range (@krtab)

v0.2.0

Added

  • Added List and App values (@joaomhmpereira)

  • Added Naryop to Expr (@joaomhmpereira)

  • Added val Expr.ptr : int32 -> t -> t constructor (@filipeom)

  • Added missing concrete simplification to Eval (@joaomhmpereira)

Changed

  • Renamed Seq_ operators to String_ (@joaomhmpereira)

  • String.concat is now a nary operator (@joaomhmpereira)

  • Made Eval.TypeError more explicit on which operator triggered the error. (@joaomhmpereira)

  • Made Expr.Ptr a record (@filipeom)

Fixed

  • Missing bitwuzla operators to_fp and of_ieee_bv.

v0.1.3

Changed

  • Changed Num.( = ) to Num.equal to be more consistent with other modules

Fixed

  • Fixed comparison of boolean values

v0.1.2

Added

  • Adds Solver_dispacher.{is_available|available_solvers|solver} to check availability of installed solvers

  • Model generation for Bitwuzla

Changed

  • Exposes Optimizer.Make to allow for parametric optimizers

  • Makes Z3 optional

Fixed

  • Parametric mappings should only create sorts once

v0.1.1

  • Improves interoperability with multiple solvers

  • Bug fixes for colibri2 and z3

  • Adds preliminary support for cvc5

v0.1.0

  • Renames project to Smt.ml and library to smtml

  • Minor fixes and typos

  • Adds preliminary support for the Bitwuzla solver

  • Completes concrete simplifications

  • Solver.check now returns a Sat | Unsat | Unknown instead of a bool value

  • Adds owi's simplifications and smart op constructors

  • Moves theory annotation (Ty.t) only to necessary variants

v0.0.4

  • Adds Arthur's clz and ctz implementations for i64s

  • Completes missing eval_numeric operations

  • Adds more tests to increase code coverage

  • Adds extend_ixx to lexer

  • Adds colibri2 mappings

  • Fixes hash-consing in 72eeb6f

  • Rename declare-fun to let-const

  • Rotate_left and rotate_right operators

  • Print floats in OCaml syntax (Closes #49)

v0.0.3

  • Improve bitv creation interface

  • Add naive hash-consing of expressions

  • Add Ceil and Floor FPA operators

  • Start migrating inline tests to standard tests

  • No simplifier on batch solver

v0.0.2

  • Support for bv8

  • Refactor optimizer interface

  • Fixes batch solver in e061344

  • Adds default simplifier in z3 leading to great performance gains

  • Adds logic configuration option to mk_solver

  • Fixes pp function in 11476fb

  • Adds ematching and timeout parameters

  • Improves documentation

  • Relax ocaml compiler constraint to >= 4.14.0

v0.0.1

Initial release

OCaml

Innovation. Community. Security.