Normal - Maple Help

Algebraic

 Normal
 normal form for rational expressions with algebraic number coefficients

 Calling Sequence Normal(p, options)

Parameters

 p - any Maple object; typically a rational function with algebraic number coefficients options - (optional) equation(s) of the form keyword = value, where keyword is one of 'symbolic', 'expanded', 'rationalize', 'characteristic', 'makeindependent', or 'recursive'.

Options

 • If the option 'symbolic'=true is given and a RootOf whose minimal polynomial factors nontrivially is detected, Normal will reduce it to a RootOf of lower degree by picking one of the factors arbitrarily. The default is 'symbolic'=false.
 • If the option 'expanded'=true is given, the result will be a quotient of two expanded polynomials, with the following properties:
 – The leading coefficient, with respect to the block-lexicographic ordering of the variables described above, of the denominator is a positive integer.
 – If there is a denominator, it is non-constant.
 – The integer content of the denominator is equal to $1$.
 This form is unique, but again it may not exist if the radicals and RootOfs in the input do not define a field. The default is 'expanded'=false.
 • If the option 'rationalize'=false is given, then leading coefficients of non-constant factors in the result will not be rationalized, and the denominator may contain constant factors that are not integers. This can be useful to avoid blowup in some examples where coefficients or denominators in the input contain many algebraic numbers.
 • If the option 'characteristic'=p is given, where p is a nonnegative integer, the normal form is computed over an extension of the ring ${\mathrm{ℤ}}_{p}$ of integers modulo p. The default is 'characteristic'=0 and means that the normal form is computed over an extension of the rational numbers.
 • Note that if p is positive but not a prime, then ${\mathrm{ℤ}}_{p}$ is not a field, and a normal form may not exist. Normal will attempt to compute one anyway. If it does not succeed because it encounters an integer that has no inverse modulo p, it issues the error "zero divisor modulo p detected".
 • If the option 'makeindependent'=true is given, then Normal will always try to find a field representation for algebraic numbers in the input, regardless of how many algebraic objects the input contains. If the input contains many RootOfs, then this can be a very expensive calculation. If 'makeindependent'=false is given, then no independence checking is performed. The default is 'makeindependent'=FAIL, in which case algebraic dependencies will only be checked for if there are $4$ or fewer algebraic objects in the input.
 • If the option 'recursive'=false is given, then Normal will not map itself recursively over non-algebraic subexpressions. The default is 'recursive'=true.

Description

 • The Normal command computes a factored normal form for a (multivariate) rational expression whose coefficients contain radicals or RootOfs representing algebraic numbers. In particular, the result is $0$ if and only if the input is mathematically equivalent to zero, under certain conditions (see below).
 • Non-algebraic subexpressions such as $\mathrm{sin}\left(x\right)$ that are neither variables, rational numbers, or algebraic objects will first be mapped over recursively (unless the option 'recursive'=false is given; see below). Then they are frozen and temporarily replaced by new local variables, which are not considered to be constant in what follows.
 • This command preserves partial factorizations in the input and expands polynomials only if necessary, unless the option 'expanded'=true is given (see below).
 • The normal form satisfies the following properties:
 – All radicals and powers of RootOfs in the result are reduced with respect to their respective minimal polynomials.  That is, every radical is of the form ${a}^{r}$, where $0 is a rational number, and every integer exponent in a power of the form ${\mathrm{RootOf}\left(f,\mathrm{...}\right)}^{n}$ satisfies $0 .
 – The numerator and the denominator have no non-trivial common factors.
 Unless option 'expanded'=true or option 'rationalize'=false is given (see below), the normal form also satisfies the following properties:
 – The leading coefficients, with respect to a block-lexicographic ordering of the variables where all global variables are considered larger than all local ones, of all non-constant factors are positive integers (except possibly if there is only one non-constant factor and no denominator). If all variables have different names, then this ordering is session-independent.
 – There is at most one constant factor in the denominator, and it is a positive integer.
 – There are at most two constant factors in the numerator, at most one of them is not a rational number, and the other one, if present, is an integer.
 – All factors that are not rational numbers have integer content equal to $1$, except possibly if there is only one non-constant factor.
 • If, after freezing non-algebraic subexpressions, the input contains floating point numbers, only normal will be applied to it.
 • If the set of radicals and RootOfs in the input cannot be embedded into a field algebraically, a normal form with the properties above may not exist, or Normal may be unable to compute one. It will try to find a field representation if there are at most $4$ algebraic objects in the input (unless option 'makeindependent' is given; see below), and otherwise attempt to compute the normal form anyway. If it does not succeed, it will first fall back to calling Algebraic[Reduce], and if this fails as well, to normal (unless the option 'symbolic'=true is given; see below). In this case, the result returned may not satisfy all properties of a normal form above.
 • Otherwise, if the set of radicals and RootOfs in the input do define a field, then Normal returns $0$ if and only if the input is mathematically equivalent to zero.

