doc-src/Ref/thm.tex
changeset 11163 14732e3eaa6e
parent 9499 7e6988210488
child 11622 27f858e70b3f
--- a/doc-src/Ref/thm.tex	Tue Feb 20 18:47:06 2001 +0100
+++ b/doc-src/Ref/thm.tex	Tue Feb 20 18:47:22 2001 +0100
@@ -193,6 +193,7 @@
 rule_by_tactic   :     tactic -> thm -> thm
 rotate_prems     :        int -> thm -> thm
 permute_prems    : int -> int -> thm -> thm
+rearrange_prems  :   int list -> thm -> thm
 \end{ttbox}
 \begin{ttdescription}
 \item[\ttindexbold{standard} $thm$] puts $thm$ into the standard form
@@ -232,6 +233,11 @@
   requires $0\leq j\leq n$, where $n$ is the number of premises.  If $k$ is
   positive then it rotates the remaining $n-j$ premises to the left; if $k$ is
   negative then it rotates the premises to the right.
+
+\item[\ttindexbold{rearrange_prems} $ps$ $thm$] permutes the premises of $thm$
+   where the value at the $i$-th position (counting from $0$) in the list $ps$
+   gives the position within the original thm to be transferred to position $i$.
+   Any remaining trailing positions are left unchanged.
 \end{ttdescription}