diff options
| -rw-r--r-- | doc/refman/RefMan-tac.tex | 8 | ||||
| -rw-r--r-- | tactics/equality.ml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/refman/RefMan-tac.tex b/doc/refman/RefMan-tac.tex index d7d51ab239..d2753371b8 100644 --- a/doc/refman/RefMan-tac.tex +++ b/doc/refman/RefMan-tac.tex @@ -533,8 +533,8 @@ in the list of subgoals remaining to prove. \item \texttt{assert {\form} by {\tac}}\tacindex{assert by} - This tactic behaves like \texttt{assert} but tries to apply {\tac} - to any subgoals generated by \texttt{assert}. + This tactic behaves like \texttt{assert} but applies {\tac} + to solve the subgoals generated by \texttt{assert}. \item \texttt{assert {\form} as {\ident}\tacindex{assert as}} @@ -1708,8 +1708,8 @@ n}| assumption || symmetry; try assumption]}. \begin{Variants} \item {\tt replace {\term$_1$} with {\term$_2$} by \tac}\\ This acts - as {\tt replace {\term$_1$} with {\term$_2$}} but try to solve the - generated subgoal {\tt \term$_2$=\term$_1$} using {\tt \tac}. + as {\tt replace {\term$_1$} with {\term$_2$}} but applies {\tt \tac} + to solve the generated subgoal {\tt \term$_2$=\term$_1$}. \item {\tt replace {\term}}\\ Replace {\term} with {\term'} using the first assumption which type has the form {\tt \term=\term'} or {\tt \term'=\term} diff --git a/tactics/equality.ml b/tactics/equality.ml index a9a869d8f7..9ca5dabdcb 100644 --- a/tactics/equality.ml +++ b/tactics/equality.ml @@ -189,7 +189,7 @@ let multi_replace clause c2 c1 unsafe try_prove_eq_opt gl = let try_prove_eq = match try_prove_eq_opt with | None -> tclIDTAC - | Some tac -> tclTRY (tclCOMPLETE tac) + | Some tac -> tclCOMPLETE tac in let t1 = pf_apply get_type_of gl c1 and t2 = pf_apply get_type_of gl c2 in |
