diff options
| author | Hugo Herbelin | 2014-09-10 10:18:24 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2014-09-10 10:58:06 +0200 |
| commit | 5350d21315f6c6347c0b44e510ed8b8805cc2119 (patch) | |
| tree | b04c2d460d5a21e47bc0843a6244a1a989c54926 /doc | |
| parent | b3a5450370b64ef59bd08f9ac2dc3862b9a37e6c (diff) | |
Fixing inversion after having fixed intros_replacing
in69665dd2480d364162933972de7ffa955eccab4d. There are still situations
when "as" is not given where equations coming from injection are not
yet removed, making invalid the computation of dependencies, what
prevents an hypothesis to be cleared and replaced.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/refman/RefMan-tac.tex | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/refman/RefMan-tac.tex b/doc/refman/RefMan-tac.tex index 90055ea837..e8ec731e61 100644 --- a/doc/refman/RefMan-tac.tex +++ b/doc/refman/RefMan-tac.tex @@ -2272,7 +2272,7 @@ several times. See Section~\ref{Derive-Inversion}. \item \tacindex{inversion \dots\ as} \texttt{inversion {\ident} as \intropattern} - This behaves as \texttt{inversion} but using names in + This generally behaves as \texttt{inversion} but using names in {\intropattern} for naming hypotheses. The {\intropattern} must have the form {\tt [} $p_{11} \ldots p_{1n_1}$ {\tt |} {\ldots} {\tt |} $p_{m1} \ldots p_{mn_m}$ {\tt ]} with $m$ being the number of @@ -2294,6 +2294,13 @@ several times. See Section~\ref{Derive-Inversion}. \dots, $p_{ijq}$)}) where $q$ is the number of subequalities obtained from splitting the original equation. Here is an example. + The \texttt{inversion \dots\ as} variant of \texttt{inversion} + generally behaves in a slightly more expectable way than + \texttt{inversion} (no artificial duplication of some hypotheses + referring to other hypotheses) To take benefit of these + improvements, it is enough to use \texttt{inversion \dots\ as []}, + letting the names being finally chosen by {\Coq}. + \begin{coq_eval} Require Import List. \end{coq_eval} @@ -2319,7 +2326,10 @@ Abort. {\ident} as \intropattern} This allows naming the hypotheses introduced by - \texttt{inversion\_clear} in the context. + \texttt{inversion\_clear} in the context. Notice that hypothesis + names can be provided as if \texttt{inversion} were called, even + though the \texttt{inversion\_clear} will eventually erase the + hypotheses. \item \tacindex{inversion \dots\ in} \texttt{inversion {\ident} in \ident$_1$ \dots\ \ident$_n$} |