Examples

 > $\mathrm{with}\left(\mathrm{Algebraic}\right):$

Introductory examples:

 > $\mathrm{Normal}\left(\frac{{x}^{5}+{y}^{5}}{{x}^{3}+{y}^{3}}\right)$
 $\frac{{{x}}^{{4}}{-}{y}{}{{x}}^{{3}}{+}{{y}}^{{2}}{}{{x}}^{{2}}{-}{{y}}^{{3}}{}{x}{+}{{y}}^{{4}}}{{{x}}^{{2}}{-}{y}{}{x}{+}{{y}}^{{2}}}$ (1)
 > $\mathrm{Normal}\left(\frac{2{x}^{2}y+{x}^{2}-6y-3}{{x}^{2}-Ixy-{3}^{\frac{1}{2}}x+I{3}^{\frac{1}{2}}y}\right)$
 $\frac{{2}{}{y}{}{x}{+}{x}{+}{2}{}\sqrt{{3}}{}{y}{+}\sqrt{{3}}}{{-}{I}{}{y}{+}{x}}$ (2)
 > $f≔\mathrm{Normal}\left(\frac{\left(x+1\right)\left(x+2\right)\left(\frac{x}{\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-2,\mathrm{index}=1\right)}+1\right)}{{x}^{2}-2}\right)$
 ${f}{≔}\frac{{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}{,}{\mathrm{index}}{=}{1}\right){}\left({x}{+}{1}\right){}\left({x}{+}{2}\right)}{{2}{}\left({x}{-}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}{,}{\mathrm{index}}{=}{1}\right)\right)}$ (3)
 > $\mathrm{GreatestCommonDivisor}\left(\mathrm{numer}\left(f\right),\mathrm{denom}\left(f\right)\right)$
 ${1}$ (4)
 > $p≔\frac{1}{x-\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-2\right)}+\frac{1}{x+\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-2\right)}$
 ${p}{≔}\frac{{1}}{{x}{-}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)}{+}\frac{{1}}{{x}{+}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)}$ (5)
 > $\mathrm{normal}\left(p\right)$
 ${-}\frac{{2}{}{x}}{\left({-}{x}{+}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)\right){}\left({x}{+}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)\right)}$ (6)
 > $\mathrm{normal}\left(p,'\mathrm{expanded}'\right)$
 ${-}\frac{{2}{}{x}}{{-}{{x}}^{{2}}{+}{{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)}^{{2}}}$ (7)
 > $\mathrm{Normal}\left(p,'\mathrm{expanded}'=\mathrm{true}\right)$
 $\frac{{2}{}{x}}{{{x}}^{{2}}{-}{2}}$ (8)

Powers of radicals and RootOfs are reduced and, in particular, constant denominators are inverted. Nested and mixed radicals / RootOfs are handled as well:

 > $p≔\left[{\mathrm{RootOf}\left({x}^{2}-x-1\right)}^{5}+2{\mathrm{RootOf}\left({x}^{2}-x-1\right)}^{3},{\mathrm{RootOf}\left({x}^{2}-x-1\right)}^{-1}\right]$
 ${p}{≔}\left[{{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}{-}{1}\right)}^{{5}}{+}{2}{}{{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}{-}{1}\right)}^{{3}}{,}\frac{{1}}{{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}{-}{1}\right)}\right]$ (9)
 > $\mathrm{Normal}\left(p\right)$
 $\left[{9}{}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}{-}{1}\right){+}{5}{,}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}{-}{1}\right){-}{1}\right]$ (10)
 > $\mathrm{Normal}\left({\left(1+\mathrm{sqrt}\left(2\right)\right)}^{\frac{5}{4}}\right)$
 ${\left({1}{+}\sqrt{{2}}\right)}^{{1}}{{4}}}{+}{\left({1}{+}\sqrt{{2}}\right)}^{{1}}{{4}}}{}\sqrt{{2}}$ (11)
 > $\mathrm{Normal}\left({\mathrm{RootOf}\left({x}^{2}-x+\mathrm{RootOf}\left({x}^{2}-2\right)\right)}^{2}\right)$
 ${\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}{+}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)\right){-}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)$ (12)
 > $\mathrm{Normal}\left(\frac{1}{\mathrm{RootOf}\left({x}^{2}-\mathrm{sqrt}\left(3\right)\right)}\right)$
 $\frac{\sqrt{{3}}{}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}\sqrt{{3}}\right)}{{3}}$ (13)

