hierarchy-builder icon indicating copy to clipboard operation
hierarchy-builder copied to clipboard

C.axioms_ appears when printing

Open Tragicus opened this issue 2 years ago • 1 comments

The axioms_ record of a structure C is hidden behind a notation. However, when printing, the notation does not print C, as in

From HB Require Import structures.

HB.mixin Record isC (T : Type) := {}.
HB.structure Definition C := {T of isC T}.

Check (C _).

which prints

C.axioms_ ?T
     : Type
where
?T : [ |- Type]

Tragicus avatar Nov 28 '23 09:11 Tragicus

I wonder how much of a bug of Coq this is.

CohenCyril avatar Jan 22 '24 12:01 CohenCyril