Ten, ten, twelve: the exact sizes of three modulo-three circuits

A ten-gate circuit suffices to recognize either zero or two modulo three on five input bits. Twelve gates suffice for residue zero on six bits. This archive gives matching formal lower bounds, a checked classification of 434 smaller circuits, and a script that rebuilds the certificate in the official gate model.

Download with Python · Archive checksum · Primary source

Size-limited proofs for the modulo-three classification