Overview of the RegularChains[ParametricSystemTools] Subpackage

Calling Sequence


RegularChains[ParametricSystemTools][command](arguments)
command(arguments)


Description


•

The RegularChains[ParametricSystemTools] subpackage is a collection of commands to solve polynomial systems with parameters.

•

These functions can be used to understand the properties of the solution set of a polynomial system F which depends on parameters. For example, you can answer questions such as: for which values of the parameters does F have solutions? finitely many solutions? N solutions, for a given N?

•

The functions in this subpackage can be divided into two groups. The functions for solving a parametric polynomial system F with coefficients in an arbitrary field are based on the concept of a comprehensive triangular decomposition (CTD). The functions for solving a parametric polynomial system with coefficients in a real field are based on the algorithm DISCOVERER developed by Bican Xia. We next introduce the functions related to CTD and DISCOVERER successively.



List of RegularChains[ParametricSystemTools] Subpackage Commands



The following is a list of available commands.



Examples


>


>


>


>


>


 (1) 

Comprehensive Triangular Decomposition


•

In broad terms, a CTD of a parametric polynomial system F provides a finite partition P of the parameter space into regions, so that above each region the geometry (number of irreducible components together with their dimensions and degrees) of the solution set of F is the same at each parameter value. In addition, for each region C of the partition P, a CTD provides an associated (finite) set of regular chains S such that for each parameter value u in C the regular chains evaluated at u form a triangular decomposition (into regular chains) of the specialized system .

•

A CTD of the parametric polynomial system F does not need any assumptions on F or on the field of its coefficients. The computation of a CTD essentially proceeds in two steps. First, compute the set of all regular chains that are associated with the regions of the partition P. This first step is called precomprehensive triangular decomposition. Then, the partition P is computed.

•

Consider a simple example with a polynomial system F with two parameters u and v. You can answer questions such as: when does F have solutions? finitely many solutions? N solutions, for a given N? When you declare the polynomial ring, you do not specify yet which variables are regarded as parameters. This will be done during the function calls, which allows more flexibility.

>


 (2) 

The input polynomial system F consists of two equations.

>


 (3) 

Below, one computes a (traditional) triangular decomposition of the system F.

>


 (4) 
>


 (5) 
>


 (6) 

Without additional computations, the questions above cannot be answered completely from this decomposition. For instance, it is not clear for which values of the system F has solutions. This question can be answered by means of the Projection function from the RegularChains[ConstructibleSetTools] subpackage. More precisely, it can project the variety onto the parameter space, the parameters being the last two variables in the polynomial ring. Note that this projection is not a variety in general. So, the returned type must be a constructible set, which is given here by four regular systems.

>


 (7) 
>


 (8) 

One obtains 4 cells in the parameter space. Clearly, this representation can be made simpler. To do so, as seen before, one can use the command MakePairwiseDisjoint.

>


 (9) 
>


 (10) 

Now a clear answer has been reached. The system F has solutions if and only if or . Now, consider the next question: when does F have finitely many solutions? Different tools are available in this subpackage to answer that question. First, you can compute a CTD of F using the ComprehensiveTriangularize command.

>


 (11) 

One retrieves the triangular decomposition (see below) together with some additional information. The three constructible sets above form a partition of the projection of the solution set of F onto the parameter space such that above each part (or cell, or region), the solution set of F is given by the regular chains whose indices appear in the list associated with that cell. Hence, when , the solutions of F are given by the last three regular chains in . In this case, there are infinitely many solutions (because of the fourth regular chain). The other two cases do not involve this fourth regular chain, and they lead to finitely many solutions, actually 2. Note that each of the first two cells is given just by one regular system; the last one is given by two.

>


 (12) 
>


 (13) 
>


 (14) 
>


 (15) 

A more direct, but less detailed, answer to this question can be obtained by using the DiscriminantSet command. The output is the set of the parameter values at which the system F has infinitely many solutions or no solutions. This is again a constructible set.

>


 (16) 

Observe that you can compute the set of the parameter values at which F has finitely many solutions just by computing the set theoretical difference of two constructible sets, cs and ds. One retrieves the result that you could read from the CTD: the input system F has finitely many solutions if and only if one of these three conditions holds:


(1) and


(2)


(3) and

>


 (17) 
•

Consider now a second example where the goal is to avoid bad specializations. Indeed, comprehensive triangular decompositions have a motivation other than counting solutions depending on parameters. This other feature can be stated as follows: above each cell in the parameter space, each regular chain in the associated triangular decomposition must be wellbehaved under specialization. This concept is made more precise later. Consider a polynomial system F in two unknowns, x and y, and one parameter, s, over the complex field.

>


 (18) 

Start by computing a (traditional) triangular decomposition of F.

>


 (19) 

It is clear from the above decomposition that s can be replaced by any complex number, producing two triangular sets. Hence, any specialization of s gives rise to solutions of F. This is confirmed by the following computation. Indeed, the complement of the projection of the variety of F on the saxis is empty!

>


 (20) 

However, when you specialize the regular chain at , you do not obtain a regular chain anymore. Indeed, the initial of the first polynomial is not regular (that is, a zerodivisor) modulo the second polynomial. One checks this fact below.

 (21) 
