Repository navigation
Add smt.finite_set.lattice_refutation parameter to control lattice refutation code path - #8247
Merged
Nikolaj Bjorner (NikolajBjorner) merged 3 commits intoJan 21, 2026
Conversation
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add parameter to enable or disable lattice refutation in finite set
Add smt.finite_set.lattice_refutation parameter to control lattice refutation code path
Jan 19, 2026
Nikolaj Bjorner (NikolajBjorner)
marked this pull request as ready for review
January 20, 2026 06:16
Nikolaj Bjorner (NikolajBjorner)
merged commit Jan 21, 2026
2f8342a
into
finite-sets
30 of 31 checks passed
Nuno Lopes (nunoplopes)
deleted the
copilot/add-lattice-refutation-parameter
branch
January 22, 2026 08:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a parameter to selectively enable/disable the lattice refutation optimization in
theory_finite_set.Changes
smt_params_helper.pyg): Addedfinite_set.lattice_refutationboolean parameter (default:true)smt_params.h,smt_params.cpp): Added member variable and initializationtheory_finite_set.cpp): Guarded calls tom_lattice_refutation.add_equality()andm_lattice_refutation.add_disequality()with parameter checktheory_finite_set_lattice_refutation.cpp): Corrected include syntax foriostreamUsage
The parameter follows existing Z3 conventions and maintains backward compatibility with default enabled behavior.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.