Hardcaml_verify_kernel.Basic_gates
module Uid : sig ... end
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Base.Comparable.S with type t := t
val comparator : ( t, comparator_witness ) Base__Comparator.comparator
val to_char : t -> Base.char
val of_char : Base.char -> t
val vdd : t
val gnd : t
val is_vdd : t -> Base.bool
val is_gnd : t -> Base.bool
cofactor ~var p ~f
computes the cofactor of f
wrt to var
. p=vdd
for positive cofactor and p=gnd
for negative cofactor
Visit all nodes in the list of functions and call f
. Nodes are visited once only.