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

Add ability to solve unification constraints separately of elaboration of surface syntax #8

Open
Russoul opened this issue Dec 8, 2023 · 0 comments

Comments

@Russoul
Copy link
Owner

Russoul commented Dec 8, 2023

In extensional type theory we can solve definitional equality constraints via propositional equality, thanks to equality reflection.
That means we can postpone resolution of constraints as far ahead as the end of elaboration of definition/file/module/project!

Moreover, solving those constraints doesn't anyhow change the syntax (nor core nor surface). That's 100% virtual activity, unlike intensional type theory, where solving definitional equality via propositional is only legitimate if we add in transports/coercions along those solutions into the syntax.

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

No branches or pull requests

1 participant