]> matita.cs.unibo.it Git - helm.git/commitdiff
added doc for compose
authorEnrico Tassi <enrico.tassi@inria.fr>
Wed, 6 Jun 2007 09:07:33 +0000 (09:07 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Wed, 6 Jun 2007 09:07:33 +0000 (09:07 +0000)
helm/software/matita/help/C/sec_tactics.xml
helm/software/matita/help/C/tactics_quickref.xml

index e03dece5bc1bd8ea612d0b4fdfe4153b66d9d899..0fabbbf7ca5f8a68167a62bcaa68334f59363eb3 100644 (file)
       </variablelist>
     </para>
   </sect1>
+  <sect1 id="tac_compose">
+    <title>compose</title>
+    <titleabbrev>compose</titleabbrev>
+    <para><userinput>compose n t1 with t2 hyps</userinput></para>
+    <para>
+      <variablelist>
+        <varlistentry role="tactic.synopsis">
+          <term>Synopsis:</term>
+          <listitem>
+            <para><emphasis role="bold">compose</emphasis> [&nat;] &sterm; [<emphasis role="bold">with</emphasis> &sterm;] [&intros-spec;]</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>Pre-conditions:</term>
+          <listitem>
+            <para></para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>Action:</term>
+          <listitem>
+            <para>Composes t1 with t2 in every possible way
+              <command>n</command> times introducing generated terms
+              as if <command>intros hyps</command> was issued.</para>
+            <para>If <command>t1:∀x:A.B[x]</command> and
+            <command>t2:∀x,y:A.B[x]→B[y]→C[x,y]</command> it generates:
+              <varlistentry>
+                <listitem>
+                  <command>λx,y:A.t2 x y (t1 x) : ∀x,y:A.B[y]→C[x,y]</command> 
+                </listitem>
+                <listitem>
+                  <command>λx,y:A.λH:B[x].t2 x y H (t1 y) : ∀x,y:A.B[x]→C[x,y]
+                  </command>
+                </listitem>
+              </varlistentry>
+          </para>
+          <para>If <command>t2</command> is omitted it composes 
+            <command>t1</command>
+              with every hypothesis that can be introduced.  
+              <command>n</command> iterates the process.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>New sequents to prove:</term>
+          <listitem>
+            <para>The same, but with more hypothesis eventually introduced
+            by the &intros-spec;.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </para>
+  </sect1>
   <sect1 id="tac_change">
     <title>change</title>
     <titleabbrev>change</titleabbrev>
index 70d42ac2b59891d92a7614952cde0d91706a6856..119985dc4289db0bf40a76232210e505024fa71d 100644 (file)
         <entry>|</entry>
         <entry><link linkend="tac_clearbody"><emphasis role="bold">clearbody</emphasis></link> <emphasis><link linkend="grammar.id">id</link></emphasis></entry>
       </row>
+      <row>
+        <entry/>
+        <entry>|</entry>
+        <entry><link linkend="tac_compose"><emphasis role="bold">compose</emphasis></link> [&nat;] &sterm; [<emphasis role="bold">with</emphasis> &sterm;] [&intros-spec;]</entry>
+      </row>
       <row>
         <entry/>
         <entry>|</entry>