Algebraic functions in the coefficients are not accepted:

 > $\mathrm{Normal}\left(\frac{{x}^{2}-y}{{x}^{2}+2\mathrm{sqrt}\left(y\right)x+y}\right)$

Non-algebraic subexpressions are first handled recursively (unless option 'recursive'=false is present) and then temporarily replaced by new variables:

 > $\mathrm{Normal}\left(\frac{\mathrm{foo}\left(\frac{1}{\mathrm{RootOf}\left({\mathrm{_Z}}^{2}+1\right)}\right)\left({x}^{2}-3\right)}{x+\mathrm{sqrt}\left(3\right)}\right)$
 ${\mathrm{foo}}{}\left({-}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{+}{1}\right)\right){}\left({x}{-}\sqrt{{3}}\right)$ (14)
 > $\mathrm{Normal}\left(\frac{\mathrm{foo}\left(\frac{1}{\mathrm{RootOf}\left({\mathrm{_Z}}^{2}+1\right)}\right)\left({x}^{2}-3\right)}{x+\mathrm{sqrt}\left(3\right)},'\mathrm{recursive}'=\mathrm{false}\right)$
 ${\mathrm{foo}}{}\left(\frac{{1}}{{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{+}{1}\right)}\right){}\left({x}{-}\sqrt{{3}}\right)$ (15)

Non-algebraic subexpressions may evaluate to something algebraic after recursive treatment:

 > $\mathrm{Normal}\left(\frac{x+\mathrm{cos}\left(I+\mathrm{RootOf}\left({\mathrm{_Z}}^{2}+1,\mathrm{index}=2\right)\right)}{{x}^{2}-1}\right)$
 $\frac{{1}}{{x}{-}{1}}$ (16)

Partial factorizations in the inputs are preserved, unless option 'expanded'=true is given:

 > $a≔\left({x}^{2}-1\right)\left({x}^{2}-2\right)$
 ${a}{≔}\left({{x}}^{{2}}{-}{1}\right){}\left({{x}}^{{2}}{-}{2}\right)$ (17)
 > $b≔\left({x}^{2}+2x+1\right){\left(x-\mathrm{sqrt}\left(2\right)\right)}^{2}$
 ${b}{≔}\left({{x}}^{{2}}{+}{2}{}{x}{+}{1}\right){}{\left({x}{-}\sqrt{{2}}\right)}^{{2}}$ (18)
 > $\mathrm{Normal}\left(\frac{a}{b}\right)$
 $\frac{\left({x}{-}{1}\right){}\left({x}{+}\sqrt{{2}}\right)}{\left({x}{+}{1}\right){}\left({x}{-}\sqrt{{2}}\right)}$ (19)
 > $\mathrm{Normal}\left(\frac{\mathrm{expand}\left(a\right)}{\mathrm{expand}\left(b\right)}\right)$
 $\frac{{{x}}^{{2}}{+}{x}{}\sqrt{{2}}{-}{x}{-}\sqrt{{2}}}{{{x}}^{{2}}{-}{x}{}\sqrt{{2}}{+}{x}{-}\sqrt{{2}}}$ (20)
 > $\mathrm{Normal}\left(\frac{a}{b},'\mathrm{expanded}'=\mathrm{true}\right)$
 $\frac{{{x}}^{{2}}{+}{x}{}\sqrt{{2}}{-}{x}{-}\sqrt{{2}}}{{{x}}^{{2}}{-}{x}{}\sqrt{{2}}{+}{x}{-}\sqrt{{2}}}$ (21)

