Skip to content

Commit 6feb90b

Browse files
committed
Fix method selection in non-MCC mode when fully reduced
1 parent 1b61dab commit 6feb90b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

smpt/smpt.py

+7-9
Original file line numberDiff line numberDiff line change
@@ -517,17 +517,15 @@ def main():
517517
print('FORMULA', property_id, 'SKIPPED')
518518

519519
else:
520-
if ptnet_reduced is None or (ptnet_reduced is not None and len(ptnet_reduced.places) > 0):
521-
methods += ['WALK', 'STATE-EQUATION', 'INDUCTION', 'BMC', 'K-INDUCTION', 'PDR-REACH', 'PDR-REACH-SATURATED']
520+
methods += ['WALK', 'STATE-EQUATION', 'INDUCTION', 'BMC', 'K-INDUCTION', 'PDR-REACH', 'PDR-REACH-SATURATED']
522521

523-
if not formula.non_monotonic:
524-
methods.append('PDR-COV')
525-
if results.mcc:
526-
methods.remove('PDR-REACH-SATURATED')
527-
528-
else:
522+
if not formula.non_monotonic:
523+
methods.append('PDR-COV')
524+
525+
if fully_reducible:
529526
# Run SMT / CP methods
530-
methods = ['SMT', 'CP']
527+
methods += ['SMT', 'CP']
528+
531529
# Keep only enabled methods
532530
methods = list(set(methods) & set(results.methods))
533531

0 commit comments

Comments
 (0)