Timeburn Burn your time wisely.
Gatesmith daily puzzle #42 · 26 November 2026

The Lighthouse Fog Warning

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

If the FOG is low and the LIGHT is off, the ALARM must trigger. The ALARM also sounds if the LIGHT is on but the FOG is high.

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.

FOGLIGHTALARM
001
010
100
111

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 = NOT FOG
  2. g2 = LIGHT XOR g1
  3. ALARM = g2

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

← #41 Bank Vault Breach Protocol · #43 Submarine Sonar Sweep →

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