Bryan Sanchez · verified results

Certified optimal folds for 2D HP lattice protein benchmarks, including C*(S6) = 19

Combinatorial optimization · 2026-11-26 · Preprint. Not peer reviewed.

Machine-checkable optimality certificates for standard 2D hydrophobic–polar lattice folding benchmarks, and a proof that a 50-residue PP-prefix benchmark has optimum 19 contacts.

Result

How it was checked

What is not machine-checked

Check it yourself

Time: about 2 seconds for the steps below; the full S6 proof takes about 18 minutes more. Needs: Python 3.10+; the [proofs] extra installs OR-Tools, HiGHS and pycosat.

git clone https://github.com/Brsanch/hp-folding && cd hp-folding
pip install -e ".[proofs]"
PYTHONPATH=src python scripts/prove_optimality.py
PYTHONPATH=src python scripts/verify_hp_highs.py
PYTHONPATH=src python scripts/verify_hp_sat.py
PYTHONPATH=src python scripts/verify_drat_certificates.py

The S6 proof is scripts/prove_s6_unconditional_z2.py; its LRAT pipeline is scripts/verify_s6_lrat.py.

Files

How AI was used

Large language models assisted with computational exploration, implementation of the verification scripts, proof drafting, manuscript editing and pre-submission review. The author reviewed and ran the verification described on this page and takes responsibility for the content.

Search terms

2D HP model · HP lattice protein folding · optimal fold proof · S6 50-mer · 2D50 · CP-SAT optimality · DRAT certificate · LRAT certificate · Harary–Harborth bound