Module Libzipperposition.Trail
Boolean Trail
module Lit = BBox.Littype bool_lit= Lit.t
val empty : tval singleton : bool_lit -> tval mem : bool_lit -> t -> boolval add : bool_lit -> t -> tval remove : bool_lit -> t -> tval map : (bool_lit -> bool_lit) -> t -> tval fold : ('a -> bool_lit -> 'a) -> 'a -> t -> 'aval length : t -> intval for_all : (bool_lit -> bool) -> t -> boolval exists : (bool_lit -> bool) -> t -> boolval of_list : bool_lit list -> tval add_list : t -> bool_lit list -> tval to_list : t -> bool_lit listval to_seq : t -> bool_lit Iter.tval labels : t -> Logtk.Index_intf.labelsval subsumes : t -> t -> boolsubsumes a bis true iffais a subset ofb
val is_empty : t -> boolEmpty trail?
val is_trivial : t -> boolreturns
trueiff the trail contains bothiand-i.
type valuation= bool_lit -> boolA boolean valuation
val is_active : t -> v:valuation -> boolTrail.is_active t ~vis true iff all boolean literals intare satisfied in the boolean valuationv.
val to_s_form : t -> Logtk.TypedSTerm.Form.t