diff options
| author | herbelin | 2002-09-16 17:10:50 +0000 |
|---|---|---|
| committer | herbelin | 2002-09-16 17:10:50 +0000 |
| commit | 53502fc2476af73aeaa805e77b15c22c40768810 (patch) | |
| tree | 55a46da6537915a578070bca07d47010c939eaaf | |
| parent | 347d8c7e6baa58a44ab6f988060b416b4936316e (diff) | |
Correction typo d'un but Tauto
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8293 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | doc/RefMan-tac.tex | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/RefMan-tac.tex b/doc/RefMan-tac.tex index 6358bc1c8f..fb2240123d 100644 --- a/doc/RefMan-tac.tex +++ b/doc/RefMan-tac.tex @@ -1644,15 +1644,33 @@ would fail: Intros. Tauto. (* Auto would fail *) \end{coq_example} +\begin{coq_eval} + Abort. +\end{coq_eval} Moreover, if it has nothing else to do, {\tt Tauto} performs introductions. Therefore, the use of {\tt Intros} in the previous proof is unnecessary. {\tt Tauto} can for instance prove the following: \begin{coq_example} - Goal (A:Prop)(P:nat->Prop)(A \/ (x:nat) ~A -> (P x)) -> (x:nat) A -> (P x). + Goal (A:Prop)(P:nat->Prop)(A \/ (x:nat) ~A -> (P x)) -> (x:nat) ~A -> (P x). Tauto. \end{coq_example} +\begin{coq_eval} + Abort. +\end{coq_eval} + +\Rem In contrast, {\tt Tauto} cannot solve the following goal + +\begin{coq_example*} +Goal (A:Prop)(P:nat->Prop)(A \/ (x:nat) ~A -> (P x)) -> (x:nat) ~~ (A \/ (P x)). +\end{coq_example*} +\begin{coq_eval} +Abort. +\end{coq_eval} + +because \verb=(x:nat) ~A -> (P x)= cannot be treated as atomic and an +instantiation of \verb=x= is necessary. \subsection{\tt Intuition {\tac}} \tacindex{Intuition}\label{Intuition} |
