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): graph = submodel.postgraph has_function = Graph.has(graph) node = interpretation(self.x) has_node = z3.Select(has_function, node) return has_node