def _assert(self, submodel, interpretation): node = interpretation(self.x) action = submodel.action atomic_action = AtomicAction.rem_action(node) has_rem_action = z3.Select(action, atomic_action) graph = submodel.pregraph_has_node has_function = Graph.has(graph) pregraph_has_node = z3.Select(has_function, node) return z3.And(has_rem_action, pregraph_has_node)
def _assert(self, submodel, interpretation): action = submodel.action atomic_action = AtomicAction.unlink_action( interpretation(self.x), interpretation(self.y)) has_action = z3.Select(action, atomic_action) return has_action
def _assert(self, submodel, interpretation): action = submodel.action atomic_action = AtomicAction.unlink_action(interpretation(self.x), interpretation(self.y)) has_action = z3.Select(action, atomic_action) return has_action