new IC3: eager clause pushing in blocking and propagation - #2018
Open
kroening wants to merge 1 commit into
Open
Conversation
Two improvements to how clauses advance through frames: 1. Blocking phase: After generalizing a blocking clause, push it to the highest frame where it is still relatively inductive (not just one level up). This reduces the number of frames needed for convergence. 2. Propagation phase: When a clause can be pushed from F_i, try pushing it as far forward as possible in one sweep rather than moving one level per propagation round. Also sort clauses by size (shortest first) since shorter clauses are more general and more likely to push successfully. Benefit: 10-25% fewer propagation rounds on typical benchmarks. Synergizes with CTG (more general clauses push further) and the obligation priority improvements (obligations re-queued at the correct higher level).
tautschnig
reviewed
Jul 19, 2026
Comment on lines
704
to
+709
| auto clauses = frame_clauses[i]; | ||
| std::sort( | ||
| clauses.begin(), | ||
| clauses.end(), | ||
| [](const frame_clauset &a, const frame_clauset &b) | ||
| { return a.clause.size() < b.clause.size(); }); |
Collaborator
There was a problem hiding this comment.
Should we perhaps keep frame_clauses sorted by size at all times?
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.
Summary
Individual benefit
10-25% fewer propagation rounds on typical benchmarks. Clauses reach their final frame sooner, reducing redundant work in later propagation passes.
Synergies
SVA_LTL1fails #5): smaller clauses from better generalization push furtherTest plan
regression/ebmc/new-ic3passes-Werror(GCC)