Koiran's Zero-Avoiding Integer Sequence and Arithmetic Circuits #
This module formalizes Koiran's zero-avoiding integer sequence (doubly exponential for D ≥ 2;
stabilizing at D = 0) avoiding the zero set of
every nonzero integer polynomial in k variables of total degree at most D and coefficients
of absolute value strictly less than 2 ^ L, following Bürgisser and Cucker
(arXiv:cs/0312007v1, Section 4.2, Lemma 4.5 and pp. 16–17, where the sequence is attributed to
Koiran 1997).
We also construct an explicit division-free, input-free arithmetic circuit
koiranSeqCircuit k L D : Circuit (arithSignature Unit) 0 k whose sole constant symbol is 1,
evaluating to (koiranSeq L D 0, …, koiranSeq L D (k - 1)) over every semiring in at most
2 + 2 * Nat.log 2 L + 2 * Nat.log 2 (D + 1) + (k - 1) * (2 * Nat.log 2 D + 4) gates, i.e.,
O(1 + k log(D + 2) + log(L + 2)) uniformly across all parameters (O(k log D + log L) for
D, L ≥ 2), reusing Cslib.Circuits.binaryPowerCircuit.
Finally, koiranSeq_mem_of_dense_of_sign_determined records the quantifier-free sign-determination
step from the proof of Proposition 4.4 of Bürgisser and Cucker
(arXiv:cs/0312007v1, Section 4.2, p. 17; after Koiran 1999, Corollary 1): any Euclidean-dense set
S ⊆ ℝ^k determined by the signs of bounded-degree, bounded-coefficient integer polynomials
contains the real image of koiranSeq L D. Quantifier elimination for prenex formulas and uniform
Turing-machine circuit generation (the rest of Proposition 4.4) are not formalized here.
Main definitions #
Cslib.Circuits.Arithmetic.koiranSeq: 0-indexed zero-avoiding sequence (doubly exponential forD ≥ 2; stabilizing atD = 0) (koiranSeq L D jcorresponds toα_{j + 1}in [BurgisserCucker2006, Lemma 4.5]).Cslib.Circuits.Arithmetic.koiranSeqCircuit: division-free, input-free arithmetic circuit overarithSignature Unit(constant1only) computingkoiranSeq L D 0, …, koiranSeq L D (k - 1).
Main results #
Cslib.Circuits.Arithmetic.eval_koiranSeq_ne_zero: every nonzero integer polynomial inkvariables of total degree at mostDand coefficients of absolute value< 2 ^ Lis nonzero atkoiranSeq L D([BurgisserCucker2006, Lemma 4.5]).Cslib.Circuits.Arithmetic.eval_koiranSeqCircuit,Cslib.Circuits.Arithmetic.size_koiranSeqCircuit_le: exact evaluation over any semiring andO(1 + k log(D + 2) + log(L + 2))gate-count bound (O(k log D + log L)forD, L ≥ 2) forkoiranSeqCircuit([BurgisserCucker2006, Section 4.2, p. 17]).Cslib.Circuits.Arithmetic.koiranSeq_mem_of_dense_of_sign_determined: quantifier-free step in the proof of [BurgisserCucker2006, Proposition 4.4] (arXiv:cs/0312007v1, p. 17).
References #
- P. Bürgisser and F. Cucker, Counting Complexity Classes for Numeric Computations II:
Algebraic and Semialgebraic Sets, Section 4.2, Definition 4.2,
Remark 4.3, Proposition 4.4, and Lemma 4.5 (
arXiv:cs/0312007v1, pp. 15–17)
Koiran's zero-avoiding sequence #
Zero-avoidance for bounded-degree integer polynomials #
Zero-avoidance of Koiran's sequence (Bürgisser and Cucker, Lemma 4.5,
arXiv:cs/0312007v1, Section 4.2, p. 16; attributed there to Koiran 1997): for all k, L, D : ℕ,
every nonzero integer polynomial h in k variables of total degree at most D and coefficients
of absolute value < 2 ^ L satisfies h(koiranSeq L D 0, …, koiranSeq L D (k - 1)) ≠ 0.
(For L = 0, hcoeff forces h = 0, so the statement is non-vacuous for L ≥ 1.)
Exact evaluation of koiranSeqCircuit: over any semiring R, the j-th output of
koiranSeqCircuit k L D (with the sole constant symbol interpreted as 1 : R) equals
(koiranSeq L D j : R).
Gate-count bound for koiranSeqCircuit: koiranSeqCircuit k L D has at most
2 + 2 * Nat.log 2 L + 2 * Nat.log 2 (D + 1) + (k - 1) * (2 * Nat.log 2 D + 4) gates, i.e.,
O(1 + k log(D + 2) + log(L + 2)) operations (O(k log D + log L) for D, L ≥ 2;
[BurgisserCucker2006, Section 4.2, p. 17]).
Quantifier-free generic-point membership step #
Intermediate step (quantifier-free sign-determination core) in the proof of Proposition 4.4 of
Bürgisser and Cucker (arXiv:cs/0312007v1, Section 4.2, p. 17; after
Koiran 1999, Corollary 1). This is not the full prenex-formula or uniform Turing-machine statement
of Proposition 4.4.
If S ⊆ ℝ ^ k is dense in the Euclidean topology (hdense : Dense S, which for a semialgebraic
set determined by finitely many polynomials agrees with Zariski-genericity in the sense of
[BurgisserCucker2006, Definition 4.2 and Remark 4.3(i)(a)]) and membership in S depends only on
the signs of a finite family P of integer polynomials of total degree ≤ D and coefficients of
absolute value < 2 ^ L, then the real point (koiranSeq L D 0, …, koiranSeq L D (k - 1))
belongs to S.