The Baker's Oven Timer
The TIMER light must turn ON if the HEAT is active and the DOUGH is ready, or if the HEAT is off but the DOUGH remains in the oven. The output TIMER depends on both HEAT and DOUGH.
Replay this puzzle All puzzles
The truth table
Inputs on the left, the output on the right. A circuit solves the puzzle when it reproduces every row.
| HEAT | DOUGH | TIMER |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
What the table tells you
- TIMER is 1 in 3 of the 4 rows, so it is easier to think about the one row where it is 0. Every input matters: for each one there is a row where flipping it changes TIMER.
The smallest known circuit: 2 gates
As a formula, one line per output:
TIMER = ((HEAT AND DOUGH) OR NOT HEAT)
As a netlist, in the order you would wire it. Each g is one gate; the last line says which signal drives the output.
g1 = NOT HEATg2 = DOUGH OR g1TIMER = g2
The search checked every circuit with fewer gates and none matches the table, so 2 is the true minimum for the allowed gate set. Gates that do not feed an output are never counted.
Leaderboard for the day
Nobody posted a result on the day. The circuit above is the reference.