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

Error on compiling #229

Closed
mizlan opened this issue Jan 15, 2024 · 3 comments
Closed

Error on compiling #229

mizlan opened this issue Jan 15, 2024 · 3 comments

Comments

@mizlan
Copy link

mizlan commented Jan 15, 2024

Coq 8.18, OCaml 4.10.2

when running make -C proofs

COQC List.v
File "./List.v", line 163, characters 0-374:
Error:
Unable to satisfy the following constraints:
In environment:
merge : forall A : Type, (A -> A -> Z) -> list A -> list A -> list A
A : Type
cmp : A -> A -> Z
l1, l3 : list A
merge_aux : list A -> list A
l2, l, l0 : list A
h1 : A
t1 : list A
h2 : A
t2 : list A

?H : "StrictOrder ?R"

?H0 : "OrderDec ?H"
@mizlan
Copy link
Author

mizlan commented Jan 15, 2024

It seems Z_le_dec works in place of Stdlib.le in the merge function in proofs/List.v

@clarus
Copy link
Collaborator

clarus commented Jan 15, 2024

OK thanks for the report! I am able to reproduce the bug, looking for a fix.

@clarus
Copy link
Collaborator

clarus commented Jan 28, 2024

The issue should now be fixed on the master branch thanks to #230 !

@clarus clarus closed this as completed Jan 28, 2024
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

2 participants