protocol
atms_environment_protocol
Protocol for the opaque environment representation used by the ATMS library.
Availability:
logtalk_load(atms(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-09-26
Compilation flags:
staticDependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicates
empty/1
Returns the empty environment.
Compilation flags:
staticTemplate:
empty(Environment)Mode and number of proofs:
empty(-atms_environment) - onesingleton/2
Returns the environment containing only the given node.
Compilation flags:
staticTemplate:
singleton(Node,Environment)Mode and number of proofs:
singleton(+atms_node,-atms_environment) - oneunion/3
Returns the union of two environments.
Compilation flags:
staticTemplate:
union(Environment1,Environment2,Union)Mode and number of proofs:
union(+atms_environment,+atms_environment,-atms_environment) - onesubset/2
True iff the first environment is a subset of the second environment.
Compilation flags:
staticTemplate:
subset(Environment1,Environment2)Mode and number of proofs:
subset(+atms_environment,+atms_environment) - zero_or_oneequal/2
True iff the two environments are equal.
Compilation flags:
staticTemplate:
equal(Environment1,Environment2)Mode and number of proofs:
equal(+atms_environment,+atms_environment) - zero_or_onefrom_list/2
Converts a list of node identifiers to the canonical internal environment representation.
Compilation flags:
staticTemplate:
from_list(Nodes,Environment)Mode and number of proofs:
from_list(+list(atms_node),-atms_environment) - oneto_list/2
Converts an internal environment to an ordered list of node identifiers.
Compilation flags:
staticTemplate:
to_list(Environment,Nodes)Mode and number of proofs:
to_list(+atms_environment,-list(atms_node)) - oneProtected predicates
(none)
Private predicates
(none)
Operators
(none)