By default, leading coefficients are rationalized and made positive. Note that this may factor out a leading term, even if the input is expanded:

 > $\mathrm{Normal}\left(\mathrm{sqrt}\left(2\right)x+2\right)$
 $\sqrt{{2}}{}\left({x}{+}\sqrt{{2}}\right)$ (22)

Since Maple always expands the product of a number and a single factor, the leading coefficient may not be positive and the integer content may be nontrivial in such a case:

 > $\mathrm{restart}:$
 > $\mathrm{with}\left(\mathrm{Algebraic}\right):$
 > $\mathrm{Normal}\left(\frac{\left({x}^{2}-2\right)\left(-6x+9\right)}{x-\mathrm{sqrt}\left(2\right)}\right)$
 ${-}{3}{}\left({x}{+}\sqrt{{2}}\right){}\left({2}{}{x}{-}{3}\right)$ (23)
 > $\mathrm{Normal}\left(\frac{\left({x}^{2}-2\right)\left(-6x+9\right)}{\left(x-\mathrm{sqrt}\left(2\right)\right)\left(2x-3\right)}\right)$
 ${-}{3}{}{x}{-}{3}{}\sqrt{{2}}$ (24)

If option 'rationalize'=false is given, then leading coefficients and denominators will not be rationalized in the output:

 > $\mathrm{Normal}\left(\frac{x\left(\mathrm{sqrt}\left(2\right)y+\mathrm{sqrt}\left(3\right)z\right)}{1+\mathrm{sqrt}\left(2\right)}\right)$
 ${-}\frac{\left(\sqrt{{2}}{-}{2}\right){}{x}{}\left(\sqrt{{3}}{}\sqrt{{2}}{}{z}{+}{2}{}{y}\right)}{{2}}$ (25)
 > $\mathrm{Normal}\left(\frac{x\left(\mathrm{sqrt}\left(2\right)y+\mathrm{sqrt}\left(3\right)z\right)}{1+\mathrm{sqrt}\left(2\right)},'\mathrm{rationalize}'=\mathrm{false}\right)$
 $\frac{{x}{}\left(\sqrt{{2}}{}{y}{+}\sqrt{{3}}{}{z}\right)}{{1}{+}\sqrt{{2}}}$ (26)

If the input has floating point coefficients, only normal is applied to it:

 > $\mathrm{Normal}\left(\frac{2.5\left({x}^{2}-2\right)\left(x+1\right)}{\left(x-\mathrm{sqrt}\left(2\right)\right)\left({x}^{2}-1\right)}\right)$
 ${-}\frac{{2.5}{}\left({{x}}^{{2}}{-}{2}\right)}{\left({x}{-}{1}\right){}\left({-}{x}{+}\sqrt{{2}}\right)}$ (27)

There is no way for Normal to know whether $\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-2\right)$ without an index represents $\sqrt{2}$ or $-\sqrt{2}$, and it reverts to calling Algebraic[Reduce] or normal. In the following example, option 'symbolic'=true picks $-\sqrt{2}$:

 > $\mathrm{Normal}\left(\frac{{x}^{3}-2x}{\left(x-\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-2,\mathrm{index}=1\right)\right)\left({x}^{2}+\mathrm{sqrt}\left(2\right)x\right)}\right)$
 ${1}$ (28)
 > $\mathrm{Normal}\left(\frac{{x}^{3}-2x}{\left(x-\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-2\right)\right)\left({x}^{2}+\mathrm{sqrt}\left(2\right)x\right)}\right)$
 ${-}\frac{{{x}}^{{2}}{-}{2}}{\left({-}{x}{+}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{2}\right)\right){}\left({x}{+}\sqrt{{2}}\right)}$ (29)
 > $\mathrm{Normal}\left(\frac{{x}^{3}-2x}{\left(x-\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-2\right)\right)\left({x}^{2}+\mathrm{sqrt}\left(2\right)x\right)},'\mathrm{symbolic}'=\mathrm{true}\right)$
 $\frac{{x}{-}\sqrt{{2}}}{{x}{+}\sqrt{{2}}}$ (30)

