# Triangular decomposition

In computer algebra, a triangular decomposition of a polynomial system S is a set of simpler polynomial systems S1, ..., Se such that a point is a solution of S if and only if it is a solution of one of the systems S1, ..., Se.

When the purpose is to describe the solution set of S in the algebraic closure of its coefficient field, those simpler systems are regular chains. If the coefficients of the polynomial systems S1, ..., Se are real numbers, then the real solutions of S can be obtained by a triangular decomposition into regular semi-algebraic systems. In both cases, each of these simpler systems has a triangular shape and remarkable properties, which justifies the terminology.

## History

The Characteristic Set Method is the first factorization-free algorithm, which was proposed for decomposing an algebraic variety into equidimensional components. Moreover, the Author, Wen-Tsun Wu, realized an implementation of this method and reported experimental data in his 1987 pioneer article titled "A zero structure theorem for polynomial equations solving".[1] To put this work into context, let us recall what was the common idea of an algebraic set decomposition at the time this article was written.

Let K be an algebraically closed field and k be a subfield of K. A subset VKn is an (affine) algebraic variety over k if there exists a polynomial set Fk[x1, ..., xn] such that the zero set V(F) ⊂ Kn of F equals V.

Recall that V is said irreducible if for all algebraic varieties V1, V2Kn the relation V = V1V2 implies either V = V1 or V = V2. A first algebraic variety decomposition result is the famous Lasker–Noether theorem which implies the following.

Theorem (Lasker - Noether). For each algebraic variety VKn there exist finitely many irreducible algebraic varieties V1, ..., VeKn such that we have
${\displaystyle V=V_{1}\cup \cdots \cup V_{e}.}$
Moreover, if ViVj holds for 1 ≤ i < je then the set {V1, ..., Ve} is unique and forms the irreducible decomposition of V.

The varieties V1, ..., Ve in the above Theorem are called the irreducible components of V and can be regarded as a natural output for a decomposition algorithm, or, in other words, for an algorithm solving a system of equations in k[x1, ..., xn].

In order to lead to a computer program, this algorithm specification should prescribe how irreducible components are represented. Such an encoding is introduced by Joseph Ritt[2] through the following result.

Theorem (Ritt). If VKn is a non-empty and irreducible variety then one can compute a reduced triangular set C contained in the ideal ${\displaystyle \langle F\rangle }$ generated by F in k[x1, ..., xn] and such that all polynomials g in ${\displaystyle \langle F\rangle }$ reduces to zero by pseudo-division w.r.t C.

We call the set C in Ritt's Theorem a Ritt characteristic set of the ideal ${\displaystyle \langle F\rangle }$. Please refer to regular chain for the notion of a triangular set.

Joseph Ritt described a method for solving polynomial systems based on polynomial factorization over field extensions and computation of characteristic sets of prime ideals.

Deriving a practical implementation of this method, however, was and remains a difficult problem. In the 1980s, when the Characteristic set Method was introduced, polynomial factorization was an active research area and certain fundamental questions on this subject were solved recently[3]

Nowadays, decomposing an algebraic variety into irreducible components is not essential to process most application problems, since weaker notions of decompositions, less costly to compute, are sufficient.

The Characteristic Set Method relies on the following variant of Ritt's Theorem.

Theorem (Wen-Tsun Wu). For any finite polynomial set Fk[x1, ..., xn], one can compute a reduced triangular set ${\displaystyle C\subset \langle F\rangle }$ such that all polynomial g in F reduces to zero by pseudo-division w.r.t C.

Different concepts and algorithms extended the work of Wen-Tsun Wu. In the early 1990s, the notion of a regular chain, introduced independently by Michael Kalkbrener in 1991 in his PhD Thesis and, by Lu Yang and Jingzhong Zhang[4] led to important algorithmic discoveries.

In Kalkbrener's vision,[5] regular chains are used to represent the generic zeros of the irreducible components of an algebraic variety. In the original work of Yang and Zhang, they are used to decide whether a hypersurface intersects a quasi-variety (given by a regular chain). Regular chains have, in fact, several interesting properties and are the key notion in many algorithms for decomposing systems of algebraic or differential equations.

Regular chains have been investigated in many papers.[6][7][8]

The abundant literature on the subject can be explained by the many equivalent definitions of a regular chain. Actually, the original formulation of Kalkbrener is quite different from that of Yang and Zhang. A bridge between these two notions, the point of view of Kalkbrener and that of Yang and Zhang, appears in Dongming Wang's paper.[9]

There are various algorithms available for obtaining triangular decomposition of V(F) both in the sense of Kalkbrener and in the sense of Lazard and Wen-Tsun Wu. The Lextriangular Algorithm by Daniel Lazard[10] and the Triade Algorithm by Marc Moreno Maza[11] together with the Characteristic Set Method are available in various computer algebra systems, including Axiom and Maple.

