-
Notifications
You must be signed in to change notification settings - Fork 15
WIP - Implement Generalizer #1022
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
import SSA.Experimental.Bits.Fast.Defs | ||
import SSA.Experimental.Bits.Fast.FiniteStateMachine | ||
import SSA.Experimental.Bits.Fast.Attr | ||
import SSA.Experimental.Bits.Fast.Decide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tactic should not depend on Mathlib or SSA, no?
(fun ix => inputs.map ⟨fun input => Inputs.mk ix input, by intros a b; simp⟩) | ||
⟨out, by | ||
⟨out, by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes seem unrelated, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are unrelated. My editor keeps removing these trailing whitespaces, which seems to be according to the setting here, but I'm not sure why they were present before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be worth to commit these whitespace separately, so this diff is clean and our codebase is also cleaner.
BVExpr.shiftRight (substituteBVExpr lhs) (substituteBVExpr rhs) | ||
| .arithShiftRight lhs rhs => | ||
BVExpr.arithShiftRight (substituteBVExpr lhs) (substituteBVExpr rhs) | ||
| _ => bvExpr --TODO: handle other constructors? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, you need to handle all constructors which contain expressions
a972112
to
47493ff
Compare
…ins; constraint constants when bitshifts are involved; cleanup, etc
No description provided.