Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

induction eliminator #73

Closed
Seasawher opened this issue May 4, 2024 · 1 comment
Closed

induction eliminator #73

Seasawher opened this issue May 4, 2024 · 1 comment

Comments

@Seasawher
Copy link
Member

Seasawher commented May 4, 2024

Added @[induction_eliminator] and @[cases_eliminator] attributes to be able to define custom eliminators for the induction and cases tactics, replacing the @[eliminator] attribute. Gives custom eliminators for Nat so that induction and cases put goal states into terms of 0 and n + 1 rather than Nat.zero and Nat.succ n. Added option tactic.customEliminators to control whether to use custom eliminators. Added a hack for rcases/rintro/obtain to use the custom eliminator for Nat. #3629, #3655, and #3747.

https://github.com/leanprover/lean4/blob/master/RELEASES.md#v480

@Seasawher
Copy link
Member Author

Lean v4.8.0 からの新機能だが,詳細不明

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant