<!-- AND -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic/Conjunction/and.ind'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic/Conjunction/and.ind'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:and definitionURL="{MUTIND/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
<!-- OR -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic/Disjunction/or.ind'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic/Disjunction/or.ind'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:or definitionURL="{MUTIND/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
<!-- NOT -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Logic/not.con'] and (count(child::*) = 2)]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Logic/not.con'] and (count(child::*) = 2)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:not definitionURL="{CONST/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
<!-- IFF -->
<!--
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Logic/Equivalence/iff.ind'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Logic/Equivalence/iff.ind'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:iff definitionURL="{CONST/@uri}" helm:xref="{CONST/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
<!-- EXISTS -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic/First_order_quantifiers/ex.ind' or attribute::uri='cic:/coq/INIT/Logic_Type/exT.ind'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic/First_order_quantifiers/ex.ind' or attribute::uri='cic:/Coq/Init/Logic_Type/exT.ind'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:exists definitionURL="{MUTIND/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:choose>
</m:apply>
</xsl:template>
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic/First_order_quantifiers/ex2.ind' or attribute::uri='cic:/coq/INIT/Logic_Type/exT2.ind'] and (count(child::*) = 4)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic/First_order_quantifiers/ex2.ind' or attribute::uri='cic:/Coq/Init/Logic_Type/exT2.ind'] and (count(child::*) = 4)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:exists definitionURL="{MUTIND/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:choose>
<!-- EQUALITY -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic/Equality/eq.ind'] and (count(child::*) = 4)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic/Equality/eq.ind'] and (count(child::*) = 4)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:eq definitionURL="{MUTIND/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:apply-templates select="*[3]" mode="noannot"/>
<!-- TYPE EQUALITY -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic_Type/eqT.ind'] and (count(child::*) = 4)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic_Type/eqT.ind'] and (count(child::*) = 4)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:eq definitionURL="{MUTIND/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:apply-templates select="*[3]" mode="noannot"/>
<!-- NOT-EQ -->
<!-- NOT and EQ have no parameters -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Logic/not.con']
-and (count(child::*) = 2) and APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic/Equality/eq.ind']]]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Logic/not.con']
+and (count(child::*) = 2) and APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic/Equality/eq.ind']]]" mode="pure">
<xsl:choose>
<xsl:when test="count(APPLY/child::*) = 4">
<m:apply helm:xref="{@id}">
</xsl:template>
<!-- NOT-EQT -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Logic/not.con']
-and (count(child::*) = 2) and APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Logic_Type/eqT.ind']]]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Logic/not.con']
+and (count(child::*) = 2) and APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Logic_Type/eqT.ind']]]" mode="pure">
<xsl:choose>
<xsl:when test="count(APPLY/child::*) = 4">
<m:apply helm:xref="{@id}">
<!-- *************************** PEANO ********************************* -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/INIT/Peano/le.ind'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Init/Peano/le.ind'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:leq definitionURL="{MUTIND/@uri}" helm:xref="{MUTIND/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
</m:apply>
</xsl:template>
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Peano/lt.con'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Peano/lt.con'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:lt definitionURL="{CONST/@uri}" helm:xref="{CONST/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
</m:apply>
</xsl:template>
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Peano/ge.con'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Peano/ge.con'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:geq definitionURL="{CONST/@uri}" helm:xref="{CONST/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
</m:apply>
</xsl:template>
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Peano/gt.con'] and (count(child::*) = 3)]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Peano/gt.con'] and (count(child::*) = 3)]" mode="pure">
<m:apply helm:xref="{@id}">
<m:gt definitionURL="{CONST/@uri}" helm:xref="{CONST/@id}"/>
<xsl:apply-templates select="*[2]" mode="noannot"/>
<xsl:template match="APPLY" mode="pure">
<xsl:choose>
- <!-- <xsl:when test="//ALLTYPES and boolean(key('typeid',*/@id))"> -->
+ <!-- <xsl:when test="//InnerTypes and boolean(key('typeid',*/@id))"> -->
<!-- start looking for subproofs -->
- <xsl:when test="((*/@id) = (//ALLTYPES/TYPE/@id))">
+ <xsl:when test="((*/@id) = (//InnerTypes/TYPE/@of))">
<m:apply helm:xref="{@id}">
<m:csymbol>letin</m:csymbol>
<!-- <xsl:for-each select="*[boolean(key('typeid',@id))]"> -->
<!-- first process all subproofs (let-in) -->
- <xsl:for-each select="*[@id = (//ALLTYPES/TYPE/@id)]">
+ <xsl:for-each select="*[@id = (//InnerTypes/TYPE/@of)]">
<m:apply>
<m:csymbol>let</m:csymbol>
<m:ci><xsl:call-template name="insert_subscript"><xsl:with-param name="node_value"><xsl:value-of select="concat('h',position())"/></xsl:with-param></xsl:call-template></m:ci>
<xsl:variable name="id" select="@id"/>
<xsl:choose>
<!-- <xsl:when test="key('typeid',@id)"> -->
- <xsl:when test="//ALLTYPES/TYPE[@id=$id]">
+ <xsl:when test="//InnerTypes/TYPE[@of=$id]">
<m:ci>
<xsl:call-template name="insert_subscript"><xsl:with-param name="node_value"><xsl:value-of select="concat('h',$n)"/></xsl:with-param></xsl:call-template>
</m:ci>
<!-- Proof objects -->
-<!-- <xsl:key name="typeid" use="@id" match="TYPE"/> -->
+<!-- <xsl:key name="typeid" use="@of" match="TYPE"/> -->
<xsl:template match="LAMBDA|PROD|CAST|REL|SORT|APPLY|VAR|META|CONST|MUTIND|MUTCONSTRUCT|MUTCASE|FIX|COFIX" mode="noannot">
<xsl:choose>
<xsl:when test="@id">
<xsl:variable name="id" select="@id"/>
<xsl:choose>
- <!-- <xsl:when test="//ALLTYPES and key('typeid',@id)"> -->
- <xsl:when test="//ALLTYPES/TYPE[@id=$id]">
+ <!-- <xsl:when test="//InnerTypes and key('typeid',@id)"> -->
+ <xsl:when test="//InnerTypes/TYPE[@of=$id]">
<xsl:choose>
<xsl:when test="name()= 'APPLY' and CONST[
- attribute::uri='cic:/coq/INIT/Logic_Type/eqT_ind.con' or
- attribute::uri='cic:/coq/ZARITH/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
+ attribute::uri='cic:/Coq/Init/Logic_Type/eqT_ind.con' or
+ attribute::uri='cic:/Coq/Zarith/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
<m:apply helm:xref="{@id}">
<m:csymbol>thread</m:csymbol>
- <xsl:apply-templates mode="pure" select="//ALLTYPES/TYPE[@id=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
<m:apply>
<m:csymbol>rw_step</m:csymbol>
<xsl:apply-templates mode="pure" select="*[3]"/>
</xsl:when>
<!-- aggiungere la verifica dell'esistenza dei lambda per and_ind -->
<xsl:when test="name()= 'APPLY' and CONST[
- attribute::uri='cic:/coq/INIT/Logic/Conjunction/and_ind.con']
+ attribute::uri='cic:/Coq/Init/Logic/Conjunction/and_ind.con']
and count(child::*) = 6">
<m:apply helm:xref="{@id}">
<m:csymbol>and_ind</m:csymbol>
</m:apply>
</xsl:when>
<xsl:when test="name()= 'APPLY' and CONST[
- attribute::uri='cic:/coq/INIT/Logic/Disjunction/or_ind.con']
+ attribute::uri='cic:/Coq/Init/Logic/Disjunction/or_ind.con']
and count(child::*) = 7">
<m:apply helm:xref="{@id}">
<m:csymbol>or_ind</m:csymbol>
<xsl:apply-templates mode="noannot" select="*[7]"/>
- <xsl:apply-templates mode="pure" select="//ALLTYPES/TYPE[@id=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
<xsl:apply-templates mode="pure" select="*[5]"/>
<xsl:apply-templates mode="pure" select="*[6]"/>
</m:apply>
</xsl:when>
- <xsl:when test="count(*[@id = //ALLTYPES/TYPE/@id]) = 1">
+ <xsl:when test="count(*[@id = //InnerTypes/TYPE/@of]) = 1">
<m:apply helm:xref="{@id}">
<m:csymbol>thread</m:csymbol>
- <xsl:apply-templates mode="pure" select="//ALLTYPES/TYPE[@id=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
<m:apply>
<m:csymbol>app</m:csymbol>
<xsl:apply-templates mode="copy-of-no-prop" select="*[1]"/>
</m:apply>
- <xsl:apply-templates mode="thread" select="*[@id = //ALLTYPES/TYPE/@id]"/>
+ <xsl:apply-templates mode="thread" select="*[@id = //InnerTypes/TYPE/@of]"/>
</m:apply>
</xsl:when>
<xsl:otherwise>
<m:csymbol>proof</m:csymbol>
<xsl:apply-templates select="." mode="pure"/>
<!-- <xsl:apply-templates select="key('typeid',@id)" mode="pure"/> -->
- <xsl:apply-templates select="//ALLTYPES/TYPE[@id=$id]" mode="pure"/>
+ <xsl:apply-templates select="//InnerTypes/TYPE[@of=$id]" mode="pure"/>
</m:apply>
</xsl:otherwise>
</xsl:choose>
<xsl:template match="*" mode="copy-of-no-prop">
<xsl:choose>
- <xsl:when test="@id = //ALLTYPES/TYPE/@id">
+ <xsl:when test="@id = //InnerTypes/TYPE/@of">
<m:ci>previous</m:ci>
</xsl:when>
<xsl:otherwise>
<xsl:template match="*" mode="thread">
<xsl:choose>
<xsl:when test="name()= 'APPLY' and CONST[
- attribute::uri='cic:/coq/INIT/Logic_Type/eqT_ind.con' or
- attribute::uri='cic:/coq/ZARITH/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
+ attribute::uri='cic:/Coq/Init/Logic_Type/eqT_ind.con' or
+ attribute::uri='cic:/Coq/Zarith/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
<xsl:variable name="id" select="@id"/>
- <xsl:apply-templates mode="pure" select="//ALLTYPES/TYPE[@id=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
<m:apply>
<m:csymbol>rw_step</m:csymbol>
<xsl:apply-templates mode="pure" select="*[3]"/>
</xsl:when>
<!--**** Patch temporanea, per il problema dei threads ***-->
<xsl:when test="(name()= 'APPLY' and CONST[
- attribute::uri='cic:/coq/INIT/Logic/Conjunction/and_ind.con']
+ attribute::uri='cic:/Coq/Init/Logic/Conjunction/and_ind.con']
and count(child::*) = 6) or
(name()= 'APPLY' and CONST[
- attribute::uri='cic:/coq/INIT/Logic/Disjunction/or_ind.con']
+ attribute::uri='cic:/Coq/Init/Logic/Disjunction/or_ind.con']
and count(child::*) = 7)">
<xsl:apply-templates mode="noannot" select="."/>
</xsl:when>
<!--**** Fine Patch temporanea, per il problema dei threads ***-->
- <xsl:when test="count(*[@id = //ALLTYPES/TYPE/@id]) = 1">
+ <xsl:when test="count(*[@id = //InnerTypes/TYPE/@of]) = 1">
<xsl:variable name="id" select="@id"/>
<m:apply helm:xref="{@id}">
<m:csymbol>thread</m:csymbol>
- <xsl:apply-templates mode="pure" select="//ALLTYPES/TYPE[@id=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
<m:apply>
<m:csymbol>app</m:csymbol>
<xsl:apply-templates mode="copy-of-no-prop" select="*[1]"/>
</m:apply>
- <xsl:apply-templates mode="thread" select="*[@id = //ALLTYPES/TYPE/@id]"/>
+ <xsl:apply-templates mode="thread" select="*[@id = //InnerTypes/TYPE/@of]"/>
</m:apply>
</xsl:when>
<xsl:otherwise>
<!-- non del tutto soddisfacente, ma .... -->
<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/coq/INIT/Logic_Type/eqT_ind.con' or
- attribute::uri='cic:/coq/ZARITH/auxiliary/eqT_ind_r.con']]" mode="appflat">
+ attribute::uri='cic:/Coq/Init/Logic_Type/eqT_ind.con' or
+ attribute::uri='cic:/Coq/Zarith/auxiliary/eqT_ind_r.con']]" mode="appflat">
<xsl:choose>
<xsl:when test="count(child::*) > 7">
<xsl:variable name="id" select="@id"/>
<xsl:variable name="ideqp" select="*[7]/@id"/>
<xsl:variable name="idsubp" select="*[5]/@id"/>
- <xsl:variable name="leteqp" select="boolean(//ALLTYPES/TYPE[@id=$ideqp])"/>
- <xsl:variable name="letsubp" select="boolean(//ALLTYPES/TYPE[@id=$idsubp])"/>
+ <xsl:variable name="leteqp" select="boolean(//InnerTypes/TYPE[@of=$ideqp])"/>
+ <xsl:variable name="letsubp" select="boolean(//InnerTypes/TYPE[@of=$idsubp])"/>
<m:apply helm:xref="{@id}">
<m:csymbol>rewrite_and_apply</m:csymbol>
<m:apply>
</xsl:template>
<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/coq/INIT/Logic/Conjunction/and_ind.con']]" mode="appflat">
+ attribute::uri='cic:/Coq/Init/Logic/Conjunction/and_ind.con']]" mode="appflat">
<xsl:choose>
<xsl:when test="count(child::*) > 4">
<m:apply helm:xref="{@id}">
<!-- REALS -->
<!--
-<xsl:template match="CONST[attribute::uri='cic:/coq/REALS/Raxioms/R.con']" mode="pure">
+<xsl:template match="CONST[attribute::uri='cic:/Coq/Reals/Rdefinitions/R.con']" mode="pure">
<m:reals/>
</xsl:template>
-->
<!-- 0 e 1 -->
-<xsl:template match="CONST[attribute::uri='cic:/coq/REALS/Raxioms/R0.con']" mode="pure">
+<xsl:template match="CONST[attribute::uri='cic:/Coq/Reals/Rdefinitions/R0.con']" mode="pure">
<m:cn definitionURL="{@uri}" helm:xref="{@id}">0</m:cn>
</xsl:template>
-<xsl:template match="CONST[attribute::uri='cic:/coq/REALS/Raxioms/R1.con']" mode="pure">
+<xsl:template match="CONST[attribute::uri='cic:/Coq/Reals/Rdefinitions/R1.con']" mode="pure">
<m:cn definitionURL="{@uri}" helm:xref="{@id}">1</m:cn>
</xsl:template>
<!-- Unary Operations -->
<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/coq/REALS/Raxioms/Ropp.con' or
- attribute::uri='cic:/coq/REALS/Rbasic_fun/Rabsolu.con' or
- attribute::uri='cic:/coq/REALS/Rfunctions/fact.con' or
- attribute::uri='cic:/coq/REALS/Rbase/Rsqr.con']]" mode="pure">
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Ropp.con' or
+ attribute::uri='cic:/Coq/Reals/Rbasic_fun/Rabsolu.con' or
+ attribute::uri='cic:/Coq/Reals/Rfunctions/fact.con' or
+ attribute::uri='cic:/Coq/Reals/Rbase/Rsqr.con']]" mode="pure">
<xsl:choose>
<xsl:when test="count(child::*) = 2">
<xsl:variable name="elem">
<xsl:choose>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Ropp.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Ropp.con'">
<xsl:value-of select="'minus'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Rbasic_fun/Rabsolu.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rbasic_fun/Rabsolu.con'">
<xsl:value-of select="'abs'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Rfunctions/fact.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rfunctions/fact.con'">
<xsl:value-of select="'factorial'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Rbase/Rsqr.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rbase/Rsqr.con'">
<xsl:value-of select="'root'"/>
</xsl:when>
</xsl:choose>
</xsl:template>
<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/coq/REALS/Raxioms/Rinv.con']]" mode="pure">
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rinv.con']]" mode="pure">
<xsl:choose>
<xsl:when test="count(child::*) = 2">
<m:apply helm:xref="{@id}">
<!-- Binary Operations and Relations -->
<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/coq/REALS/Raxioms/Rplus.con' or
- attribute::uri='cic:/coq/REALS/Raxioms/Rminus.con' or
- attribute::uri='cic:/coq/REALS/Raxioms/Rmult.con' or
- attribute::uri='cic:/coq/REALS/Raxioms/Rle.con' or
- attribute::uri='cic:/coq/REALS/Raxioms/Rlt.con' or
- attribute::uri='cic:/coq/REALS/Raxioms/Rge.con' or
- attribute::uri='cic:/coq/REALS/Raxioms/Rgt.con' or
- attribute::uri='cic:/coq/REALS/Rbasic_fun/Rmin.con' or
- attribute::uri='cic:/coq/REALS/Rfunctions/pow.con']]" mode="pure">
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rplus.con' or
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rminus.con' or
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rmult.con' or
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rle.con' or
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rlt.con' or
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rge.con' or
+ attribute::uri='cic:/Coq/Reals/Rdefinitions/Rgt.con' or
+ attribute::uri='cic:/Coq/Reals/Rbasic_fun/Rmin.con' or
+ attribute::uri='cic:/Coq/Reals/Rfunctions/pow.con']]" mode="pure">
<xsl:choose>
<xsl:when test="count(child::*) = 3">
<xsl:variable name="elem">
<xsl:choose>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Rplus.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rplus.con'">
<xsl:value-of select="'plus'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Rminus.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rminus.con'">
<xsl:value-of select="'minus'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Rmult.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rmult.con'">
<xsl:value-of select="'times'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Rle.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rle.con'">
<xsl:value-of select="'leq'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Rlt.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rlt.con'">
<xsl:value-of select="'lt'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Rge.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rge.con'">
<xsl:value-of select="'geq'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Raxioms/Rgt.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rgt.con'">
<xsl:value-of select="'gt'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Rbasic_fun/Rmin.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rbasic_fun/Rmin.con'">
<xsl:value-of select="'min'"/>
</xsl:when>
- <xsl:when test="CONST/@uri='cic:/coq/REALS/Rfunctions/pow.con'">
+ <xsl:when test="CONST/@uri='cic:/Coq/Reals/Rfunctions/pow.con'">
<xsl:value-of select="'power'"/>
</xsl:when>
</xsl:choose>
<!-- LIMIT -->
<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/coq/REALS/Rlimit/limit1_in.con']]" mode="pure">
+ attribute::uri='cic:/Coq/Reals/Rlimit/limit1_in.con']]" mode="pure">
<xsl:choose>
<xsl:when test="count(child::*) = 5">
<m:apply>
<!-- DIFFERENTIATION -->
<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/coq/REALS/Rderiv/D_in.con']]" mode="pure">
+ attribute::uri='cic:/Coq/Reals/Rderiv/D_in.con']]" mode="pure">
<xsl:choose>
<xsl:when test="count(child::*) = 4">
<m:apply>
-<xsl:template match="MUTIND[string(@uri)='cic:/coq/INIT/Logic/Equality/eq.ind']" mode="search" >
+<xsl:template match="MUTIND[string(@uri)='cic:/Coq/Init/Logic/Equality/eq.ind']" mode="search" >
<!-- <xsl:param name="current_uri" select=""/> -->
<!-- <h1><xsl:value-of select="string(@uri)"/></h1> -->
-<!-- <xsl:if test="string(@uri)='cic:/coq/INIT/Logic/Equality/eq.ind'"> -->
+<!-- <xsl:if test="string(@uri)='cic:/Coq/Init/Logic/Equality/eq.ind'"> -->
<xsl:value-of select="$current_uri"/><BR/>
<!-- </xsl:if> -->
</xsl:template>
<xsl:template match="VARIABLE">
<!-- <xsl:param name="current_uri" select=""/> -->
<xsl:variable name="found"
- select="boolean(document(concat(string($absPath),string($current_uri),"/",string(@uri)))//MUTIND[string(@uri)='cic:/coq/INIT/Logic/Equality/eq.ind'])"/>
+ select="boolean(document(concat(string($absPath),string($current_uri),"/",string(@uri)))//MUTIND[string(@uri)='cic:/Coq/Init/Logic/Equality/eq.ind'])"/>
<xsl:if test="$found">
<xsl:value-of select="concat(string($current_uri),"/",string(@uri),".xml")"/><BR/>
</xsl:if>
<xsl:with-param name="current_uri" select="concat(string($absPath),string($current_uri),"/",string(@uri))"/>
</xsl:apply-templates> -->
<xsl:variable name="found"
- select="boolean(document(concat(string($absPath),string($current_uri),"/",string(@uri)))//MUTIND[string(@uri)='cic:/coq/INIT/Logic/Equality/eq.ind'])"/>
+ select="boolean(document(concat(string($absPath),string($current_uri),"/",string(@uri)))//MUTIND[string(@uri)='cic:/Coq/Init/Logic/Equality/eq.ind'])"/>
<xsl:if test="$found">
<xsl:value-of select="concat(string($current_uri),"/",string(@uri),".xml")"/><BR/>
</xsl:if>
<xsl:with-param name="current_uri" select="concat(string($absPath),string($current_uri),"/",string(@uri))"/>
</xsl:apply-templates> -->
<xsl:variable name="found"
- select="boolean(document(concat(string($absPath),string($current_uri),"/",string(@uri)))//MUTIND[string(@uri)='cic:/coq/INIT/Logic/Equality/eq.ind'])"/>
+ select="boolean(document(concat(string($absPath),string($current_uri),"/",string(@uri)))//MUTIND[string(@uri)='cic:/Coq/Init/Logic/Equality/eq.ind'])"/>
<xsl:if test="$found">
<xsl:value-of select="concat(string($current_uri),"/",string(@uri),".xml")"/><BR/>
</xsl:if>
<!-- IN -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/In.con']]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/In.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- NOT-IN -->
<!-- NOT ha no parameters -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/INIT/Logic/not.con']
-and (count(child::*) = 2) and APPLY[CONST[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/In.con']]]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Init/Logic/not.con']
+and (count(child::*) = 2) and APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/In.con']]]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- EMPTY SET -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Empty_set.ind']]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Empty_set.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
</xsl:when>
<xsl:when test="(count(child::*) - number($no_params)) = 2">
<m:apply helm:xref="{@id}">
- <m:in definitionURL="cic:/coq/SETS/Ensembles/Ensembles/In.con"/>
+ <m:in definitionURL="cic:/Coq/Sets/Ensembles/Ensembles/In.con"/>
<xsl:apply-templates select="*[2+$no_params]" mode="noannot"/>
<m:set definitionURL="{MUTIND/@uri}" helm:xref="{@id}">
</m:set>
<!-- SINGLETON -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Singleton.ind']]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Singleton.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
</xsl:when>
<xsl:when test="(count(child::*) - number($no_params)) = 3">
<m:apply helm:xref="{@id}">
- <m:in definitionURL="cic:/coq/SETS/Ensembles/Ensembles/In.con"/>
+ <m:in definitionURL="cic:/Coq/Sets/Ensembles/Ensembles/In.con"/>
<xsl:apply-templates select="*[3+$no_params]" mode="noannot"/>
<m:set definitionURL="{MUTIND/@uri}">
<xsl:apply-templates select="*[2+$no_params]" mode="noannot"/>
<!-- COUPLE -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Couple.ind']]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Couple.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
</xsl:when>
<xsl:when test="(count(child::*) - number($no_params)) = 4">
<m:apply helm:xref="{@id}">
- <m:in definitionURL="cic:/coq/SETS/Ensembles/Ensembles/In.con"/>
+ <m:in definitionURL="cic:/Coq/Sets/Ensembles/Ensembles/In.con"/>
<xsl:apply-templates select="*[4+$no_params]" mode="noannot"/>
<m:set definitionURL="{MUTIND/@uri}">
<xsl:apply-templates select="*[2+$no_params]" mode="noannot"/>
<!-- TRIPLE -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Triple.ind'] and (count(child::*) = 5)]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Triple.ind'] and (count(child::*) = 5)]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
</xsl:when>
<xsl:when test="(count(child::*) - number($no_params)) = 5">
<m:apply helm:xref="{@id}">
- <m:in definitionURL="cic:/coq/SETS/Ensembles/Ensembles/In.con"/>
+ <m:in definitionURL="cic:/Coq/Sets/Ensembles/Ensembles/In.con"/>
<xsl:apply-templates select="*[5+$no_params]" mode="noannot"/>
<m:set definitionURL="{MUTIND/@uri}">
<xsl:apply-templates select="*[2+$no_params]" mode="noannot"/>
<!-- INTERSECTION -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Intersection.ind']]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Intersection.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- UNION -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Union.ind']]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Union.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- INCLUDED -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Included.con']]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Included.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- STRICTLY INCLUDED -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Strict_Included.con']]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Strict_Included.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- SET-DIFF -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Setminus.con']]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Setminus.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- ADD-ELEM -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Add.con']]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Add.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- SUBTRACT-ELEM -->
-<xsl:template match="APPLY[CONST[attribute::uri='cic:/coq/SETS/Ensembles/Ensembles/Subtract.con']]" mode="pure">
+<xsl:template match="APPLY[CONST[attribute::uri='cic:/Coq/Sets/Ensembles/Ensembles/Subtract.con']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>
<!-- CARD -->
-<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/coq/SETS/Finite_sets/Ensembles_finis/cardinal.ind']]" mode="pure">
+<xsl:template match="APPLY[MUTIND[attribute::uri='cic:/Coq/Sets/Finite_sets/Ensembles_finis/cardinal.ind']]" mode="pure">
<xsl:variable name="no_params">
<xsl:call-template name="get_no_params">
<xsl:with-param name="first_uri" select="/cicxml/@uri"/>