]> matita.cs.unibo.it Git - helm.git/commitdiff
New: pattern for elim documented.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 8 Jun 2008 13:48:58 +0000 (13:48 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Sun, 8 Jun 2008 13:48:58 +0000 (13:48 +0000)
helm/software/matita/help/C/sec_tactics.xml
helm/software/matita/help/C/tactics_quickref.xml

index 812c8ed970a2044472bcfd78653955ce29654fb0..b9857040779315ff3c9187d44d473c79b24a12ce 100644 (file)
   <sect1 id="tac_elim">
     <title>elim</title>
     <titleabbrev>elim</titleabbrev>
-    <para><userinput>elim t using th hyps</userinput></para>
+    <para><userinput>elim t pattern using th hyps</userinput></para>
     <para>
       <variablelist>
         <varlistentry role="tactic.synopsis">
           <term>Synopsis:</term>
           <listitem>
-            <para><emphasis role="bold">elim</emphasis> &sterm; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec;</para>
+            <para><emphasis role="bold">elim</emphasis> &sterm; &pattern; [<emphasis role="bold">using</emphasis> &sterm;] &intros-spec;</para>
           </listitem>
         </varlistentry>
         <varlistentry>
           <listitem>
             <para>It proceeds by cases on the values of <command>t</command>,
              according to the elimination principle <command>th</command>.
+             The induction predicate is restricted by
+             <command>pattern</command>. In particular, if some hypothesis
+             is listed in <command>pattern</command>, the hypothesis is
+             generalized and cleared before eliminating <command>t</command>
             </para>
           </listitem>
         </varlistentry>
index a7c1ae3bd6039202f44b9e7f27b8e08de02c84ec..ba7020c10247d40ddf1136c90f87511ca05a45cb 100644 (file)
       <row>
         <entry/>
         <entry>|</entry>
-        <entry><link linkend="tac_elim"><emphasis role="bold">elim</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> [<emphasis role="bold">using</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis>] <emphasis><link linkend="grammar.intros-spec">intros-spec</link></emphasis></entry>
+        <entry><link linkend="tac_elim"><emphasis role="bold">elim</emphasis></link> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis> <emphasis><link linkend="grammar.pattern">pattern</link></emphasis> [<emphasis role="bold">using</emphasis> <emphasis><link linkend="grammar.sterm">sterm</link></emphasis>] <emphasis><link linkend="grammar.intros-spec">intros-spec</link></emphasis></entry>
       </row>
       <row>
         <entry/>