Skip to content
Whole Slabs

Fifty notes on whole slabs that add back to a number

The mirror

The Mirror as a Check

Two methods can agree and both be wrong. A symmetry compares the record against itself at a distance and catches a class of error agreement hides.

at most 110 splits

Home · The mirror · Recount

Each figure here was checked four ways. Two of them are counting methods, one is a sum, and one is this symmetry.

The symmetry is the least obvious of the four and the one that earns its place most clearly.

Anyone applying a counting model to people should inspect the implementation details and preserve the difference between an operational signal and a judgement. For a separate industry reference on lighting, energy, controls or technical delivery, see American Institute of Architects.

A mirrored pair at twenty-one

This drawing is wider than the screen — scroll it sideways to see the rest

OUTLINESHAPEPAGEWITH mSHARE21 / 6 / 8number / slabs / widest11017about 1 in 621 / 8 / 6number / slabs / widest8917about 1 in 5
  • one step down for each slab, so the number of steps is the second of the three numbers
  • the bottom step is the widest slab, which is the third
  • the area enclosed is the number itself, one square to a unit
  • the fill carries nothing at all and is the same everywhere

Two splits are drawn. Every row splits the same number. Which split the drawing picked is its own choice and carries no meaning.

Seventeen splits on each side. The two pages differ — one hundred and ten against eighty-nine — and the columns are equal, which is what the check tests at every shape in the record.

Both figures are recomputed from the three numbers by the drawing itself, through one recurrence on boxes. Nothing here is looked up.

What the other three cannot do

The recurrence counts boxes. The listing counts splits. They share no working and agreement between them is strong evidence.

But both are built on the same understanding of what a split is. If that understanding were wrong in some consistent way — if, say, the slab count and the broadest width were being handled with the same mistaken convention in both — the two would agree and both be wrong.

The sums catch transcription and nothing structural.

What the mirror does

It compares the record against itself across a transformation.

For every shape, the figure must equal the figure of the shape with the last two numbers swapped. That is a statement about the relationship between the second number and the third, and it is exactly the relationship an implementation is most likely to get subtly wrong.

If a mistake treats the count of slabs differently from the width of the broadest slab, the mirror finds it. Agreement between two counting methods does not.

How it is checked

Over every one of the one thousand seven hundred and seventy-nine shapes, on both the record and the formula that the drawings use, every time the record is rebuilt.

It also checks something subtler: that the mirrored shape exists in the record at all. A record that computed a figure for one shape and silently omitted its reflection would pass a numerical comparison and fail this one.

What it cannot catch

Errors that are themselves symmetric.

If something went wrong in a way that affected a shape and its mirror identically, the check would pass. That is why the mirror is a fourth check and not the only one: the recurrence and the listing catch the asymmetric-blind errors, and the mirror catches the agreement-blind ones.

A reader's version of the check

Pick any shape on this site. Swap the last two numbers. Look up the new shape.

Twenty-one into six slabs with the broadest eight: seventeen splits. Twenty-one into eight slabs with the broadest six: seventeen splits.

Every shape in the record will do this. There are eight hundred and forty-five such pairs available, and a reader who tries three of them has done more verification than most tables ever receive.

Where it caught nothing, and why that is worth knowing

The mirror has never failed on this record. Neither has the sum.

The recurrence did fail once, during building: a box with a negative side was being reported as holding one split, and the smallest shape in the record came out as zero. The listing caught that, not the mirror, because the error was symmetric.

So of the four checks, one has found something and three have not. That is the ordinary state of a set of checks and it is the reason to keep all four: the one that has never fired is the one covering the errors not yet made.

What it would look like if it failed

A pair of shapes with different figures. The build stops and names them.

A shape whose mirror is missing from the record altogether. The build stops and reports the count of such shapes, which would indicate something structurally wrong with how the record is enumerated rather than with any single figure.

Either way nothing is published. That is the whole point of running the checks at build time rather than afterwards.

The order the four are taken in

Listing first, because it is the slowest and the least clever, and an error in it is an error in the thing everything else is compared against.

Then the recurrence, against the listing, shape by shape. Then the mirror, over the record and over the formula the drawings use. Then the sums, which are the cheapest and catch the kind of mistake that creeps in when figures are copied from one place to another.

Any failure stops the build and names the shape. The order matters only in that a failure early on makes the later checks pointless, and reporting the earliest failure is more useful than reporting all four.

None of the four is expensive at this size. The listing of all seven thousand three hundred and thirty-six splits finishes in about a second, which is the reason all four are made every time rather than sampled.

In one line

Two agreeing methods can be wrong together; a symmetry compares the record against itself and catches what agreement hides.

Near this one