-
Notifications
You must be signed in to change notification settings - Fork 632
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
Extraction fails with 'The informative inductive type sigT has a Prop instance' #10749
Comments
Also, changing the extraction language to JSON or Scheme produces the same message ("The Ocaml extraction cannot handle this situation yet."). |
Inductive unit_type : Type := tt_type.
Check unit_type. (* : Prop *) See #7424 |
The message might a bit confusing, but this is a traditional limitation of extraction. Since |
Thanks. Can you clarify why extracting to Haskell works, then?
Thanks; is the issue really just that? In my non-simplified example, I'm running into is with a sigT that contains two instances of
If I change to a |
Using |
When extracting to Haskell, Coq (ab)uses the lazyness of the language. In other words, applying |
Description of the problem
In the following example, a
sigT
of twoType
s fails to extract, printing an error message about props:The error message is this:
… but I don't see any props in here. Is this a bug?
Coq Version
Confirmed on 8.4pl6, 8.7.2, 8.9.1, and master.
The text was updated successfully, but these errors were encountered: