Open francoisthire opened 6 years ago
Good catch.
May I ask, out of curiosity, in which context are you using the beautifier ?
There are two issues here: first eq
gets an extra (anonymous) argument; second the notation for equality is reused.
May I ask, out of curiosity, in which context are you using the beautifier ?
These files are generated from the Logipedia project: http://logipedia.science . The printer we use for this project is very basic and I wanted to use the beautifier to enhance the output.
Version
The Coq Proof Assistant, version 8.8.1 (September 2018) compiled on Sep 24 2018 15:30:31 with OCaml 4.04.2
Operating system
Ubuntu 16.04.5 LTS
Description of the problem
On the following code (that is well-typed)
Running the command
coqc -beautify
gives meThat is clearly not well-typed. The problem is in the type of
eq_ind
where the constanteq
is replaced by the inductive equality used in the standard library while it should not.