Conjecture

Four Lights

Make all four lights match: all on or all off.

You choose the command; the game chooses the lamps. SINGLE flips one, EDGE two side by side, OPPOSITE two opposite.

The 14 starting patterns

0 of 14 patterns always match

    Gold: always matches Orange: the game escaped Tap a board to replay it.

    The game picks the lamps

    0 moves

      Your list

      0 moves

      Choose a command

        Hint
          0 / 4
          Solution — reveals the list

          OPPOSITE, EDGE, OPPOSITE, SINGLE, OPPOSITE, EDGE, OPPOSITE

          With two lamps on, the first three moves guarantee a match. If the on lamps are opposite, OPPOSITE finishes immediately. If they are neighbours, OPPOSITE keeps them neighbours; EDGE then either creates a match or makes them opposite, ready for the next OPPOSITE.

          With one or three on, those first three moves keep the number on odd. SINGLE makes it even: either the lamps now match, or two are on. The last three moves handle that case. All-on and all-off starting patterns already succeed.

          Why seven is shortest

          Ignore runs after they match. The unfinished patterns have three types: odd, two adjacent on, or two opposite on.

          The fastest possible reduction of the surviving types is:

          1. Odd, adjacent, opposite
          2. Odd, adjacent
          3. Odd, opposite
          4. Odd
          5. Adjacent, opposite
          6. Adjacent
          7. Opposite
          8. No unfinished runs

          The seven moves above advance through these stages. Every alternative move stays at the same stage or returns to an earlier one, so no stage can be skipped.

          A Conjecture challenge

          How to play

          Goal: make all four lights match, all on or all off. “Flip” turns on to off, and off to on.

          SINGLE
          Flips one lamp.
          EDGE
          Flips two side by side.
          OPPOSITE
          Flips two opposite.

          You choose the command; the game chooses which lamps.

          Stage 1: press commands until the lights match. Then try a new pattern: does the same plan always work?

          Adapted from Table with Four Coins, also recorded in Rustan Leino’s puzzle collection. Interactive adaptation by Conjecture.