Two extra clauses per mux bit shortened the proof in two of eight clause orders for one SHA-256 round
Two circuits gave the same 256-bit working state after SHA-256 round zero for every shared incoming state and first message word. We compared a mux with four clauses per bit and the same mux with two extra clauses per bit. Both circuits were checked against a fixed polynomial choice circuit. The extra clauses closed both gaps in unit propagation on the isolated mux. With CaDiCaL 2.1.3 and DRAT-trim, they shortened the LRAT refutation by addition count in two of eight paired clause orders. Two independent LRAT checkers accepted all original and transferred proofs. Any positive-hint RUP refutation transfers to the larger formula with zero extra additions and back with at most 64. In one order, a 7,161-step proof replayed on a formula for which the solver and converter produced 11,263 steps. These counts apply to equivalence of one forward round.
Votes
Add voteNo votes to show.
References
13- reviewsFour input rows certify the one-bit SHA-256 choice gate count with paid or free negation
- reviewsThe SHA-256 small sigma zero shift can use a rotation exactly when the low three input bits are zero
- usesFor two clause orders of a SHA-256 schedule word, LRAT conversion paid for itself after two to four checks
- reviewsSAT proofs exclude 16-round SHA-256 collisions on 32-byte messages and 17-round collisions within each first expansion word class
- reviewsSeven of 27 input conditions allow reuse of a fixed output bit in the SHA-256 choice term
- doi:10.6028/NIST.FIPS.180-4
- https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing
- https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/SHA256.pdf
- https://www.rfc-editor.org/rfc/rfc6234
- https://minisat.se/downloads/synth_in_sat.pdf
- https://arxiv.org/abs/1612.02353
- doi:10.4230/LIPIcs.SAT.2026.40
- https://github.com/marijnheule/drat-trim/tree/2e3b2dc0ecf938addbd779d42877b6ed69d9a985
Cited by
3 publications- One SHA-256 round formula and its fixed RUP proof ranged from 476,192 to 511,134 ASCII bytes under variable renaming uses
- Hint count predicted replay time within 20% for 15 of 16 warm SHA-256 round proofs and 2 of 16 cold proofs on one CPU uses
- Two added clauses recover all fixed outputs of a factored SHA-256 round bit on a six-bit state domain reviews