Skip to content

The tool does not recognize λn. n as eta-equivalent to the Church 1 (λfn. f n). #40

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

Open
anton-trunov opened this issue Jun 7, 2017 · 6 comments

Comments

@anton-trunov
Copy link

anton-trunov commented Jun 7, 2017

This might prevent it from recognizing E := λmn. n m as a solution to the exponentiation problem. (I can't check it right now). But it certainly does not help when testing.

@evinism
Copy link
Owner

evinism commented Jun 7, 2017

Thank you so much for contributing! I guess I'd love to know a little more about the theory here-- do we generally consider eta equivalence rather than just alpha equivalence when asking "is this church numeral 1?"

@anton-trunov
Copy link
Author

Most sources seem to do so. E.g. when converting from a Church numeral to, say, integer one usually passes a (+1) function as the first argument and 0 as the second -- λfz. f z gets converted to 1, so does λx. x.

@evinism
Copy link
Owner

evinism commented Jun 8, 2017

Solid, I'll implement that then(or you can if you want)!
some links for reference would be good, too, if you're willing.

@anton-trunov
Copy link
Author

Off the top of my head: Wikipedia and "Types and Programming Languages" by B. Pierce assume eta-equivalence.

@evinism
Copy link
Owner

evinism commented Oct 1, 2017

implemented in #51, still waiting on getting the book so i actually know what i'm doing

@anton-trunov
Copy link
Author

Cool! Will try the tool again in some time! Thanks!

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

2 participants