diff options
Diffstat (limited to 'doc/refman/RefMan-pro.tex')
-rw-r--r-- | doc/refman/RefMan-pro.tex | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/doc/refman/RefMan-pro.tex b/doc/refman/RefMan-pro.tex index 4c333379b..8ba28b32f 100644 --- a/doc/refman/RefMan-pro.tex +++ b/doc/refman/RefMan-pro.tex @@ -477,21 +477,34 @@ names. \item{\tt Show Intro.}\comindex{Show Intro}\\ If the current goal begins by at least one product, this command prints the name of the first product, as it would be generated by -an anonymous {\tt Intro}. The aim of this command is to ease the +an anonymous {\tt intro}. The aim of this command is to ease the writing of more robust scripts. For example, with an appropriate {\ProofGeneral} macro, it is possible to transform any anonymous {\tt - Intro} into a qualified one such as {\tt Intro y13}. + intro} into a qualified one such as {\tt intro y13}. In the case of a non-product goal, it prints nothing. \item{\tt Show Intros.}\comindex{Show Intros}\\ This command is similar to the previous one, it simulates the naming -process of an {\tt Intros}. +process of an {\tt intros}. \item{\tt Show Existentials.\label{ShowExistentials}}\comindex{Show Existentials} \\ It displays the set of all uninstantiated existential variables in the current proof tree, along with the type and the context of each variable. +\item{\tt Show Match {\ident}.\label{ShowMatch}}\comindex{Show Match}\\ +This variant displays a template of the Gallina {\tt match} construct +with a branch for each constructor of the type {\ident}. + +Example: + +\begin{coq_example} +Show Match nat. +\end{coq_example} +\begin{ErrMsgs} +\item \errindex{Unknown inductive type} +\end{ErrMsgs} + \item{\tt Show Universes.\label{ShowUniverses}}\comindex{Show Universes} \\ It displays the set of all universe constraints and its normalized form at the current stage of the proof, useful for |