]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/proofs.xsl
Rearranged tactics in VariousTactics into new modules EqualityTactics, EliminationTac...
[helm.git] / helm / style / proofs.xsl
index 65de766d1bb65d787267518f7509cd57a92fcdfc..69c8936130bcaf605a2f28956b438226c9cacec5 100644 (file)
   <xsl:when test="name()='APPLY'">
    <xsl:variable name="id" select="@id"/>
    <xsl:choose>
-    <xsl:when test="name(*[1])='CONST'">
+    <xsl:when test="name(*[1])='CONST' or 
+      (name(*[1])='instantiate' and name(*[1]/*[1])='CONST')">
      <xsl:apply-templates mode="try_inductive" select="."/>
     </xsl:when>
     <!-- patch temporanea per la gestione di redex -->
        </m:ci>
       </m:bvar>
       <xsl:apply-templates mode="noannot" select="*[2]"/>
-      <xsl:apply-templates mode="proof_transform" select="*[1]/target/*[1]"/>
+      <xsl:apply-templates mode="lambda_prop" select="*[1]/*[2]"/>
      </m:apply>
     </xsl:when>
     <xsl:otherwise>