acgtkLib.datalogLib
AbstractSyntax.Predicate
acgtkLib.acgData
acgtkLib.logic
acgtkLib.utilsLib
type term =
| Var of VarGen.id
| Const of ConstGen.id
type pred_id
module PredIdMap : Map.S with type key = pred_id
module PredIdTable : UtilsLib.IdGenerator.CorrespondanceTableTYPE with type identifier = pred_id
module PredIds : Set.S with type elt = pred_id
type predicate = {
p_id : pred_id;
arity : int;
arguments : term list;
It is assumed that the size of the list is the arity
}
val to_string : predicate -> ?position:int -> PredIdTable.table -> ConstGen.Table.table -> string
val compare : predicate -> predicate -> int
val fake_pred_id : pred_id