-
Notifications
You must be signed in to change notification settings - Fork 452
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
chore: add refl attribute to Eq.refl #3773
Conversation
Mathlib CI status (docs):
|
Now |
Ugh. (I guess Mathlib has been doing this all along, for what it's worth, but still this is no good.) I'm heading off to bed, but I guess we want to change |
Is it this line where we need this? lean4/src/Lean/Elab/Tactic/Rewrites.lean Line 66 in e8a2786
But Ah, maybe it’s this line: lean4/src/Lean/Meta/Tactic/Rewrites.lean Line 143 in e8a2786
Could this just use the Or else run Lean.MVarId.refl first and |
@nomeata That second place looks like the right place. It strikes me as a little strange to have two extension mechanisms for extending With the current system, I think the right approach is to use the elaborator Any disagreement? |
My attempt at consolidating is in #3714, and I plan to return to that. Until then, evalTactic is certainly a reasonable choice. |
I looked into this, and I think using the attribute here is reasonable while we have two mechanisms like this. |
Looks like #3783 subsumes this? |
Without this attribute,
rw?
doesn't work.