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

Align Hydra's epsilon encoding with the Lambda Graph spec #89

Open
joshsh opened this issue Jun 12, 2023 · 0 comments
Open

Align Hydra's epsilon encoding with the Lambda Graph spec #89

joshsh opened this issue Jun 12, 2023 · 0 comments

Comments

@joshsh
Copy link
Collaborator

joshsh commented Jun 12, 2023

Hydra's epsilon encoding (which maps types to terms, found in Hydra.CoreEncoding and Hydra.CoreDecoding, currently only in Haskell) is not a faithful implementation of the epsilon encoding described in the Lambda Graph spec. This is one of the few remaining points of misalignment between Hydra and the spec. The reasons are practical ones, e.g. encoding "forall" types as lambda terms (as opposed to records) causes certain problems. Determine whether these problems lie with the implementation, or with the specification. Some assumptions have been made about the epsilon encoding in the spec which have not yet been proven (e.g. that type reduction can be performed by first epsilon-encoding a type, applying term reduction, then decoding the type). Prove or disprove them.

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

No branches or pull requests

1 participant