How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Logspace uniform iterated multiplication threshold circuits
Statement
For , let the input be an explicit array of nonnegative -bit integers, with tuple-addressed bits and fixed dimensions supplied to the uniformity machine. Power-of-two padding of the array dimensions is permitted, with padded entries zero. Their exact product, zero-padded to bits, is computed by constant-depth polynomial-size circuits over AND, OR, NOT and MAJ. Circuit descriptions and gate-predecessor predicates are computable in logarithmic space in the total input length. This item does not assert DLOGTIME-uniform multiplication, and its encoding convention does not include arbitrary effectively decodable encodings.
Facts & Assumptions
Given: and the input representation in the Statement. Put . A short integer has bits, and a long word has bits. All prime lists and their subsets below depend only on circuit dimensions, not input values.
Prime number theorem gives , and hence for all sufficiently large .
Every prime modulus admits a primitive root (Every prime modulus admits a primitive root), that is, a generator of its nonzero residue group.
Exact sums of explicitly listed nonnegative binary integers have constant-depth polynomial-size DLOGTIME-uniform threshold circuits under the tuple-addressed array convention (DLOGTIME uniform iterated addition threshold circuits).
Proof
A function of a fixed number of short arguments has polynomially many argument tuples. If its table is logspace-computable, realize each output bit by an OR of equality conjunctions over the tuples yielding one. This is a constant-depth polynomial-size logspace-uniform Boolean lookup circuit. Short addition, multiplication, reduction, inverses modulo a prime, and the table have this property. For the power table, use repeated squaring with a constant number of short residues and a short exponent counter; short multiplication uses grade-school arithmetic in logarithmic space. Find an inverse by trying every short candidate, and test primality by trial division. Enumerate the -th prime by a counter and these primality tests whenever and that prime are polynomially bounded. We may also add polynomially many polynomial-width words by [F3], whose uniformity is stronger than required here.
For a fixed short prime , [F2] gives a generator of the nonzero residues. Find the least such by testing all candidates and all exponents below with step 1.1. The tables , where and , and are logspace-computable by enumeration and modular powering with a constant number of short counters. For nonzero inputs with polynomially bounded , their product modulo is . The exponent sum is polynomially bounded, so compute it with [F3] and use a short power lookup. If any input is zero, select zero instead. For , the product is one exactly when all inputs are one. This gives iterated multiplication in any fixed polynomial-size residue basis in logspace-uniform constant depth. It uses only short tables and addition, without assuming binary iterated multiplication.
Convert a long word to residues by computing for each bit position and modulus, summing these short contributions with [F3], and reducing the result modulo by step 1.1. The sum is polynomially bounded in , because its number of contributions and are. Each constant is logspace-computable. Thus binary-to-residue conversion has the required circuit bounds; for outside the basis range, its vector represents its remainder in that range.
Fix a basis of distinct short primes. Set and . The binary words need not be computed: their required short residues, and then , are generated in logspace by scanning factors and multiplying modulo . Since is one modulo and zero modulo all other basis primes, for the residue vector of we have for a nonnegative integer . Indeed a difference divisible by each of the distinct primes is divisible by their product, while two representatives in cannot differ by a nonzero multiple of . Existence of a representative for every residue vector follows by taking the remainder modulo of the displayed nonnegative sum.
We give a comparison circuit with controlled rounding. Let bound the primes of the fixed basis, put , so , and choose . Compute and Because is a multiple of in , , including and . The low bits of therefore represent a dyadic fraction satisfying . Hence if and only if : distinct representatives differ by at least , and equal representatives give identical residue vectors and identical fractions. All bits of have the required circuits. Its integer part is a short lookup. For odd , bit after the binary point of equals : write ; its even left side and odd imply that have the same parity. These residues are short lookups using modular-power constants. For , only the first fractional bit can be nonzero. This computes precisely the truncation defining . Sum with [F3] and compare the -bit fractions by an OR over their highest differing position, with equality required at all higher positions. That comparator is constant-depth Boolean. Thus residue comparison is logspace-uniform constant depth. The upward offset is essential to handle an exact integer correctly.
Put and let be the product of the first primes, including . Then . For each output index , take disjoint blocks of consecutive primes beyond those first primes, and let be the product of block . Every is odd and exceeds , since each of its factors exceeds the corresponding factor of . The are pairwise relatively prime and relatively prime to . Only primes are needed. By [F1], their numerical values are polynomially bounded in for all sufficiently large ; the finitely many smaller dimensions have fixed circuits. Enumeration of each block and its residues modulo any short prime is logspace-computable by scanning its factors as in step 1.1 and step 2.3. No bit of a long prime product is requested from the uniformity machine.
Extend the representation of to a fixed short prime not in its basis by trying every possible residue . In basis , each candidate has a unique representative . The representatives with the old residues are exactly , , so exactly one is below . The representation of in basis has zero on the old primes and the fixed short product on the new prime. Compare each candidate with it using step 3.1 and select the unique successful . This computes . Extend to any polynomial-size new basis in parallel, treating its new primes independently. Removing primes just discards coordinates. No binary value of is needed.
Fix a squarefree divisor of the basis product and put . Restrict the representation of to basis to obtain in , and extend back to basis by step 4.1. For each , compute , where and its inverse are fixed short constants from step 1.1. This is the representation of modulo ; since , it is the canonical one. Extend it from basis to basis by step 4.1. If , output zero; if , return . All componentwise operations are short lookups. This proves constant-depth logspace-uniform division by these fixed squarefree products without assuming general binary division.
Let be given in basis and fix . Put and . Extend to basis by step 4.1. Compute each fixed modulo each basis prime and add one componentwise. This represents . Since and is odd, step 5.1 computes in basis . Using step 2.1, compute in that basis. There is no wraparound, since and imply . Divide by with step 5.1 to obtain in basis .
We have . Since and , the binomial coefficients bounded by powers of give Consequently . Thus is either or that integer plus one. Retain unless , in which case subtract one. The comparison in basis is valid without wraparound: . Compute the residues of by step 1.1, multiply componentwise, and compare by step 3.1. Subtraction by one is componentwise and occurs only when . The selected vector represents , whose residue modulo is bit of . Bit zero is already the residue of modulo . Thus all bits are recovered by parallel copies of a constant-depth circuit.
Convert the input words to basis by step 2.2 and multiply their residue vectors by step 2.1. Their exact product satisfies , including zero factors, so this is its canonical residue vector. Apply step 3.2 and step 6.1 and step 7.1 in parallel at every index . The result is its exact binary product, with precisely output bits and leading zeros where required.
Every basis length, prime value, table argument, loop index and word width above is polynomially bounded in . In step 3.1, the approximant width is for its polynomial-size basis length , hence polynomial as well. Each table has a fixed number of short arguments and polynomially many rows. Each conversion, comparison, extension and division uses a fixed finite number of layers of tables, Boolean gates and [F3]; their nesting in step 1.1 and step 2.1 and step 2.2 and step 2.3 and step 3.1 and step 4.1 and step 5.1 and step 3.2 and step 6.1 and step 7.1 and step 8.1 has depth independent of all dimensions and prime counts. Trials over primes, residues, table rows and output bits are parallel copies. Thus the total size is polynomial and depth constant. Label gates by their stage and a fixed number of polynomially bounded coordinates. A logspace machine enumerates the fixed prime lists, computes needed residues by repeated modular multiplication, computes power and discrete-log table bits as in step 1.1 and step 2.1, and decides local wiring using short counters. The composition depth of subcircuit descriptions is fixed, so intermediate descriptions can be recomputed using workspace. The machine never stores or another long product. The addition circuits from [F3] are also logspace-uniform. This proves both logarithmic-space description generation and the gate-predecessor predicate, completing the Statement.
Depends on
Used by
Dependency tree · two levels
9 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Hesse, Allender, and Barrington, Uniform Constant-Depth Threshold Circuits for Division and Iterated Multiplication (standard reference, not scraped)