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

Un-reduced type constructor variables #5

Open
alexfmpe opened this issue Jan 10, 2023 · 0 comments
Open

Un-reduced type constructor variables #5

alexfmpe opened this issue Jan 10, 2023 · 0 comments

Comments

@alexfmpe
Copy link
Contributor

While a -> a and (a -> b) -> [a] -> [b] have their relation variables reduced into functions, that's not the case for (forall x. a x -> a x) and (a -> b) -> f a -> f b, so we don't end up without a equal/inequal theorem.

free-map

The problem is that unfoldFormula simply returns return . Predicate . IsMember x y $ rel for RelConsFunVar (with #3) and RelTypeConsApp. I'm not sufficiently familiar with free theorem derivation to know what they should return instead though.

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