Module Make.ConstraintSource

Sourceval bool : 'kind Var.t -> bool -> t

bool v b creates a constraint asserting that boolean variable v has value b.

Sourceval not : t -> t

not c negates the constraint c. Supports only single atomic constraints.

Sourceval and_ : t -> t -> t

and_ c1 c2 combines two constraints with logical AND.

Sourceval or_ : t -> t -> t

or_ c1 c2 combines two constraints with logical OR.

  • raises Invalid_argument

    always. Disjunctions cannot be represented as a simple list of atomic constraints. Use full BDDs for disjunctions.