Skip to content

Commit

Permalink
Minor fix in doc for [unfold]
Browse files Browse the repository at this point in the history
Close coq#9634
  • Loading branch information
SkySkimmer committed Nov 25, 2019
1 parent cfa4e50 commit 461538c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/sphinx/proof-engine/tactics.rst
Expand Up @@ -3281,11 +3281,13 @@ the conversion in hypotheses :n:`{+ @ident}`.
defined transparent constant or local definition (see
:ref:`gallina-definitions` and
:ref:`vernac-controlling-the-reduction-strategies`). The tactic
:tacn:`unfold` applies the :math:`\delta` rule to each occurrence of
the constant to which :n:`@qualid` refers in the current goal and
then replaces it with its :math:`\beta`:math:`\iota`-normal form.
:tacn:`unfold` applies the :math:`\delta` rule to each occurrence
of the constant to which :n:`@qualid` refers in the current goal
and then replaces it with its :math:`\beta\iota\zeta`-normal form.
Use the general reduction tactics if you want to avoid this final
reduction, for instance :n:`cbv delta [@qualid]`.

.. exn:: @qualid does not denote an evaluable constant.
.. exn:: Cannot coerce @qualid to an evaluable reference.

This error is frequent when trying to unfold something that has
defined as an inductive type (or constructor) and not as a
Expand Down

0 comments on commit 461538c

Please sign in to comment.