12345678910111213141516171819202122232425262728293031323334353637383940414243444546(* This file is free software, part of dolmen. See file "LICENSE" for more information. *)(** AST requirements for the Dimacs format.
Dimacs is a very simple format intended to express CNFs (conjunctive normal forms)
in the simplest format possible. *)moduletypeTerm=sigtypet(** The type of terms. *)typelocation(** The type of locations. *)valatom:?loc:location->int->t(** Make an atom from an non-zero integer. Positive integers denotes variables,
and negative integers denote the negation of the variable corresponding to
their absolute value. *)end(** Requirements for implementations of Dimacs terms. *)moduletypeStatement=sigtypet(** The type of statements for dimacs. *)typeterm(** The type of dimacs terms. *)typelocation(** The type of locations. *)valp_cnf:?loc:location->int->int->t(** Header of a dimacs file. First argument is the number of variables,
second is the number of clauses. *)valclause:?loc:location->termlist->t(** Make a clause from a list of literals. *)end(** Requirements for implementations of Dimacs statements. *)