<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)">