In the following example, there is a zero divisor in the denominator, and the result does not satisfy all properties of a normal form:

 > $\mathrm{Normal}\left(\frac{{x}^{2}+2\mathrm{sqrt}\left(3\right)x+3}{\left(x+\mathrm{sqrt}\left(3\right)\right){\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-\mathrm{_Z}\right)}^{2}}\right)$
 $\frac{{{x}}^{{2}}{+}{2}{}\sqrt{{3}}{}{x}{+}{3}}{{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}\right){}\left({x}{+}\sqrt{{3}}\right)}$ (31)
 > $\mathrm{Normal}\left(\frac{{x}^{2}+2\mathrm{sqrt}\left(3\right)x+3}{\left(x+\mathrm{sqrt}\left(3\right)\right){\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-\mathrm{_Z}\right)}^{2}},'\mathrm{symbolic}'=\mathrm{true}\right)$
 ${x}{+}\sqrt{{3}}$ (32)

If there is a RootOf whose leading coefficient is not invertible, then it is not even possible to reduce a positive power of it:

 > $\mathrm{Normal}\left({\mathrm{RootOf}\left(\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-\mathrm{_Z}\right){\mathrm{_Z}}^{2}-1\right)}^{2}\right)$
 ${{\mathrm{RootOf}}{}\left({\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{\mathrm{_Z}}\right){}{{\mathrm{_Z}}}^{{2}}{-}{1}\right)}^{{2}}$ (33)
 > $\mathrm{Normal}\left({\mathrm{RootOf}\left(\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-\mathrm{_Z}\right){\mathrm{_Z}}^{2}-1\right)}^{2},'\mathrm{symbolic}'=\mathrm{true}\right)$
 ${1}$ (34)

An example where the normal form can be computed even though there is a non-indexed reducible RootOf:

 > $\mathrm{Normal}\left(\frac{{x}^{2}-1}{{x}^{2}+2\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-1\right)x+1}\right)$
 $\frac{{x}{-}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{1}\right)}{{x}{+}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{-}{1}\right)}$ (35)
 > $\mathrm{Normal}\left(\frac{{x}^{2}-1}{{x}^{2}+2\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-1,\mathrm{index}=2\right)x+1}\right)$
 $\frac{{x}{+}{1}}{{x}{-}{1}}$ (36)

Using option 'characteristic', normal forms over finite fields can be computed:

 > $\mathrm{Normal}\left(\frac{{x}^{2}+1}{{x}^{2}+x},'\mathrm{characteristic}'=2\right)$
 $\frac{{x}{+}{1}}{{x}}$ (37)
 > $\mathrm{Normal}\left(\frac{{x}^{2}-6}{{x}^{2}+2Ix-1}\right)$
 $\frac{{{x}}^{{2}}{-}{6}}{{{x}}^{{2}}{+}{2}{}{I}{}{x}{-}{1}}$ (38)
 > $\mathrm{Normal}\left(\frac{{x}^{2}-6}{{x}^{2}+2Ix-1},'\mathrm{characteristic}'=7\right)$
 $\frac{{x}{+}{6}{}{I}}{{x}{+}{I}}$ (39)

In contrast to characteristic $0$, the complex number $I$, radicals, and indexed RootOfs are not uniquely defined in positive characteristic, and they are treated as if they were non-indexed RootOfs:

 > $\mathrm{Normal}\left(\frac{x-2}{x-I},'\mathrm{characteristic}'=5\right)$
 $\frac{{x}{+}{3}}{{x}{+}{4}{}{I}}$ (40)
 > $\mathrm{Normal}\left(\frac{x-2}{x-I},'\mathrm{characteristic}'=5,'\mathrm{symbolic}'=\mathrm{true}\right)$
 $\frac{{x}{+}{3}}{{x}{+}{2}}$ (41)

The polynomial defining a RootOf will also be reduced modulo the characteristic:

 > $\mathrm{Normal}\left(\mathrm{RootOf}\left({\mathrm{_Z}}^{2}-3\right),'\mathrm{characteristic}'=7\right)$
 ${\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{2}}{+}{4}\right)$ (42)

