diff options
| author | letouzey | 2010-06-18 17:14:20 +0000 |
|---|---|---|
| committer | letouzey | 2010-06-18 17:14:20 +0000 |
| commit | c606dc386d81fc2f5e3aa6b3787f2095a0dee316 (patch) | |
| tree | ad6696c7a7e5cf74a397a663f394257aca1933aa | |
| parent | 5818c354fff1671fac26345ed9d6300ac25efcb2 (diff) | |
Documentation of clear dependent and revert dependent
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13166 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | doc/refman/RefMan-tac.tex | 13 |
2 files changed, 15 insertions, 0 deletions
@@ -75,6 +75,8 @@ Other tactics - In "simpl c" and "change c with d", c can be a pattern. - Tactic "revert" now preserves let-in's making it the exact inverse of "intro". +- New tactics "clear dependent H" and "revert dependent H" that + clears (resp. reverts) H and all the hypotheses that depend on H. - Ltac's pattern-matching now supports matching metavariables that depend on variables bound upwards in the pattern. diff --git a/doc/refman/RefMan-tac.tex b/doc/refman/RefMan-tac.tex index 8fb0556545..07921978d5 100644 --- a/doc/refman/RefMan-tac.tex +++ b/doc/refman/RefMan-tac.tex @@ -163,6 +163,11 @@ usable in the proof development. This tactic clears all hypotheses except the ones depending in goal. +\item {\tt clear dependent \ident \tacindex{clear dependent}} + + This clears the hypothesis \ident\ and all hypotheses + which depend on it. + \end{Variants} \begin{ErrMsgs} @@ -811,6 +816,14 @@ dependencies. This tactic is the inverse of {\tt intro}. used in the hypothesis} \end{ErrMsgs} +\begin{Variants} +\item {\tt revert dependent \ident \tacindex{revert dependent}} + + This moves to the goal the hypothesis \ident\ and all hypotheses + which depend on it. + +\end{Variants} + \subsection{\tt change \term \tacindex{change} \label{change}} |
