The Bank Vault Lockdown
To trigger the VAULT lockdown, both SENSOR and KEY must be active, but only if the ALARM is not already tripped. The LOCK status remains false if the TRIP occurs.
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.
| SENSOR | KEY | ALARM | TRIP | LOCK |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 |
| 1 | 1 | 0 | 0 | 1 |
| 1 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 |
What the table tells you
- LOCK is 1 in 1 of the 16 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 LOCK. The rows that turn it on: SENSOR=1, KEY=1, ALARM=0, TRIP=0.
The smallest known circuit: 8 gates
As a formula, one line per output:
LOCK = (((SENSOR AND KEY) AND NOT ALARM) AND NOT TRIP)
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 = SENSOR NAND KEYg2 = ALARM NAND ALARMg3 = TRIP NAND TRIPg4 = g1 NAND g1g5 = g4 NAND g2g6 = g5 NAND g5g7 = g6 NAND g3g8 = g7 NAND g7LOCK = g8
The search ran out of budget before it could rule out every smaller circuit, so 8 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.
← #19 The Robot Toy Workshop · #21 The Radio Station Alert →