aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHugo Herbelin2014-08-17 17:28:19 +0200
committerHugo Herbelin2014-08-18 18:56:38 +0200
commitca36da7eaa33f07c0bc9163fa10b017478c2ee0f (patch)
tree3891ff920186e9a150daf96073e9e3bbaadb47bc /doc
parentb6c3f54d04ce441ac68ffabfca69c18847707518 (diff)
Slight simplification of naming of tactics in equality.ml (hopefully).
Isolating a core tactic in replace, shareable to cutrewrite.
Diffstat (limited to 'doc')
-rw-r--r--doc/refman/RefMan-tac.tex23
1 files changed, 15 insertions, 8 deletions
diff --git a/doc/refman/RefMan-tac.tex b/doc/refman/RefMan-tac.tex
index a3953bb968..11568bb4d3 100644
--- a/doc/refman/RefMan-tac.tex
+++ b/doc/refman/RefMan-tac.tex
@@ -2680,14 +2680,6 @@ the same variants as {\tt rewrite} has.
\end{Variants}
-
-\subsection{\tt cutrewrite -> \term$_1$ = \term$_2$}
-\label{cutrewrite}
-\tacindex{cutrewrite}
-
-This tactic acts like {\tt replace {\term$_1$} with {\term$_2$}}
-(see below).
-
\subsection{\tt replace \term$_1$ with \term$_2$}
\label{tactic:replace}
\tacindex{replace \dots\ with}
@@ -2738,6 +2730,21 @@ n}| assumption || symmetry; try assumption]}.
in the conclusion of the goal.
The \nterm{clause} argument must not contain any \texttt{type of} nor \texttt{value of}.
+\item {\tt cutrewrite <- (\term$_1$ = \term$_2$)}
+%\label{cutrewrite}
+\tacindex{cutrewrite}
+
+This tactic is deprecated. It acts like {\tt replace {\term$_2$} with
+ {\term$_1$}}, or, equivalently as {\tt enough} (\term$_1$ =
+\term$_2$) {\tt as <-}.
+
+\item {\tt cutrewrite -> (\term$_1$ = \term$_2$)}
+%\label{cutrewrite}
+\tacindex{cutrewrite}
+
+This tactic is deprecated. It can be replaced by {\tt enough}
+(\term$_1$ = \term$_2$) {\tt as ->}.
+
\end{Variants}
\subsection{\tt subst \ident}