The redundancy law in Boolean algebra (formally known as the Consensus Theorem) states that if a logic expression contains two terms where a variable appears in both its true and complemented forms, the product of the remaining variables is redundant and can be eliminated without changing the circuit's output. In a physical installation or PCB layout, applying this law changes the hardware footprint: it strips out unnecessary logic gates, reducing propagation delay, lowering power draw, and freeing up Look-Up Tables (LUTs) in FPGAs or memory in PLCs.
While textbooks teach this as a pure algebraic simplification tool, practicing electronics engineers and controls programmers use it to balance hardware cost against signal integrity. Below, we break down the exact math, prove it with a numeric truth table, and explore where this law dictates real-world design choices in 2026.
The Core Math: Proving Redundancy with Real Values
The standard algebraic form of the redundancy law is:
Equation: XY + X'Z + YZ = XY + X'Z
The term YZ is the redundant "consensus" term. It is generated by multiplying the non-complemented leftovers (Y and Z) of the two terms where X and X' appear.
To prove this isn't just theoretical, let's map this to a real numeric scenario using binary values (0s and 1s). Suppose we are designing a safety interlock for a CNC machine where:
- X = Master Enable Switch
- Y = Guard Door Closed Sensor
- Z = Spindle Temperature OK Sensor
The original, unoptimized logic equation is: F = XY + X'Z + YZ
| X (Master) | Y (Door) | Z (Temp) | XY | X'Z | YZ (Redundant) | XY + X'Z | XY + X'Z + YZ |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |
As the numeric truth table demonstrates, the output columns for XY + X'Z and XY + X'Z + YZ are identical across all 8 possible binary states. The YZ term only ever outputs a '1' when either XY or X'Z is already outputting a '1'. Therefore, physically wiring the AND gate for YZ and the subsequent OR gate is a waste of silicon and copper.
Where You Meet This in Practice
You won't just see the redundancy law in Boolean algebra on a whiteboard; it directly impacts hardware BOM (Bill of Materials) costs and system architecture in three primary domains:
1. Discrete TTL/CMOS Logic (74-Series)
If you are building a custom controller using discrete ICs like the 74HC08 (Quad 2-Input AND) and 74HC32 (Quad 2-Input OR), the unoptimized equation XY + X'Z + YZ requires three AND gates, one NOT gate, and two OR gates. That spans across three separate physical ICs. By applying the redundancy law to drop YZ, you reduce the count to two AND gates, one NOT gate, and one OR gate. This fits neatly onto just two ICs, saving board space, reducing parasitic capacitance, and cutting component costs.
2. PLC Ladder Logic Optimization
In industrial automation (using platforms like Allen-Bradley ControlLogix or Siemens S7-1500), scan time is critical. A redundant rung in ladder logic forces the PLC processor to evaluate unnecessary instructions every scan cycle. Applying the redundancy law simplifies the logic blocks, reducing the scan cycle time by microseconds—which matters immensely in high-speed packaging or motion control applications.
3. FPGA and CPLD Synthesis
When writing Verilog or VHDL for modern FPGAs (like the Xilinx Artix-7 or Intel Cyclone V), the synthesis tool (Vivado or Quartus) automatically applies the redundancy law during the minimization phase. It maps the simplified Boolean expression into 4-input or 6-input Look-Up Tables (LUTs). Eliminating redundant terms frees up LUTs, allowing you to fit more complex state machines into a smaller, cheaper FPGA chip.
⚠️ The Static Hazard Exception: In high-speed digital design, algebraic redundancy is sometimes intentionally kept. If variable X transitions from 1 to 0, the terms XY and X'Z might both briefly read '0' due to the propagation delay of the NOT gate inverting X. This creates a nanosecond voltage drop known as a static-1 hazard (or glitch). Adding the redundant consensus term (YZ) bridges this gap, holding the output high during the transition. Always check your timing diagrams before stripping redundant terms in high-frequency clock domains.
Redundancy Law vs. Absorption Law: Clearing Up the Confusion
A common point of confusion for students and junior engineers is mixing up the redundancy law with the absorption law. Both reduce expression size, but they target entirely different structural patterns in the equation.
| Feature | Redundancy Law (Consensus) | Absorption Law |
|---|---|---|
| Core Equation | XY + X'Z + YZ = XY + X'Z | A + AB = A |
| Identifying Pattern | Requires three terms; one variable appears complemented and uncomplemented across two terms. | Requires two terms; one term is a complete subset of the other. |
| What Gets Eliminated | The third term (the product of the 'leftover' variables). | The larger, more complex term. |
| Physical Result | Removes an entire AND-OR branch. | Removes an AND gate, bypassing it directly to the OR gate. |
For a deeper dive into how these theorems interact with Karnaugh maps, the All About Circuits digital textbook provides excellent visual mappings of these reductions.
Frequently Asked Questions
How does the redundancy law reduce hardware costs in digital design?
By eliminating the consensus term, you physically remove logic gates from the circuit. In discrete designs, this means buying fewer 74-series ICs and using less PCB copper. In programmable logic (FPGAs/CPLDs), it reduces the number of Configurable Logic Blocks (CLBs) or LUTs consumed, allowing designers to use a lower-tier, less expensive chip for the same functionality.
Can the redundancy law be applied to ladder logic in PLCs?
Yes. In PLC programming, the redundancy law translates to eliminating parallel branches that are logically superfluous. If you have a rung evaluating (A AND B) OR (NOT A AND C) OR (B AND C), the final (B AND C) branch is redundant. Removing it simplifies the ladder diagram, makes troubleshooting easier for maintenance technicians, and marginally improves the PLC's scan cycle time.
What is the difference between the consensus theorem and the redundancy law?
There is no difference; they are two names for the exact same Boolean algebra principle. "Consensus Theorem" is the formal academic term used in university computer science and electrical engineering curricula, while "Redundancy Law" is the descriptive term often used by technicians and practical designers to explain why the theorem is applied (to remove redundancy). You can find formal proofs of this under both names in resources like Electronics Tutorials.
Does removing redundant terms affect the timing or race conditions in a circuit?
Yes, and this is a critical edge case. While algebraically redundant, the consensus term acts as a "bridge" in a Karnaugh map. If you remove it in a high-speed asynchronous circuit, the differing propagation delays of the logic gates can cause a momentary false output (a glitch or static hazard) when the complemented variable changes state. In high-speed designs, engineers intentionally add the redundant term back into the hardware to ensure glitch-free transitions.






