Timeburn Burn your time wisely.
Gatesmith daily puzzle #45 · 29 November 2026

The Greenhouse Nutrient Pump

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

Activate the PUMP if both SENSOR and LIGHT are active, unless the DRY signal is also true. The ALERT must sound if either SENSOR or DRY is active but not both.

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.

SENSORLIGHTDRYPUMPALERT
00000
00101
01000
01101
10001
10100
11011
11100

What the table tells you

The smallest known circuit: 9 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 = SENSOR NAND LIGHT
  2. g2 = DRY NAND DRY
  3. g3 = SENSOR NAND SENSOR
  4. g4 = g1 NAND g1
  5. g5 = SENSOR NAND g2
  6. g6 = DRY NAND g3
  7. g7 = g4 NAND g2
  8. g8 = g5 NAND g6
  9. g9 = g7 NAND g7
  10. PUMP = g9
  11. ALERT = g8

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

← #44 The Coffee Machine Brew · #46 The Baker's Oven Timer →

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