Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Commit 097c67d

Browse files
committed
proof/reachability: for admitted proofs with no progress, fallback to using the overall summary
1 parent 0df3ab5 commit 097c67d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pyk/proof/reachability.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,8 @@ def __init__(
656656
dependencies_as_rules: list[KRuleLike] = []
657657
for apr_subproof in apr_subproofs:
658658
dependencies_as_rules.extend(apr_subproof.kcfg.to_rules(priority=20))
659+
if apr_subproof.admitted and len(apr_subproof.kcfg.predecessors(apr_subproof.target)) == 0:
660+
dependencies_as_rules.append(apr_subproof.as_rule(priority=20))
659661
circularity_rule = proof.as_rule(priority=20)
660662

661663
module_name = re.sub(r'[%().:,]+', '-', self.proof.id.upper())

0 commit comments

Comments
 (0)