Bakery Oven Preheater
The PREHEAT light should turn on if either the TIMER is active or the HEAT sensor detects warmth, but only if the MAIN power is running.
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.
| TIMER | HEAT | MAIN | PREHEA |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 |
What the table tells you
- PREHEA is 1 in 3 of the 8 rows. Every input matters: for each one there is a row where flipping it changes PREHEA. The rows that turn it on: TIMER=0, HEAT=1, MAIN=1; TIMER=1, HEAT=0, MAIN=1; TIMER=1, HEAT=1, MAIN=1.
The smallest known circuit: 2 gates
As a formula, one line per output:
PREHEA = ((TIMER OR HEAT) AND MAIN)
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 = TIMER OR HEATg2 = MAIN AND g1PREHEA = 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.
← #38 The Greenhouse Frost Alert · #40 The Workshop Drill Press →