The normal form cannot always be computed in composite characteristic:

 > $\mathrm{Normal}\left(\frac{{x}^{2}+1}{{x}^{2}+9x+8},'\mathrm{characteristic}'=65\right)$
 $\frac{{x}{+}{57}}{{x}{+}{1}}$ (43)
 > $\mathrm{Normal}\left(\frac{{x}^{2}+1}{{x}^{2}-4},'\mathrm{characteristic}'=65\right)$

With option 'makeindependent'=true, the input will be checked for algebraic dependencies even if there are more than $4$ algebraic objects in the input:

 > $\mathrm{CubeRootOf}\left[-4\right]≔\mathrm{RootOf}\left({\mathrm{_Z}}^{3}+4,\mathrm{index}=1\right)$
 ${{\mathrm{CubeRootOf}}}_{{-4}}{≔}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{+}{4}{,}{\mathrm{index}}{=}{1}\right)$ (44)
 > $\mathrm{CubeRootOf}\left[-2\right]≔\mathrm{RootOf}\left({\mathrm{_Z}}^{3}+2,\mathrm{index}=1\right)$
 ${{\mathrm{CubeRootOf}}}_{{-2}}{≔}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{+}{2}{,}{\mathrm{index}}{=}{1}\right)$ (45)
 > $\mathrm{CubeRootOf}\left[2\right]≔\mathrm{RootOf}\left({\mathrm{_Z}}^{3}-2,\mathrm{index}=1\right)$
 ${{\mathrm{CubeRootOf}}}_{{2}}{≔}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{2}{,}{\mathrm{index}}{=}{1}\right)$ (46)
 > $\mathrm{CubeRootOf}\left[3\right]≔\mathrm{RootOf}\left({\mathrm{_Z}}^{3}-3,\mathrm{index}=1\right)$
 ${{\mathrm{CubeRootOf}}}_{{3}}{≔}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{3}{,}{\mathrm{index}}{=}{1}\right)$ (47)
 > $\mathrm{CubeRootOf}\left[4\right]≔\mathrm{RootOf}\left({\mathrm{_Z}}^{3}-4,\mathrm{index}=1\right)$
 ${{\mathrm{CubeRootOf}}}_{{4}}{≔}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{4}{,}{\mathrm{index}}{=}{1}\right)$ (48)
 > $\mathrm{CubeRootOf}\left[6\right]≔\mathrm{RootOf}\left({\mathrm{_Z}}^{3}-6,\mathrm{index}=1\right)$
 ${{\mathrm{CubeRootOf}}}_{{6}}{≔}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{6}{,}{\mathrm{index}}{=}{1}\right)$ (49)
 > $\mathrm{Normal}\left(\mathrm{CubeRootOf}\left[4\right]\mathrm{CubeRootOf}\left[-2\right]\mathrm{CubeRootOf}\left[3\right]-\mathrm{CubeRootOf}\left[-4\right]\mathrm{CubeRootOf}\left[6\right]\right)$
 ${\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{+}{2}{,}{\mathrm{index}}{=}{1}\right){}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{3}{,}{\mathrm{index}}{=}{1}\right){}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{4}{,}{\mathrm{index}}{=}{1}\right){-}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{+}{4}{,}{\mathrm{index}}{=}{1}\right){}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{6}{,}{\mathrm{index}}{=}{1}\right)$ (50)
 > $\mathrm{Normal}\left(\mathrm{CubeRootOf}\left[4\right]\mathrm{CubeRootOf}\left[-2\right]\mathrm{CubeRootOf}\left[3\right]-\mathrm{CubeRootOf}\left[-4\right]\mathrm{CubeRootOf}\left[6\right],'\mathrm{makeindependent}'=\mathrm{true}\right)$
 ${0}$ (51)

With option 'makeindependent'=false, the input will never be checked for algebraic dependencies:

 > $\mathrm{Normal}\left(\mathrm{CubeRootOf}\left[2\right]\mathrm{CubeRootOf}\left[3\right]-\mathrm{CubeRootOf}\left[6\right],'\mathrm{makeindependent}'=\mathrm{false}\right)$
 ${\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{2}{,}{\mathrm{index}}{=}{1}\right){}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{3}{,}{\mathrm{index}}{=}{1}\right){-}{\mathrm{RootOf}}{}\left({{\mathrm{_Z}}}^{{3}}{-}{6}{,}{\mathrm{index}}{=}{1}\right)$ (52)