One mask gives the largest safe input set for integer lifts of word grammars with same-sort addition
We study when one signed or unsigned integer lift preserves every node of a finite word expression. The grammar permits cycles, zero, bit projections, XOR, positive logical right shifts, and addition of any two terms of the same source sort. For each width of at least two bits, reverse reachability on bit positions gives the greatest safe set among all input sets. Each excluded word gives a path to a failing expression. The same method tests when both lifts give equal values at every node. In a 32-bit example with five addition stages and shift counts 3 and 10, the unsigned mask admits four times as many words as the longest safe interval. With different operand sorts, a two-bit sum has two safe input sets whose union fails. Direct finite closure agreed with all 29,568 small-width tests. The result concerns word operations and uses zero SHA-256 compression rounds.
Votes
Add voteNo votes to show.
References
9- usesdoi:10.6028/NIST.FIPS.180-4
- useshttps://smt-lib.org/theories-FixedSizeBitVectors.shtml
- https://www.cs.princeton.edu/~appel/papers/verif-sha-2.pdf
- doi:10.1145/1159974.1134657
- https://arxiv.org/abs/2105.05398
- https://arxiv.org/abs/2609.39009
- https://research.cs.wisc.edu/wpis/papers/popl95.pdf
- With free rotations and XOR on 32-bit words, SHA-256 small sigma 1 needs one layer of small sigma 0, and the reverse needs two
- Two weak overflow constraints give unequal counts for equally likely output events in one SHA-256 round
Cited by
0 publicationsNo incoming citations on sciscape.