aboutsummaryrefslogtreecommitdiff
path: root/doc/RefMan-tacex.tex
diff options
context:
space:
mode:
authorherbelin2001-09-24 20:34:25 +0000
committerherbelin2001-09-24 20:34:25 +0000
commit5cf95106d590fc6bd393c71db2b57179983b2d27 (patch)
treee5a662a51ef2ced747f41219a0d39e28319775e0 /doc/RefMan-tacex.tex
parent15e6ecfb6fee27d926cdd2f59bda4531b8ed3879 (diff)
Mise en place avertissements pour rep�rer les erreurs volontaires de coq-tex
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8226 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc/RefMan-tacex.tex')
-rw-r--r--doc/RefMan-tacex.tex11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/RefMan-tacex.tex b/doc/RefMan-tacex.tex
index 49dd8a437e..b7f9680b3f 100644
--- a/doc/RefMan-tacex.tex
+++ b/doc/RefMan-tacex.tex
@@ -121,6 +121,11 @@ Goal (R n p).
The direct application of {\tt Rtrans} with {\tt Apply} fails because
no value for {\tt y} in {\tt Rtrans} is found by {\tt Apply}:
+\begin{coq_eval}
+(********** The following is not correct and should produce **********)
+(**** Error: generated subgoal (R n ?17) has metavariables in it *****)
+(* Just to adjust the prompt: *) Set Printing Depth 50.
+\end{coq_eval}
\begin{coq_example}
Apply Rtrans.
\end{coq_example}
@@ -192,7 +197,7 @@ The definition of principle of mutual induction for {\tt tree} and
{\tt forest} over the sort {\tt Set} is defined by the command:
\begin{coq_eval}
-Restore State Initial.
+Reset Initial.
Variables A,B:Set.
Mutual Inductive tree : Set := node : A -> forest -> tree
with forest : Set := leaf : B -> forest
@@ -226,7 +231,7 @@ Check forest_tree_rec.
Let {\tt odd} and {\tt even} be inductively defined as:
\begin{coq_eval}
-Restore State Initial.
+Reset Initial.
\end{coq_eval}
\begin{coq_example*}
@@ -299,7 +304,7 @@ Let's consider the relation \texttt{Le} over natural numbers and the
following variables:
\begin{coq_eval}
-Restore State Initial.
+Reset Initial.
\end{coq_eval}
\begin{coq_example*}