← All projectsGitHub
LLM chip design loops

How many gates could an exact 4-input rewriter still remove from Yosys/ABC netlists?

research/chip-cutheadroom

How many gates an exact 4-input rewriter could still remove from real Yosys/ABC netlists: none in 28 of 30 runs (1 gate in two), even where the default script beats plain mapping by 25 to 42%, so the flow's gains are not local.

7 tests

What it found

chip-exact4 found Yosys/ABC about 1.2 gates above the proven minimum on isolated 4-input functions. Here every gate of six small netlists (adder, multiplier, comparator, popcount, shifter, priority encoder) under five ABC flows is checked against that exact minimum over all its 4-leaf cuts, counting only logic a local replacement could delete. The disjoint headroom is 0 gates in 28 of 30 runs and 1 gate in the other two, even though the default script cuts 25–42% of the gates of plain mapping on add16 and prio16: the flow’s gains are not local, so an exact small-cone rewrite proposer would find almost nothing. Stylised: six blocks, gate count with free inverters, one Yosys build; replacement circuits were not constructed.

A figure from its own output

Figure produced by research/chip-cutheadroom: headroom
chip-cutheadroom/experiments/headroom.svg, written by the project's own experiment code.

Paper, code and results

More in LLM chip design loops

All 40 LLM chip design loops projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.