-<xsl:template match="APPLY[CONST[
- attribute::uri='cic:/Coq/Reals/Rdefinitions/Rinv.con']]" mode="pure">
- <xsl:choose>
- <xsl:when test="count(child::*) = 2">
- <m:apply helm:xref="{@id}">
- <m:power/>
- <xsl:apply-templates select="*[2]" mode="noannot"/>
- <m:apply>
- <m:minus>
- <xsl:attribute name="definitionURL">
- <xsl:value-of select="CONST/@uri"/>
- </xsl:attribute>
- <xsl:attribute name="helm:xref">
- <xsl:value-of select="CONST/@id"/>
- </xsl:attribute>
- </m:minus>
- <m:cn>1</m:cn>
- </m:apply>
- </m:apply>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-imports/>
- </xsl:otherwise>
- </xsl:choose>
+<xsl:template match="APPLY[CONST/@uri='cic:/Coq/Reals/Rbasic_fun/Rabsolu.con']" mode="pure">
+ <xsl:call-template name="mk-mml-op-noannot">
+ <xsl:with-param name="arity" select="1"/>
+ <xsl:with-param name="c-tag" select="CONST"/>
+ <xsl:with-param name="m-tag" select="'abs'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="APPLY[CONST/@uri='cic:/Coq/Reals/Rfunctions/fact.con']" mode="pure">
+ <xsl:call-template name="mk-mml-op-noannot">
+ <xsl:with-param name="arity" select="1"/>
+ <xsl:with-param name="c-tag" select="CONST"/>
+ <xsl:with-param name="m-tag" select="'factorial'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="APPLY[CONST/@uri='cic:/Coq/Reals/Rbase/Rsqr.con']" mode="pure">
+ <xsl:variable name="mbody">
+ <xsl:apply-templates select="*[2]" mode="noannot"/>
+ <m:cn>2</m:cn>
+ </xsl:variable>
+ <xsl:call-template name="out-mml-op">
+ <xsl:with-param name="arity" select="1"/>
+ <xsl:with-param name="c-tag" select="CONST"/>
+ <xsl:with-param name="m-tag" select="'power'"/>
+ <xsl:with-param name="mbody" select="$mbody"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="APPLY[CONST/@uri='cic:/Coq/Reals/Rdefinitions/Rinv.con']" mode="pure">
+ <xsl:variable name="mbody1">
+ <xsl:apply-templates select="*[2]" mode="noannot"/>
+ <xsl:variable name="mbody2">
+ <m:cn>1</m:cn>
+ </xsl:variable>
+ <xsl:call-template name="out-mml-op">
+ <xsl:with-param name="arity" select="1"/>
+ <xsl:with-param name="c-tag" select="CONST"/>
+ <xsl:with-param name="m-tag" select="'minus'"/>
+ <xsl:with-param name="mbody" select="$mbody2"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:call-template name="out-mml-op">
+ <xsl:with-param name="arity" select="1"/>
+ <xsl:with-param name="c-tag" select="CONST"/>
+ <xsl:with-param name="m-tag" select="'power'"/>
+ <xsl:with-param name="mbody" select="$mbody1"/>
+ </xsl:call-template>