>


 (22) 
>


 (23) 
>


 (24) 

Below a CTD of F is computed. This produces three regular chains and two cells in the parameter space, given by constructible sets.

>


 (25) 

Two of these regular chains are the ones that you obtained before. The new regular chain (the third one) is there to handle the case without introducing nonregular chains.

>


 (26) 

The command below displays this association: the first set tells you that the first constructible set corresponds to the case where and there are no parameters, and the second set tells you that the second constructible set corresponds to the case where is a parameter.

>


 (27) 

Finally, if you are only interested in the regular chains that appear in a CTD (and not the cells), then the command PreComprehensiveTriangularize should be used.

>


 (28) 

It is worth noticing that this last command does not compute the cell partition, which can save a significant amount of running time for large examples.



Real Root Classification


•

If a semialgebraic system (SAS) contains parameters, it is called a parametric SAS. For a parametric SAS and a prescribed nonnegative integer n, the command RealRootClassification computes the conditions on the parameters such that the system has exactly n distinct real solutions.

•

For a defined polynomial ring R and a SAS given by polynomial lists F, N, P, and H, we specify by the fifth argument, d, that the last d unknowns of R are viewed as parameters, and by the sixth argument, n, that we would compute the conditions for the system to have exactly n distinct real solutions. The polynomial lists F, N, P, and H successively define the equations, the nonnegative inequalities, the positive inequalities and the inequations. For example,

>


>


>


>


 (29) 
 (30) 
>


 (31) 

The output is a list of regular semialgebraic sets (LRSAS) and a border polynomial object (BP); they are equivalent to some logic formula. More precisely, the LRSAS gives necessary and sufficient conditions for the input SAS to have the prescribed number of real solutions, provided that the condition encode by BP holds.

•

The role of the border polynomial is to exclude some degenerate cases which can be handled later with further computations (more on this below).

•

The first command below shows the contents of BP: this is actually a list of polynomials and the logical condition encoded by BP is that none of those polynomials should be zero. The other commands extract the information representing the LRSAS and display the logical condition encoded by it.


In first approximation, a regular semialgebraic set (RSAS) is a subset of the real solutions of a regular chain. More precisely, a RSAS is encoded by three pieces of data: a quantifierfree formula (QFF), a regular chain (RC) and a list of lists of indices (LLI). This encoding is called a parametric box (PB). The QFF part of it specifies the conditions of the variables which are not algebraic in RC, whereas RC and LLI specify the conditions of the variables which are algebraic in RC.

•

In our example, RC and LLI are empty (which is often the case); therefore the conditions encoded by the PB is just the conditions encoded by the QFF, which can be shown by the command DisplayQuantifierFreeFormula. To summarize, the answer to our particular question is: provided that BP holds, the input SAS has exactly 2 distinct positive real solutions if and only QFF holds.

>


 (32) 
>


 (33) 
>


 (34) 
>


 (35) 
>


 (36) 
>


 (37) 
>


 (38) 
>


 (39) 

Recall that the border polynomial (BP) is a list of polynomials such that the union of all hypersurfaces defined by each polynomial contains all the abnormal parameter values of the input parametric SAS. For the above example, the border polynomial is . It's obvious that the number of distinct nonzero solutions changes if . Note that one can use the RegularChains[Info] command to view the contents of a BP.

•

One might want to go further in analyzing the number of real solutions of the input SAS, that is, one might want to figure out what's happening when a parameter value cancels BP. This is very simple: it suffices to add the product of the polynomials in BP to the list of equations when calling RealRootClassification (or to add the polynomials in BP one by one to the equations of the system and call RealRootClassification accordingly).


Recall that, in our example, we are investigating the cases where the input system has 2 distinct positive real solutions. When we add the to it, we obtain no RSAS part in the output of RealRootClassification. This means that it cannot happen that the equation has 2 distinct positive real solutions, when its discriminant is zero. This is obvious, of course!

>


 (40) 
>


 (41) 
>


 (42) 

The above output means: provided , the new system never admits two distinct positive real solutions. The cases where one of the parameters a, b, or c could be investigated similarly.




References



Chen, C.; Golubitsky, O.; Lemaire, F.; Moreno Maza, M.; and Pan, W. "Comprehensive Triangular Decomposition." Proc. CASC 2007, LNCS Vol. 4770: 73101. Springer, 2007.


Montes, A. "A new algorithm for discussing Groebner bases with parameters." J. Symb. Comp., Vol. 33 No. 2 (2002): 183208.


Wang, D. M. "Computing triangular systems and regular systems." J. Symb. Comp., Vol. 30 No. 2 (2000): 221236.


Weispfenning, V. "Comprehensive Groebner bases". J. Symb. Comp., Vol. 14 (1992): 129.


Yang, L. and Xia, B. "Real solution classifications of parametric semialgebraic systems." Algorithmic Algebra and Logic  Proceedings of the A3L 2005, pp. 281289. Edited by A. Dolzmann, A. Seidl, and T. Sturm. Norderstedt: Herstellung und Verlag, 2005.


Yang, L.; Hou, X.; and Xia, B. "A complete algorithm for automated discovering of a class of inequalitytype theorems." Science China, F. Vol. 44 (2001): 3349.


