The Workshop Drill Press
Engage the DRILL only if the POWER is on and either the SAFETY lever is pressed or the FOOT pedal is active. The ALARM should sound if the POWER is on but neither the SAFETY nor the FOOT pedal are engaged.
Replay this puzzle All puzzles
The truth table
Inputs on the left, outputs on the right. A circuit solves the puzzle when it reproduces every row.
| POWER | SAFETY | FOOT | DRILL | ALARM |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 | 0 |
| 1 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 0 |
What the table tells you
- DRILL is 1 in 3 of the 8 rows. Every input matters: for each one there is a row where flipping it changes DRILL. The rows that turn it on: POWER=1, SAFETY=0, FOOT=1; POWER=1, SAFETY=1, FOOT=0; POWER=1, SAFETY=1, FOOT=1.
- 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: POWER=1, SAFETY=0, FOOT=0.
The smallest known circuit: 4 gates
As a formula, one line per output:
DRILL = (POWER AND (SAFETY OR FOOT))ALARM = (POWER AND NOT (SAFETY OR FOOT))
As a netlist, in the order you would wire it. Each g is one gate; the last lines say which signal drives each output.
g1 = SAFETY OR FOOTg2 = POWER AND g1g3 = NOT g1g4 = POWER AND g3DRILL = g2ALARM = g4
The search ran out of budget before it could rule out every smaller circuit, so 4 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.
← #39 Bakery Oven Preheater · #41 Bank Vault Breach Protocol →