Documentation

CslibFrontier.Computability.Circuit.Arithmetic.RootFormula

Roots of formulas of constant product-depth #

Let F be a formula Cslib.Circuits.Arithmetic.SPFormula of sum and product gates of unbounded fan-in, in the variables x and a last variable y, computing a nonzero polynomial P (x, y) in characteristic zero, and let f (x) be a polynomial with P (x, f) = 0. Then f has a formula of product-depth one more than that of F and of size polynomial in the size of F and the degree of f [BhattacharjeeEtAl2025, Theorem 4.1].

The formula implements the closed formula MvPolynomial.exists_shift_eq_truncate_sum_of_root: for some j and some point x₀, with Q the j-th y-derivative of P shifted by x₀ in x and by f (x₀) in y, and c ≠ 0 the constant term of the coefficient of y in Q,

f (x + x₀) = f (x₀) + (∑ m ∈ {1, …, 2 D + 2}, (1 / m) [y ^ (m - 1)] (y - Q / c) ^ m)_{≤ D}

for D the degree of f. Every operation in it keeps the product-depth except the powers, which are one layer of product gates:

The explicit size bound SPFormula.rootCost is original and not optimized.

Main definitions #

Main results #

References #

The size bound of SPFormula.exists_formula_of_root for a root of degree D of a formula of s nodes.

Polynomials in the last variable #

Shifts #

Derivatives in the last variable #

Roots #

Roots of formulas of constant product-depth [BhattacharjeeEtAl2025, Theorem 4.1]. In characteristic zero, if the polynomial P (x, y) of a formula F of product-depth at most Δ, with y its last variable, is not zero and P (x, f) = 0, then f has a formula of product-depth at most Δ + 1 and of at most rootCost F.nodeCount f.totalDegree nodes.