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

Coq's representation of match branches #9

Open
aa755 opened this issue May 4, 2017 · 0 comments
Open

Coq's representation of match branches #9

aa755 opened this issue May 4, 2017 · 0 comments

Comments

@aa755
Copy link
Owner

aa755 commented May 4, 2017

Our translations assume that Coq represents a match branch for a constructor c a1...an as fun a1 ... an => ..., i.e. the body of the branch begins with as many lambdas as the number of the arguments of the constructor. This is almost always the case. However, for some examples (Gcd Function), Coq seems to violate this invariant. Either template-coq (reifier) or our translation needs to detect such violations and eta-expland to enforce back the invariant.

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

No branches or pull requests

1 participant