]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/reals.xsl
Update to V7 after V6-2 tag creationg
[helm.git] / helm / style / reals.xsl
index ff69f9a2213b65af3a2fec176cae56b0126136ab..4d17ae2601ad8822ea9f1f74d04ff3e53d6152fc 100644 (file)
 <!-- 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>
@@ -83,7 +83,7 @@
 </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>