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

Bug with type polymorphism #5

Open
bmsherman opened this issue Feb 6, 2019 · 0 comments
Open

Bug with type polymorphism #5

bmsherman opened this issue Feb 6, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@bmsherman
Copy link
Member

This normal form is worrisome, with the F type variable left there. Even if perhaps that type variable doesn't matter, it's visually wrong.
The code comes from this definition:
https://github.com/psg-mit/marshall/blob/master/examples/cad.asd#L125-L128

# unit_cone;;
- : (real*real*real -> bool) -> bool = fun P : F -> bool => mkbool (forall x : [0.0, 1.] , forall x40 : [-1., 1.] , forall x24 : [-1., 1.] , 1. < x40 ^ 2 + x24 ^ 2 \/ is_true (P (x, x * x40, x * x24))) (exists x : [0.0, 1.] , exists x39 : [-1., 1.] , exists x23 : [-1., 1.] , x39 ^ 2 + x23 ^ 2 < 1. /\ is_false (P (x, x * x39, x * x23)))
@bmsherman bmsherman added the bug Something isn't working label Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant