-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize affine terms when substituting.
When substituting terms for auxiliary variables, when the auxiliary variable occurs in an affine term and the substituted term is an affine term or a term that equals another term in the affine sum, the resulting term would no longer be normalized. Since we rely in other places, that all terms are normalized, we now detect affine terms, convert them to SMTAffineTerm, substitute them and convert back. This way all affine terms stay normalized.
- Loading branch information
Showing
2 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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