Use a synchronous sequential circuit with four Moore machine states. is ready, is the one-cycle pulse state, is disabled with no qualifying final zero, and is disabled after one sampled zero. Reset into , so an initial sampled high generates a pulse immediately. The complete transition/output table is:
StateCode Next if Next if
A particularly small implementation uses two D flip-flops with the next-state equations
Both D flip-flops share the clock; their outputs feed the displayed logic gates. The output depends only on the stored state, not combinationally on the external input. At each edge, evaluate the right-hand sides using the old state and the sampled input, then update both flip-flops together. The resulting applies throughout the following clock period.
From , a high enters . The next edge always leaves , so the pulse lasts exactly one period. In the disabled states, a high leads to and erases progress towards rearming. A zero enters , and a second successive zero enters . A later high can then enter . This proves both the two-zero requirement and the startup exception. For example, sampled inputs yield outputs .
Figure 1.
Original Moore-state design and clocked example for the two-zero rearming pulse detector. State and output are shown after each sampling edge.
Details.
The construction is a synchronous pulse detector with two-zero rearming. Assume meets setup/hold requirements at the sampling edges. A genuinely asynchronous input would first require synchronization, with its associated latency; that is separate from this sampled-input specification.
Propagation delay 2026-10-31
The elapsed time between a change at a logic gate's input and the corresponding settled change at its output, under specified loading and transition conditions. Dependent gate delays add along a path. The combinational critical path gives the longest such input-to-output path; reconvergent paths of unequal delay can produce a logic hazard even when the final Boolean function value does not change.
Quadratic-equation satisfiability over F2 Created 2026-09-24 Updated 2026-11-05
Quadratic-equation satisfiability over F2 asks whether finitely many polynomials of polynomial degree at most two over the finite field have a common zero. Each unknown therefore takes one of the two truth values zero and one, with addition and multiplication performed modulo two.
A Boolean circuit can be encoded by introducing a Boolean variable for every logic gate output. An AND gate becomes , while a NOT gate becomes . Forcing the final output to one adds . All these constraints have degree at most two, and an assignment to the logic gate variables solves them exactly when it is a consistent accepting Boolean circuit evaluation.
The construction has polynomial size and reduces the Circuit satisfiability problem to this task. Guessing values and checking the displayed polynomials proves membership in NP, so the problem is NP-complete. This explains why allowing quadratic terms changes the computational picture from a system of linear equations solved by Gaussian elimination.
Razborov gate-by-gate approximation lemma Created 2026-09-28 Updated 2026-11-05
Suppose the input nodes of a Boolean circuit are represented exactly and each internal logic gate is replaced by an approximate operation. For logic gate with children , let
The set where the approximate output differs from the true output is contained in . Indeed, at an input outside every , induction through the acyclic dependency graph proves equality at every logic gate. Shared subcircuits are charged once per logic gate, rather than once per path.
For any probability measure , a union bound yields
Thus logic gates with local error at most give total error at most . If every member of the approximating family has error at least against the target Boolean function, then . The Razborov approximation method applies this mechanism to carefully chosen positive and negative input distributions.[ref]
Uniform circuit family 2026-11-05
A uniform circuit family has one effective rule generating its circuits rather than an independently supplied design at every input length. The precise resource limit on this rule is part of the definition. In logspace uniformity, a Turing machine given outputs a description of using work space; its output tape is not counted as work space.
A family of balanced AND gate trees is uniform: a procedure can enumerate gates and their connections from the input length. In contrast, a nonuniform family can choose the constant output at length using membership of in an undecidable set. Those constant circuits are individually tiny, but no algorithm can generate the whole family. Uniformity therefore distinguishes small circuits that can be constructed effectively from arbitrary advice hidden in their choice. Stronger local-access conventions are also used when the circuit depth is so small that the cost of generating a complete description would obscure the intended complexity bound.
XNOR gate 2026-10-31
A two-input logic gate whose output is one exactly when its two input bits agree. Its Boolean function is , equivalently . This follows by considering the two cases in which inputs are equal. It implements logical equivalence of the input truth values.