-
Notifications
You must be signed in to change notification settings - Fork 57
Command to get theorem type #101
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: master
Are you sure you want to change the base?
Command to get theorem type #101
Conversation
This is an interesting feature in my opinion. REPL has extraction capabilities centered around tactics, and I believe that adding some for declarations could be nice. #96 is related to this in that sense. |
@augustepoiroux thanks for the feedback! I moved this to a flag |
…from allTactics and rootGoals)
Added a new command that retrieves the corresponding type for a definition.
Given that the approach of separate lemmas is becoming more popular, this might be interesting to have.
Consider the following:
which is the current approach, for example used in DeepSeekProver v2.
This is inherently redundant. Importantly, the proof of A, B is not necessary in C.
Instead, one can now write
and compose via