arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1706.03941cs.SC
收藏

非负一元多项式的加权平方和分解算法

Algorithms for Weighted Sums of Squares Decomposition of Non-negative Univariate Polynomials

Victor Magron, Mohab Safey El Din, Markus Schweighofer

摘要:

众所周知,每个非负的一元实多项式都可以写成两个实系数多项式的平方和。当我们允许一个1000平方的加权和而不是两个平方的和时,我们可以选择表示中的所有系数都位于由多项式的系数生成的域中。本文从理论和实际两个方面对计算一元有理系数多项式的加权平方和分解的两种算法进行了描述、分析和比较。第一个算法,由于第三作者依赖于实根隔离,正多项式的二次逼近和无平方分解,但其复杂性没有分析。我们提供位复杂度估计,无论是在运行时间和输出大小的算法。它们在输入一元多项式的次数上是指数的,在其复杂度的最大位大小上是线性的。这种分析是使用量词消去和根隔离界限得到的。第二种算法,由于Chevillard,Harrison,Joldes和Lauter,依赖于复根隔离和无平方分解,并已被引入用于证明多项式在计算机算术中的积极性。同样,它的复杂性没有得到分析。我们提供比特复杂度估计,无论是在运行时间和输出大小的算法,这是多项式的输入多项式的程度和线性的最大比特大小的复杂性。这种分析是使用韦达公式和根隔离界。最后,我们报告我们的实现这两个算法。而第二个算法,正如预期的复杂性结果,更有效的例子,我们展示了家庭的非负多项式的第一个算法是更好的。

英文摘要:

It is well-known that every non-negative univariate real polynomial can be written as the sum of two polynomial squares with real coefficients. When one allows a weighted sum of finitely many squares instead of a sum of two squares, then one can choose all coefficients in the representation to lie in the field generated by the coefficients of the polynomial. In this article, we describe, analyze and compare both from the theoretical and practical points of view, two algorithms computing such a weighted sums of squares decomposition for univariate polynomials with rational coefficients. The first algorithm, due to the third author relies on real root isolation, quadratic approximations of positive polynomials and square-free decomposition but its complexity was not analyzed. We provide bit complexity estimates, both on runtime and output size of this algorithm. They are exponential in the degree of the input univariate polynomial and linear in the maximum bitsize of its complexity. This analysis is obtained using quantifier elimination and root isolation bounds. The second algorithm, due to Chevillard, Harrison, Joldes and Lauter, relies on complex root isolation and square-free decomposition and has been introduced for certifying positiveness of polynomials in the context of computer arithmetics. Again, its complexity was not analyzed. We provide bit complexity estimates, both on runtime and output size of this algorithm, which are polynomial in the degree of the input polynomial and linear in the maximum bitsize of its complexity. This analysis is obtained using Vieta's formula and root isolation bounds. Finally, we report on our implementations of both algorithms. While the second algorithm is, as expected from the complexity result, more efficient on most of examples, we exhibit families of non-negative polynomials for which the first algorithm is better.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