Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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.

DLOGTIME uniform iterated addition threshold circuits

Statement

For m,w≥1, the exact sum of m nonnegative w-bit integers has constant-depth polynomial-size circuits over AND, OR, NOT and MAJ, with w+⌈log⁡2m⌉ output bits. The circuits are DLOGTIME-uniform under the following explicit array convention: the input bit xi,j has tuple address (i,j); array dimensions and gate-coordinate domains may be padded to powers of two, with padded inputs zero. Gate addresses use a fixed number of binary coordinate fields, and the uniformity machine receives the binary dimensions and gate addresses. Equivalently, the input is a bit matrix with both dimensions padded to powers of two. Constants and output truncation are included in the family. The claim does not apply to arbitrary effectively decodable encodings.

Facts & Assumptions

Given: m,w≥1, the bit array in the Statement, and random-access Turing-machine DLOGTIME uniformity. All logarithms in the proof are base two.

Proof

1.1givenconstruct

Two-word addition has the following constant-depth Boolean construction. For d-bit words a,b, put gj=aj∧bj and pj=aj∨bj. The carry entering bit k>0 is ck=⋁0≤j<k(gj∧⋀j<t<kpt),c0=0. A carry is generated by two ones, propagated through positions with at least one one, and killed by two zeros; this proves the formula. The output bit is the XOR of ak,bk,ck, computed by its constant-size Boolean truth table, with the final carry appended. These formulas have constant depth and polynomial size, and predecessor tests use equality and order on their bit-position addresses.

1.2givenconstructalgebra

For m≥2, let ℓ=⌈log⁡2m⌉, let b be the least power of two at least ℓ, and put B=2b. Then m≤B≤m2. Split each input into consecutive b-bit blocks and pad the last block with zeros. For block q, define Sq=∑i=0m−1∑r=0b−12rxi,qb+r. Its upper bound is C=m(B−1), polynomial in mw.

2.1step 1.2constructalgebra

To compute all bits of Sq, pad the row domain to a power of two M0≥m with M0<2m. Create a rectangular set of distinct copy gates (i,r,t) with 0≤i<M0, 0≤r<b, and 0≤t<B. Gates with i≥m or t≥2r are zero; otherwise they copy xi,qb+r. There are D=M0bB slots, a power of two polynomial in mw, and exactly Sq slots are true. For each 1≤h≤D, feed these slots and D+1 distinct constant slots to a MAJ gate, with exactly D−h+1 constant slots equal to one. Its odd fan-in is 2D+1, so under either convention for majority it tests Sq+(D−h+1)≥D+1, equivalently Sq≥h. Write this output as Tq,h and set Tq,0=1, Tq,D+1=0. Then Eq,h=Tq,h∧¬Tq,h+1 tests Sq=h, and bit u of Sq is the OR of Eq,h over the indices h having bit u equal to one. The depth is constant and the size polynomial.

3.1step 1.1step 2.1algebraconstruct

Write Sq=rq+Bvq. Since rq<B and vq<m≤B, form two words: R has block q equal to rq, and V has block q+1 equal to vq and block zero zero. These bits are direct selections from the bits computed in step 2.1. The blocks do not overlap within either word, and ∑i=0m−1xi=∑qSqBq=R+V. Apply step 1.1 once to R,V. This is a constant number of constant-depth stages of polynomial total size.

4.1step 1.1step 1.2step 2.1step 3.1algebraconstruct∎

We verify uniformity explicitly. Use fixed-length tuples with a constant number of O(log⁡(mw+2))-bit fields for gate type, block, row, within-block bit, copy, threshold, output-bit and constant-slot indices. All predecessor predicates in step 1.1 and step 1.2 and step 2.1 and step 3.1 use equality, order, the bit predicate on h, t<2r, the constant-slot test u<D−h+1, and j=qb+r. Since b is a power of two, the last relation is a shift and concatenation. The exponent of the power of two D=M0bB is the sum of the corresponding bit-length exponents. Testing t<2r compares r with the highest nonzero bit position of t. Determine the field widths and b from the binary dimensions and perform these tests by a constant number of linear scans, additions, subtractions, shifts and comparisons of O(log⁡(mw+2))-bit words. Each gate-type or predecessor query takes O(log⁡(mw+2)) time on the random-access uniformity machine; no general multiplication of two varying address fields is used. Dimensions and coordinate domains are padded to powers of two, and positions outside the actual input bounds are constant zero. For m=1, copy the input word. Finally ∑ixi<m2w≤2w+⌈log⁡2m⌉, so the retained output width is exactly the one in the Statement.

Used by

Dependency tree · 0 levels

Nothing. This result depends on no other item in the library.

Sources