-
Notifications
You must be signed in to change notification settings - Fork 34
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
Beta-reduction not doing what I expect #385
Comments
You need to add
This still isn't quite enough for some reason though, I guess the invisible annotations make it not match |
What do you mean by "invisible annotations"? Is there something I can do to make it match? |
Each application node is annotated with the domain and codomain of the function. An applied lambda must have matching annotations to beta reduce. (the application being well typed does not imply that the annotations are the same because we don't have pi injectivity)
It's been a while since I touched andromeda so I don't remember how to make things work / what things can be made to work. |
Ah right. Is there a way to display those annotations? I did notice that nothing has been done on andromeda for a year. Have you all given up on it? |
The following code fails:
with the error "failed to check that ... and ... are equal". However, they are in fact equal, as I can verify with some manual help:
Now I know that equality in general is undecidable, but I'm surprised that the standard beta-reduction algorithm isn't able to check this equality. It gets almost all the way there (the equality
test
), while the rest is just a couple ofbeta_step
s and somecongr_apply
s, which seems like it ought to be doable automatically. Are there any extra hints I can give to the algorithm that will enable it to check this equality?The text was updated successfully, but these errors were encountered: