Skip to content

Filter Duplicate Counterexample Assignments#204

Open
rcosta358 wants to merge 1 commit intomainfrom
counterexample-order-insensitive
Open

Filter Duplicate Counterexample Assignments#204
rcosta358 wants to merge 1 commit intomainfrom
counterexample-order-insensitive

Conversation

@rcosta358
Copy link
Copy Markdown
Collaborator

This PR improves counterexample filtering by only keeping assignments for variables that appear in the found expression and whose exact assignments are not already present there. This avoids relying on a full string comparison between the counterexample and the found expression, which could fail when the same assignments appeared in a different order.

Example

Before

image

After

image

@rcosta358 rcosta358 self-assigned this Apr 6, 2026
@rcosta358 rcosta358 added the error messages Related to error messages label Apr 6, 2026
@rcosta358 rcosta358 requested a review from CatarinaGamboa April 6, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

error messages Related to error messages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant