Gatesmith daily puzzle #7 · 22 October 2026

The Workshop Alarm

easy · 3 inputs, 1 output · allowed gates: NOT, AND, OR · best known: 3 gates (not proved minimal)

A master craftsman needs his ALARM to sound if either the POWER is on or the DRILL is active, but only when the SAFETY switch is not engaged. The ALARM triggers if (POWER OR DRILL) is true and SAFETY is false.

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.

POWERDRILLSAFETYALARM
0000
0010
0101
0110
1001
1010
1101
1110

What the table tells you

The smallest known circuit: 3 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 = POWER OR DRILL
  2. g2 = NOT SAFETY
  3. g3 = g1 AND g2
  4. ALARM = 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.

← #6 The Tram Line Switch · #8 The Dragon Guard →

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