-
Notifications
You must be signed in to change notification settings - Fork 459
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
feat: builtin as_aux_lemma tactic and tree_tac simp attribute #6823
Conversation
700085c
to
3234792
Compare
Is it correct that such a purely internal change should not be part of the changelog? |
Is there a reason why |
Mathlib CI status (docs):
|
I'm not sure yet whether the
@nomeata The reason I was hesitating to think of this as a tactic used outside lean itself is because using |
This PR adds a builtin tactic and a builtin attribute that are required for the tree map. The tactic,
as_aux_lemma
, can generally be used to wrap the proof term generated by a tactic sequence into a separate auxiliary lemma in order to keep the proof term small. This can, in rare cases, be necessary if the proof term will appear multiple times in the encompassing term. The new attribute,Std.Internal.tree_tac
, is internal and should not be used outside ofStd
.