Explainers

Internal · Part Three · 22

What was never a candidate for change?

An immutable is a fact. It became a fact when it was written, and it stays. An invariable was not written as a line at all. It is the condition every line must already satisfy. Conservation is the clearest case. The sum of the changes is zero, or the write is not a write. Nobody posts that sentence into the book as a balance. If they did, a later pass could “correct” it.

C. A. R. Hoare, in 1969, looked for the properties of a program the way geometry looks for axioms: a small set of rules from which the rest of the reasoning follows. For a repeated step he required a property that is true before the step and still true after it. Later readers call that property the invariant of the repetition. We use the requirement, not his symbolic rule and not a claim that this network has been given a formal proof. An invariable is what you are not willing to discover has changed between two receipts.

Confusing the two words is how a rule becomes optional. If conservation is treated as an immutable, someone will file an event that amends it. If a receipt is treated as an invariable, someone will pretend the receipt was never a historical act but a law. The receipt happened. The test did not happen. The test is what lets you say the receipt counts. The workshop write passed a test nobody posted: minus 120 and plus 120 sum to zero. Had the carrier proposed plus 120 with no fall, no balance would record the refusal. There would simply be no write.

Hoare was careful that a proof of this kind assumes the repeated step finishes. A loop that never returns has no last receipt against which to check the property. The same limit holds here. An invariable that is never consulted at the end of a pass is a sentence in a preface.

The question this leaves

The pieces now have names: given things, boundaries, kinds, things that may change by a new act, facts that stay, and tests that were never facts. What, made of those pieces, is an agent?