<xsl:template match="LETIN" mode="pure">
<m:apply helm:xref="{@id}">
- <m:csymbol>letin</m:csymbol>
+ <m:csymbol>let_in</m:csymbol>
<m:bvar>
<m:ci>
<xsl:call-template name="insert_subscript"><xsl:with-param name="node_value"><xsl:value-of select="letintarget/@binder"/></xsl:with-param></xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
- <xsl:when test="$name='letin'">
+ <xsl:when test="$name='let_in'">
<xsl:choose>
<xsl:when test="$charlength >= $framewidth">
<m:mtable align="baseline 1" equalrows="false" columnalign="left">
<xsl:apply-templates mode="thread" select="*[5]"/>
</m:apply>
</xsl:when>
- <!-- aggiungere la verifica dell'esistenza dei lambda per and_ind -->
+ <!-- gestire meglio il caso di and_ind quando la prova
+ non e' della forma \x.\y.M -->
<xsl:when test="name()= 'APPLY' and CONST[
attribute::uri='cic:/Coq/Init/Logic/Conjunction/and_ind.con']
- and count(child::*) = 6">
+ and count(child::*) = 6
+ and name(*[5])='LAMBDA'
+ and name(*[5]/target/*[1])='LAMBDA'">
<m:apply helm:xref="{@id}">
<m:csymbol>and_ind</m:csymbol>
<xsl:apply-templates mode="noannot" select="*[6]"/>
<!--**** Patch temporanea, per il problema dei threads ***-->
<xsl:when test="(name()= 'APPLY' and CONST[
attribute::uri='cic:/Coq/Init/Logic/Conjunction/and_ind.con']
- and count(child::*) = 6) or
+ and count(child::*) = 6
+ and name(*[5])='LAMBDA'
+ and name(*[5]/target/*[1])='LAMBDA')
+ or
(name()= 'APPLY' and CONST[
attribute::uri='cic:/Coq/Init/Logic/Disjunction/or_ind.con']
and count(child::*) = 7)">