-
Notifications
You must be signed in to change notification settings - Fork 150
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
Add class KoreDefn
#4712
Add class KoreDefn
#4712
Conversation
Based on an ad-hoc experiment, for For |
cabb057
to
7602323
Compare
I agree we are carrying around some (typically auto-generated) payload that we won't usually need (those BTW does the "rewriting" include function equations? Because obviously function symbols don't appear in rewrite rules on the LHS, they can only be on the RHS. |
That's fair. In this particular case though, we need this transformation for the Lean 4 backend, where only rewrite rules are relevant (or just some of them, which will be a generalization of this transformation). Edit: #4712 (comment)
Yes, for those function symbols that appear in rewrite rules (transitively). |
fd1f6a5
to
bb4dd7a
Compare
I ran into a corner case for this actually: the |
e83fa6f
to
e982156
Compare
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.
LGTM
638559f
into
develop
Definition
: sorts, symbols, the sort ordering, rewrite and function rules.project_to_rewrites
removes all sorts, symbols and function rules that are not relevant for rewriting.