## Formal definitions

Let k be a field and x1 < ... < xn be ordered variables. We denote by R = k[x1, ..., xn] the corresponding polynomial ring. For FR, regarded as a system of polynomial equations, there are two notions of a triangular decomposition over the algebraic closure of k. The first one is to decompose lazily, by representing only the generic points of the algebraic set V(F) in the so-called sense of Kalkbrener.

${\displaystyle {\sqrt {(F)}}=\bigcap _{i=1}^{e}{\sqrt {\mathrm {sat} (T_{i})}}.}$

The second is to describe explicitly all the points of V(F) in the so-called sense of in Lazard and Wen-Tsun Wu.

${\displaystyle V(F)=\bigcup _{i=1}^{e}W(T_{i}).}$

In both cases T1, ..., Te are finitely many regular chains of R and ${\displaystyle {\sqrt {\mathrm {sat} (T_{i})}}}$ denotes the radical of the saturated ideal of Ti while W(Ti) denotes the quasi-component of Ti. Please refer to regular chain for definitions of these notions.

Assume from now on that k is a real closed field. Consider S a semi-algebraic system with polynomials in R. There exist[12] finitely many regular semi-algebraic systems S1, ..., Se such that we have

${\displaystyle Z_{\mathbf {k} }(S)=Z_{\mathbf {k} }(S_{1})\cup \cdots \cup Z_{\mathbf {k} }(S_{e})}$

where Zk(S) denotes the points of kn which solve S. The regular semi-algebraic systems S1, ..., Se form a triangular decomposition of the semi-algebraic system S.

## Examples

Denote Q the rational number field. In ${\displaystyle Q[x,y,z]}$ with variable ordering ${\displaystyle x>y>z}$, consider the following polynomial system:

${\displaystyle S={\begin{cases}x^{2}+y+z=1\\x+y^{2}+z=1\\x+y+z^{2}=1\end{cases}}}$

According to the Maple code:

with(RegularChains):
R := PolynomialRing([x, y, z]):
sys := {x^2+y+z-1, x+y^2+z-1, x+y+z^2-1}:
l := Triangularize(sys, R):
map(Equations, l, R);


One possible triangular decompositions of the solution set of S with using RegularChains library is:

${\displaystyle {\begin{cases}z=0\\y=1\\x=0\end{cases}}\cup {\begin{cases}z=0\\y=0\\x=1\end{cases}}\cup {\begin{cases}z=1\\y=0\\x=0\end{cases}}\cup {\begin{cases}z^{2}+2z-1=0\\y=z\\x=z\end{cases}}}$

## References

1. ^ Wu, W. T. (1987). A zero structure theorem for polynomial equations solving. MM Research Preprints, 1, 2–12
2. ^ Ritt, J. (1966). Differential Algebra. New York, Dover Publications
3. ^ A. M. Steel Conquering inseparability: Primary decomposition and multivariate factorization over algebraic function fields of positive characteristic
4. ^ Yang, L., Zhang, J. (1994). Searching dependency between algebraic equations: an algorithm applied to automated reasoning. Artificial Intelligence in Mathematics, pp. 14715, Oxford University Press.
5. ^ M. Kalkbrener: A Generalized Euclidean Algorithm for Computing Triangular Representations of Algebraic Varieties. J. Symb. Comput. 15(2): 143–167 (1993)
6. ^ S.C. Chou and X.S. Gao. On the dimension of an arbitrary ascending chain. Chinese Bull. of Sci., 38:799--804, 1991.
7. ^ Michael Kalkbrener. Algorithmic properties of polynomial rings. J. Symb. Comput.}, 26(5):525--581, 1998.
8. ^ P. Aubry, D. Lazard, M. Moreno Maza. On the theories of triangular sets. Journal of Symbolic Computation, 28(1–2):105–124, 1999.
9. ^ D. Wang. Computing Triangular Systems and Regular Systems. Journal of Symbolic Computation 30(2) (2000) 221–236
10. ^ D. Lazard, Solving zero-dimensional algebraic systems. Journal of Symbolic Computation 13, 1992
11. ^ M. Moreno Maza: On triangular decomposition of algebraic varieties. MEGA 2000 (2000).
12. ^ Changbo Chen, James H. Davenport, John P. May, Marc Moreno-Maza, Bican Xia, Rong Xiao. Triangular decomposition of semi-algebraic systems. Proceedings of 2010 International Symposium on Symbolic and Algebraic Computation (ISSAC 2010), ACM Press, pp. 187--194, 2010.