Skip to content
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

Unification should work on normal forms #170

Open
BinderDavid opened this issue Mar 25, 2024 · 0 comments
Open

Unification should work on normal forms #170

BinderDavid opened this issue Mar 25, 2024 · 0 comments
Labels
enhancement New feature or request unification

Comments

@BinderDavid
Copy link
Collaborator

Currently the equations solved in the unifier are arbitrary expressions. We should change this so that unification only works on normal forms / neutral terms. If we generate a non-normal form by substitution in a constraint then we should immediately normalize that constraint.

The reason is that we probably want to implement Miller's pattern fragment of higher-order unification, and most presentations of that algorithm work on neutral terms which represent the application spine (or the destructor chain in our generalized system).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unification
Projects
None yet
Development

No branches or pull requests

2 participants