Type-checking error in Harpoon in variable case for schemas with higher-order LF types #234
Labels
A | core
affecting the typechecker
A | harpoon
affecting the Harpoon interactive prover
B | bug
unexpected or incorrect behaviour
Load the following signature using Harpoon:
Then, input the following commands:
The following error is thrown:
Using the debug mode, the full backtrace for this error is:
Removing
termbind-reg
from the schemacan-md-fst-ctx
as in the following signature, we get a different error message, which reads:It seems that Harpoon does not properly handle higher-order LF types in schema declarations, at least when reconstructing variable cases involving them.
That particular variable case is expected to be solvable using
solve [_ |- can-md-fst/i _ #p.dfst]
.The
Not_found
error may be unrelated to theType-checking
error since the former involves schemas comprised of alternating assumptions which currently raise errors (see #233).The text was updated successfully, but these errors were encountered: