Skip to content

Commit 1e8fc77

Browse files
committed
Merge branch 'main' into cc3-test
2 parents ab8f4bd + 32a592e commit 1e8fc77

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

popper/loop.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,9 @@ def run(self, bkcons):
425425
print('\t', 'REDUCIBLE_1:', '\t', ','.join(format_literal(literal) for literal in x))
426426
new_cons.append((Constraint.UNSAT, x))
427427

428-
if not add_spec and not pruned_more_general and settings.datalog and not settings.recursion_enabled:
428+
# CHECK WHETHER THE PROGRAM DOES NOT DISCRIMINATE AGAINST NEGATIVE EXAMPLES
429+
# this paper outlines the idea: # https://arxiv.org/pdf/2502.01232
430+
if not add_spec and not pruned_more_general and settings.datalog and not settings.recursion_enabled and num_neg > 0:
429431
with settings.stats.duration('check_reducible2'):
430432
bad_prog = self.check_neg_reducible(prog)
431433
if bad_prog:

0 commit comments

Comments
 (0)