I noticed notations can be treated differently. For example <
is just notation for a regular definition and unfold "<"
does work as in the following example:
Theorem a : 4 < 5.
Proof.
unfold "<".
However, <=
is notation associated with the type le
and for some reason unfold "<="
doesn't work, as in the following example:
Theorem a : 4 <= 5
Proof.
unfold "<=".
which fails with Unable to interpret "<=" as a reference
.
Can I convert 4 <= 5
into le 4 5
with some ltac command?