1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
- /* vim: set ts=2 et sw=2 tw=80: */
- /*************************************************************
- *
- * MathJax/extensions/MathML/content-mathml.js
- *
- * This file implements an XSLT transform to convert Content-MathML to
- * Presentation MathML for processing by MathJax. The transform is
- * performed in a pre-filter for the MathML input jax, so that the
- * Show Math As menu will still show the Original MathML as Content MathML,
- * but the Presentation MathML can be obtained from the main MathML menu.
- *
- * To load it, include
- *
- * MathML: {
- * extensions: ["content-mathml.js"]
- * }
- *
- * in your configuration.
- *
- * A portion of this file is taken from ctop.xsl which is
- * Copyright (c) David Carlisle 2001, 2002,
- * and is used by permission of David Carlisle, who has agreed to allow us
- * to release it under the Apache2 license (see below). That portion is
- * indicated via comments.
- *
- * The remainder falls under the copyright that follows.
- * ---------------------------------------------------------------------
- *
- * Copyright (c) 2013 The MathJax Consortium
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */MathJax.Extension["MathML/content-mathml"]={version:"2.2"};MathJax.Hub.Register.StartupHook("MathML Jax Ready",function(){var a=MathJax.InputJax.MathML,e=a.Parse.prototype;a.prefilterHooks.Add(function(b){if(a.ctopXSLT){a.ParseXML||(a.ParseXML=a.createParser());var c=a.ParseXML(e.preProcessMath(b.math)),d=a.ctopXSLT.transformToDocument(c);if("string"===typeof d)b.math=d;else if(window.XMLSerializer){var f=new XMLSerializer;b.math=f.serializeToString(d.documentElement,c)}}});var b;if(window.XSLTProcessor)a.ParseXML||(a.ParseXML=a.createParser()),a.ctopXSLT=new XSLTProcessor,a.ctopXSLT.importStylesheet(a.ParseXML('\x3cx:stylesheet version\x3d"1.0" xmlns:x\x3d"http://www.w3.org/1999/XSL/Transform" xmlns\x3d"http://www.w3.org/1998/Math/MathML" xmlns:m\x3d"http://www.w3.org/1998/Math/MathML" xmlns:e\x3d"http://exslt.org/strings" xmlns:c\x3d"http://exslt.org/common" exclude-result-prefixes\x3d"m e c"\x3e \x3c!-- Copyright David Carlisle 2001, 2002, 2008, 2009. Use and distribution of this code are permitted under the terms of the\x3ca href\x3d"http://www.w3.org/Consortium/Legal/copyright-software-19980720" \x3eW3C Software Notice and License\x3c/a\x3e. 2001-2002 MathML2 version 2008-2009 Updates for MathML3 --\x3e \x3cx:output method\x3d"xml" /\x3e \x3cx:template match\x3d"/"\x3e\x3cx:apply-templates/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*"\x3e\x3cx:copy\x3e\x3cx:copy-of select\x3d"@*"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn"\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'complex-cartesian\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'complex_cartesian\']]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'rational\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'rational\']]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[not(@type) or @type\x3d\'integer\']"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(@base) or @base\x3d10"\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmsub\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3cmn\x3e\x3cx:value-of select\x3d"@base"/\x3e\x3c/mn\x3e\x3c/msub\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'complex-polar\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cmi\x3ei\x3c/mi\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'complex_polar\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cmi\x3ei\x3c/mi\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'e-notation\']"\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"m:sep/preceding-sibling::node()"/\x3e\x3cx:text\x3eE\x3c/x:text\x3e\x3cx:apply-templates select\x3d"m:sep/following-sibling::node()"/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'hexdouble\']"\x3e\x3cmn\x3e\x3cx:text\x3e0x\x3c/x:text\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ci/text()"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ci"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:csymbol/text()"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:csymbol"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply|m:reln"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"*[1]/*/*"\x3e\x3cmfenced separators\x3d""\x3e \x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e \x3c/x:apply-templates\x3e\x3c/mfenced\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmfenced open\x3d"(" close\x3d")" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()\x3e1]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:bind"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"*[1]/*/*"\x3e\x3cmfenced separators\x3d""\x3e \x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e \x3c/x:apply-templates\x3e\x3c/mfenced\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"bvar/*"/\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()\x3e1][not(self::m:bvar)]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:fn"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:interval[*[2]]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'open\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'open-closed\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"(" close\x3d"]"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'closed-open\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"[" close\x3d")"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:interval"\x3e\x3cmfenced open\x3d"{{" close\x3d"}}"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'integer_interval\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval-cc\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval-oo\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'oriented_interval\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:inverse]] |m:apply[*[1][self::m:csymbol\x3d\'inverse\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmn\x3e-1\x3c/mn\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:condition"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:declare"/\x3e \x3cx:template match\x3d"m:lambda |m:apply[*[1][self::m:csymbol\x3d\'lambda\']] |m:bind[*[1][self::m:csymbol\x3d\'lambda\']]"\x3e\x3cmrow\x3e\x3cmi\x3e\x26#955;\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:compose]] |m:apply[*[1][self::m:csymbol\x3d\'left_compose\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8728;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ident"\x3e\x3cmi\x3eid\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:domain"\x3e\x3cmi\x3edomain\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:codomain"\x3e\x3cmi\x3ecodomain\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:image"\x3e\x3cmi\x3eimage\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:domainofapplication"\x3e\x3cmerror\x3e\x3cmtext\x3eunexpected domainofapplication\x3c/mtext\x3e\x3c/merror\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[2][self::m:bvar]][m:domainofapplication]" priority\x3d"0.4"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[m:domainofapplication]" priority\x3d"0.3"\x3e\x3cmrow\x3e\x3cmrow\x3e\x3cmi\x3erestriction\x3c/mi\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:piecewise"\x3e\x3cmrow\x3e\x3cmo\x3e{\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"m:piece|m:otherwise"\x3e \x3cmtr\x3e \x3cmtd\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3c/mtd\x3e \x3cx:choose\x3e \x3cx:when test\x3d"self::m:piece"\x3e \x3cmtd columnalign\x3d"left"\x3e\x3cmtext\x3e\x26#160; if \x26#160;\x3c/mtext\x3e\x3c/mtd\x3e \x3cmtd\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mtd\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmtd colspan\x3d"2" columnalign\x3d"left"\x3e\x3cmtext\x3e\x26#160; otherwise\x3c/mtext\x3e\x3c/mtd\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:quotient]] |m:apply[*[1][self::m:csymbol\x3d\'quotient\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8970;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3cmo\x3e\x26#8971;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:factorial]] |m:apply[*[1][self::m:csymbol\x3d\'factorial\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmo\x3e!\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:divide]] |m:apply[*[1][self::m:csymbol\x3d\'divide\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e/\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:max]] |m:apply[*[1][self::m:csymbol\x3d\'max\']]"\x3e\x3cmrow\x3e\x3cmi\x3emax\x3c/mi\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:min]]|m:reln[*[1][self::m:min]]"\x3e\x3cmrow\x3e\x3cmi\x3emin\x3c/mi\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:minus] and count(*)\x3d2] |m:apply[*[1][self::m:csymbol\x3d\'unary_minus\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8722;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:minus] and count(*)\x26gt;2] |m:apply[*[1][self::m:csymbol\x3d\'minus\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8722;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:plus]] |m:apply[*[1][self::m:csymbol\x3d\'plus\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$p \x26gt; 2"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:apply/*[1][self::m:minus] or self::m:cn[not(m:sep) and (number(.) \x26lt; 0)]]]"\x3e\x26#8722;\x3c/x:when\x3e\x3cx:otherwise\x3e+\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:if\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:cn[not(m:sep) and (number(.) \x26lt;0)]]]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:value-of select\x3d"-(*[2])"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"first" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:apply/*[1][self::m:minus]]]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"./*[2]/*[2]"/\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"first" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$p \x26gt; 2"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:power]] |m:apply[*[1][self::m:csymbol\x3d\'power\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3cx:apply-templates select\x3d"*[3]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:rem]] |m:apply[*[1][self::m:csymbol\x3d\'rem\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3emod\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:times]] |m:apply[*[1][self::m:csymbol\x3d\'times\']]" name\x3d"times"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"first" select\x3d"1"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$p \x26gt; 3"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:cn"\x3e\x26#215;\x3c/x:when\x3e\x3cx:otherwise\x3e\x26#8290;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:if\x3e\x3cx:if test\x3d"position()\x26gt;\x3d $first"\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"3"/\x3e\x3c/x:apply-templates\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$p \x26gt; 3"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:root] and not(m:degree) or m:degree\x3d2]" priority\x3d"4"\x3e\x3cmsqrt\x3e\x3cx:apply-templates select\x3d"*[position()\x26gt;1]"/\x3e\x3c/msqrt\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:root]]"\x3e\x3cmroot\x3e\x3cx:apply-templates select\x3d"*[position()\x26gt;1 and not(self::m:degree)]"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/*"/\x3e\x3c/mrow\x3e\x3c/mroot\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'root\']]"\x3e\x3cmroot\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mroot\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:gcd"\x3e\x3cmi\x3egcd\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:and]] |m:reln[*[1][self::m:and]] |m:apply[*[1][self::m:csymbol\x3d\'and\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:or]] |m:apply[*[1][self::m:csymbol\x3d\'or\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8744;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:xor]] |m:apply[*[1][self::m:csymbol\x3d\'xor\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3exor\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:not]] |m:apply[*[1][self::m:csymbol\x3d\'not\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#172;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:implies]] |m:reln[*[1][self::m:implies]] |m:apply[*[1][self::m:csymbol\x3d\'implies\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8658;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:forall]] |m:apply[*[1][self::m:csymbol\x3d\'forall\']] |m:bind[*[1][self::m:forall]] |m:bind[*[1][self::m:csymbol\x3d\'forall\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8704;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar[not(current()/m:condition)]/*|m:condition/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:exists]] |m:apply[*[1][self::m:csymbol\x3d\'exists\']] |m:bind[*[1][self::m:exists]] |m:bind[*[1][self::m:csymbol\x3d\'exists\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8707;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar[not(current()/m:condition)]/*|m:condition/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced separators\x3d""\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:condition"\x3e\x3cx:apply-templates select\x3d"m:condition/*"/\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:when\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmrow\x3e\x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e \x3cmo\x3e,\x3c/mo\x3e \x3c/x:if\x3e \x3c/x:for-each\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:when\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:abs]] |m:apply[*[1][self::m:csymbol\x3d\'abs\']]"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:conjugate]] |m:apply[*[1][self::m:csymbol\x3d\'conjugate\']]"\x3e\x3cmover\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#175;\x3c/mo\x3e\x3c/mover\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:arg"\x3e\x3cmi\x3earg\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:real|m:csymbol[.\x3d\'real\']"\x3e\x3cmo\x3e\x26#8475;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:imaginary|m:csymbol[.\x3d\'imaginary\']"\x3e\x3cmo\x3e\x26#8465;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:lcm"\x3e\x3cmi\x3elcm\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:floor]] |m:apply[*[1][self::m:csymbol\x3d\'floor\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8970;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8971;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:ceiling]] |m:apply[*[1][self::m:csymbol\x3d\'ceiling\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8968;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8969;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:eq]] |m:reln[*[1][self::m:eq]] |m:apply[*[1][self::m:csymbol\x3d\'eq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:neq]] |m:apply[*[1][self::m:csymbol\x3d\'neq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8800;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:gt]] |m:reln[*[1][self::m:gt]] |m:apply[*[1][self::m:csymbol\x3d\'gt\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26gt;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:lt]] |m:reln[*[1][self::m:lt]] |m:apply[*[1][self::m:csymbol\x3d\'lt\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26lt;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:geq]] |m:apply[*[1][self::m:csymbol\x3d\'geq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8805;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:leq]] |m:apply[*[1][self::m:csymbol\x3d\'leq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8804;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:equivalent]] |m:apply[*[1][self::m:csymbol\x3d\'equivalent\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8801;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:approx]] |m:apply[*[1][self::m:csymbol\x3d\'approx\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8771;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:factorof]] |m:apply[*[1][self::m:csymbol\x3d\'factorof\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:int]] |m:apply[*[1][self::m:csymbol\x3d\'int\']] |m:bind[*[1][self::m:int]] |m:bind[*[1][self::m:csymbol\x3d\'int\']]"\x3e\x3cmrow\x3e\x3cmsubsup\x3e\x3cmi\x3e\x26#8747;\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit/*|m:interval/*[1]|m:condition/*|m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:uplimit/*|m:interval/*[2]"/\x3e\x3c/mrow\x3e\x3c/msubsup\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cx:if test\x3d"m:bvar"\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar"/\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'defint\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3e\x26#8747;\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:diff] and not(m:bvar)]| m:apply[*[1][self::m:csymbol\x3d\'diff\']]" priority\x3d"2"\x3e\x3cmsup\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8242;\x3c/mo\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:diff]]" priority\x3d"1"\x3e\x3cmfrac\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:bvar/m:degree"\x3e\x3cmrow\x3e\x3cmsup\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar/m:degree/node()"/\x3e\x3c/msup\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"m:bvar/node()"/\x3e\x3cx:apply-templates select\x3d"m:bvar/m:degree/node()"/\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar"/\x3e\x3c/mrow\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mfrac\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:partialdiff] and m:list and m:ci and count(*)\x3d3]" priority\x3d"2"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmi\x3eD\x3c/mi\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"m:list[1]/*"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position()\x26lt;last()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:partialdiff]]" priority\x3d"1"\x3e\x3cmfrac\x3e\x3cmrow\x3e\x3cx:choose\x3e \x3cx:when test\x3d"not(m:bvar/m:degree) and not(m:bvar[2])"\x3e \x3cmo\x3e\x26#8706;\x3c/mo\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmsup\x3e\x3cmo\x3e\x26#8706;\x3c/mo\x3e \x3cmrow\x3e \x3cx:choose\x3e \x3cx:when test\x3d"m:degree"\x3e \x3cx:apply-templates select\x3d"m:degree/node()"/\x3e \x3c/x:when\x3e \x3cx:when test\x3d"m:bvar/m:degree[string(number(.))\x3d\'NaN\']"\x3e \x3cx:for-each select\x3d"m:bvar/m:degree"\x3e \x3cx:apply-templates select\x3d"node()"/\x3e \x3cx:if test\x3d"position()\x26lt;last()"\x3e\x3cmo\x3e+\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e \x3cx:if test\x3d"count(m:bvar[not(m:degree)])\x26gt;0"\x3e \x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:value-of select\x3d"count(m:bvar[not(m:degree)])"/\x3e\x3c/mn\x3e \x3c/x:if\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmn\x3e\x3cx:value-of select\x3d"number(sum(m:bvar/m:degree))+count(m:bvar[not(m:degree)])"/\x3e\x3c/mn\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/mrow\x3e \x3c/msup\x3e \x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"m:bvar"\x3e \x3cmrow\x3e \x3cmo\x3e\x26#8706;\x3c/mo\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"node()"/\x3e \x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e \x3c/msup\x3e \x3c/mrow\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/mfrac\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'partialdiffdegree\']]"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmo\x3e\x26#8706;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[4]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:lowlimit"/\x3e \x3cx:template match\x3d"m:uplimit"/\x3e \x3cx:template match\x3d"m:bvar"\x3e\x3cmi\x3e\x3cx:apply-templates/\x3e\x3c/mi\x3e\x3cx:if test\x3d"following-sibling::m:bvar"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:degree"/\x3e \x3cx:template match\x3d"m:divergence"\x3e\x3cmi\x3ediv\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:divergence]and m:bvar and m:vector]"\x3e\x3cx:variable name\x3d"v" select\x3d"m:bvar"/\x3e\x3cmrow\x3e\x3cmi\x3ediv\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"m:vector/*"\x3e\x3cx:variable name\x3d"p" select\x3d"position()"/\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"$v[$p]/*"/\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:grad"\x3e\x3cmi\x3egrad\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:grad]and m:bvar]"\x3e\x3cmrow\x3e\x3cmi\x3egrad\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mfenced\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1][not(self::m:bvar)]"/\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:curl"\x3e\x3cmi\x3ecurl\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:laplacian"\x3e\x3cmsup\x3e\x3cmo\x3e\x26#8711;\x3c/mo\x3e\x3cmn\x3e2\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:laplacian]and m:bvar]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mfenced\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1][not(self::m:bvar)]"/\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:set"\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'set\']]"\x3e\x3cmfenced open\x3d"{{" close\x3d"}}" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:list"\x3e\x3cx:call-template name\x3d"set"\x3e\x3cx:with-param name\x3d"o" select\x3d"\'(\'"/\x3e\x3cx:with-param name\x3d"c" select\x3d"\')\'"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'list\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:union]] |m:apply[*[1][self::m:csymbol\x3d\'union\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8746;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:union]][m:bvar] |m:apply[*[1][self::m:csymbol\x3d\'union\']][m:bvar]" priority\x3d"2" \x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x22C3;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:intersect]] |m:apply[*[1][self::m:csymbol\x3d\'intersect\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8745;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:intersect]][m:bvar] |m:apply[*[1][self::m:csymbol\x3d\'intersect\']][m:bvar]" priority\x3d"2" \x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x22C2;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:in]] |m:apply[*[1][self::m:csymbol\x3d\'in\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notin]]|m:reln[*[1][self::m:notin]] |m:apply[*[1][self::m:csymbol\x3d\'notin\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8713;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:subset]] |m:apply[*[1][self::m:csymbol\x3d\'subset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8838;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:prsubset]] |m:apply[*[1][self::m:csymbol\x3d\'prsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8834;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notsubset]] |m:apply[*[1][self::m:csymbol\x3d\'notsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8840;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notprsubset]] |m:apply[*[1][self::m:csymbol\x3d\'notprsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8836;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:setdiff]] |m:apply[*[1][self::m:csymbol\x3d\'setdiff\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8726;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:card]] |m:apply[*[1][self::m:csymbol\x3d\'card\']]"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:cartesianproduct or self::m:vectorproduct]] |m:apply[*[1][self::m:csymbol[.\x3d\'cartesian_product\' or . \x3d \'vectorproduct\']]]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#215;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:cartesianproduct][count(following-sibling::m:reals)\x3dcount(following-sibling::*)]]" priority\x3d"2"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3cmn\x3e\x3cx:value-of select\x3d"count(*)-1"/\x3e\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template name\x3d"sum" match\x3d"m:apply[*[1][self::m:sum]]"\x3e\x3cx:param name\x3d"mo"\x3e\x3cmo\x3e\x26#8721;\x3c/mo\x3e\x3c/x:param\x3e\x3cmrow\x3e\x3cmunderover\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit|m:interval/*[1]|m:condition/*|m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:uplimit/*|m:interval/*[2]"/\x3e\x3c/mrow\x3e\x3c/munderover\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'sum\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmo\x3e\x26#8721;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply/m:lowlimit" priority\x3d"3"\x3e\x3cmrow\x3e\x3cx:if test\x3d"../m:bvar"\x3e\x3cx:apply-templates select\x3d"../m:bvar/node()"/\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3c/x:if\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:product]]"\x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8719;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'product\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmo\x3e\x26#8719;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:limit]]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3elim\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit|m:condition/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'limit\']][m:bind]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3elim\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bind/m:bvar/*"/\x3e\x3cmo\x3e\x3cx:choose\x3e \x3cx:when test\x3d"*[3]\x3d\'above\'"\x3e\x26#8600;\x3c/x:when\x3e \x3cx:when test\x3d"*[3]\x3d\'below\'"\x3e\x26#8599;\x3c/x:when\x3e \x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"m:bind/*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[m:limit]/m:lowlimit" priority\x3d"4"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"../m:bvar/node()"/\x3e\x3cmo\x3e\x26#8594;\x3c/mo\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:tendsto]]|m:reln[*[1][self::m:tendsto]]"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@type\x3d\'above\'"\x3e\x26#8600;\x3c/x:when\x3e\x3cx:when test\x3d"@type\x3d\'below\'"\x3e\x26#8599;\x3c/x:when\x3e\x3cx:when test\x3d"@type\x3d\'two-sided\'"\x3e\x26#8594;\x3c/x:when\x3e\x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'tendsto\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3cmo\x3e\x3cx:choose\x3e \x3cx:when test\x3d"*[1][self::above]"\x3e\x26#8600;\x3c/x:when\x3e \x3cx:when test\x3d"*[1][self::below]"\x3e\x26#8599;\x3c/x:when\x3e \x3cx:when test\x3d"*[1][self::two-sided]"\x3e\x26#8594;\x3c/x:when\x3e \x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[4]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:semantics/m:ci\x3d\'tendsto\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8594;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:tendsto"\x3e\x3cmi\x3etendsto\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][ self::m:sin or self::m:cos or self::m:tan or self::m:sec or self::m:csc or self::m:cot or self::m:sinh or self::m:cosh or self::m:tanh or self::m:sech or self::m:csch or self::m:coth or self::m:arcsin or self::m:arccos or self::m:arctan or self::m:arccosh or self::m:arccot or self::m:arccoth or self::m:arccsc or self::m:arccsch or self::m:arcsec or self::m:arcsech or self::m:arcsinh or self::m:arctanh or self::m:ln]]"\x3e\x3cmrow\x3e\x3cmi\x3e\x3cx:value-of select\x3d"local-name(*[1])"/\x3e\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d" m:sin | m:cos | m:tan | m:sec | m:csc | m:cot | m:sinh | m:cosh | m:tanh | m:sech | m:csch | m:coth | m:arcsin | m:arccos | m:arctan | m:arccosh | m:arccot | m:arccoth | m:arccsc | m:arccsch | m:arcsec | m:arcsech | m:arcsinh | m:arctanh | m:ln|m:mean| m:plus|m:minus"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"local-name()"/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:exp]] |m:apply[*[1][self::m:csymbol\x3d\'exp\']]"\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:log]] |m:apply[*[1][self::m:csymbol\x3d\'log\']]"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(m:logbase) or m:logbase\x3d10"\x3e\x3cmi\x3elog\x3c/mi\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmsub\x3e\x3cmi\x3elog\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:logbase/node()"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:mean]] |m:apply[*[1][self::m:csymbol\x3d\'mean\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:sdev|m:csymbol[.\x3d\'sdev\']"\x3e\x3cmo\x3e\x26#963;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:variance]] |m:apply[*[1][self::m:csymbol\x3d\'variance\']]"\x3e\x3cmsup\x3e\x3cmrow\x3e\x3cmo\x3e\x26#963;\x3c/mo\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3cmn\x3e2\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:median"\x3e\x3cmi\x3emedian\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mode"\x3e\x3cmi\x3emode\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:moment]]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e\x3cx:variable name\x3d"data" select\x3d"*[not(position()\x3d1)] [not(self::m:degree or self::m:momentabout)]"/\x3e\x3cx:choose\x3e \x3cx:when test\x3d"$data[2]"\x3e \x3cmfenced\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/mfenced\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'moment\']]"\x3e\x3cmsub\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e \x3cx:apply-templates select\x3d"*[4]"/\x3e \x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e \x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:momentabout"/\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:moment]][m:momentabout]" priority\x3d"2"\x3e\x3cmsub\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e \x3cx:variable name\x3d"data" select\x3d"*[not(position()\x3d1)] [not(self::m:degree or self::m:momentabout)]"/\x3e \x3cx:choose\x3e \x3cx:when test\x3d"$data[2]"\x3e \x3cmfenced\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/mfenced\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:momentabout/*"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector[m:condition]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:condition"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector[m:domainofapplication]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3cmo\x3e\x26#x2208;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'vector\']]"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"*[position()!\x3d1]"\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates/\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix[m:condition]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cmsub\x3e\x3cmi\x3em\x3c/mi\x3e\x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cmsub\x3e \x3cmi\x3em\x3c/mi\x3e \x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e \x3c/mrow\x3e\x3c/msub\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmo\x3e;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:condition"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'matrix\']]"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix/m:matrixrow"\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrixrow"\x3e\x3cmtable\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/mtable\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol.\x3d\'matrixrow\']]"\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*[position()!\x3d1]"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:determinant]] |m:apply[*[1][self::m:csymbol\x3d\'determinant\']]"\x3e\x3cmrow\x3e\x3cmi\x3edet\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:determinant]][*[2][self::m:matrix]]" priority\x3d"2"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates select\x3d"m:matrix/*"/\x3e\x3c/mtable\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:transpose]] |m:apply[*[1][self::m:csymbol\x3d\'transpose\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmi\x3eT\x3c/mi\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:selector]] |m:apply[*[1][self::m:csymbol\x3d\'selector\']]"\x3e\x3cmsub\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"*[position()\x26gt;2]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:scalarproduct]] |m:apply[*[1][self::m:csymbol\x3d\'scalarproduct\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e.\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:outerproduct]] |m:apply[*[1][self::m:csymbol\x3d\'outerproduct\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x2297;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:semantics"\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:semantics[m:annotation-xml/@encoding\x3d\'MathML-Presentation\']"\x3e\x3cx:apply-templates select\x3d"m:annotation-xml[@encoding\x3d\'MathML-Presentation\']/node()"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:integers"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eZ\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:reals"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eR\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:rationals"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eQ\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:naturalnumbers"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eN\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:complexes"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eC\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:primes"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eP\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:exponentiale"\x3e\x3cmi\x3ee\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:imaginaryi"\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:notanumber"\x3e\x3cmi\x3eNaN\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:true"\x3e\x3cmi\x3etrue\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:false"\x3e\x3cmi\x3efalse\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:emptyset|m:csymbol[.\x3d\'emptyset\']"\x3e\x3cmi\x3e\x26#8709;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:pi|m:csymbol[.\x3d\'pi\']"\x3e\x3cmi\x3e\x26#960;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:eulergamma|m:csymbol[.\x3d\'gamma\']"\x3e\x3cmi\x3e\x26#947;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:infinity|m:csymbol[.\x3d\'infinity\']"\x3e\x3cmi\x3e\x26#8734;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template name\x3d"infix" \x3e\x3cx:param name\x3d"mo"/\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"this-p" select\x3d"0"/\x3e\x3cx:variable name\x3d"dmo"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmunder\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cmrow\x3e \x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmrow\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[not(self::m:domainofapplication)][position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cx:copy-of select\x3d"$dmo"/\x3e\x3c/x:if\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template name\x3d"binary" \x3e\x3cx:param name\x3d"mo"/\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"this-p" select\x3d"0"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cx:apply-templates select\x3d"*[3]"\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template name\x3d"set" \x3e\x3cx:param name\x3d"o" select\x3d"\'{\'"/\x3e\x3cx:param name\x3d"c" select\x3d"\'}\'"/\x3e\x3cmrow\x3e\x3cmo\x3e\x3cx:value-of select\x3d"$o"/\x3e\x3c/mo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:condition"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:condition/following-sibling::*"/\x3e\x3c/mrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:condition/node()"/\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/node()"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/node()"/\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:for-each select\x3d"*[not(position()\x3d1 and parent::m:apply)]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x3cx:value-of select\x3d"$c"/\x3e\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cs"\x3e\x3cms\x3e\x3cx:value-of select\x3d" translate(., \'\x26#9;\x26#10;\x26#13;\x26#32;\', \'\x26#160;\x26#160;\x26#160;\x26#160;\')"/\x3e\x3c/ms\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cbytes"\x3e\x3cmrow/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cerror"\x3e\x3cmerror\x3e\x3cx:apply-templates/\x3e\x3c/merror\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:share" priority\x3d"4"\x3e\x3cmi href\x3d"{@href}"\x3eshare\x3cx:value-of select\x3d"substring-after(@href,\'#\')"/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:output indent\x3d"yes" omit-xml-declaration\x3d"yes"/\x3e \x3cx:template match\x3d"*"\x3e\x3cx:copy\x3e\x3cx:copy-of select\x3d"@*"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*[@dir\x3d\'rtl\']" priority\x3d"10"\x3e\x3c!--starting rtl\x3cx:value-of select\x3d"name()"/\x3e.--\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"."/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@*" mode\x3d"rtl"\x3e\x3cx:copy-of select\x3d"."/\x3e\x3c/x:template\x3e\x3cx:template match\x3d"*" mode\x3d"rtl"\x3e\x3cx:copy\x3e\x3cx:apply-templates select\x3d"@*" mode\x3d"rtl"/\x3e\x3cx:for-each select\x3d"node()"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:text\x3e\x3c/x:text\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"."/\x3e\x3c/x:for-each\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'(\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e)\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\')\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e(\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'[\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e]\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\']\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e[\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'{\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e}\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'}\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e{\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'(\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e)\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\')\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e(\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'[\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e]\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\']\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e[\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'{\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e}\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'}\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e{\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mfrac[@bevelled\x3d\'true\']" mode\x3d"rtl"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmi\x3e\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3c/msub\x3e\x3cmo\x3e\x26#x5c;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3e\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mfrac" mode\x3d"rtl"\x3e\x3cx:copy\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*"/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mroot" mode\x3d"rtl"\x3e\x3cmsup\x3e\x3cmenclose notation\x3d"top right"\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*[1]"/\x3e\x3c/menclose\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"*[2]"/\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msqrt" mode\x3d"rtl"\x3e\x3cmenclose notation\x3d"top right"\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*[1]"/\x3e\x3c/menclose\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mtable|m:munder|m:mover|m:munderover" mode\x3d"rtl" priority\x3d"2"\x3e\x3cx:copy\x3e\x3cx:apply-templates select\x3d"@*" mode\x3d"rtl"/\x3e\x3cx:apply-templates mode\x3d"rtl"\x3e\x3c/x:apply-templates\x3e\x3c/x:copy\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msup" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cnone/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msub" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3cnone/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msubsup" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"*[3]" mode\x3d"rtl"/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:mmultiscripts" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cx:for-each select\x3d"m:mprescripts/following-sibling::*[position() mod 2 \x3d 1]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3cmprescripts/\x3e\x3cx:for-each select\x3d"m:mprescripts/preceding-sibling::*[position()!\x3dlast()][position() mod 2 \x3d 0]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:mmultiscripts[not(m:mprescripts)]" mode\x3d"rtl" priority\x3d"3"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:for-each select\x3d"*[position() mod 2 \x3d 0]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'(\']" mode\x3d"rtl"\x3e)\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\')\']" mode\x3d"rtl"\x3e(\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'{\']" mode\x3d"rtl"\x3e}\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'}\']" mode\x3d"rtl"\x3e{\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26lt;\']" mode\x3d"rtl"\x3e\x26gt;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26gt;\']" mode\x3d"rtl"\x3e\x26lt;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x2208;\']" mode\x3d"rtl"\x3e\x26#x220b;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x220b;\']" mode\x3d"rtl"\x3e\x26#x2208;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x2211;\']|text()[.\x3d\'\x26#x222b;\']" mode\x3d"rtl"\x3e\x3csvg width\x3d"20" height\x3d"20" version\x3d"1.1" xmlns\x3d"http://www.w3.org/2000/svg"\x3e\x3cg transform\x3d"matrix(-1 0 0 1 0 0 )"\x3e\x3ctext id\x3d"TextElement" x\x3d"-20" y\x3d"15" \x3e\x3cx:value-of select\x3d"."/\x3e\x3c/text\x3e\x3c/g\x3e\x3c/svg\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@notation[.\x3d\'radical\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"notation"\x3etop right\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template name\x3d"mml2attrib"\x3e\x3c!-- \x3cx:copy-of select\x3d"@*[not(local-name()\x3d\'href\')]"/\x3e --\x3e\x3cx:copy-of select\x3d"@*[not(local-name()\x3d\'href\')]"/\x3e\x3cx:attribute name\x3d"style"\x3e\x3cx:if test\x3d"@style"\x3e\x3cx:value-of select\x3d"@style"/\x3e;\x3c/x:if\x3e\x3cx:if test\x3d"@mathcolor"\x3ecolor:\x3cx:value-of select\x3d"@mathcolor"/\x3e;\x3c/x:if\x3e\x3cx:if test\x3d"@mathbackground"\x3ebackground-color:\x3cx:value-of select\x3d"@mathbackground"/\x3e;\x3c/x:if\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3c!-- \x3cx:template match\x3d"*[@href]" priority\x3d"3"\x3e\x3ca xmlns\x3d"http://www.w3.org/1999/xhtml" style\x3d"text-decoration: none" href\x3d"{@href}"\x3e\x3cx:copy\x3e\x3cx:call-template name\x3d"mml2attrib"/\x3e\x3cx:attribute name\x3d"class"\x3e\x3cx:text\x3emmlhref\x3c/x:text\x3e\x3cx:value-of select\x3d"@class"/\x3e\x3c/x:attribute\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/a\x3e\x3c/x:template\x3e--\x3e\x3cx:template match\x3d"*[@mathcolor|@mathbackground]"\x3e\x3cx:copy\x3e\x3cx:call-template name\x3d"mml2attrib"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:param name\x3d"hascolspan" select\x3d"true()"/\x3e \x3cx:template match\x3d"m:mstack"\x3e\x3cmtable columnspacing\x3d"0em"\x3e\x3cx:variable name\x3d"t"\x3e\x3cx:apply-templates select\x3d"*" mode\x3d"mstack1"\x3e\x3cx:with-param name\x3d"p" select\x3d"0"/\x3e\x3c/x:apply-templates\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"maxl"\x3e\x3cx:for-each select\x3d"c:node-set($t)/*/@l"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending"/\x3e\x3cx:if test\x3d"position()\x3d1"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/x:variable\x3e\x3cx:for-each select\x3d"c:node-set($t)/*[not(@class\x3d\'mscarries\') or following-sibling::*[1]/@class\x3d\'mscarries\']"\x3e\x3cx:variable name\x3d"c" select\x3d"preceding-sibling::*[1][@class\x3d\'mscarries\']"/\x3e\x3cx:text\x3e\x26#10;\x3c/x:text\x3e\x3cmtr\x3e\x3cx:variable name\x3d"offset" select\x3d"$maxl - @l"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$hascolspan and @class\x3d\'msline\' and (string(*[1]/@columnspan)\x3d\'\' or string(*[1]/@columnspan)\x3d\'0\')"\x3e\x3cmtd columnspan\x3d"{$maxl}"\x3e\x3cx:copy-of select\x3d"*/@style"/\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@class\x3d\'msline\' and @l\x3d\'*\'"\x3e\x3cx:variable name\x3d"msl" select\x3d"*[1]"/\x3e\x3cx:for-each select\x3d"(//node())[position()\x26lt;\x3d$maxl]"\x3e\x3cx:copy-of select\x3d"$msl"/\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$c"\x3e\x3cx:variable name\x3d"ldiff" select\x3d"$c/@l - @l"/\x3e\x3cx:variable name\x3d"loffset" select\x3d"$maxl - $c/@l"/\x3e\x3cx:for-each select\x3d"(//*)[position()\x26lt;\x3d $offset]"\x3e\x3cx:variable name\x3d"pn" select\x3d"position()"/\x3e\x3cx:variable name\x3d"cy" select\x3d"$c/*[position()\x3d$pn - $loffset]"/\x3e \x3cmtd\x3e \x3cx:if test\x3d"$cy/*"/\x3e \x3cmover\x3e\x3cmphantom\x3e\x3cmn\x3e0\x3c/mn\x3e\x3c/mphantom\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mover\x3e \x3c/mtd\x3e\x3c/x:for-each\x3e\x3cx:for-each select\x3d"*"\x3e\x3cx:variable name\x3d"pn" select\x3d"position()"/\x3e\x3cx:variable name\x3d"cy" select\x3d"$c/*[position()\x3d$pn + $ldiff]"/\x3e\x3cx:copy\x3e \x3cx:copy-of select\x3d"@*"/\x3e \x3cx:variable name\x3d"b"\x3e \x3cx:choose\x3e \x3cx:when test\x3d"not(string($cy/@crossout) or $cy/@crossout\x3d\'none\')"\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmenclose notation\x3d"{$cy/@crossout}"\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/menclose\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/x:variable\x3e \x3cx:choose\x3e \x3cx:when test\x3d"$cy/*/m:none or not($cy/*/*)"\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3c/x:when\x3e \x3cx:when test\x3d"not(string($cy/@location)) or $cy/@location\x3d\'n\'"\x3e \x3cmover\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mover\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'nw\'"\x3e \x3cmmultiscripts\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmprescripts/\x3e\x3cnone/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mmultiscripts\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'s\'"\x3e \x3cmunder\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/munder\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'sw\'"\x3e \x3cmmultiscripts\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmprescripts/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3cnone/\x3e\x3c/mmultiscripts\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'ne\'"\x3e \x3cmsup\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'se\'"\x3e \x3cmsub\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msub\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'w\'"\x3e \x3cmsup\x3e\x3cmrow/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'e\'"\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3cmsup\x3e\x3cmrow/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e\x3c/x:copy\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:for-each select\x3d"(//*)[position()\x26lt;\x3d $offset]"\x3e\x3cmtd/\x3e\x3c/x:for-each\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"*"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:param name\x3d"maxl" select\x3d"0"/\x3e\x3cmtr l\x3d"{1 + $p}"\x3e\x3cx:if test\x3d"ancestor::mstack[1]/@stackalign\x3d\'left\'"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p"/\x3e\x3c/x:attribute\x3e\x3c/x:if\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"m:msrow"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:param name\x3d"maxl" select\x3d"0"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"row"\x3e\x3cx:apply-templates mode\x3d"mstack1" select\x3d"*"\x3e\x3cx:with-param name\x3d"p" select\x3d"0"/\x3e\x3c/x:apply-templates\x3e\x3c/x:variable\x3e\x3cx:text\x3e\x26#10;\x3c/x:text\x3e\x3cx:variable name\x3d"l1"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$align\x3d\'decimalpoint\' and m:mn"\x3e\x3cx:for-each select\x3d"c:node-set($row)/m:mtr[m:mtd/m:mn][1]"\x3e\x3cx:value-of select\x3d"number(sum(@l))+count(preceding-sibling::*/@l)"/\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$align\x3d\'right\' or $align\x3d\'decimalpoint\'"\x3e\x3cx:value-of select\x3d"count(c:node-set($row)/m:mtr/m:mtd)"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"0"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"msrow" l\x3d"{number($l1) + number(sum(@position)) +$p}"\x3e\x3cx:copy-of select\x3d"c:node-set($row)/m:mtr/*"/\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"m:mn"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"dp1" select\x3d"ancestor::*[@decimalpoint][1]/@decimalpoint"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"dp"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($dp1)\x3d\'\'"\x3e.\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$dp1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr l\x3d"$p"\x3e\x3cx:variable name\x3d"mn" select\x3d"normalize-space(.)"/\x3e\x3cx:variable name\x3d"len" select\x3d"string-length($mn)"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$align\x3d\'right\' or ($align\x3d\'decimalpoint\' and not(contains($mn,$dp)))"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p + $len"/\x3e\x3c/x:attribute\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$align\x3d\'decimalpoint\'"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p + string-length(substring-before($mn,$dp))"/\x3e\x3c/x:attribute\x3e\x3c/x:when\x3e\x3c/x:choose\x3e \x3cx:for-each select\x3d"(//node())[position() \x26lt;\x3d$len]"\x3e\x3cx:variable name\x3d"pos" select\x3d"position()"/\x3e\x3cmtd\x3e\x3cmn\x3e\x3cx:value-of select\x3d"substring($mn,$pos,1)"/\x3e\x3c/mn\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msgroup" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"s" select\x3d"number(sum(@shift))"/\x3e\x3cx:variable name\x3d"thisp" select\x3d"number(sum(@position))"/\x3e\x3cx:for-each select\x3d"*"\x3e\x3cx:apply-templates mode\x3d"mstack1" select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"number($p)+$thisp+(position()-1)*$s"/\x3e\x3c/x:apply-templates\x3e\x3c/x:for-each\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msline" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"msline"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(string(@length)) or @length\x3d0"\x3e*\x3c/x:when\x3e\x3cx:when test\x3d"string($align)\x3d\'right\' or string($align)\x3d\'decimalpoint\' "\x3e\x3cx:value-of select\x3d"$p+ @length"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$p"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:attribute\x3e\x3cx:variable name\x3d"w"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'thin\'"\x3e0.1em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'medium\'"\x3e0.15em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'thick\'"\x3e0.2em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness"\x3e\x3cx:value-of select\x3d"@mslinethickness"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e0.15em\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$hascolspan"\x3e\x3cmtd class\x3d"msline" columnspan\x3d"{@length}"\x3e\x3cx:copy-of select\x3d"@position"/\x3e\x3cx:attribute name\x3d"style"\x3e\x3cx:value-of select\x3d"concat(\'border-style: solid; border-width: 0 0 \',$w,\' 0\')"/\x3e\x3c/x:attribute\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:when test\x3d"not(string(@length)) or @length\x3d0"\x3e\x3cmtd class\x3d"mslinemax"\x3e\x3cmpadded lspace\x3d"-0.5em" width\x3d"0em" height\x3d"0em"\x3e\x3cmfrac linethickness\x3d"{$w}"\x3e\x3cmspace width\x3d"1em"/\x3e\x3cmrow/\x3e\x3c/mfrac\x3e\x3c/mpadded\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:variable name\x3d"l" select\x3d"@length"/\x3e\x3cx:for-each select\x3d"(//node())[position()\x26lt;\x3d$l]"\x3e\x3cmtd class\x3d"msline"\x3e\x3cmpadded lspace\x3d"-0.5em" width\x3d"0em" height\x3d"0em"\x3e\x3cmfrac linethickness\x3d"{$w}"\x3e \x3cmspace width\x3d"1em"/\x3e \x3cmrow/\x3e\x3c/mfrac\x3e\x3c/mpadded\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mscarries" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"l1"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'left\'"\x3e0\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"count(*)"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"mscarries" l\x3d"{$p + $l1 + sum(@position)}"\x3e\x3cx:apply-templates select\x3d"*" mode\x3d"msc"/\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*" mode\x3d"msc"\x3e\x3cmtd\x3e\x3cx:copy-of select\x3d"../@location|../@crossout"/\x3e\x3cmstyle mathsize\x3d"70%"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mstyle\x3e\x3c/mtd\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mscarry" mode\x3d"msc"\x3e\x3cmtd\x3e\x3cx:copy-of select\x3d"@location|@crossout"/\x3e\x3cmstyle mathsize\x3d"70%"\x3e\x3cx:apply-templates select\x3d"*"/\x3e\x3c/mstyle\x3e\x3c/mtd\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mlongdiv"\x3e\x3cx:variable name\x3d"ms"\x3e\x3cmstack\x3e\x3cx:copy-of select\x3d"(ancestor-or-self::*/@decimalpoint)[last()]"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@longdivstyle\x3d\'left/\right\'"\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@longdivstyle\x3d\'left)(right\'"\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e)\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@longdivstyle\x3d\':right\x3dright\'"\x3e\x3cmsrow\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e:\x3c/mo\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3cmsline length\x3d"{string-length(*[3])}"/\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e)\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3c/msrow\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:copy-of select\x3d"*[position()\x26gt;3]"/\x3e\x3c/mstack\x3e\x3c/x:variable\x3e\x3cx:apply-templates select\x3d"c:node-set($ms)"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:menclose[@notation\x3d\'madruwb\']" mode\x3d"rtl"\x3e\x3cmenclose notation\x3d"bottom right"\x3e\x3cx:apply-templates mode\x3d"rtl"/\x3e\x3c/menclose\x3e\x3c/x:template\x3e \x3c/x:stylesheet\x3e'));else if(MathJax.Hub.Browser.isMSIE)if(MathJax.Hub.Browser.versionAtLeast("9.0")){b=new ActiveXObject("Msxml2.FreeThreadedDOMDocument");b.loadXML('\x3cx:stylesheet version\x3d"1.0" xmlns:x\x3d"http://www.w3.org/1999/XSL/Transform" xmlns\x3d"http://www.w3.org/1998/Math/MathML" xmlns:m\x3d"http://www.w3.org/1998/Math/MathML" xmlns:e\x3d"http://exslt.org/strings" xmlns:c\x3d"http://exslt.org/common" exclude-result-prefixes\x3d"m e c"\x3e \x3c!-- Copyright David Carlisle 2001, 2002, 2008, 2009. Use and distribution of this code are permitted under the terms of the\x3ca href\x3d"http://www.w3.org/Consortium/Legal/copyright-software-19980720" \x3eW3C Software Notice and License\x3c/a\x3e. 2001-2002 MathML2 version 2008-2009 Updates for MathML3 --\x3e \x3cx:output method\x3d"xml" /\x3e \x3cx:template match\x3d"/"\x3e\x3cx:apply-templates/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*"\x3e\x3cx:copy\x3e\x3cx:copy-of select\x3d"@*"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn"\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'complex-cartesian\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'complex_cartesian\']]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'rational\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'rational\']]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[not(@type) or @type\x3d\'integer\']"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(@base) or @base\x3d10"\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmsub\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3cmn\x3e\x3cx:value-of select\x3d"@base"/\x3e\x3c/mn\x3e\x3c/msub\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'complex-polar\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cmi\x3ei\x3c/mi\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'complex_polar\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cmi\x3ei\x3c/mi\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'e-notation\']"\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"m:sep/preceding-sibling::node()"/\x3e\x3cx:text\x3eE\x3c/x:text\x3e\x3cx:apply-templates select\x3d"m:sep/following-sibling::node()"/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'hexdouble\']"\x3e\x3cmn\x3e\x3cx:text\x3e0x\x3c/x:text\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ci/text()"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ci"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:csymbol/text()"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:csymbol"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply|m:reln"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"*[1]/*/*"\x3e\x3cmfenced separators\x3d""\x3e \x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e \x3c/x:apply-templates\x3e\x3c/mfenced\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmfenced open\x3d"(" close\x3d")" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()\x3e1]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:bind"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"*[1]/*/*"\x3e\x3cmfenced separators\x3d""\x3e \x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e \x3c/x:apply-templates\x3e\x3c/mfenced\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"bvar/*"/\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()\x3e1][not(self::m:bvar)]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:fn"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:interval[*[2]]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'open\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'open-closed\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"(" close\x3d"]"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'closed-open\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"[" close\x3d")"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:interval"\x3e\x3cmfenced open\x3d"{{" close\x3d"}}"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'integer_interval\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval-cc\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval-oo\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'oriented_interval\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:inverse]] |m:apply[*[1][self::m:csymbol\x3d\'inverse\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmn\x3e-1\x3c/mn\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:condition"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:declare"/\x3e \x3cx:template match\x3d"m:lambda |m:apply[*[1][self::m:csymbol\x3d\'lambda\']] |m:bind[*[1][self::m:csymbol\x3d\'lambda\']]"\x3e\x3cmrow\x3e\x3cmi\x3e\x26#955;\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:compose]] |m:apply[*[1][self::m:csymbol\x3d\'left_compose\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8728;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ident"\x3e\x3cmi\x3eid\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:domain"\x3e\x3cmi\x3edomain\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:codomain"\x3e\x3cmi\x3ecodomain\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:image"\x3e\x3cmi\x3eimage\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:domainofapplication"\x3e\x3cmerror\x3e\x3cmtext\x3eunexpected domainofapplication\x3c/mtext\x3e\x3c/merror\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[2][self::m:bvar]][m:domainofapplication]" priority\x3d"0.4"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[m:domainofapplication]" priority\x3d"0.3"\x3e\x3cmrow\x3e\x3cmrow\x3e\x3cmi\x3erestriction\x3c/mi\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:piecewise"\x3e\x3cmrow\x3e\x3cmo\x3e{\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"m:piece|m:otherwise"\x3e \x3cmtr\x3e \x3cmtd\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3c/mtd\x3e \x3cx:choose\x3e \x3cx:when test\x3d"self::m:piece"\x3e \x3cmtd columnalign\x3d"left"\x3e\x3cmtext\x3e\x26#160; if \x26#160;\x3c/mtext\x3e\x3c/mtd\x3e \x3cmtd\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mtd\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmtd colspan\x3d"2" columnalign\x3d"left"\x3e\x3cmtext\x3e\x26#160; otherwise\x3c/mtext\x3e\x3c/mtd\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:quotient]] |m:apply[*[1][self::m:csymbol\x3d\'quotient\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8970;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3cmo\x3e\x26#8971;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:factorial]] |m:apply[*[1][self::m:csymbol\x3d\'factorial\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmo\x3e!\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:divide]] |m:apply[*[1][self::m:csymbol\x3d\'divide\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e/\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:max]] |m:apply[*[1][self::m:csymbol\x3d\'max\']]"\x3e\x3cmrow\x3e\x3cmi\x3emax\x3c/mi\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:min]]|m:reln[*[1][self::m:min]]"\x3e\x3cmrow\x3e\x3cmi\x3emin\x3c/mi\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:minus] and count(*)\x3d2] |m:apply[*[1][self::m:csymbol\x3d\'unary_minus\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8722;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:minus] and count(*)\x26gt;2] |m:apply[*[1][self::m:csymbol\x3d\'minus\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8722;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:plus]] |m:apply[*[1][self::m:csymbol\x3d\'plus\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$p \x26gt; 2"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:apply/*[1][self::m:minus] or self::m:cn[not(m:sep) and (number(.) \x26lt; 0)]]]"\x3e\x26#8722;\x3c/x:when\x3e\x3cx:otherwise\x3e+\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:if\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:cn[not(m:sep) and (number(.) \x26lt;0)]]]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:value-of select\x3d"-(*[2])"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"first" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:apply/*[1][self::m:minus]]]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"./*[2]/*[2]"/\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"first" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$p \x26gt; 2"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:power]] |m:apply[*[1][self::m:csymbol\x3d\'power\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3cx:apply-templates select\x3d"*[3]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:rem]] |m:apply[*[1][self::m:csymbol\x3d\'rem\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3emod\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:times]] |m:apply[*[1][self::m:csymbol\x3d\'times\']]" name\x3d"times"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"first" select\x3d"1"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$p \x26gt; 3"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:cn"\x3e\x26#215;\x3c/x:when\x3e\x3cx:otherwise\x3e\x26#8290;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:if\x3e\x3cx:if test\x3d"position()\x26gt;\x3d $first"\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"3"/\x3e\x3c/x:apply-templates\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$p \x26gt; 3"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:root] and not(m:degree) or m:degree\x3d2]" priority\x3d"4"\x3e\x3cmsqrt\x3e\x3cx:apply-templates select\x3d"*[position()\x26gt;1]"/\x3e\x3c/msqrt\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:root]]"\x3e\x3cmroot\x3e\x3cx:apply-templates select\x3d"*[position()\x26gt;1 and not(self::m:degree)]"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/*"/\x3e\x3c/mrow\x3e\x3c/mroot\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'root\']]"\x3e\x3cmroot\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mroot\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:gcd"\x3e\x3cmi\x3egcd\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:and]] |m:reln[*[1][self::m:and]] |m:apply[*[1][self::m:csymbol\x3d\'and\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:or]] |m:apply[*[1][self::m:csymbol\x3d\'or\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8744;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:xor]] |m:apply[*[1][self::m:csymbol\x3d\'xor\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3exor\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:not]] |m:apply[*[1][self::m:csymbol\x3d\'not\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#172;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:implies]] |m:reln[*[1][self::m:implies]] |m:apply[*[1][self::m:csymbol\x3d\'implies\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8658;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:forall]] |m:apply[*[1][self::m:csymbol\x3d\'forall\']] |m:bind[*[1][self::m:forall]] |m:bind[*[1][self::m:csymbol\x3d\'forall\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8704;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar[not(current()/m:condition)]/*|m:condition/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:exists]] |m:apply[*[1][self::m:csymbol\x3d\'exists\']] |m:bind[*[1][self::m:exists]] |m:bind[*[1][self::m:csymbol\x3d\'exists\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8707;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar[not(current()/m:condition)]/*|m:condition/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced separators\x3d""\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:condition"\x3e\x3cx:apply-templates select\x3d"m:condition/*"/\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:when\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmrow\x3e\x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e \x3cmo\x3e,\x3c/mo\x3e \x3c/x:if\x3e \x3c/x:for-each\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:when\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:abs]] |m:apply[*[1][self::m:csymbol\x3d\'abs\']]"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:conjugate]] |m:apply[*[1][self::m:csymbol\x3d\'conjugate\']]"\x3e\x3cmover\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#175;\x3c/mo\x3e\x3c/mover\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:arg"\x3e\x3cmi\x3earg\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:real|m:csymbol[.\x3d\'real\']"\x3e\x3cmo\x3e\x26#8475;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:imaginary|m:csymbol[.\x3d\'imaginary\']"\x3e\x3cmo\x3e\x26#8465;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:lcm"\x3e\x3cmi\x3elcm\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:floor]] |m:apply[*[1][self::m:csymbol\x3d\'floor\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8970;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8971;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:ceiling]] |m:apply[*[1][self::m:csymbol\x3d\'ceiling\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8968;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8969;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:eq]] |m:reln[*[1][self::m:eq]] |m:apply[*[1][self::m:csymbol\x3d\'eq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:neq]] |m:apply[*[1][self::m:csymbol\x3d\'neq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8800;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:gt]] |m:reln[*[1][self::m:gt]] |m:apply[*[1][self::m:csymbol\x3d\'gt\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26gt;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:lt]] |m:reln[*[1][self::m:lt]] |m:apply[*[1][self::m:csymbol\x3d\'lt\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26lt;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:geq]] |m:apply[*[1][self::m:csymbol\x3d\'geq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8805;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:leq]] |m:apply[*[1][self::m:csymbol\x3d\'leq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8804;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:equivalent]] |m:apply[*[1][self::m:csymbol\x3d\'equivalent\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8801;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:approx]] |m:apply[*[1][self::m:csymbol\x3d\'approx\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8771;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:factorof]] |m:apply[*[1][self::m:csymbol\x3d\'factorof\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:int]] |m:apply[*[1][self::m:csymbol\x3d\'int\']] |m:bind[*[1][self::m:int]] |m:bind[*[1][self::m:csymbol\x3d\'int\']]"\x3e\x3cmrow\x3e\x3cmsubsup\x3e\x3cmi\x3e\x26#8747;\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit/*|m:interval/*[1]|m:condition/*|m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:uplimit/*|m:interval/*[2]"/\x3e\x3c/mrow\x3e\x3c/msubsup\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cx:if test\x3d"m:bvar"\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar"/\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'defint\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3e\x26#8747;\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:diff] and not(m:bvar)]| m:apply[*[1][self::m:csymbol\x3d\'diff\']]" priority\x3d"2"\x3e\x3cmsup\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8242;\x3c/mo\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:diff]]" priority\x3d"1"\x3e\x3cmfrac\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:bvar/m:degree"\x3e\x3cmrow\x3e\x3cmsup\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar/m:degree/node()"/\x3e\x3c/msup\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"m:bvar/node()"/\x3e\x3cx:apply-templates select\x3d"m:bvar/m:degree/node()"/\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar"/\x3e\x3c/mrow\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mfrac\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:partialdiff] and m:list and m:ci and count(*)\x3d3]" priority\x3d"2"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmi\x3eD\x3c/mi\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"m:list[1]/*"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position()\x26lt;last()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:partialdiff]]" priority\x3d"1"\x3e\x3cmfrac\x3e\x3cmrow\x3e\x3cx:choose\x3e \x3cx:when test\x3d"not(m:bvar/m:degree) and not(m:bvar[2])"\x3e \x3cmo\x3e\x26#8706;\x3c/mo\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmsup\x3e\x3cmo\x3e\x26#8706;\x3c/mo\x3e \x3cmrow\x3e \x3cx:choose\x3e \x3cx:when test\x3d"m:degree"\x3e \x3cx:apply-templates select\x3d"m:degree/node()"/\x3e \x3c/x:when\x3e \x3cx:when test\x3d"m:bvar/m:degree[string(number(.))\x3d\'NaN\']"\x3e \x3cx:for-each select\x3d"m:bvar/m:degree"\x3e \x3cx:apply-templates select\x3d"node()"/\x3e \x3cx:if test\x3d"position()\x26lt;last()"\x3e\x3cmo\x3e+\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e \x3cx:if test\x3d"count(m:bvar[not(m:degree)])\x26gt;0"\x3e \x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:value-of select\x3d"count(m:bvar[not(m:degree)])"/\x3e\x3c/mn\x3e \x3c/x:if\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmn\x3e\x3cx:value-of select\x3d"number(sum(m:bvar/m:degree))+count(m:bvar[not(m:degree)])"/\x3e\x3c/mn\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/mrow\x3e \x3c/msup\x3e \x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"m:bvar"\x3e \x3cmrow\x3e \x3cmo\x3e\x26#8706;\x3c/mo\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"node()"/\x3e \x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e \x3c/msup\x3e \x3c/mrow\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/mfrac\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'partialdiffdegree\']]"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmo\x3e\x26#8706;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[4]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:lowlimit"/\x3e \x3cx:template match\x3d"m:uplimit"/\x3e \x3cx:template match\x3d"m:bvar"\x3e\x3cmi\x3e\x3cx:apply-templates/\x3e\x3c/mi\x3e\x3cx:if test\x3d"following-sibling::m:bvar"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:degree"/\x3e \x3cx:template match\x3d"m:divergence"\x3e\x3cmi\x3ediv\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:divergence]and m:bvar and m:vector]"\x3e\x3cx:variable name\x3d"v" select\x3d"m:bvar"/\x3e\x3cmrow\x3e\x3cmi\x3ediv\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"m:vector/*"\x3e\x3cx:variable name\x3d"p" select\x3d"position()"/\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"$v[$p]/*"/\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:grad"\x3e\x3cmi\x3egrad\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:grad]and m:bvar]"\x3e\x3cmrow\x3e\x3cmi\x3egrad\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mfenced\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1][not(self::m:bvar)]"/\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:curl"\x3e\x3cmi\x3ecurl\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:laplacian"\x3e\x3cmsup\x3e\x3cmo\x3e\x26#8711;\x3c/mo\x3e\x3cmn\x3e2\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:laplacian]and m:bvar]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mfenced\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1][not(self::m:bvar)]"/\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:set"\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'set\']]"\x3e\x3cmfenced open\x3d"{{" close\x3d"}}" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:list"\x3e\x3cx:call-template name\x3d"set"\x3e\x3cx:with-param name\x3d"o" select\x3d"\'(\'"/\x3e\x3cx:with-param name\x3d"c" select\x3d"\')\'"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'list\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:union]] |m:apply[*[1][self::m:csymbol\x3d\'union\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8746;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:union]][m:bvar] |m:apply[*[1][self::m:csymbol\x3d\'union\']][m:bvar]" priority\x3d"2" \x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x22C3;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:intersect]] |m:apply[*[1][self::m:csymbol\x3d\'intersect\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8745;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:intersect]][m:bvar] |m:apply[*[1][self::m:csymbol\x3d\'intersect\']][m:bvar]" priority\x3d"2" \x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x22C2;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:in]] |m:apply[*[1][self::m:csymbol\x3d\'in\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notin]]|m:reln[*[1][self::m:notin]] |m:apply[*[1][self::m:csymbol\x3d\'notin\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8713;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:subset]] |m:apply[*[1][self::m:csymbol\x3d\'subset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8838;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:prsubset]] |m:apply[*[1][self::m:csymbol\x3d\'prsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8834;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notsubset]] |m:apply[*[1][self::m:csymbol\x3d\'notsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8840;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notprsubset]] |m:apply[*[1][self::m:csymbol\x3d\'notprsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8836;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:setdiff]] |m:apply[*[1][self::m:csymbol\x3d\'setdiff\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8726;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:card]] |m:apply[*[1][self::m:csymbol\x3d\'card\']]"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:cartesianproduct or self::m:vectorproduct]] |m:apply[*[1][self::m:csymbol[.\x3d\'cartesian_product\' or . \x3d \'vectorproduct\']]]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#215;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:cartesianproduct][count(following-sibling::m:reals)\x3dcount(following-sibling::*)]]" priority\x3d"2"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3cmn\x3e\x3cx:value-of select\x3d"count(*)-1"/\x3e\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template name\x3d"sum" match\x3d"m:apply[*[1][self::m:sum]]"\x3e\x3cx:param name\x3d"mo"\x3e\x3cmo\x3e\x26#8721;\x3c/mo\x3e\x3c/x:param\x3e\x3cmrow\x3e\x3cmunderover\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit|m:interval/*[1]|m:condition/*|m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:uplimit/*|m:interval/*[2]"/\x3e\x3c/mrow\x3e\x3c/munderover\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'sum\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmo\x3e\x26#8721;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply/m:lowlimit" priority\x3d"3"\x3e\x3cmrow\x3e\x3cx:if test\x3d"../m:bvar"\x3e\x3cx:apply-templates select\x3d"../m:bvar/node()"/\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3c/x:if\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:product]]"\x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8719;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'product\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmo\x3e\x26#8719;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:limit]]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3elim\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit|m:condition/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'limit\']][m:bind]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3elim\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bind/m:bvar/*"/\x3e\x3cmo\x3e\x3cx:choose\x3e \x3cx:when test\x3d"*[3]\x3d\'above\'"\x3e\x26#8600;\x3c/x:when\x3e \x3cx:when test\x3d"*[3]\x3d\'below\'"\x3e\x26#8599;\x3c/x:when\x3e \x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"m:bind/*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[m:limit]/m:lowlimit" priority\x3d"4"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"../m:bvar/node()"/\x3e\x3cmo\x3e\x26#8594;\x3c/mo\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:tendsto]]|m:reln[*[1][self::m:tendsto]]"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@type\x3d\'above\'"\x3e\x26#8600;\x3c/x:when\x3e\x3cx:when test\x3d"@type\x3d\'below\'"\x3e\x26#8599;\x3c/x:when\x3e\x3cx:when test\x3d"@type\x3d\'two-sided\'"\x3e\x26#8594;\x3c/x:when\x3e\x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'tendsto\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3cmo\x3e\x3cx:choose\x3e \x3cx:when test\x3d"*[1][self::above]"\x3e\x26#8600;\x3c/x:when\x3e \x3cx:when test\x3d"*[1][self::below]"\x3e\x26#8599;\x3c/x:when\x3e \x3cx:when test\x3d"*[1][self::two-sided]"\x3e\x26#8594;\x3c/x:when\x3e \x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[4]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:semantics/m:ci\x3d\'tendsto\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8594;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:tendsto"\x3e\x3cmi\x3etendsto\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][ self::m:sin or self::m:cos or self::m:tan or self::m:sec or self::m:csc or self::m:cot or self::m:sinh or self::m:cosh or self::m:tanh or self::m:sech or self::m:csch or self::m:coth or self::m:arcsin or self::m:arccos or self::m:arctan or self::m:arccosh or self::m:arccot or self::m:arccoth or self::m:arccsc or self::m:arccsch or self::m:arcsec or self::m:arcsech or self::m:arcsinh or self::m:arctanh or self::m:ln]]"\x3e\x3cmrow\x3e\x3cmi\x3e\x3cx:value-of select\x3d"local-name(*[1])"/\x3e\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d" m:sin | m:cos | m:tan | m:sec | m:csc | m:cot | m:sinh | m:cosh | m:tanh | m:sech | m:csch | m:coth | m:arcsin | m:arccos | m:arctan | m:arccosh | m:arccot | m:arccoth | m:arccsc | m:arccsch | m:arcsec | m:arcsech | m:arcsinh | m:arctanh | m:ln|m:mean| m:plus|m:minus"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"local-name()"/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:exp]] |m:apply[*[1][self::m:csymbol\x3d\'exp\']]"\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:log]] |m:apply[*[1][self::m:csymbol\x3d\'log\']]"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(m:logbase) or m:logbase\x3d10"\x3e\x3cmi\x3elog\x3c/mi\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmsub\x3e\x3cmi\x3elog\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:logbase/node()"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:mean]] |m:apply[*[1][self::m:csymbol\x3d\'mean\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:sdev|m:csymbol[.\x3d\'sdev\']"\x3e\x3cmo\x3e\x26#963;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:variance]] |m:apply[*[1][self::m:csymbol\x3d\'variance\']]"\x3e\x3cmsup\x3e\x3cmrow\x3e\x3cmo\x3e\x26#963;\x3c/mo\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3cmn\x3e2\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:median"\x3e\x3cmi\x3emedian\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mode"\x3e\x3cmi\x3emode\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:moment]]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e\x3cx:variable name\x3d"data" select\x3d"*[not(position()\x3d1)] [not(self::m:degree or self::m:momentabout)]"/\x3e\x3cx:choose\x3e \x3cx:when test\x3d"$data[2]"\x3e \x3cmfenced\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/mfenced\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'moment\']]"\x3e\x3cmsub\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e \x3cx:apply-templates select\x3d"*[4]"/\x3e \x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e \x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:momentabout"/\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:moment]][m:momentabout]" priority\x3d"2"\x3e\x3cmsub\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e \x3cx:variable name\x3d"data" select\x3d"*[not(position()\x3d1)] [not(self::m:degree or self::m:momentabout)]"/\x3e \x3cx:choose\x3e \x3cx:when test\x3d"$data[2]"\x3e \x3cmfenced\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/mfenced\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:momentabout/*"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector[m:condition]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:condition"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector[m:domainofapplication]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3cmo\x3e\x26#x2208;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'vector\']]"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"*[position()!\x3d1]"\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates/\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix[m:condition]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cmsub\x3e\x3cmi\x3em\x3c/mi\x3e\x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cmsub\x3e \x3cmi\x3em\x3c/mi\x3e \x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e \x3c/mrow\x3e\x3c/msub\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmo\x3e;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:condition"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'matrix\']]"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix/m:matrixrow"\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrixrow"\x3e\x3cmtable\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/mtable\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol.\x3d\'matrixrow\']]"\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*[position()!\x3d1]"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:determinant]] |m:apply[*[1][self::m:csymbol\x3d\'determinant\']]"\x3e\x3cmrow\x3e\x3cmi\x3edet\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:determinant]][*[2][self::m:matrix]]" priority\x3d"2"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates select\x3d"m:matrix/*"/\x3e\x3c/mtable\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:transpose]] |m:apply[*[1][self::m:csymbol\x3d\'transpose\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmi\x3eT\x3c/mi\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:selector]] |m:apply[*[1][self::m:csymbol\x3d\'selector\']]"\x3e\x3cmsub\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"*[position()\x26gt;2]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:scalarproduct]] |m:apply[*[1][self::m:csymbol\x3d\'scalarproduct\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e.\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:outerproduct]] |m:apply[*[1][self::m:csymbol\x3d\'outerproduct\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x2297;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:semantics"\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:semantics[m:annotation-xml/@encoding\x3d\'MathML-Presentation\']"\x3e\x3cx:apply-templates select\x3d"m:annotation-xml[@encoding\x3d\'MathML-Presentation\']/node()"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:integers"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eZ\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:reals"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eR\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:rationals"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eQ\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:naturalnumbers"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eN\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:complexes"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eC\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:primes"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eP\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:exponentiale"\x3e\x3cmi\x3ee\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:imaginaryi"\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:notanumber"\x3e\x3cmi\x3eNaN\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:true"\x3e\x3cmi\x3etrue\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:false"\x3e\x3cmi\x3efalse\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:emptyset|m:csymbol[.\x3d\'emptyset\']"\x3e\x3cmi\x3e\x26#8709;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:pi|m:csymbol[.\x3d\'pi\']"\x3e\x3cmi\x3e\x26#960;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:eulergamma|m:csymbol[.\x3d\'gamma\']"\x3e\x3cmi\x3e\x26#947;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:infinity|m:csymbol[.\x3d\'infinity\']"\x3e\x3cmi\x3e\x26#8734;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template name\x3d"infix" \x3e\x3cx:param name\x3d"mo"/\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"this-p" select\x3d"0"/\x3e\x3cx:variable name\x3d"dmo"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmunder\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cmrow\x3e \x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmrow\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[not(self::m:domainofapplication)][position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cx:copy-of select\x3d"$dmo"/\x3e\x3c/x:if\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template name\x3d"binary" \x3e\x3cx:param name\x3d"mo"/\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"this-p" select\x3d"0"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cx:apply-templates select\x3d"*[3]"\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template name\x3d"set" \x3e\x3cx:param name\x3d"o" select\x3d"\'{\'"/\x3e\x3cx:param name\x3d"c" select\x3d"\'}\'"/\x3e\x3cmrow\x3e\x3cmo\x3e\x3cx:value-of select\x3d"$o"/\x3e\x3c/mo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:condition"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:condition/following-sibling::*"/\x3e\x3c/mrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:condition/node()"/\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/node()"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/node()"/\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:for-each select\x3d"*[not(position()\x3d1 and parent::m:apply)]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x3cx:value-of select\x3d"$c"/\x3e\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cs"\x3e\x3cms\x3e\x3cx:value-of select\x3d" translate(., \'\x26#9;\x26#10;\x26#13;\x26#32;\', \'\x26#160;\x26#160;\x26#160;\x26#160;\')"/\x3e\x3c/ms\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cbytes"\x3e\x3cmrow/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cerror"\x3e\x3cmerror\x3e\x3cx:apply-templates/\x3e\x3c/merror\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:share" priority\x3d"4"\x3e\x3cmi href\x3d"{@href}"\x3eshare\x3cx:value-of select\x3d"substring-after(@href,\'#\')"/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:output indent\x3d"yes" omit-xml-declaration\x3d"yes"/\x3e \x3cx:template match\x3d"*"\x3e\x3cx:copy\x3e\x3cx:copy-of select\x3d"@*"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*[@dir\x3d\'rtl\']" priority\x3d"10"\x3e\x3c!--starting rtl\x3cx:value-of select\x3d"name()"/\x3e.--\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"."/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@*" mode\x3d"rtl"\x3e\x3cx:copy-of select\x3d"."/\x3e\x3c/x:template\x3e\x3cx:template match\x3d"*" mode\x3d"rtl"\x3e\x3cx:copy\x3e\x3cx:apply-templates select\x3d"@*" mode\x3d"rtl"/\x3e\x3cx:for-each select\x3d"node()"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:text\x3e\x3c/x:text\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"."/\x3e\x3c/x:for-each\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'(\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e)\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\')\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e(\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'[\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e]\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\']\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e[\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'{\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e}\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'}\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e{\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'(\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e)\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\')\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e(\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'[\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e]\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\']\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e[\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'{\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e}\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'}\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e{\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mfrac[@bevelled\x3d\'true\']" mode\x3d"rtl"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmi\x3e\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3c/msub\x3e\x3cmo\x3e\x26#x5c;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3e\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mfrac" mode\x3d"rtl"\x3e\x3cx:copy\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*"/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mroot" mode\x3d"rtl"\x3e\x3cmsup\x3e\x3cmenclose notation\x3d"top right"\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*[1]"/\x3e\x3c/menclose\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"*[2]"/\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msqrt" mode\x3d"rtl"\x3e\x3cmenclose notation\x3d"top right"\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*[1]"/\x3e\x3c/menclose\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mtable|m:munder|m:mover|m:munderover" mode\x3d"rtl" priority\x3d"2"\x3e\x3cx:copy\x3e\x3cx:apply-templates select\x3d"@*" mode\x3d"rtl"/\x3e\x3cx:apply-templates mode\x3d"rtl"\x3e\x3c/x:apply-templates\x3e\x3c/x:copy\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msup" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cnone/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msub" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3cnone/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msubsup" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"*[3]" mode\x3d"rtl"/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:mmultiscripts" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cx:for-each select\x3d"m:mprescripts/following-sibling::*[position() mod 2 \x3d 1]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3cmprescripts/\x3e\x3cx:for-each select\x3d"m:mprescripts/preceding-sibling::*[position()!\x3dlast()][position() mod 2 \x3d 0]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:mmultiscripts[not(m:mprescripts)]" mode\x3d"rtl" priority\x3d"3"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:for-each select\x3d"*[position() mod 2 \x3d 0]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'(\']" mode\x3d"rtl"\x3e)\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\')\']" mode\x3d"rtl"\x3e(\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'{\']" mode\x3d"rtl"\x3e}\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'}\']" mode\x3d"rtl"\x3e{\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26lt;\']" mode\x3d"rtl"\x3e\x26gt;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26gt;\']" mode\x3d"rtl"\x3e\x26lt;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x2208;\']" mode\x3d"rtl"\x3e\x26#x220b;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x220b;\']" mode\x3d"rtl"\x3e\x26#x2208;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x2211;\']|text()[.\x3d\'\x26#x222b;\']" mode\x3d"rtl"\x3e\x3csvg width\x3d"20" height\x3d"20" version\x3d"1.1" xmlns\x3d"http://www.w3.org/2000/svg"\x3e\x3cg transform\x3d"matrix(-1 0 0 1 0 0 )"\x3e\x3ctext id\x3d"TextElement" x\x3d"-20" y\x3d"15" \x3e\x3cx:value-of select\x3d"."/\x3e\x3c/text\x3e\x3c/g\x3e\x3c/svg\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@notation[.\x3d\'radical\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"notation"\x3etop right\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template name\x3d"mml2attrib"\x3e\x3c!-- \x3cx:copy-of select\x3d"@*[not(local-name()\x3d\'href\')]"/\x3e --\x3e\x3cx:copy-of select\x3d"@*[not(local-name()\x3d\'href\')]"/\x3e\x3cx:attribute name\x3d"style"\x3e\x3cx:if test\x3d"@style"\x3e\x3cx:value-of select\x3d"@style"/\x3e;\x3c/x:if\x3e\x3cx:if test\x3d"@mathcolor"\x3ecolor:\x3cx:value-of select\x3d"@mathcolor"/\x3e;\x3c/x:if\x3e\x3cx:if test\x3d"@mathbackground"\x3ebackground-color:\x3cx:value-of select\x3d"@mathbackground"/\x3e;\x3c/x:if\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3c!-- \x3cx:template match\x3d"*[@href]" priority\x3d"3"\x3e\x3ca xmlns\x3d"http://www.w3.org/1999/xhtml" style\x3d"text-decoration: none" href\x3d"{@href}"\x3e\x3cx:copy\x3e\x3cx:call-template name\x3d"mml2attrib"/\x3e\x3cx:attribute name\x3d"class"\x3e\x3cx:text\x3emmlhref\x3c/x:text\x3e\x3cx:value-of select\x3d"@class"/\x3e\x3c/x:attribute\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/a\x3e\x3c/x:template\x3e--\x3e\x3cx:template match\x3d"*[@mathcolor|@mathbackground]"\x3e\x3cx:copy\x3e\x3cx:call-template name\x3d"mml2attrib"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:param name\x3d"hascolspan" select\x3d"true()"/\x3e \x3cx:template match\x3d"m:mstack"\x3e\x3cmtable columnspacing\x3d"0em"\x3e\x3cx:variable name\x3d"t"\x3e\x3cx:apply-templates select\x3d"*" mode\x3d"mstack1"\x3e\x3cx:with-param name\x3d"p" select\x3d"0"/\x3e\x3c/x:apply-templates\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"maxl"\x3e\x3cx:for-each select\x3d"c:node-set($t)/*/@l"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending"/\x3e\x3cx:if test\x3d"position()\x3d1"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/x:variable\x3e\x3cx:for-each select\x3d"c:node-set($t)/*[not(@class\x3d\'mscarries\') or following-sibling::*[1]/@class\x3d\'mscarries\']"\x3e\x3cx:variable name\x3d"c" select\x3d"preceding-sibling::*[1][@class\x3d\'mscarries\']"/\x3e\x3cx:text\x3e\x26#10;\x3c/x:text\x3e\x3cmtr\x3e\x3cx:variable name\x3d"offset" select\x3d"$maxl - @l"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$hascolspan and @class\x3d\'msline\' and (string(*[1]/@columnspan)\x3d\'\' or string(*[1]/@columnspan)\x3d\'0\')"\x3e\x3cmtd columnspan\x3d"{$maxl}"\x3e\x3cx:copy-of select\x3d"*/@style"/\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@class\x3d\'msline\' and @l\x3d\'*\'"\x3e\x3cx:variable name\x3d"msl" select\x3d"*[1]"/\x3e\x3cx:for-each select\x3d"(//node())[position()\x26lt;\x3d$maxl]"\x3e\x3cx:copy-of select\x3d"$msl"/\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$c"\x3e\x3cx:variable name\x3d"ldiff" select\x3d"$c/@l - @l"/\x3e\x3cx:variable name\x3d"loffset" select\x3d"$maxl - $c/@l"/\x3e\x3cx:for-each select\x3d"(//*)[position()\x26lt;\x3d $offset]"\x3e\x3cx:variable name\x3d"pn" select\x3d"position()"/\x3e\x3cx:variable name\x3d"cy" select\x3d"$c/*[position()\x3d$pn - $loffset]"/\x3e \x3cmtd\x3e \x3cx:if test\x3d"$cy/*"/\x3e \x3cmover\x3e\x3cmphantom\x3e\x3cmn\x3e0\x3c/mn\x3e\x3c/mphantom\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mover\x3e \x3c/mtd\x3e\x3c/x:for-each\x3e\x3cx:for-each select\x3d"*"\x3e\x3cx:variable name\x3d"pn" select\x3d"position()"/\x3e\x3cx:variable name\x3d"cy" select\x3d"$c/*[position()\x3d$pn + $ldiff]"/\x3e\x3cx:copy\x3e \x3cx:copy-of select\x3d"@*"/\x3e \x3cx:variable name\x3d"b"\x3e \x3cx:choose\x3e \x3cx:when test\x3d"not(string($cy/@crossout) or $cy/@crossout\x3d\'none\')"\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmenclose notation\x3d"{$cy/@crossout}"\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/menclose\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/x:variable\x3e \x3cx:choose\x3e \x3cx:when test\x3d"$cy/*/m:none or not($cy/*/*)"\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3c/x:when\x3e \x3cx:when test\x3d"not(string($cy/@location)) or $cy/@location\x3d\'n\'"\x3e \x3cmover\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mover\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'nw\'"\x3e \x3cmmultiscripts\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmprescripts/\x3e\x3cnone/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mmultiscripts\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'s\'"\x3e \x3cmunder\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/munder\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'sw\'"\x3e \x3cmmultiscripts\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmprescripts/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3cnone/\x3e\x3c/mmultiscripts\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'ne\'"\x3e \x3cmsup\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'se\'"\x3e \x3cmsub\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msub\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'w\'"\x3e \x3cmsup\x3e\x3cmrow/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'e\'"\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3cmsup\x3e\x3cmrow/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e\x3c/x:copy\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:for-each select\x3d"(//*)[position()\x26lt;\x3d $offset]"\x3e\x3cmtd/\x3e\x3c/x:for-each\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"*"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:param name\x3d"maxl" select\x3d"0"/\x3e\x3cmtr l\x3d"{1 + $p}"\x3e\x3cx:if test\x3d"ancestor::mstack[1]/@stackalign\x3d\'left\'"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p"/\x3e\x3c/x:attribute\x3e\x3c/x:if\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"m:msrow"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:param name\x3d"maxl" select\x3d"0"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"row"\x3e\x3cx:apply-templates mode\x3d"mstack1" select\x3d"*"\x3e\x3cx:with-param name\x3d"p" select\x3d"0"/\x3e\x3c/x:apply-templates\x3e\x3c/x:variable\x3e\x3cx:text\x3e\x26#10;\x3c/x:text\x3e\x3cx:variable name\x3d"l1"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$align\x3d\'decimalpoint\' and m:mn"\x3e\x3cx:for-each select\x3d"c:node-set($row)/m:mtr[m:mtd/m:mn][1]"\x3e\x3cx:value-of select\x3d"number(sum(@l))+count(preceding-sibling::*/@l)"/\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$align\x3d\'right\' or $align\x3d\'decimalpoint\'"\x3e\x3cx:value-of select\x3d"count(c:node-set($row)/m:mtr/m:mtd)"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"0"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"msrow" l\x3d"{number($l1) + number(sum(@position)) +$p}"\x3e\x3cx:copy-of select\x3d"c:node-set($row)/m:mtr/*"/\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"m:mn"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"dp1" select\x3d"ancestor::*[@decimalpoint][1]/@decimalpoint"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"dp"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($dp1)\x3d\'\'"\x3e.\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$dp1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr l\x3d"$p"\x3e\x3cx:variable name\x3d"mn" select\x3d"normalize-space(.)"/\x3e\x3cx:variable name\x3d"len" select\x3d"string-length($mn)"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$align\x3d\'right\' or ($align\x3d\'decimalpoint\' and not(contains($mn,$dp)))"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p + $len"/\x3e\x3c/x:attribute\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$align\x3d\'decimalpoint\'"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p + string-length(substring-before($mn,$dp))"/\x3e\x3c/x:attribute\x3e\x3c/x:when\x3e\x3c/x:choose\x3e \x3cx:for-each select\x3d"(//node())[position() \x26lt;\x3d$len]"\x3e\x3cx:variable name\x3d"pos" select\x3d"position()"/\x3e\x3cmtd\x3e\x3cmn\x3e\x3cx:value-of select\x3d"substring($mn,$pos,1)"/\x3e\x3c/mn\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msgroup" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"s" select\x3d"number(sum(@shift))"/\x3e\x3cx:variable name\x3d"thisp" select\x3d"number(sum(@position))"/\x3e\x3cx:for-each select\x3d"*"\x3e\x3cx:apply-templates mode\x3d"mstack1" select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"number($p)+$thisp+(position()-1)*$s"/\x3e\x3c/x:apply-templates\x3e\x3c/x:for-each\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msline" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"msline"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(string(@length)) or @length\x3d0"\x3e*\x3c/x:when\x3e\x3cx:when test\x3d"string($align)\x3d\'right\' or string($align)\x3d\'decimalpoint\' "\x3e\x3cx:value-of select\x3d"$p+ @length"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$p"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:attribute\x3e\x3cx:variable name\x3d"w"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'thin\'"\x3e0.1em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'medium\'"\x3e0.15em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'thick\'"\x3e0.2em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness"\x3e\x3cx:value-of select\x3d"@mslinethickness"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e0.15em\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$hascolspan"\x3e\x3cmtd class\x3d"msline" columnspan\x3d"{@length}"\x3e\x3cx:copy-of select\x3d"@position"/\x3e\x3cx:attribute name\x3d"style"\x3e\x3cx:value-of select\x3d"concat(\'border-style: solid; border-width: 0 0 \',$w,\' 0\')"/\x3e\x3c/x:attribute\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:when test\x3d"not(string(@length)) or @length\x3d0"\x3e\x3cmtd class\x3d"mslinemax"\x3e\x3cmpadded lspace\x3d"-0.5em" width\x3d"0em" height\x3d"0em"\x3e\x3cmfrac linethickness\x3d"{$w}"\x3e\x3cmspace width\x3d"1em"/\x3e\x3cmrow/\x3e\x3c/mfrac\x3e\x3c/mpadded\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:variable name\x3d"l" select\x3d"@length"/\x3e\x3cx:for-each select\x3d"(//node())[position()\x26lt;\x3d$l]"\x3e\x3cmtd class\x3d"msline"\x3e\x3cmpadded lspace\x3d"-0.5em" width\x3d"0em" height\x3d"0em"\x3e\x3cmfrac linethickness\x3d"{$w}"\x3e \x3cmspace width\x3d"1em"/\x3e \x3cmrow/\x3e\x3c/mfrac\x3e\x3c/mpadded\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mscarries" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"l1"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'left\'"\x3e0\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"count(*)"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"mscarries" l\x3d"{$p + $l1 + sum(@position)}"\x3e\x3cx:apply-templates select\x3d"*" mode\x3d"msc"/\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*" mode\x3d"msc"\x3e\x3cmtd\x3e\x3cx:copy-of select\x3d"../@location|../@crossout"/\x3e\x3cmstyle mathsize\x3d"70%"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mstyle\x3e\x3c/mtd\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mscarry" mode\x3d"msc"\x3e\x3cmtd\x3e\x3cx:copy-of select\x3d"@location|@crossout"/\x3e\x3cmstyle mathsize\x3d"70%"\x3e\x3cx:apply-templates select\x3d"*"/\x3e\x3c/mstyle\x3e\x3c/mtd\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mlongdiv"\x3e\x3cx:variable name\x3d"ms"\x3e\x3cmstack\x3e\x3cx:copy-of select\x3d"(ancestor-or-self::*/@decimalpoint)[last()]"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@longdivstyle\x3d\'left/\right\'"\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@longdivstyle\x3d\'left)(right\'"\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e)\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@longdivstyle\x3d\':right\x3dright\'"\x3e\x3cmsrow\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e:\x3c/mo\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3cmsline length\x3d"{string-length(*[3])}"/\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e)\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3c/msrow\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:copy-of select\x3d"*[position()\x26gt;3]"/\x3e\x3c/mstack\x3e\x3c/x:variable\x3e\x3cx:apply-templates select\x3d"c:node-set($ms)"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:menclose[@notation\x3d\'madruwb\']" mode\x3d"rtl"\x3e\x3cmenclose notation\x3d"bottom right"\x3e\x3cx:apply-templates mode\x3d"rtl"/\x3e\x3c/menclose\x3e\x3c/x:template\x3e \x3c/x:stylesheet\x3e');var c=new ActiveXObject("Msxml2.XSLTemplate");c.stylesheet=b;a.ctopXSLT={ctop:c.createProcessor(),transformToDocument:function(a){this.ctop.input=a;this.ctop.transform();return this.ctop.output}}}else b=a.createMSParser(),b.async=!1,b.loadXML('\x3cx:stylesheet version\x3d"1.0" xmlns:x\x3d"http://www.w3.org/1999/XSL/Transform" xmlns\x3d"http://www.w3.org/1998/Math/MathML" xmlns:m\x3d"http://www.w3.org/1998/Math/MathML" xmlns:e\x3d"http://exslt.org/strings" xmlns:c\x3d"http://exslt.org/common" exclude-result-prefixes\x3d"m e c"\x3e \x3c!-- Copyright David Carlisle 2001, 2002, 2008, 2009. Use and distribution of this code are permitted under the terms of the\x3ca href\x3d"http://www.w3.org/Consortium/Legal/copyright-software-19980720" \x3eW3C Software Notice and License\x3c/a\x3e. 2001-2002 MathML2 version 2008-2009 Updates for MathML3 --\x3e \x3cx:output method\x3d"xml" /\x3e \x3cx:template match\x3d"/"\x3e\x3cx:apply-templates/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*"\x3e\x3cx:copy\x3e\x3cx:copy-of select\x3d"@*"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn"\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'complex-cartesian\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'complex_cartesian\']]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'rational\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'rational\']]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mn\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[not(@type) or @type\x3d\'integer\']"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(@base) or @base\x3d10"\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmsub\x3e\x3cmn\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3cmn\x3e\x3cx:value-of select\x3d"@base"/\x3e\x3c/mn\x3e\x3c/msub\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'complex-polar\']"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[1]"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cmi\x3ei\x3c/mi\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"text()[2]"/\x3e\x3c/mn\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'complex_polar\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cmi\x3ei\x3c/mi\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'e-notation\']"\x3e\x3cmn\x3e\x3cx:apply-templates select\x3d"m:sep/preceding-sibling::node()"/\x3e\x3cx:text\x3eE\x3c/x:text\x3e\x3cx:apply-templates select\x3d"m:sep/following-sibling::node()"/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cn[@type\x3d\'hexdouble\']"\x3e\x3cmn\x3e\x3cx:text\x3e0x\x3c/x:text\x3e\x3cx:apply-templates/\x3e\x3c/mn\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ci/text()"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ci"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:csymbol/text()"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:csymbol"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply|m:reln"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"*[1]/*/*"\x3e\x3cmfenced separators\x3d""\x3e \x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e \x3c/x:apply-templates\x3e\x3c/mfenced\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmfenced open\x3d"(" close\x3d")" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()\x3e1]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:bind"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"*[1]/*/*"\x3e\x3cmfenced separators\x3d""\x3e \x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e \x3c/x:apply-templates\x3e\x3c/mfenced\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"*[1]"\x3e \x3cx:with-param name\x3d"p" select\x3d"10"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"bvar/*"/\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()\x3e1][not(self::m:bvar)]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:fn"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:interval[*[2]]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'open\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'open-closed\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"(" close\x3d"]"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:interval[*[2]][@closure\x3d\'closed-open\']" priority\x3d"2"\x3e\x3cmfenced open\x3d"[" close\x3d")"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:interval"\x3e\x3cmfenced open\x3d"{{" close\x3d"}}"\x3e\x3cx:apply-templates/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'integer_interval\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval-cc\']]"\x3e\x3cmfenced open\x3d"[" close\x3d"]"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'interval-oo\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'oriented_interval\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")"\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:inverse]] |m:apply[*[1][self::m:csymbol\x3d\'inverse\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmn\x3e-1\x3c/mn\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:condition"\x3e\x3cmrow\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:declare"/\x3e \x3cx:template match\x3d"m:lambda |m:apply[*[1][self::m:csymbol\x3d\'lambda\']] |m:bind[*[1][self::m:csymbol\x3d\'lambda\']]"\x3e\x3cmrow\x3e\x3cmi\x3e\x26#955;\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:compose]] |m:apply[*[1][self::m:csymbol\x3d\'left_compose\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8728;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:ident"\x3e\x3cmi\x3eid\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:domain"\x3e\x3cmi\x3edomain\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:codomain"\x3e\x3cmi\x3ecodomain\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:image"\x3e\x3cmi\x3eimage\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:domainofapplication"\x3e\x3cmerror\x3e\x3cmtext\x3eunexpected domainofapplication\x3c/mtext\x3e\x3c/merror\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[2][self::m:bvar]][m:domainofapplication]" priority\x3d"0.4"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[m:domainofapplication]" priority\x3d"0.3"\x3e\x3cmrow\x3e\x3cmrow\x3e\x3cmi\x3erestriction\x3c/mi\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:piecewise"\x3e\x3cmrow\x3e\x3cmo\x3e{\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"m:piece|m:otherwise"\x3e \x3cmtr\x3e \x3cmtd\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3c/mtd\x3e \x3cx:choose\x3e \x3cx:when test\x3d"self::m:piece"\x3e \x3cmtd columnalign\x3d"left"\x3e\x3cmtext\x3e\x26#160; if \x26#160;\x3c/mtext\x3e\x3c/mtd\x3e \x3cmtd\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mtd\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmtd colspan\x3d"2" columnalign\x3d"left"\x3e\x3cmtext\x3e\x26#160; otherwise\x3c/mtext\x3e\x3c/mtd\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:quotient]] |m:apply[*[1][self::m:csymbol\x3d\'quotient\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8970;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3cmo\x3e\x26#8971;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:factorial]] |m:apply[*[1][self::m:csymbol\x3d\'factorial\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmo\x3e!\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:divide]] |m:apply[*[1][self::m:csymbol\x3d\'divide\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e/\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:max]] |m:apply[*[1][self::m:csymbol\x3d\'max\']]"\x3e\x3cmrow\x3e\x3cmi\x3emax\x3c/mi\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:min]]|m:reln[*[1][self::m:min]]"\x3e\x3cmrow\x3e\x3cmi\x3emin\x3c/mi\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:minus] and count(*)\x3d2] |m:apply[*[1][self::m:csymbol\x3d\'unary_minus\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8722;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:minus] and count(*)\x26gt;2] |m:apply[*[1][self::m:csymbol\x3d\'minus\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8722;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:plus]] |m:apply[*[1][self::m:csymbol\x3d\'plus\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$p \x26gt; 2"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:apply/*[1][self::m:minus] or self::m:cn[not(m:sep) and (number(.) \x26lt; 0)]]]"\x3e\x26#8722;\x3c/x:when\x3e\x3cx:otherwise\x3e+\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:if\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:cn[not(m:sep) and (number(.) \x26lt;0)]]]"\x3e\x3cmrow\x3e\x3cmn\x3e\x3cx:value-of select\x3d"-(*[2])"/\x3e\x3c/mn\x3e\x3cmo\x3e\x26#8290;\x3c/mo\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"first" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"self::m:apply[*[1][self::m:times] and *[2][self::m:apply/*[1][self::m:minus]]]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"./*[2]/*[2]"/\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"first" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"2"/\x3e\x3c/x:apply-templates\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$p \x26gt; 2"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:power]] |m:apply[*[1][self::m:csymbol\x3d\'power\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3cx:apply-templates select\x3d"*[3]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:rem]] |m:apply[*[1][self::m:csymbol\x3d\'rem\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3emod\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:times]] |m:apply[*[1][self::m:csymbol\x3d\'times\']]" name\x3d"times"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"first" select\x3d"1"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$p \x26gt; 3"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"self::m:cn"\x3e\x26#215;\x3c/x:when\x3e\x3cx:otherwise\x3e\x26#8290;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:if\x3e\x3cx:if test\x3d"position()\x26gt;\x3d $first"\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"3"/\x3e\x3c/x:apply-templates\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$p \x26gt; 3"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:root] and not(m:degree) or m:degree\x3d2]" priority\x3d"4"\x3e\x3cmsqrt\x3e\x3cx:apply-templates select\x3d"*[position()\x26gt;1]"/\x3e\x3c/msqrt\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:root]]"\x3e\x3cmroot\x3e\x3cx:apply-templates select\x3d"*[position()\x26gt;1 and not(self::m:degree)]"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/*"/\x3e\x3c/mrow\x3e\x3c/mroot\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'root\']]"\x3e\x3cmroot\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mroot\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:gcd"\x3e\x3cmi\x3egcd\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:and]] |m:reln[*[1][self::m:and]] |m:apply[*[1][self::m:csymbol\x3d\'and\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:or]] |m:apply[*[1][self::m:csymbol\x3d\'or\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8744;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:xor]] |m:apply[*[1][self::m:csymbol\x3d\'xor\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3exor\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:not]] |m:apply[*[1][self::m:csymbol\x3d\'not\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#172;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:implies]] |m:reln[*[1][self::m:implies]] |m:apply[*[1][self::m:csymbol\x3d\'implies\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8658;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:forall]] |m:apply[*[1][self::m:csymbol\x3d\'forall\']] |m:bind[*[1][self::m:forall]] |m:bind[*[1][self::m:csymbol\x3d\'forall\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8704;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar[not(current()/m:condition)]/*|m:condition/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:exists]] |m:apply[*[1][self::m:csymbol\x3d\'exists\']] |m:bind[*[1][self::m:exists]] |m:bind[*[1][self::m:csymbol\x3d\'exists\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8707;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar[not(current()/m:condition)]/*|m:condition/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e.\x3c/mo\x3e\x3cmfenced separators\x3d""\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:condition"\x3e\x3cx:apply-templates select\x3d"m:condition/*"/\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:when\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmrow\x3e\x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e \x3cmo\x3e,\x3c/mo\x3e \x3c/x:if\x3e \x3c/x:for-each\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8743;\x3c/mo\x3e\x3c/x:when\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:abs]] |m:apply[*[1][self::m:csymbol\x3d\'abs\']]"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:conjugate]] |m:apply[*[1][self::m:csymbol\x3d\'conjugate\']]"\x3e\x3cmover\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#175;\x3c/mo\x3e\x3c/mover\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:arg"\x3e\x3cmi\x3earg\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:real|m:csymbol[.\x3d\'real\']"\x3e\x3cmo\x3e\x26#8475;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:imaginary|m:csymbol[.\x3d\'imaginary\']"\x3e\x3cmo\x3e\x26#8465;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:lcm"\x3e\x3cmi\x3elcm\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:floor]] |m:apply[*[1][self::m:csymbol\x3d\'floor\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8970;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8971;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:ceiling]] |m:apply[*[1][self::m:csymbol\x3d\'ceiling\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#8968;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8969;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:eq]] |m:reln[*[1][self::m:eq]] |m:apply[*[1][self::m:csymbol\x3d\'eq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:neq]] |m:apply[*[1][self::m:csymbol\x3d\'neq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8800;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:gt]] |m:reln[*[1][self::m:gt]] |m:apply[*[1][self::m:csymbol\x3d\'gt\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26gt;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:lt]] |m:reln[*[1][self::m:lt]] |m:apply[*[1][self::m:csymbol\x3d\'lt\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26lt;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:geq]] |m:apply[*[1][self::m:csymbol\x3d\'geq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8805;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:leq]] |m:apply[*[1][self::m:csymbol\x3d\'leq\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8804;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:equivalent]] |m:apply[*[1][self::m:csymbol\x3d\'equivalent\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8801;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:approx]] |m:apply[*[1][self::m:csymbol\x3d\'approx\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"1"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8771;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:factorof]] |m:apply[*[1][self::m:csymbol\x3d\'factorof\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:int]] |m:apply[*[1][self::m:csymbol\x3d\'int\']] |m:bind[*[1][self::m:int]] |m:bind[*[1][self::m:csymbol\x3d\'int\']]"\x3e\x3cmrow\x3e\x3cmsubsup\x3e\x3cmi\x3e\x26#8747;\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit/*|m:interval/*[1]|m:condition/*|m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:uplimit/*|m:interval/*[2]"/\x3e\x3c/mrow\x3e\x3c/msubsup\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cx:if test\x3d"m:bvar"\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar"/\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'defint\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3e\x26#8747;\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:diff] and not(m:bvar)]| m:apply[*[1][self::m:csymbol\x3d\'diff\']]" priority\x3d"2"\x3e\x3cmsup\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8242;\x3c/mo\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:diff]]" priority\x3d"1"\x3e\x3cmfrac\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:bvar/m:degree"\x3e\x3cmrow\x3e\x3cmsup\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar/m:degree/node()"/\x3e\x3c/msup\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"m:bvar/node()"/\x3e\x3cx:apply-templates select\x3d"m:bvar/m:degree/node()"/\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cmi\x3ed\x3c/mi\x3e\x3cx:apply-templates select\x3d"m:bvar"/\x3e\x3c/mrow\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mfrac\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:partialdiff] and m:list and m:ci and count(*)\x3d3]" priority\x3d"2"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmi\x3eD\x3c/mi\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"m:list[1]/*"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position()\x26lt;last()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:partialdiff]]" priority\x3d"1"\x3e\x3cmfrac\x3e\x3cmrow\x3e\x3cx:choose\x3e \x3cx:when test\x3d"not(m:bvar/m:degree) and not(m:bvar[2])"\x3e \x3cmo\x3e\x26#8706;\x3c/mo\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmsup\x3e\x3cmo\x3e\x26#8706;\x3c/mo\x3e \x3cmrow\x3e \x3cx:choose\x3e \x3cx:when test\x3d"m:degree"\x3e \x3cx:apply-templates select\x3d"m:degree/node()"/\x3e \x3c/x:when\x3e \x3cx:when test\x3d"m:bvar/m:degree[string(number(.))\x3d\'NaN\']"\x3e \x3cx:for-each select\x3d"m:bvar/m:degree"\x3e \x3cx:apply-templates select\x3d"node()"/\x3e \x3cx:if test\x3d"position()\x26lt;last()"\x3e\x3cmo\x3e+\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e \x3cx:if test\x3d"count(m:bvar[not(m:degree)])\x26gt;0"\x3e \x3cmo\x3e+\x3c/mo\x3e\x3cmn\x3e\x3cx:value-of select\x3d"count(m:bvar[not(m:degree)])"/\x3e\x3c/mn\x3e \x3c/x:if\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmn\x3e\x3cx:value-of select\x3d"number(sum(m:bvar/m:degree))+count(m:bvar[not(m:degree)])"/\x3e\x3c/mn\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/mrow\x3e \x3c/msup\x3e \x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"m:bvar"\x3e \x3cmrow\x3e \x3cmo\x3e\x26#8706;\x3c/mo\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"node()"/\x3e \x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e \x3c/msup\x3e \x3c/mrow\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/mfrac\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'partialdiffdegree\']]"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmo\x3e\x26#8706;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[4]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:lowlimit"/\x3e \x3cx:template match\x3d"m:uplimit"/\x3e \x3cx:template match\x3d"m:bvar"\x3e\x3cmi\x3e\x3cx:apply-templates/\x3e\x3c/mi\x3e\x3cx:if test\x3d"following-sibling::m:bvar"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:degree"/\x3e \x3cx:template match\x3d"m:divergence"\x3e\x3cmi\x3ediv\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:divergence]and m:bvar and m:vector]"\x3e\x3cx:variable name\x3d"v" select\x3d"m:bvar"/\x3e\x3cmrow\x3e\x3cmi\x3ediv\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"m:vector/*"\x3e\x3cx:variable name\x3d"p" select\x3d"position()"/\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"$v[$p]/*"/\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:grad"\x3e\x3cmi\x3egrad\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:grad]and m:bvar]"\x3e\x3cmrow\x3e\x3cmi\x3egrad\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mfenced\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1][not(self::m:bvar)]"/\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:curl"\x3e\x3cmi\x3ecurl\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:laplacian"\x3e\x3cmsup\x3e\x3cmo\x3e\x26#8711;\x3c/mo\x3e\x3cmn\x3e2\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:laplacian]and m:bvar]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3c/mfenced\x3e\x3cmo\x3e\x26#x21a6;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1][not(self::m:bvar)]"/\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:set"\x3e\x3cx:call-template name\x3d"set"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'set\']]"\x3e\x3cmfenced open\x3d"{{" close\x3d"}}" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:list"\x3e\x3cx:call-template name\x3d"set"\x3e\x3cx:with-param name\x3d"o" select\x3d"\'(\'"/\x3e\x3cx:with-param name\x3d"c" select\x3d"\')\'"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'list\']]"\x3e\x3cmfenced open\x3d"(" close\x3d")" separators\x3d","\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:union]] |m:apply[*[1][self::m:csymbol\x3d\'union\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8746;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:union]][m:bvar] |m:apply[*[1][self::m:csymbol\x3d\'union\']][m:bvar]" priority\x3d"2" \x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x22C3;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:intersect]] |m:apply[*[1][self::m:csymbol\x3d\'intersect\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8745;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:intersect]][m:bvar] |m:apply[*[1][self::m:csymbol\x3d\'intersect\']][m:bvar]" priority\x3d"2" \x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x22C2;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:in]] |m:apply[*[1][self::m:csymbol\x3d\'in\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notin]]|m:reln[*[1][self::m:notin]] |m:apply[*[1][self::m:csymbol\x3d\'notin\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8713;\x3c/mo\x3e\x3c/x:with-param\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"this-p" select\x3d"3"/\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:subset]] |m:apply[*[1][self::m:csymbol\x3d\'subset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8838;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:prsubset]] |m:apply[*[1][self::m:csymbol\x3d\'prsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8834;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notsubset]] |m:apply[*[1][self::m:csymbol\x3d\'notsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8840;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:notprsubset]] |m:apply[*[1][self::m:csymbol\x3d\'notprsubset\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8836;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:setdiff]] |m:apply[*[1][self::m:csymbol\x3d\'setdiff\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8726;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:card]] |m:apply[*[1][self::m:csymbol\x3d\'card\']]"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:cartesianproduct or self::m:vectorproduct]] |m:apply[*[1][self::m:csymbol[.\x3d\'cartesian_product\' or . \x3d \'vectorproduct\']]]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#215;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:cartesianproduct][count(following-sibling::m:reals)\x3dcount(following-sibling::*)]]" priority\x3d"2"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"5"/\x3e\x3c/x:apply-templates\x3e\x3cmn\x3e\x3cx:value-of select\x3d"count(*)-1"/\x3e\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template name\x3d"sum" match\x3d"m:apply[*[1][self::m:sum]]"\x3e\x3cx:param name\x3d"mo"\x3e\x3cmo\x3e\x26#8721;\x3c/mo\x3e\x3c/x:param\x3e\x3cmrow\x3e\x3cmunderover\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit|m:interval/*[1]|m:condition/*|m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:uplimit/*|m:interval/*[2]"/\x3e\x3c/mrow\x3e\x3c/munderover\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'sum\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmo\x3e\x26#8721;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply/m:lowlimit" priority\x3d"3"\x3e\x3cmrow\x3e\x3cx:if test\x3d"../m:bvar"\x3e\x3cx:apply-templates select\x3d"../m:bvar/node()"/\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3c/x:if\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:product]]"\x3e\x3cx:call-template name\x3d"sum"\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#8719;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'product\']]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmo\x3e\x26#8719;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:limit]]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3elim\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:lowlimit|m:condition/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'limit\']][m:bind]"\x3e\x3cmrow\x3e\x3cmunder\x3e\x3cmi\x3elim\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bind/m:bvar/*"/\x3e\x3cmo\x3e\x3cx:choose\x3e \x3cx:when test\x3d"*[3]\x3d\'above\'"\x3e\x26#8600;\x3c/x:when\x3e \x3cx:when test\x3d"*[3]\x3d\'below\'"\x3e\x26#8599;\x3c/x:when\x3e \x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3cx:apply-templates select\x3d"m:bind/*[last()]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[m:limit]/m:lowlimit" priority\x3d"4"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"../m:bvar/node()"/\x3e\x3cmo\x3e\x26#8594;\x3c/mo\x3e\x3cx:apply-templates/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:tendsto]]|m:reln[*[1][self::m:tendsto]]"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:call-template name\x3d"binary"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@type\x3d\'above\'"\x3e\x26#8600;\x3c/x:when\x3e\x3cx:when test\x3d"@type\x3d\'below\'"\x3e\x26#8599;\x3c/x:when\x3e\x3cx:when test\x3d"@type\x3d\'two-sided\'"\x3e\x26#8594;\x3c/x:when\x3e\x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'tendsto\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3cmo\x3e\x3cx:choose\x3e \x3cx:when test\x3d"*[1][self::above]"\x3e\x26#8600;\x3c/x:when\x3e \x3cx:when test\x3d"*[1][self::below]"\x3e\x26#8599;\x3c/x:when\x3e \x3cx:when test\x3d"*[1][self::two-sided]"\x3e\x26#8594;\x3c/x:when\x3e \x3cx:otherwise\x3e\x26#8594;\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[4]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:semantics/m:ci\x3d\'tendsto\']]"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3cmo\x3e\x26#8594;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:tendsto"\x3e\x3cmi\x3etendsto\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][ self::m:sin or self::m:cos or self::m:tan or self::m:sec or self::m:csc or self::m:cot or self::m:sinh or self::m:cosh or self::m:tanh or self::m:sech or self::m:csch or self::m:coth or self::m:arcsin or self::m:arccos or self::m:arctan or self::m:arccosh or self::m:arccot or self::m:arccoth or self::m:arccsc or self::m:arccsch or self::m:arcsec or self::m:arcsech or self::m:arcsinh or self::m:arctanh or self::m:ln]]"\x3e\x3cmrow\x3e\x3cmi\x3e\x3cx:value-of select\x3d"local-name(*[1])"/\x3e\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d" m:sin | m:cos | m:tan | m:sec | m:csc | m:cot | m:sinh | m:cosh | m:tanh | m:sech | m:csch | m:coth | m:arcsin | m:arccos | m:arctan | m:arccosh | m:arccot | m:arccoth | m:arccsc | m:arccsch | m:arcsec | m:arcsech | m:arcsinh | m:arctanh | m:ln|m:mean| m:plus|m:minus"\x3e\x3cmi\x3e\x3cx:value-of select\x3d"local-name()"/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:exp]] |m:apply[*[1][self::m:csymbol\x3d\'exp\']]"\x3e\x3cmsup\x3e\x3cmi\x3ee\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:log]] |m:apply[*[1][self::m:csymbol\x3d\'log\']]"\x3e\x3cmrow\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(m:logbase) or m:logbase\x3d10"\x3e\x3cmi\x3elog\x3c/mi\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cmsub\x3e\x3cmi\x3elog\x3c/mi\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:logbase/node()"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:mean]] |m:apply[*[1][self::m:csymbol\x3d\'mean\']]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cx:for-each select\x3d"*[position()\x26gt;1]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:sdev|m:csymbol[.\x3d\'sdev\']"\x3e\x3cmo\x3e\x26#963;\x3c/mo\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:variance]] |m:apply[*[1][self::m:csymbol\x3d\'variance\']]"\x3e\x3cmsup\x3e\x3cmrow\x3e\x3cmo\x3e\x26#963;\x3c/mo\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cmfenced\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mfenced\x3e\x3c/mrow\x3e\x3cmn\x3e2\x3c/mn\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:median"\x3e\x3cmi\x3emedian\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mode"\x3e\x3cmi\x3emode\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:moment]]"\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e\x3cx:variable name\x3d"data" select\x3d"*[not(position()\x3d1)] [not(self::m:degree or self::m:momentabout)]"/\x3e\x3cx:choose\x3e \x3cx:when test\x3d"$data[2]"\x3e \x3cmfenced\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/mfenced\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'moment\']]"\x3e\x3cmsub\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e \x3cx:apply-templates select\x3d"*[4]"/\x3e \x3cx:apply-templates select\x3d"*[2]"/\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3cx:apply-templates select\x3d"*[3]"/\x3e \x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:momentabout"/\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:moment]][m:momentabout]" priority\x3d"2"\x3e\x3cmsub\x3e\x3cmrow\x3e\x3cmo\x3e\x26#9001;\x3c/mo\x3e\x3cmsup\x3e \x3cx:variable name\x3d"data" select\x3d"*[not(position()\x3d1)] [not(self::m:degree or self::m:momentabout)]"/\x3e \x3cx:choose\x3e \x3cx:when test\x3d"$data[2]"\x3e \x3cmfenced\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/mfenced\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:apply-templates select\x3d"$data"/\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3cmrow\x3e\x3cx:apply-templates select\x3d"m:degree/node()"/\x3e\x3c/mrow\x3e\x3c/msup\x3e\x3cmo\x3e\x26#9002;\x3c/mo\x3e\x3c/mrow\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:momentabout/*"/\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector[m:condition]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:condition"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:vector[m:domainofapplication]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:bvar/*"/\x3e\x3cmo\x3e\x26#x2208;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'vector\']]"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:for-each select\x3d"*[position()!\x3d1]"\x3e\x3cmtr\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates/\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix[m:condition]"\x3e\x3cmrow\x3e\x3cmo\x3e[\x3c/mo\x3e\x3cmsub\x3e\x3cmi\x3em\x3c/mi\x3e\x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cmsub\x3e \x3cmi\x3em\x3c/mi\x3e \x3cmrow\x3e \x3cx:for-each select\x3d"m:bvar"\x3e \x3cx:apply-templates/\x3e \x3cx:if test\x3d"position()!\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e \x3c/x:for-each\x3e \x3c/mrow\x3e\x3c/msub\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[last()]"/\x3e\x3c/mrow\x3e\x3cmo\x3e;\x3c/mo\x3e\x3cx:apply-templates select\x3d"m:condition"/\x3e\x3cmo\x3e]\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol\x3d\'matrix\']]"\x3e\x3cmrow\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates select\x3d"*[position()!\x3d1]"/\x3e\x3c/mtable\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrix/m:matrixrow"\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:matrixrow"\x3e\x3cmtable\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/mtable\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:csymbol.\x3d\'matrixrow\']]"\x3e\x3cmtr\x3e\x3cx:for-each select\x3d"*[position()!\x3d1]"\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:determinant]] |m:apply[*[1][self::m:csymbol\x3d\'determinant\']]"\x3e\x3cmrow\x3e\x3cmi\x3edet\x3c/mi\x3e\x3cmo\x3e\x26#8289;\x3c/mo\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:determinant]][*[2][self::m:matrix]]" priority\x3d"2"\x3e\x3cmrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmtable\x3e\x3cx:apply-templates select\x3d"m:matrix/*"/\x3e\x3c/mtable\x3e\x3cmo\x3e|\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:transpose]] |m:apply[*[1][self::m:csymbol\x3d\'transpose\']]"\x3e\x3cmsup\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmi\x3eT\x3c/mi\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:selector]] |m:apply[*[1][self::m:csymbol\x3d\'selector\']]"\x3e\x3cmsub\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"7"/\x3e\x3c/x:apply-templates\x3e\x3cmrow\x3e\x3cx:for-each select\x3d"*[position()\x26gt;2]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/mrow\x3e\x3c/msub\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:scalarproduct]] |m:apply[*[1][self::m:csymbol\x3d\'scalarproduct\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e.\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:apply[*[1][self::m:outerproduct]] |m:apply[*[1][self::m:csymbol\x3d\'outerproduct\']]"\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:call-template name\x3d"infix"\x3e\x3cx:with-param name\x3d"this-p" select\x3d"2"/\x3e\x3cx:with-param name\x3d"p" select\x3d"$p"/\x3e\x3cx:with-param name\x3d"mo"\x3e\x3cmo\x3e\x26#x2297;\x3c/mo\x3e\x3c/x:with-param\x3e\x3c/x:call-template\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:semantics"\x3e\x3cx:apply-templates select\x3d"*[1]"/\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:semantics[m:annotation-xml/@encoding\x3d\'MathML-Presentation\']"\x3e\x3cx:apply-templates select\x3d"m:annotation-xml[@encoding\x3d\'MathML-Presentation\']/node()"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:integers"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eZ\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:reals"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eR\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:rationals"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eQ\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:naturalnumbers"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eN\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:complexes"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eC\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:primes"\x3e\x3cmi mathvariant\x3d"double-struck"\x3eP\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:exponentiale"\x3e\x3cmi\x3ee\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:imaginaryi"\x3e\x3cmi\x3ei\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:notanumber"\x3e\x3cmi\x3eNaN\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:true"\x3e\x3cmi\x3etrue\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:false"\x3e\x3cmi\x3efalse\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:emptyset|m:csymbol[.\x3d\'emptyset\']"\x3e\x3cmi\x3e\x26#8709;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:pi|m:csymbol[.\x3d\'pi\']"\x3e\x3cmi\x3e\x26#960;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:eulergamma|m:csymbol[.\x3d\'gamma\']"\x3e\x3cmi\x3e\x26#947;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:infinity|m:csymbol[.\x3d\'infinity\']"\x3e\x3cmi\x3e\x26#8734;\x3c/mi\x3e\x3c/x:template\x3e \x3cx:template name\x3d"infix" \x3e\x3cx:param name\x3d"mo"/\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"this-p" select\x3d"0"/\x3e\x3cx:variable name\x3d"dmo"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmunder\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cmrow\x3e \x3cx:apply-templates select\x3d"m:domainofapplication/*"/\x3e\x3c/mrow\x3e\x3c/munder\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmrow\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:for-each select\x3d"*[not(self::m:domainofapplication)][position()\x26gt;1]"\x3e\x3cx:if test\x3d"position() \x26gt; 1"\x3e\x3cx:copy-of select\x3d"$dmo"/\x3e\x3c/x:if\x3e\x3cx:apply-templates select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3c/x:for-each\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template name\x3d"binary" \x3e\x3cx:param name\x3d"mo"/\x3e\x3cx:param name\x3d"p" select\x3d"0"/\x3e\x3cx:param name\x3d"this-p" select\x3d"0"/\x3e\x3cmrow\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e(\x3c/mo\x3e\x3c/x:if\x3e\x3cx:apply-templates select\x3d"*[2]"\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3cx:copy-of select\x3d"$mo"/\x3e\x3cx:apply-templates select\x3d"*[3]"\x3e\x3cx:with-param name\x3d"p" select\x3d"$this-p"/\x3e\x3c/x:apply-templates\x3e\x3cx:if test\x3d"$this-p \x26lt; $p"\x3e\x3cmo\x3e)\x3c/mo\x3e\x3c/x:if\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template name\x3d"set" \x3e\x3cx:param name\x3d"o" select\x3d"\'{\'"/\x3e\x3cx:param name\x3d"c" select\x3d"\'}\'"/\x3e\x3cmrow\x3e\x3cmo\x3e\x3cx:value-of select\x3d"$o"/\x3e\x3c/mo\x3e\x3cx:choose\x3e\x3cx:when test\x3d"m:condition"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:condition/following-sibling::*"/\x3e\x3c/mrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:condition/node()"/\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"m:domainofapplication"\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/following-sibling::*"/\x3e\x3c/mrow\x3e\x3cmo\x3e|\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:bvar/node()"/\x3e\x3c/mrow\x3e\x3cmo\x3e\x26#8712;\x3c/mo\x3e\x3cmrow\x3e\x3cx:apply-templates select\x3d"m:domainofapplication/node()"/\x3e\x3c/mrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:for-each select\x3d"*[not(position()\x3d1 and parent::m:apply)]"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3cx:if test\x3d"position() !\x3dlast()"\x3e\x3cmo\x3e,\x3c/mo\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cmo\x3e\x3cx:value-of select\x3d"$c"/\x3e\x3c/mo\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cs"\x3e\x3cms\x3e\x3cx:value-of select\x3d" translate(., \'\x26#9;\x26#10;\x26#13;\x26#32;\', \'\x26#160;\x26#160;\x26#160;\x26#160;\')"/\x3e\x3c/ms\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cbytes"\x3e\x3cmrow/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:cerror"\x3e\x3cmerror\x3e\x3cx:apply-templates/\x3e\x3c/merror\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:share" priority\x3d"4"\x3e\x3cmi href\x3d"{@href}"\x3eshare\x3cx:value-of select\x3d"substring-after(@href,\'#\')"/\x3e\x3c/mi\x3e\x3c/x:template\x3e \x3cx:output indent\x3d"yes" omit-xml-declaration\x3d"yes"/\x3e \x3cx:template match\x3d"*"\x3e\x3cx:copy\x3e\x3cx:copy-of select\x3d"@*"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*[@dir\x3d\'rtl\']" priority\x3d"10"\x3e\x3c!--starting rtl\x3cx:value-of select\x3d"name()"/\x3e.--\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"."/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@*" mode\x3d"rtl"\x3e\x3cx:copy-of select\x3d"."/\x3e\x3c/x:template\x3e\x3cx:template match\x3d"*" mode\x3d"rtl"\x3e\x3cx:copy\x3e\x3cx:apply-templates select\x3d"@*" mode\x3d"rtl"/\x3e\x3cx:for-each select\x3d"node()"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:text\x3e\x3c/x:text\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"."/\x3e\x3c/x:for-each\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'(\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e)\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\')\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e(\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'[\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e]\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\']\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e[\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'{\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e}\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@open[.\x3d\'}\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"close"\x3e{\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'(\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e)\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\')\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e(\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'[\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e]\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\']\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e[\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'{\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e}\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@close[.\x3d\'}\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"open"\x3e{\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mfrac[@bevelled\x3d\'true\']" mode\x3d"rtl"\x3e\x3cmrow\x3e\x3cmsub\x3e\x3cmi\x3e\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3c/msub\x3e\x3cmo\x3e\x26#x5c;\x3c/mo\x3e\x3cmsup\x3e\x3cmi\x3e\x3c/mi\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3c/msup\x3e\x3c/mrow\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mfrac" mode\x3d"rtl"\x3e\x3cx:copy\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*"/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mroot" mode\x3d"rtl"\x3e\x3cmsup\x3e\x3cmenclose notation\x3d"top right"\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*[1]"/\x3e\x3c/menclose\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"*[2]"/\x3e\x3c/msup\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msqrt" mode\x3d"rtl"\x3e\x3cmenclose notation\x3d"top right"\x3e\x3cx:apply-templates mode\x3d"rtl" select\x3d"@*|*[1]"/\x3e\x3c/menclose\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mtable|m:munder|m:mover|m:munderover" mode\x3d"rtl" priority\x3d"2"\x3e\x3cx:copy\x3e\x3cx:apply-templates select\x3d"@*" mode\x3d"rtl"/\x3e\x3cx:apply-templates mode\x3d"rtl"\x3e\x3c/x:apply-templates\x3e\x3c/x:copy\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msup" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cnone/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msub" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3cnone/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:msubsup" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:apply-templates select\x3d"*[2]" mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"*[3]" mode\x3d"rtl"/\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:mmultiscripts" mode\x3d"rtl" priority\x3d"2"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cx:for-each select\x3d"m:mprescripts/following-sibling::*[position() mod 2 \x3d 1]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3cmprescripts/\x3e\x3cx:for-each select\x3d"m:mprescripts/preceding-sibling::*[position()!\x3dlast()][position() mod 2 \x3d 0]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"m:mmultiscripts[not(m:mprescripts)]" mode\x3d"rtl" priority\x3d"3"\x3e\x3cmmultiscripts\x3e\x3cx:apply-templates select\x3d"*[1]" mode\x3d"rtl"/\x3e\x3cmprescripts/\x3e\x3cx:for-each select\x3d"*[position() mod 2 \x3d 0]"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending" select\x3d"position()"/\x3e\x3cx:apply-templates select\x3d"." mode\x3d"rtl"/\x3e\x3cx:apply-templates select\x3d"following-sibling::*[1]" mode\x3d"rtl"/\x3e\x3c/x:for-each\x3e\x3c/mmultiscripts\x3e\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'(\']" mode\x3d"rtl"\x3e)\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\')\']" mode\x3d"rtl"\x3e(\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'{\']" mode\x3d"rtl"\x3e}\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'}\']" mode\x3d"rtl"\x3e{\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26lt;\']" mode\x3d"rtl"\x3e\x26gt;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26gt;\']" mode\x3d"rtl"\x3e\x26lt;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x2208;\']" mode\x3d"rtl"\x3e\x26#x220b;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x220b;\']" mode\x3d"rtl"\x3e\x26#x2208;\x3c/x:template\x3e\x3cx:template match\x3d"text()[.\x3d\'\x26#x2211;\']|text()[.\x3d\'\x26#x222b;\']" mode\x3d"rtl"\x3e\x3csvg width\x3d"20" height\x3d"20" version\x3d"1.1" xmlns\x3d"http://www.w3.org/2000/svg"\x3e\x3cg transform\x3d"matrix(-1 0 0 1 0 0 )"\x3e\x3ctext id\x3d"TextElement" x\x3d"-20" y\x3d"15" \x3e\x3cx:value-of select\x3d"."/\x3e\x3c/text\x3e\x3c/g\x3e\x3c/svg\x3e\x3c/x:template\x3e \x3cx:template match\x3d"@notation[.\x3d\'radical\']" mode\x3d"rtl"\x3e\x3cx:attribute name\x3d"notation"\x3etop right\x3c/x:attribute\x3e\x3c/x:template\x3e \x3cx:template name\x3d"mml2attrib"\x3e\x3c!-- \x3cx:copy-of select\x3d"@*[not(local-name()\x3d\'href\')]"/\x3e --\x3e\x3cx:copy-of select\x3d"@*[not(local-name()\x3d\'href\')]"/\x3e\x3cx:attribute name\x3d"style"\x3e\x3cx:if test\x3d"@style"\x3e\x3cx:value-of select\x3d"@style"/\x3e;\x3c/x:if\x3e\x3cx:if test\x3d"@mathcolor"\x3ecolor:\x3cx:value-of select\x3d"@mathcolor"/\x3e;\x3c/x:if\x3e\x3cx:if test\x3d"@mathbackground"\x3ebackground-color:\x3cx:value-of select\x3d"@mathbackground"/\x3e;\x3c/x:if\x3e\x3c/x:attribute\x3e\x3c/x:template\x3e \x3c!-- \x3cx:template match\x3d"*[@href]" priority\x3d"3"\x3e\x3ca xmlns\x3d"http://www.w3.org/1999/xhtml" style\x3d"text-decoration: none" href\x3d"{@href}"\x3e\x3cx:copy\x3e\x3cx:call-template name\x3d"mml2attrib"/\x3e\x3cx:attribute name\x3d"class"\x3e\x3cx:text\x3emmlhref\x3c/x:text\x3e\x3cx:value-of select\x3d"@class"/\x3e\x3c/x:attribute\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/a\x3e\x3c/x:template\x3e--\x3e\x3cx:template match\x3d"*[@mathcolor|@mathbackground]"\x3e\x3cx:copy\x3e\x3cx:call-template name\x3d"mml2attrib"/\x3e\x3cx:apply-templates/\x3e\x3c/x:copy\x3e\x3c/x:template\x3e \x3cx:param name\x3d"hascolspan" select\x3d"true()"/\x3e \x3cx:template match\x3d"m:mstack"\x3e\x3cmtable columnspacing\x3d"0em"\x3e\x3cx:variable name\x3d"t"\x3e\x3cx:apply-templates select\x3d"*" mode\x3d"mstack1"\x3e\x3cx:with-param name\x3d"p" select\x3d"0"/\x3e\x3c/x:apply-templates\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"maxl"\x3e\x3cx:for-each select\x3d"c:node-set($t)/*/@l"\x3e\x3cx:sort data-type\x3d"number" order\x3d"descending"/\x3e\x3cx:if test\x3d"position()\x3d1"\x3e\x3cx:value-of select\x3d"."/\x3e\x3c/x:if\x3e\x3c/x:for-each\x3e\x3c/x:variable\x3e\x3cx:for-each select\x3d"c:node-set($t)/*[not(@class\x3d\'mscarries\') or following-sibling::*[1]/@class\x3d\'mscarries\']"\x3e\x3cx:variable name\x3d"c" select\x3d"preceding-sibling::*[1][@class\x3d\'mscarries\']"/\x3e\x3cx:text\x3e\x26#10;\x3c/x:text\x3e\x3cmtr\x3e\x3cx:variable name\x3d"offset" select\x3d"$maxl - @l"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$hascolspan and @class\x3d\'msline\' and (string(*[1]/@columnspan)\x3d\'\' or string(*[1]/@columnspan)\x3d\'0\')"\x3e\x3cmtd columnspan\x3d"{$maxl}"\x3e\x3cx:copy-of select\x3d"*/@style"/\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@class\x3d\'msline\' and @l\x3d\'*\'"\x3e\x3cx:variable name\x3d"msl" select\x3d"*[1]"/\x3e\x3cx:for-each select\x3d"(//node())[position()\x26lt;\x3d$maxl]"\x3e\x3cx:copy-of select\x3d"$msl"/\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$c"\x3e\x3cx:variable name\x3d"ldiff" select\x3d"$c/@l - @l"/\x3e\x3cx:variable name\x3d"loffset" select\x3d"$maxl - $c/@l"/\x3e\x3cx:for-each select\x3d"(//*)[position()\x26lt;\x3d $offset]"\x3e\x3cx:variable name\x3d"pn" select\x3d"position()"/\x3e\x3cx:variable name\x3d"cy" select\x3d"$c/*[position()\x3d$pn - $loffset]"/\x3e \x3cmtd\x3e \x3cx:if test\x3d"$cy/*"/\x3e \x3cmover\x3e\x3cmphantom\x3e\x3cmn\x3e0\x3c/mn\x3e\x3c/mphantom\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mover\x3e \x3c/mtd\x3e\x3c/x:for-each\x3e\x3cx:for-each select\x3d"*"\x3e\x3cx:variable name\x3d"pn" select\x3d"position()"/\x3e\x3cx:variable name\x3d"cy" select\x3d"$c/*[position()\x3d$pn + $ldiff]"/\x3e\x3cx:copy\x3e \x3cx:copy-of select\x3d"@*"/\x3e \x3cx:variable name\x3d"b"\x3e \x3cx:choose\x3e \x3cx:when test\x3d"not(string($cy/@crossout) or $cy/@crossout\x3d\'none\')"\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/x:when\x3e \x3cx:otherwise\x3e \x3cmenclose notation\x3d"{$cy/@crossout}"\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/menclose\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e \x3c/x:variable\x3e \x3cx:choose\x3e \x3cx:when test\x3d"$cy/*/m:none or not($cy/*/*)"\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3c/x:when\x3e \x3cx:when test\x3d"not(string($cy/@location)) or $cy/@location\x3d\'n\'"\x3e \x3cmover\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mover\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'nw\'"\x3e \x3cmmultiscripts\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmprescripts/\x3e\x3cnone/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/mmultiscripts\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'s\'"\x3e \x3cmunder\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em" lspace\x3d"-0.5width"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/munder\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'sw\'"\x3e \x3cmmultiscripts\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmprescripts/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3cnone/\x3e\x3c/mmultiscripts\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'ne\'"\x3e \x3cmsup\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'se\'"\x3e \x3cmsub\x3e\x3cx:copy-of select\x3d"$b"/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msub\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'w\'"\x3e \x3cmsup\x3e\x3cmrow/\x3e\x3cmpadded lspace\x3d"-1width" width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3c/x:when\x3e \x3cx:when test\x3d"$cy/@location\x3d\'e\'"\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3cmsup\x3e\x3cmrow/\x3e\x3cmpadded width\x3d"0em"\x3e\x3cx:copy-of select\x3d"$cy/*/*"/\x3e\x3c/mpadded\x3e\x3c/msup\x3e \x3c/x:when\x3e \x3cx:otherwise\x3e \x3cx:copy-of select\x3d"$b"/\x3e \x3c/x:otherwise\x3e \x3c/x:choose\x3e\x3c/x:copy\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:for-each select\x3d"(//*)[position()\x26lt;\x3d $offset]"\x3e\x3cmtd/\x3e\x3c/x:for-each\x3e\x3cx:copy-of select\x3d"*"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mtr\x3e\x3c/x:for-each\x3e\x3c/mtable\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"*"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:param name\x3d"maxl" select\x3d"0"/\x3e\x3cmtr l\x3d"{1 + $p}"\x3e\x3cx:if test\x3d"ancestor::mstack[1]/@stackalign\x3d\'left\'"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p"/\x3e\x3c/x:attribute\x3e\x3c/x:if\x3e\x3cmtd\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mtd\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"m:msrow"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:param name\x3d"maxl" select\x3d"0"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"row"\x3e\x3cx:apply-templates mode\x3d"mstack1" select\x3d"*"\x3e\x3cx:with-param name\x3d"p" select\x3d"0"/\x3e\x3c/x:apply-templates\x3e\x3c/x:variable\x3e\x3cx:text\x3e\x26#10;\x3c/x:text\x3e\x3cx:variable name\x3d"l1"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$align\x3d\'decimalpoint\' and m:mn"\x3e\x3cx:for-each select\x3d"c:node-set($row)/m:mtr[m:mtd/m:mn][1]"\x3e\x3cx:value-of select\x3d"number(sum(@l))+count(preceding-sibling::*/@l)"/\x3e\x3c/x:for-each\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$align\x3d\'right\' or $align\x3d\'decimalpoint\'"\x3e\x3cx:value-of select\x3d"count(c:node-set($row)/m:mtr/m:mtd)"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"0"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"msrow" l\x3d"{number($l1) + number(sum(@position)) +$p}"\x3e\x3cx:copy-of select\x3d"c:node-set($row)/m:mtr/*"/\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template mode\x3d"mstack1" match\x3d"m:mn"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"dp1" select\x3d"ancestor::*[@decimalpoint][1]/@decimalpoint"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:variable name\x3d"dp"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($dp1)\x3d\'\'"\x3e.\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$dp1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr l\x3d"$p"\x3e\x3cx:variable name\x3d"mn" select\x3d"normalize-space(.)"/\x3e\x3cx:variable name\x3d"len" select\x3d"string-length($mn)"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$align\x3d\'right\' or ($align\x3d\'decimalpoint\' and not(contains($mn,$dp)))"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p + $len"/\x3e\x3c/x:attribute\x3e\x3c/x:when\x3e\x3cx:when test\x3d"$align\x3d\'decimalpoint\'"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:value-of select\x3d"$p + string-length(substring-before($mn,$dp))"/\x3e\x3c/x:attribute\x3e\x3c/x:when\x3e\x3c/x:choose\x3e \x3cx:for-each select\x3d"(//node())[position() \x26lt;\x3d$len]"\x3e\x3cx:variable name\x3d"pos" select\x3d"position()"/\x3e\x3cmtd\x3e\x3cmn\x3e\x3cx:value-of select\x3d"substring($mn,$pos,1)"/\x3e\x3c/mn\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msgroup" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"s" select\x3d"number(sum(@shift))"/\x3e\x3cx:variable name\x3d"thisp" select\x3d"number(sum(@position))"/\x3e\x3cx:for-each select\x3d"*"\x3e\x3cx:apply-templates mode\x3d"mstack1" select\x3d"."\x3e\x3cx:with-param name\x3d"p" select\x3d"number($p)+$thisp+(position()-1)*$s"/\x3e\x3c/x:apply-templates\x3e\x3c/x:for-each\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:msline" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"align"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'\'"\x3edecimalpoint\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$align1"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"msline"\x3e\x3cx:attribute name\x3d"l"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"not(string(@length)) or @length\x3d0"\x3e*\x3c/x:when\x3e\x3cx:when test\x3d"string($align)\x3d\'right\' or string($align)\x3d\'decimalpoint\' "\x3e\x3cx:value-of select\x3d"$p+ @length"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"$p"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:attribute\x3e\x3cx:variable name\x3d"w"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'thin\'"\x3e0.1em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'medium\'"\x3e0.15em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness\x3d\'thick\'"\x3e0.2em\x3c/x:when\x3e\x3cx:when test\x3d"@mslinethickness"\x3e\x3cx:value-of select\x3d"@mslinethickness"/\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e0.15em\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cx:choose\x3e\x3cx:when test\x3d"$hascolspan"\x3e\x3cmtd class\x3d"msline" columnspan\x3d"{@length}"\x3e\x3cx:copy-of select\x3d"@position"/\x3e\x3cx:attribute name\x3d"style"\x3e\x3cx:value-of select\x3d"concat(\'border-style: solid; border-width: 0 0 \',$w,\' 0\')"/\x3e\x3c/x:attribute\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:when test\x3d"not(string(@length)) or @length\x3d0"\x3e\x3cmtd class\x3d"mslinemax"\x3e\x3cmpadded lspace\x3d"-0.5em" width\x3d"0em" height\x3d"0em"\x3e\x3cmfrac linethickness\x3d"{$w}"\x3e\x3cmspace width\x3d"1em"/\x3e\x3cmrow/\x3e\x3c/mfrac\x3e\x3c/mpadded\x3e\x3c/mtd\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:variable name\x3d"l" select\x3d"@length"/\x3e\x3cx:for-each select\x3d"(//node())[position()\x26lt;\x3d$l]"\x3e\x3cmtd class\x3d"msline"\x3e\x3cmpadded lspace\x3d"-0.5em" width\x3d"0em" height\x3d"0em"\x3e\x3cmfrac linethickness\x3d"{$w}"\x3e \x3cmspace width\x3d"1em"/\x3e \x3cmrow/\x3e\x3c/mfrac\x3e\x3c/mpadded\x3e\x3c/mtd\x3e\x3c/x:for-each\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mscarries" mode\x3d"mstack1"\x3e\x3cx:param name\x3d"p"/\x3e\x3cx:variable name\x3d"align1" select\x3d"ancestor::m:mstack[1]/@stackalign"/\x3e\x3cx:variable name\x3d"l1"\x3e\x3cx:choose\x3e\x3cx:when test\x3d"string($align1)\x3d\'left\'"\x3e0\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:value-of select\x3d"count(*)"/\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3c/x:variable\x3e\x3cmtr class\x3d"mscarries" l\x3d"{$p + $l1 + sum(@position)}"\x3e\x3cx:apply-templates select\x3d"*" mode\x3d"msc"/\x3e\x3c/mtr\x3e\x3c/x:template\x3e \x3cx:template match\x3d"*" mode\x3d"msc"\x3e\x3cmtd\x3e\x3cx:copy-of select\x3d"../@location|../@crossout"/\x3e\x3cmstyle mathsize\x3d"70%"\x3e\x3cx:apply-templates select\x3d"."/\x3e\x3c/mstyle\x3e\x3c/mtd\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mscarry" mode\x3d"msc"\x3e\x3cmtd\x3e\x3cx:copy-of select\x3d"@location|@crossout"/\x3e\x3cmstyle mathsize\x3d"70%"\x3e\x3cx:apply-templates select\x3d"*"/\x3e\x3c/mstyle\x3e\x3c/mtd\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:mlongdiv"\x3e\x3cx:variable name\x3d"ms"\x3e\x3cmstack\x3e\x3cx:copy-of select\x3d"(ancestor-or-self::*/@decimalpoint)[last()]"/\x3e\x3cx:choose\x3e\x3cx:when test\x3d"@longdivstyle\x3d\'left/\right\'"\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e/\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@longdivstyle\x3d\'left)(right\'"\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e)\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e(\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:when test\x3d"@longdivstyle\x3d\':right\x3dright\'"\x3e\x3cmsrow\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3cmo\x3e:\x3c/mo\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3cmo\x3e\x3d\x3c/mo\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3c/msrow\x3e\x3c/x:when\x3e\x3cx:otherwise\x3e\x3cx:copy-of select\x3d"*[2]"/\x3e\x3cmsline length\x3d"{string-length(*[3])}"/\x3e\x3cmsrow\x3e\x3cmrow\x3e\x3cx:copy-of select\x3d"*[1]"/\x3e\x3c/mrow\x3e\x3cmo\x3e)\x3c/mo\x3e\x3cx:copy-of select\x3d"*[3]"/\x3e\x3c/msrow\x3e\x3c/x:otherwise\x3e\x3c/x:choose\x3e\x3cx:copy-of select\x3d"*[position()\x26gt;3]"/\x3e\x3c/mstack\x3e\x3c/x:variable\x3e\x3cx:apply-templates select\x3d"c:node-set($ms)"/\x3e\x3c/x:template\x3e \x3cx:template match\x3d"m:menclose[@notation\x3d\'madruwb\']" mode\x3d"rtl"\x3e\x3cmenclose notation\x3d"bottom right"\x3e\x3cx:apply-templates mode\x3d"rtl"/\x3e\x3c/menclose\x3e\x3c/x:template\x3e \x3c/x:stylesheet\x3e'),a.ctopXSLT={ctop:b,transformToDocument:function(a){return a.documentElement.transformNode(this.ctop)}};else a.ctopXSLT=null;MathJax.Hub.Startup.signal.Post("MathML content-mathml Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/MathML/content-mathml.js");
|