 OreTools/Consequences - Maple Help

OreTools[Consequences]

 MinimalEquation
 construct minimal equation (y1-consequence) for a given system and a given function
 ReducedSystem
 reduce a given system with respect to a given subset of its undetermined functions Calling Sequence MinimalEquation(M, n, A) ReducedSystem(M, ns, A) Parameters

 M - Matrix of a given system n - a positive integer - index of the undetermined function with respect to which the minimal equation is to be constructed ns - set of positive integers - indices of the undetermined functions with respect to which the system is to be reduced A - Ore algebra; to define an Ore algebra, use the SetOreRing function. Description

 • The MinimalEquation constructs minimal equation (y1-consequence) for the given system corresponding to the matrix M and Ore algebra A and a given function with the index n of its undetermined functions. The minimal equation is a scalar equation whose solution is the component of some solution of the given system corresponding to the given function. The output is OrePoly L, such that $Ly$ is the y1-consequence, i.e. the minimal equation such that its solution is the n-th element of some solution of the given system.
 • The ReducedSystem reduces the given system corresponding to the matrix M and Ore algebra A with respect to a given subset ns of its undetermined functions. The reduced system is a system which contains the given subset of the undetermined functions of the given system among its undetermined functions and components of its closed form solution corresponding to the given subset are components of some solution of the given system. It addresses the following problem: given a subset of the components of solutions to be found and an appropriate class of functions, find all solutions whose specified components are in the given class (more precisely we are interested in computing those components only). For example, given a differential system, find all the rational functions that are first and second components of a solution of the system. The output is $\left[R,s\right]$, where R is the matrix of the reduced system and s is the set of pairs, the first element of each is the index out of ns and the second one is the index of the same undetermined function in the reduced system. Examples

 > $\mathrm{with}\left(\mathrm{OreTools}\right):$
 > $\mathrm{with}\left({\mathrm{OreTools}}_{\mathrm{Consequences}}\right):$
 > $A≔\mathrm{SetOreRing}\left(x,'\mathrm{differential}'\right)$
 ${A}{≔}{\mathrm{UnivariateOreRing}}{}\left({x}{,}{\mathrm{differential}}\right)$ (1)
 > $M≔\mathrm{Matrix}\left(\left[\left[0,0,1\right],\left[0,1,0\right],\left[1,0,0\right]\right]\right)$
 ${M}{≔}\left[\begin{array}{ccc}{0}& {0}& {1}\\ {0}& {1}& {0}\\ {1}& {0}& {0}\end{array}\right]$ (2)
 > $\mathrm{ReducedSystem}\left(M,\left\{1,3\right\},A\right)$
 $\left[\left[\begin{array}{cc}{0}& {1}\\ {1}& {0}\end{array}\right]{,}\left\{\left[{1}{,}{1}\right]{,}\left[{3}{,}{2}\right]\right\}\right]$ (3)
 > $\mathrm{MinimalEquation}\left(M,1,A\right)$
 ${\mathrm{OrePoly}}{}\left({-1}{,}{0}{,}{1}\right)$ (4)
 > $\mathrm{MinimalEquation}\left(M,2,A\right)$
 ${\mathrm{OrePoly}}{}\left({-1}{,}{1}\right)$ (5)
 > $A≔\mathrm{SetOreRing}\left(n,'\mathrm{shift}'\right)$
 ${A}{≔}{\mathrm{UnivariateOreRing}}{}\left({n}{,}{\mathrm{shift}}\right)$ (6)
 > $M≔\mathrm{Matrix}\left(\left[\left[1,-\frac{1}{n{\left(n+1\right)}^{2}},-n,1\right],\left[1,\frac{{n}^{2}+2n-1}{n\left(n+1\right)},n,-1\right],\left[1,0,1,0\right],\left[n+1,0,0,\frac{n+1}{n}\right]\right]\right)$
 ${M}{≔}\left[\begin{array}{cccc}{1}& {-}\frac{{1}}{{n}{}{\left({n}{+}{1}\right)}^{{2}}}& {-}{n}& {1}\\ {1}& \frac{{{n}}^{{2}}{+}{2}{}{n}{-}{1}}{{n}{}\left({n}{+}{1}\right)}& {n}& {-1}\\ {1}& {0}& {1}& {0}\\ {n}{+}{1}& {0}& {0}& \frac{{n}{+}{1}}{{n}}\end{array}\right]$ (7)
 > $\mathrm{ReducedSystem}\left(M,\left\{1,2\right\},A\right)$
 $\left[\left[\begin{array}{ccc}{0}& {1}& {0}\\ {-}\frac{{{n}}^{{4}}{+}{6}{}{{n}}^{{3}}{+}{13}{}{{n}}^{{2}}{+}{14}{}{n}{+}{4}}{{n}{}\left({{n}}^{{2}}{+}{3}{}{n}{+}{2}\right){}\left({n}{+}{2}\right)}& \frac{{2}{}{{n}}^{{4}}{+}{11}{}{{n}}^{{3}}{+}{21}{}{{n}}^{{2}}{+}{17}{}{n}{+}{4}}{{n}{}\left({{n}}^{{2}}{+}{3}{}{n}{+}{2}\right){}\left({n}{+}{2}\right)}& \frac{{3}{}{{n}}^{{2}}{+}{6}{}{n}{+}{2}}{{{n}}^{{2}}{}\left({{n}}^{{4}}{+}{5}{}{{n}}^{{3}}{+}{9}{}{{n}}^{{2}}{+}{7}{}{n}{+}{2}\right)}\\ {2}& {-1}& \frac{{{n}}^{{3}}{+}{3}{}{{n}}^{{2}}{+}{n}{-}{2}}{{n}{}\left({{n}}^{{2}}{+}{2}{}{n}{+}{1}\right)}\end{array}\right]{,}\left\{\left[{1}{,}{1}\right]{,}\left[{2}{,}{3}\right]\right\}\right]$ (8)