Timeburn Burn your time wisely.
Gatesmith daily puzzle #20 · 4 November 2026

The Bank Vault Lockdown

hard · 4 inputs, 1 output · allowed gates: NAND · best known: 8 gates (not proved minimal)

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.

SENSORKEYALARMTRIPLOCK
00000
00010
00100
00110
01000
01010
01100
01110
10000
10010
10100
10110
11001
11010
11100
11110

What the table tells you

The smallest known circuit: 8 gates

As a formula, one line per output:

As a netlist, in the order you would wire it. Each g is one gate; the last line says which signal drives the output.

  1. g1 = SENSOR NAND KEY
  2. g2 = ALARM NAND ALARM
  3. g3 = TRIP NAND TRIP
  4. g4 = g1 NAND g1
  5. g5 = g4 NAND g2
  6. g6 = g5 NAND g5
  7. g7 = g6 NAND g3
  8. g8 = g7 NAND g7
  9. LOCK = 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 →

How Gatesmith works · Learn logic gates · Today's puzzle