package hardcaml_verify

  1. Overview
  2. Docs
Hardcaml Verification Tools

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a09a904776ad848f685afb4ebe85e0d449acb81f6f2425fccc52a3c5b76be629

doc/hardcaml_verify.kernel/Hardcaml_verify_kernel/Tseitin/Make/index.html

Module Tseitin.MakeSource

Conversion functions from boolean gates to Tseitin form. The first argument to each function is the newly introduced sat literal for this gate, which should be referenced by its fanouts. The return value is the corresponding CNF.

Parameters

module B : S

Signature

constant false

constant true

not

Sourceval bwire : B.t -> B.t -> B.t Base.list Base.list

wire (copy input to output)

n-input not-or

n-input or

n-input not-and

n-input and

Sourceval bxor : B.t -> B.t -> B.t -> B.t Base.list Base.list

2-input xor

OCaml

Innovation. Community. Security.