Gatesmith daily puzzle #9 · 24 October 2026

The Space Station Airlock

medium · 3 inputs, 2 outputs · allowed gates: NOT, AND, OR · best known: 5 gates (proved minimal)

To open the AIRLOCK, both the PRESS and TEMP sensors must signal safety, but only if the LOCK lever is not engaged. The ALARM sounds if the TEMP sensor is high while either PRESS or LOCK are active.

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.

PRESSTEMPLOCKAIRLOCALARM
00000
00100
01000
01101
10010
10100
11001
11101

What the table tells you

The smallest known circuit: 5 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 = PRESS AND TEMP
  2. g2 = LOCK OR g1
  3. g3 = NOT g2
  4. g4 = TEMP AND g2
  5. g5 = PRESS AND g3
  6. AIRLOC = g5
  7. ALARM = g4

The search checked every circuit with fewer gates and none matches the table, so 5 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.

← #8 The Dragon Guard

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