Timeburn Burn your time wisely.
Gatesmith daily puzzle #43 · 27 November 2026

Submarine Sonar Sweep

medium · 3 inputs, 2 outputs · allowed gates: NOT, AND, OR · best known: 5 gates (not proved minimal)

The SONAR sensor detects objects when both DEPTH and MOTION are active but only if the SILENT mode is off. The ALARM triggers if either DEPTH or MOTION is true while SILENT remains inactive.

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.

DEPTHMOTIONSILENTDETECTALARM
00000
00100
01001
01100
10001
10100
11011
11100

What the table tells you

The smallest known circuit: 5 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 lines say which signal drives each output.

  1. g1 = DEPTH AND MOTION
  2. g2 = NOT SILENT
  3. g3 = DEPTH OR MOTION
  4. g4 = g1 AND g2
  5. g5 = g2 AND g3
  6. DETECT = g4
  7. ALARM = g5

The search ran out of budget before it could rule out every smaller circuit, so 5 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.

← #42 The Lighthouse Fog Warning · #44 The Coffee Machine Brew →

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