package mc2

  1. Overview
  2. Docs
A mcsat-based SMT solver in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.1.tar.gz
md5=92de696251ec76fbf3eba6ee917fd80f
sha512=e88ba0cfc23186570a52172a0bd7c56053273941eaf3cda0b80fb6752e05d1b75986b01a4e4d46d9711124318e57cba1cd92d302e81d34f9f1ae8b49f39114f0

doc/mc2.dimacs/Mc2_dimacs/index.html

Module Mc2_dimacsSource

Main for dimacs

This library provides a parser for DIMACS files, to represent SAT problems.

http://www.satcompetition.org/2009/format-benchmarks2009.html

Sourcemodule Plugin_sat : sig ... end
Sourcetype 'a or_error = ('a, string) CCResult.t

Key to build atoms

Sourceval parse : Mc2_core.Service.Registry.t -> string -> Mc2_core.atom list list or_error

Parse a file into a list of clauses.

  • parameter registry

    used to build atoms from integers, see k_atom

Sourceval process : ?gc:bool -> ?restarts:bool -> ?dot_proof:string -> ?pp_model:bool -> ?check:bool -> ?time:float -> ?memory:float -> ?progress:bool -> ?switch:Mc2_core.Util.Switch.t -> Mc2_core.Solver.t -> Mc2_core.atom list list -> unit or_error

Add clauses to solver, solve, and prints the results.

  • parameter check

    check proof/model

  • parameter progress

    print progress bar

  • parameter dot_proof

    file into which to print the proof

OCaml

Innovation. Community. Security.