module Termutil: sig endexception Termutil_error of string * Location.location
termutil module to signal errors
in the input file.val lterm_replace_ldcl : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_ldcl -> Abstract.eva_ldcllterm_replace_ldcl tr dd in which
every term has been replaced by
its image under the given term replacement function tr.val lterm_replace_dcl : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_dcl -> Abstract.eva_dclval lterm_replace_linstr : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_linstr -> Abstract.eva_linstrval lterm_replace_instr : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_instr -> Abstract.eva_instrval lterm_replace_lprotocol : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_lprotocol -> Abstract.eva_lprotocolval lterm_replace_protocol : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_protocol -> Abstract.eva_protocolval lterm_replace_process : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_process -> Abstract.eva_processval lterm_replace_lsession : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_lsession -> Abstract.eva_lsessionval lterm_replace_session : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_session -> Abstract.eva_sessionval lterm_replace_latom : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_latom -> Abstract.eva_latomval lterm_replace_atom : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_atom -> Abstract.eva_atomval lterm_replace_lstatement : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_lstatement -> Abstract.eva_lstatementval lterm_replace_statement : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_statement -> Abstract.eva_statementval lterm_replace_spec : (Abstract.eva_lterm -> Abstract.eva_lterm) ->
Abstract.eva_spec -> Abstract.eva_specval string_of_lid : Abstract.eva_lid -> stringval lid_equal : Abstract.eva_lid -> Abstract.eva_lid -> boolval lterm_equal : Abstract.eva_lterm -> Abstract.eva_lterm -> boolval is_atomic_term : Abstract.eva_term -> booltrue if the given term t
is a first order id or a value,
or an alias to an atomic located term,
and returns false otherwise.val is_atomic_lterm : Abstract.eva_lterm -> boolis_atomic_lterm ttrue if the given located term t
is a first order id or a value,
or an alias to an atomic located term,
and returns false otherwise.val subst_dom : ('a * 'b) list -> 'a listval subst_term : (string * Abstract.eva_term) list -> Abstract.eva_term -> Abstract.eva_termsubst_term s t
returns the substitution of
the given term t
by the given substitution s.
Constants are not subsituted.
The term t must contain no alias.
val subst_lterm : (string * Abstract.eva_term) list -> Abstract.eva_lterm -> Abstract.eva_ltermval is_grounding : (string * 'a) list -> Abstract.eva_term -> boolis_grounding s t
returns true iff the domain of the given substitution s
contains all the parameters and private variables of
the term t.val term_vars : Abstract.eva_term -> string listterm_vars t
returns the list (with repetitions)
of identifiers of parameters and private variables
in the given term t.val lterm_vars : Abstract.eva_lterm -> string list