The Bakery Oven Alarm
If the HEAT is high and BAKE is active, set ALARM to true. However, if COOLER is on, the ALARM must stay off regardless of other settings.
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 | BAKE | COOLER | ALARM |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 |
What the table tells you
- ALARM is 1 in 1 of the 8 rows, so it is a single AND-shaped condition: one exact combination of the inputs. Every input matters: for each one there is a row where flipping it changes ALARM. The rows that turn it on: HEAT=1, BAKE=1, COOLER=0.
The smallest known circuit: 3 gates
As a formula, one line per output:
ALARM = ((HEAT AND BAKE) AND NOT COOLER)
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 = HEAT AND BAKEg2 = NOT COOLERg3 = g1 AND g2ALARM = g3
The search ran out of budget before it could rule out every smaller circuit, so 3 is the best anyone found, not a proof. If you build it in fewer, the leaderboard records it. 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.
← #11 The Garden Sprinkler Logic · #13 The Radio Signal Jammer →