Open ejgallego opened 1 year ago
Hum, I believe it is a "race" condition between using primitive notations and using abbreviations/notations, the former taking precedence over the latter independently of which declaration is most recent. You can probably consider it a Coq oddity to eventually be addressed.
Thanks @herbelin , I thought that was a problem with the coq-lsp setup, but indeed it prints badly in Coq too, not only for numeric notations, also min
is printed in the goal as Nat.min
.
That makes some developments to look weird.
Not sure if I should submit this as a Coq bug.
I tested it for a regular axiom (no number notations) and the issue persists. i.e.
Axiom A : Type.
Axiom a : A.
Notation a' := a.
Goal a' = a.
Yup, same for CoqIDE back to 8.15
@Alizter not sure about the tags here, but we are gonna need a way to classify a large number of issues / bugs that are really upstream.
Actualy moving this to the Coq namespace as you suggested would allow us to transfer the issues more easily.
The following document prints badly:
In both cases the abbreviation won't be properly printed.
I've confirmed this is a Coq bug, fails on v8.15, v8.16, v8.17,
master
using CoqIDE.