Timeburn Burn your time wisely.
Gatesmith daily puzzle #38 · 22 November 2026

The Greenhouse Frost Alert

easy · 3 inputs, 1 output · allowed gates: NAND · best known: 3 gates (proved minimal)

In the greenhouse, the ALARM sounds if COLD is true and either HEAT or HUMID is true. The system stays silent otherwise.

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.

COLDHEATHUMIDALARM
0000
0010
0100
0110
1000
1011
1101
1111

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 = COLD NAND HEAT
  2. g2 = COLD NAND HUMID
  3. g3 = g1 NAND g2
  4. ALARM = g3

The search checked every circuit with fewer gates and none matches the table, so 3 is the true minimum for the allowed gate set. 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.

← #37 The Castle Gate Defense · #39 Bakery Oven Preheater →

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