A matchbox companion

Before you turn on the lamp

Two matchboxes. You can tell them apart without opening either.

Open the lids
A green block with broad rails around a hole.
Left · 240 cubes
A green framework of narrow stepped rails, drawn from the same angle and at the same scale.
Right · 96 cubes

If the cubes are the same size and density, the carving on the right weighs two fifths as much as the one on the left. That’s the contents, not the box. These are cube counts, not measurements of wooden objects.

Turn on the lamps

Now look only at the wall or ceiling. These are the three shadows of either carving.

A dark block-letter J with a wide hook.
First wall
A dark block-letter O with notched corners.
End wall
A dark block-letter Y with a square fork.
Ceiling
How much wood do the shadows need?

The 240-cube carving contains every cube that can sit inside all three silhouettes. To make the lighter one, I tried removing cubes, keeping each removal only if all three shadows stayed the same and the remaining cubes still joined face to face. I put a few cubes back between rounds so the next round could make different cuts.

First, an unweighted count gives at least 90 cubes. Take a tree of face-to-face joins connecting all N cubes. It has N − 1 joins. Each join projects to a link between neighboring pixels on two of the three surfaces and to no link on the third. To connect the 64, 64 and 52 pixels of the three shadows takes at least 63 + 63 + 51 links in total. So 2(N − 1) ≥ 177. The 96-cube carving isn’t claimed to be the smallest.

One more cube: Giving the joins a direction lets us count arrivals as well as links. A weighted count gives at least 91 cubes; the connected minimum is now between 91 and 96, inclusive. Read the proof · Check the integer certificate

240-cube coordinates · 96-cube coordinates · Drawing and checks