Timeburn Burn your time wisely.
Gatesmith daily puzzle #18 · 2 November 2026

The Coffee Machine Logic

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

In the office breakroom, the BREW output turns on only if COFFEE is available and the POWER is active, but not if the CLEAN light is on. Wait, let's simplify: The BREW light activates when both POWER and COFFEE are high, provided the WATER is also present.

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.

POWERCOFFEEWATERBREW
0000
0010
0100
0110
1000
1010
1100
1111

What the table tells you

The smallest known circuit: 2 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 AND COFFEE
  2. g2 = WATER AND g1
  3. BREW = g2

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

← #17 The Deep Sea Submarine Hull · #19 The Robot Toy Workshop →

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