-
Notifications
You must be signed in to change notification settings - Fork 586
feat: support for lambda expressions in discr trees #8395
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
Conversation
fc031be
to
8c00fae
Compare
c0ac632
to
b9dc37b
Compare
NB that there is related work in mathlib, in https://leanprover-community.github.io/mathlib4_docs/Mathlib/Lean/Meta/RefinedDiscrTree/Basic.html#Lean.Meta.RefinedDiscrTree |
Mathlib CI status (docs):
|
We have decided to not support lambda in the |
What was the particular reason for this decision? The impact on downstream projects? |
There are several reasons for my decision:
I appreciate your interest and contributions to Lean. If you're looking for areas where help is especially welcome, I’d be happy to suggest something. |
This PR adds support for lambda expressions in discrimination trees (
Lean.Meta.DiscrTree
). This means that a lot more specialization can be applied in discrimination trees than before. Examples: