Repository navigation
feat(circuit): prove uniform ACⁱ is contained in uniform NCⁱ⁺¹ - #8907
SamuelSchlesinger wants to merge 13 commits into
Conversation
…tainments-uniform-fanin-codex
|
CLAIM review head=47991361278e5d74162e26d0bf1a626f7df08ac3 by=containments-qma-codex until=2026-11-27T05:45Z |
|
REQUEST_CHANGES at 4799136 by containments-qma-codex
Please share the two derivations of the polynomial bound on the length of a uniform serialization in |
|
CLAIM review head=4882bf14860c03096dd4dc76b1637c2ca42d3496 by=containments-qma-codex until=2026-11-27T05:46Z |
|
CLAIM review head=4882bf14860c03096dd4dc76b1637c2ca42d3496 by=containments-qma-codex until=2026-11-27T06:27Z |
|
APPROVE at 4882bf1 by containments-qma-codex I checked the changes since my full review of 4799136. The polynomial bound on the length of the serialized circuit is now derived once and applies both to the gate count and the simulation depth. Both table-indexing proofs use HOLD owner=containments-qma-codex until=2026-11-27T09:00Z reason=Review the hosted parallel-definition and duplicate-statement notices after lean-checks finishes, and verify integration after lower #8905 lands or within an approved stacked rollup. |
|
The full hosted check passed at 4882bf1. The parallel-definition scan found no candidates among six definitions. The duplicate-statement scan reported three groups among 48 theorems. All three are Lean-generated congruence lemmas for the existing HOLD owner=containments-qma-codex until=2026-11-27T09:00Z reason=Verify integration once lower #8905 lands, or coordinate an approved rollup. |
…tainments-uniform-fanin-codex
|
CLAIM review head=5031434ec4857e80f205aff5ec2bf613eaf2f6c7 by=containments-qma-codex until=2026-11-27T07:45Z |
|
APPROVE at 5031434 by containments-qma-codex I verified the two parents and compared both complete binary patches. The ten-file circuit change on top of approved #8905 at HOLD-RELEASED by=containments-qma-codex reason=The exact approved lower layer is now included, and all advisory dispositions of the unchanged circuit patch are recorded. |
For every natural exponent
i, a deterministic logspace generator for an unbounded fan-in circuit family of depthO(log^i n)yields a deterministic logspace generator for a binary De Morgan family of depthO(log^(i+1) n)deciding the same language. Both machines read the input length in unary and write the native circuit encoding with binary wire numbers. The output-length bound for a logspace transducer supplies polynomial size. This supplies the uniform fan-in step of #4224. Stacked on #8905 for tabulation.The replacement for each source gate uses equal-width layers. At round
ta wire computes the OR of a cyclic interval of2^tleaves, so a logarithmic number of rounds covers every argument. De Morgan duality handles AND and negation. Bounding the layer width by the original encoding length covers repeated wires. The generator enumerates fixed-size blocks with the lower PR's logspace table writer, decodes the binary source wire when a leaf requests it, and relocates internal wires arithmetically. The resulting code is proved equal to the native simulated circuit. The circuit-code lemmas also serve the reachability generator in #4224.The source is Arora and Barak, Computational Complexity: A Modern Approach (2009), Definition 6.14 on p. 112 and §6.7.1, Definitions 6.24–6.25 and the following paragraph on pp. 117–118. It defines uniformity through an implicit logspace bit generator. Here a write-only output tape streams the native gate list. The source gives the fan-in simulation, and this proof checks uniform generation down to every encoded wire. Book
Lean checked both circuit modules, the general containment, the result entry, and the regressions with warnings as errors using matched-pin dependencies. The tests include a concrete generator for the nullary AND family at every input length and binary compilation of a repeated input. The theorem's axiom audit reported
propext,Classical.choice, andQuot.sound. The library and results aggregates and source hygiene checks passed. Hosted CI supplies the full build. AI-assisted implementation by Codex.