Qed fails on typechecking valid proof using native_compute #18961
Labels
kind: bug
An error, flaw, fault or unintended behaviour.
part: modules
The module system of Coq.
part: native compiler
Description of the problem
The given code example gives the following error on version 8.19.0:
line 22, characters 0-4: Error: The recursive definition "fun _ : BinNums.positive => BinPos.Pos.IsNeg" has type "BinNums.positive -> BinPos.Pos.mask" while it should be "BinNums.positive -> BinPos.Pos.mask".
The same proof using cbv or vm_compute works fine. The error gets triggered on the Qed, not the native_compute step.
Triggers both in coq 8.19.0 and the current master branch.
Small Coq file to reproduce the bug
Version of Coq where this bug occurs
8.19.0
Last version of Coq where the bug did not occur
No response
The text was updated successfully, but these errors were encountered: