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
Error: Anomaly "Uncaught exception Failure("hd")." Please report at http://coq.inria.fr/bugs/. with overlapping names in Constrintern.check_or_pat_variables #17854
Labels
kind: anomaly
An uncaught exception has been raised.
Milestone
Comments
JasonGross
added
kind: anomaly
An uncaught exception has been raised.
part: existential variables
Existential variables, also known as evars, represent as yet unknown values in a proof.
labels
Jul 14, 2023
And, indeed, here's a smaller example: Check fun b : bool
=> match b, b with
| true as a, true as a
| true as a, _
=> true
| _, _ => false
end. |
JasonGross
removed
the
part: existential variables
Existential variables, also known as evars, represent as yet unknown values in a proof.
label
Jul 14, 2023
JasonGross
changed the title
Error: Anomaly "Uncaught exception Failure("hd")." Please report at http://coq.inria.fr/bugs/. with evars in Constrintern.internalize.intern_disjunctive_multiple_pattern / Constrintern.check_or_pat_variables
Error: Anomaly "Uncaught exception Failure("hd")." Please report at http://coq.inria.fr/bugs/. with overlapping names in Constrintern.check_or_pat_variables
Jul 14, 2023
herbelin
added a commit
to herbelin/github-coq
that referenced
this issue
Jul 14, 2023
…ctive patterns.
2 tasks
Thanks for the short example. The check for duplicate variables in a list of patterns and the check for a same set of bound variables in a disjunction of patterns were done in the wrong order, resulting in a wrong invariant for the second check. Fixed by PR #17857. |
herbelin
added a commit
to herbelin/github-coq
that referenced
this issue
Sep 1, 2023
This happens to be another instance of a problem partially addressed in coq#17854.
herbelin
added a commit
to herbelin/github-coq
that referenced
this issue
Sep 1, 2023
This happens to be another instance of a problem partially addressed in coq#17854.
herbelin
added a commit
to herbelin/github-coq
that referenced
this issue
Sep 1, 2023
This happens to be another instance of a problem partially addressed in coq#17854.
herbelin
added a commit
to herbelin/github-coq
that referenced
this issue
Sep 2, 2023
This happens to be another instance of a problem partially addressed in coq#17854.
Villetaneuse
pushed a commit
to Villetaneuse/coq
that referenced
this issue
Sep 9, 2023
This happens to be another instance of a problem partially addressed in coq#17854.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the problem
According to the backtrace, the use of floats is probably not relevant, cc @herbelin for deep pattern matching issues?
Backtrace (from
Compute
rather thanCheck
)This is the error message in
coq/interp/constrintern.ml
Lines 1464 to 1475 in 99f5ecc
so I'm guessing the problem is that this code is not robust to duplicated identifiers?
Coq Version
8.17.0
The text was updated successfully, but these errors were encountered: