module Term_attributes:computation and comparison of term attributessig
..end
typeterm =
Term.term
typeliteral =
Term.literal
typeclause =
Term.clause
typesubst =
Subst.subst
type
pureness
val get_pureness : term -> pureness
val is_universal : pureness -> bool
val is_mixed : pureness -> bool
val is_parametric : pureness -> bool
val is_term_parametric : term -> bool
val is_propositional : literal -> bool
val cmp_pureness : pureness -> pureness -> int
cmp_pureness_universality pureness1 pureness2
returnsval cmp_universality : pureness -> pureness -> int
cmp_pureness_universality pureness1 pureness2
returns -1, 0, or 1 and prefers
first, terms with as few parameters as possible,
and second, terms with as much universal variables as possible.val depth_of_literal : literal -> int
Examples:
val depth_of_term : term -> int
val depth_of_literal_subst : literal -> subst -> int -> int
depth_of_literal_subst subst literal offset
is like Term_attributes.depth_of_literal
,
but variables in literal
are replaced by their bindings
in subst
val weight_of_literal : literal -> int
Examples:
val weight_of_literal_subst : literal -> subst -> int -> int
weight_of_literal_subst subst literal offset
is like Term_attributes.weight_of_literal
,
but variables in literal
are replaced by their bindings
in subst
val weight_of_clause : clause -> int