You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9835c3a
Browse filesBrowse the repository at this point in the historyBrowse files
Keep a static final constant's name in refinement errors
Folding replaced every resolved constant with its value, so Found showed
mode == 2 where the code wrote ImageWriteParam.MODE_EXPLICIT. A constant
is now replaced by its value only when the expression around it folds
(MODE_EXPLICIT + 1 becomes 3); otherwise it keeps its name. The SMT
encoding is unchanged: the constant is still bound to its value.
The counterexample filter compares a named constant in Found with its
value in the model, so mode == 2 is not repeated as a counterexample.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments