doc-src/Ref/thm.tex
changeset 4607 6759ba6d3cc1
parent 4597 a0bdee64194c
child 5371 e27558a68b8d
equal deleted inserted replaced
4606:73227403d497 4607:6759ba6d3cc1
   184 \begin{ttbox} 
   184 \begin{ttbox} 
   185 standard         :           thm -> thm
   185 standard         :           thm -> thm
   186 zero_var_indexes :           thm -> thm
   186 zero_var_indexes :           thm -> thm
   187 make_elim        :           thm -> thm
   187 make_elim        :           thm -> thm
   188 rule_by_tactic   : tactic -> thm -> thm
   188 rule_by_tactic   : tactic -> thm -> thm
       
   189 rotate_prems     :    int -> thm -> thm
   189 \end{ttbox}
   190 \end{ttbox}
   190 \begin{ttdescription}
   191 \begin{ttdescription}
   191 \item[\ttindexbold{standard} $thm$] puts $thm$ into the standard form
   192 \item[\ttindexbold{standard} $thm$] puts $thm$ into the standard form
   192   of object-rules.  It discharges all meta-assumptions, replaces free
   193   of object-rules.  It discharges all meta-assumptions, replaces free
   193   variables by schematic variables, renames schematic variables to
   194   variables by schematic variables, renames schematic variables to
   209   yields the proof state returned by the tactic.  In typical usage, the
   210   yields the proof state returned by the tactic.  In typical usage, the
   210   {\it thm\/} represents an instance of a rule with several premises, some
   211   {\it thm\/} represents an instance of a rule with several premises, some
   211   with contradictory assumptions (because of the instantiation).  The
   212   with contradictory assumptions (because of the instantiation).  The
   212   tactic proves those subgoals and does whatever else it can, and returns
   213   tactic proves those subgoals and does whatever else it can, and returns
   213   whatever is left.
   214   whatever is left.
       
   215   
       
   216 \item[\ttindexbold{rotate_prems} $k$ $thm$] rotates the premises of $thm$ to
       
   217   the left by~$k$ positions.  It requires $0\leq k\leq n$, where $n$ is the
       
   218   number of premises; the rotation has no effect if $k$ is at either extreme.
       
   219   Used with \texttt{eresolve_tac}\index{*eresolve_tac!on other than first
       
   220     premise}, it gives the effect of applying the tactic to some other premise
       
   221   of $thm$ than the first.
   214 \end{ttdescription}
   222 \end{ttdescription}
   215 
   223 
   216 
   224 
   217 \subsection{Taking a theorem apart}
   225 \subsection{Taking a theorem apart}
   218 \index{theorems!taking apart}
   226 \index{theorems!taking apart}