English

Notes on Hazard-Free Circuits

Computational Complexity 2020-12-22 v1

Abstract

The problem of constructing hazard-free Boolean circuits (those avoiding electronic glitches) dates back to the 1940s and is an important problem in circuit design and even in cybersecurity. We show that a DeMorgan circuit is hazard-free if and only if the circuit produces (purely syntactically) all prime implicants as well as all prime implicates of the Boolean function it computes. This extends to arbitrary DeMorgan circuits a classical result of Eichelberger [IBM J. Res. Develop., 9 (1965)] showing this property for special depth-two circuits. Via an amazingly simple proof, we also strengthen a recent result Ikenmeyer et al. [J. ACM, 66:4 (2019)]: not only the complexities of hazard-free and monotone circuits for monotone Boolean functions do coincide, but every optimal hazard-free circuit for a monotone Boolean function must be monotone. Then we show that hazard-free circuit complexity of a very simple (non-monotone) Boolean function is super-polynomially larger than its unrestricted circuit complexity. This function accepts a Boolean n x n matrix iff every row and every column has exactly one 1-entry. Finally, we show that every Boolean function of n variables can be computed by a hazard-free circuit of size O(2^n/n).

Keywords

Cite

@article{arxiv.2012.10976,
  title  = {Notes on Hazard-Free Circuits},
  author = {Stasys Jukna},
  journal= {arXiv preprint arXiv:2012.10976},
  year   = {2020}
}

Comments

18 pages, 1 figure, 1 table; submitted to SIAM J. Discrete Math

R2 v1 2026-06-23T21:06:37.957Z