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

Tram Line Signal Conflict

hard · 3 inputs, 2 outputs · allowed gates: NAND · best known: 7 gates (not proved minimal)

To prevent collisions, the SIGNAL must be active only when TRACK1 and TRACK2 are both occupied, but not if the SWITCH is engaged. The ALERT sounds if either track is empty while the switch remains active.

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.

TRACK1TRACK2SWITCHSIGNALALERT
00000
00101
01000
01101
10000
10101
11010
11100

What the table tells you

The smallest known circuit: 7 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 = TRACK1 NAND TRACK2
  2. g2 = SWITCH NAND SWITCH
  3. g3 = g1 NAND g1
  4. g4 = SWITCH NAND g1
  5. g5 = g3 NAND g2
  6. g6 = g4 NAND g4
  7. g7 = g5 NAND g5
  8. SIGNAL = g7
  9. ALERT = g6

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

← #26 The Greenhouse Nutrient Pump · #28 The Bakery Cooling Fan →

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