@@ -138,7 +138,7 @@ def __init__(
138138 assert type (subproof ) is RefutationProof
139139 self .node_refutations [node_id ] = subproof
140140
141- def get_steps (self ) -> Iterable [APRProofStep ]:
141+ def get_steps (self ) -> list [APRProofStep ]:
142142 return [APRProofStep (self , node .id ) for node in self .pending ]
143143
144144 def commit (self , result : APRProofResult ) -> None :
@@ -724,7 +724,7 @@ def _check_subsume(self, node: KCFG.Node) -> CSubst | None:
724724 _LOGGER .info (f'Subsumed into target node { self .proof .id } : { shorten_hashes ((node .id , self .proof .target ))} ' )
725725 return csubst
726726
727- def step_proof (self , step : APRProofStep ) -> Iterable [APRProofResult ]:
727+ def step_proof (self , step : APRProofStep ) -> list [APRProofResult ]:
728728 curr_node = step .proof .kcfg .node (step .node_id )
729729
730730 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]:
754754 is_terminal = self .kcfg_explore .kcfg_semantics .is_terminal (curr_node .cterm )
755755 target_is_terminal = step .proof .is_terminal (step .proof .target )
756756
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 []
758758
759759 # Subsumption should be checked if and only if the target node
760760 # and the current node are either both terminal or both not terminal
0 commit comments