-
Notifications
You must be signed in to change notification settings - Fork 292
feat(tactic/converter): Add an exact tactic, to allow dropping back into tactic mode #4615
Conversation
|
What happens when you apply this to a |
|
Well, |
|
Could you please add a test case? |
| introduced which are impossible to close with `conv` tactics. Note that goals like `⊢ a = 0` will | ||
| be displayed by conv mode as `| a`, making the problem difficult to diagnose at times. |
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.
Is this fixable, by checking whether the RHS is a metavariable when displaying the goal?
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.
I think the fix would have to be within lean itself. That would certainly be better than what happens today, but it doesn't strike me as exhaustive.
|
Ah, ok, so usually a goal |
|
I second the requests for tests and additional doc comments. This looks fine to me as a stopgap. Longer term I think we should reexamine the |
|
This is now a different problem in Lean 4 (does it need solving?). To be revisited after the port. |
https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/Closing.20.60.E2.8A.A2.60.20goals.20in.20.60conv.60.20mode/near/212181256
I no longer have any PRs which depend on this.
This would be a stop-gap until leanprover-community/lean#475 is resolved.