The AES S-box Needs Exactly 221 Product Terms: A Proof Checked Without a Solver, Worked by Hand

A two-level AND-OR circuit for all eight output bits of the AES S-box needs at least 221 distinct product terms, so the recorded 221-term circuit is optimal. In the project's records the bound rested on a solver's answer; weights alone give only 219. This note closes the gap with a certificate, a tree of 1703 nodes carrying whole-number weights. A standard-library Python checker of about 150 lines verifies it in about 6 seconds, after rebuilding the S-box and all 1294 candidate terms from their definitions. The method is worked by hand on small examples first. Checks 18 and 28 checks, all pass; 10 of 10 planted errors caught. An independent solver (HiGHS), run on terms rebuilt here, REPLICATED the optimum. Status Version 2. The optimum 221 is PROVED by a machine-checked certificate. A brief search found no published exact value for this count (NOT FOUND). Not independently refereed. Code and data Software record Worked_by_Hand_Notes_Code_2026-11-26.zip, folder AES221_Certificate_Replay_2026-11-26_xz (MIT), doi:10.5281/zenodo.24654976. The certificate is stored compressed with xz. AI statement The work was directed by the author. Most of the computational work was done with Claude (Anthropic) and Gemini (Google), with support from Grok (xAI). The text was drafted with AI assistance from the project's records and edited by the author, who takes responsibility for its contents.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24657128
Primary Topic
Cryptographic Implementations and Security
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The AES S-box Needs Exactly 221 Product Terms: A Proof Checked Without a Solver, Worked by Hand

Joshua W. Davis
1 links
Zenodo (CERN European Organization for Nuclear Research)
Cryptographic Implementations and Security
preprint

The AES S-box Needs Exactly 221 Product Terms: A Proof Checked Without a Solver, Worked by Hand

Joshua W. Davis
preprint en

Abstract

A two-level AND-OR circuit for all eight output bits of the AES S-box needs at least 221 distinct product terms, so the recorded 221-term circuit is optimal. In the project's records the bound rested on a solver's answer; weights alone give only 219. This note closes the gap with a certificate, a tree of 1703 nodes carrying whole-number weights. A standard-library Python checker of about 150 lines verifies it in about 6 seconds, after rebuilding the S-box and all 1294 candidate terms from their definitions. The method is worked by hand on small examples first. Checks 18 and 28 checks, all pass; 10 of 10 planted errors caught. An independent solver (HiGHS), run on terms rebuilt here, REPLICATED the optimum. Status Version 2. The optimum 221 is PROVED by a machine-checked certificate. A brief search found no published exact value for this count (NOT FOUND). Not independently refereed. Code and data Software record Worked_by_Hand_Notes_Code_2026-11-26.zip, folder AES221_Certificate_Replay_2026-11-26_xz (MIT), doi:10.5281/zenodo.24654976. The certificate is stored compressed with xz. AI statement The work was directed by the author. Most of the computational work was done with Claude (Anthropic) and Gemini (Google), with support from Grok (xAI). The text was drafted with AI assistance from the project's records and edited by the author, who takes responsibility for its contents.

Zenodo (CERN European Organization for Nuclear Research)
Cryptographic Implementations and Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
The AES S-box Needs Exactly 221 Product Terms: A Proof Checked Without a Solver, Worked by Hand — Joshua W. Davis · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS