Garden Sprinkler Schedule
If RAIN is falling or the TIMER is active, the SPRINK owns must be OFF. The SPRINK output should only activate when it is not raining and the timer has not triggered.
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.
| RAIN | TIMER | SPRINK |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 0 |
What the table tells you
- SPRINK is 1 in 1 of the 4 rows, so it is a single AND-shaped condition: one exact combination of the inputs. Every input matters: for each one there is a row where flipping it changes SPRINK.
The smallest known circuit: 2 gates
As a formula, one line per output:
SPRINK = NOT (RAIN OR TIMER)
As a netlist, in the order you would wire it. Each g is one gate; the last line says which signal drives the output.
g1 = RAIN OR TIMERg2 = NOT g1SPRINK = 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.
← #31 The Automated Sorter Machine · #33 The Blacksmiths Hammer Strike →