@@ -138,7 +138,7 @@ def __init__(
138
138
assert type (subproof ) is RefutationProof
139
139
self .node_refutations [node_id ] = subproof
140
140
141
- def get_steps (self ) -> Iterable [APRProofStep ]:
141
+ def get_steps (self ) -> list [APRProofStep ]:
142
142
return [APRProofStep (self , node .id ) for node in self .pending ]
143
143
144
144
def commit (self , result : APRProofResult ) -> None :
@@ -724,7 +724,7 @@ def _check_subsume(self, node: KCFG.Node) -> CSubst | None:
724
724
_LOGGER .info (f'Subsumed into target node { self .proof .id } : { shorten_hashes ((node .id , self .proof .target ))} ' )
725
725
return csubst
726
726
727
- def step_proof (self , step : APRProofStep ) -> Iterable [APRProofResult ]:
727
+ def step_proof (self , step : APRProofStep ) -> list [APRProofResult ]:
728
728
curr_node = step .proof .kcfg .node (step .node_id )
729
729
730
730
if step .proof .bmc_depth is not None and curr_node .id not in self ._checked_for_bounded :
@@ -754,7 +754,7 @@ def step_proof(self, step: APRProofStep) -> Iterable[APRProofResult]:
754
754
is_terminal = self .kcfg_explore .kcfg_semantics .is_terminal (curr_node .cterm )
755
755
target_is_terminal = step .proof .is_terminal (step .proof .target )
756
756
757
- terminal_result = [APRProofTerminalResult (node_id = curr_node .id )] if is_terminal else []
757
+ terminal_result : list [ APRProofResult ] = [APRProofTerminalResult (node_id = curr_node .id )] if is_terminal else []
758
758
759
759
# Subsumption should be checked if and only if the target node
760
760
# and the current node are either both terminal or both not terminal
0 commit comments