-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify numerical expressions in SMT-LIB printers
The modifications done in PR #970 are to risky for what we need. This commit simplifies some numerical expressions printed in the SMT-LIB format. The simplifcations are as follows: `0 + x -> x` `x + 0 -> x` `1 * x -> x` `x * 1 -> x` `(0 - 1) * x -> 0 - x` `x * (0 - 1) -> 0 - x` `x / 1 -> x` `x / (-1) -> 0 - x`
- Loading branch information
Showing
1 changed file
with
194 additions
and
145 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