"A test," said Professor Loom, "tells you that a thing worked this time."
She said it on the hundred and forty-eighth day, in the cold tower, with a rug round her knees and a plate of toast going cold on the sill. Beside the slate, on the stone floor, stood Iska's box, with its lid open and its bronze plates catching the light of three candles. Brindle sat cross-legged on a cushion by the stove, with his burned arm bound to his chest and a pen in his right hand, writing in a hand that wobbled like a child's. Isaure sat at the table with her gloves off and her hair pinned up anyhow, which I had never seen. And I stood at the slate with a lump of chalk and a head like a boiled egg.
"A proof," Loom went on, "tells you that a thing *cannot fail*. For all inputs, for all time. It is a different animal. It is slow, and dull, and no one has ever done it in Aurem." She looked round the room. "Four of us. A crippled boy, a lamp-lighter, a Radiant, and an old woman. We have sixty days, less six. I should like to say that the odds are good."
"We have a machine," said Brindle.
"We have a machine that can *check*," said Loom. "We have to find it first. Mr. Tarn. The specification."
I'd been writing it for three days. I wrote it up on the slate, clause by clause, in plain Common, and read it aloud as I went.
*The Safe Gate shall not ask who a caster's grandfather was. It shall ask what the cast will cost.*
*One. Every cast shall declare its budget before it begins: the most it may draw.*
*Two. No cast shall draw more than its declared budget.*
*Three. Every hand shall have a daily allowance. No hand shall draw more than its allowance in a day.*
*Four. Every cast that cannot finish within its budget shall stop, cleanly, before it overruns. No stuck verse. No Marrow.*
*Five. The allowance shall be set by the hand's training and examination, and by nothing else.*
I stopped. My chalk was shaking.
"Say what's missing," said Loom.
"What do you mean?"
"Say what you have left out. A specification is a list of what you have remembered. The faults are in what you haven't."
I looked at the slate for a long time. I didn't know. That was the honest answer, and I gave it.
"Good," said Loom. "That's the beginning of wisdom. Now let us prove the first four."
The heart of it was a small verse. We called it the Budget Verse.
It was the thing that would stand in the Gate's place. A cast would declare its budget, and the Budget Verse would watch it, step by step, and stop it when the budget was spent. It was a loop, like the one in the *Kindling*, and the old *Kindling* loop had been a fencepost away from burning a banner. I wanted this loop to be the kind that *couldn't* run one step too long. I wanted a proof.
"A loop is the dangerous part," said Isaure. She had come to the slate and picked up the second piece of chalk. "Everything else is arithmetic. The Burning Year was a loop that never ended. If we can prove this one *always* ends..."
"And never overspends."
"Yes."
"Then how?" She looked at me, bright and sharp and tired. "I can see how to *test* it. I can't see how to prove something about every possible run."
Loom reached for the slate. "May I?"
She wrote four lines.
*Before: the budget is some whole number B, not less than none.* *Again, while the budget is more than none: take one step; lower the budget by one.* *After: the loop has stopped, and no more than B steps were taken.*
"This is the shape of it. A thing is true *before*. A thing is true *after*. What do we do in the middle?"
Nobody spoke. The stove ticked.
"We find a thing that is true *every time we come to the top of the loop*," said Loom. "Not at the start. Not at the end. Every time. It is called an *invariant*. A fact that the loop never breaks, no matter how many times it goes round." She tapped the slate. "What is true every time we reach the top of the Budget Verse?"
I stared at the slate. And something came up, a slow, clear, quiet certainty, the way the answer to a riddle comes when you stop trying.
"Steps taken plus budget left," I said. "Equals B."
"Say it again."
"*Steps taken* plus *budget remaining* always equals B. Always. Before we start, it's none plus B. Each time round, we take one step, so steps taken goes up by one, and budget goes down by one. The sum doesn't change." I was writing it as I spoke. "And budget never goes below none, because we only go round while it's more than none."
"And when the loop stops?"
"It stops when the budget is none. Then steps taken plus none equals B. So steps taken is B. No more than B." I felt my pulse in my fingertips. "And it *does* stop, because the budget is a whole number, and it goes down by one each time. You can't count down forever. At some point you hit none."
"There," said Hesper Loom, gently. "That is a proof."
There was a silence. Brindle was laughing, a quiet, helpless, astonished noise.
"I didn't think it would be so *short*," said Isaure.
"The proof is short. The *finding* took a lifetime." Loom looked very old, suddenly. "It is the shortest thing in the world, and it is the hardest. If you give a fool a proof, he will say that it was obvious. It is not obvious until it has been done."
We built it up through the day.
The Budget Verse was only the heart. Around it grew a lattice of small claims. *The daily allowance never exceeds the hand's rating. A cast that begins within budget cannot end beyond it. A halted cast leaves the Names as it found them.* Each was written, and checked, and chained to the one before. Each had its own before and after, and its own invariant.
Checker did the grinding.
Iska had written the manual in a hurry, on three sheets of folded paper, in a plate-notation I could read with a squint. Each claim was transcribed into a bronze plate, and the plates were fed into the racks, and the crank turned, and for each step the machine said, with a dry, small *click*, whether it followed from the one before.
*Click.* Yes.
*Click.* Yes.
*Click.* Yes.
At the seventh, it stopped.
A thin, flat, insistent *clack*. The little bell on the spring did not ring. A red pin popped up on the front of the case.
"What's that?" said Brindle.
"It doesn't follow," I said.
"What doesn't?"
I bent over the plate. I traced the step. *If the budget is more than none, take a step.* And then: *Therefore the budget after the step is not less than none.*
"It doesn't follow," I said again, "if the budget is exactly *none* at the start." I felt cold. "The first line says *not less than none*. That's none or more. But the loop only goes round if it's *more* than none. If B is none, the loop never goes round. Fine. But the proof said *B is some whole number*. It never said what happens at B equals none. The machine can't see the step because I skipped it."
"You skipped a case," said Loom.
"I skipped the empty one."
"Everyone does." She looked at me over her spectacles. "It is the case that is least interesting and most dangerous. A budget of none. A cast that is born spent. If the Gate had said *run the first step, then check*, the cast would have taken one step on a budget of none. A very small overrun. And *every* small overrun is a Marrow, given a long enough night."
I fixed it. Three lines. I fed the plate. The machine clicked.
*Click.* Yes.
I could have wept. A man had not caught my mistake. A *machine* had, with no feelings, no pity, no fear, no wish to be kind. It had simply said: *this does not follow*. And I had been grateful.
"That's what Iska meant," I said, quietly. "Checking isn't the lesser craft."
"Iska is a very wise young woman," said Isaure. She'd said it lightly. But when I looked, she was bent over the slate with her face turned away, and I realised something that I'd been too busy to see. She'd been drawing on her own weight all day. A little, as a lamp draws, to keep the demonstration plates warm. Her face had a thin grey sheen of tiredness, and she held the chalk very tightly.
"You should rest."
"I'll rest when we've finished." She wrote another line. "I'd like to add something."
It was nearly evening when she added it.
"Delegation," said Isaure. "The Safe Gate should allow it."
"Allow it?"
"The Contract of Names. What you and I have." She did not look up. "The new Gate has to let one person lend to another. It's the only way a Lowtide family with one trained caster can keep a lamp lit in the next house. Or the harbour. Or a midwife's hearth. A trained hand lends a portion of allowance, to someone she trusts, and the Gate bills it to her. And I'd like it to be *general*, Marek. Not a House privilege. Anyone, to anyone."
"What if the person she lends to lends again?"
"Then it's billed to her again. It's the same weight." She shrugged, with a little weary grace. "It's the simplest rule. The delegate acts under the sponsor's allowance. Whatever the delegate does, the sponsor pays."
I looked at Loom. The old woman had gone quiet. She was staring at the line on the slate with a very odd expression, like a woman listening for a faint sound in another room.
"What?" I said.
"Nothing." She shook her head. "It is probably nothing. Prove it."
I wrote it.
*Six. A hand may lend a part of its allowance to another hand. The lender shall pay for whatever the borrower does with it.*
It was a clean, fair, elegant clause. I checked it against the budget claims. Checker clicked. The little bell rang.
I didn't ask what was missing. I'd asked myself so many times already that I had stopped hearing the question.
By the ninth bell the proof was done.
Thirty-eight steps. A single sheet of paper in Brindle's wobbling hand, with the first claim at the top and the last at the foot, each one chained to the one before, each one stamped by a bronze plate in the racks of Checker. We turned the crank one last time, for the full run. Thirty-eight *clicks*, in a row, as even as a heartbeat.
The bell rang.
It was a small clear note, like a spoon on a glass.
Nobody spoke.
Then Brindle, with his good hand, put down his pen, and said, very quietly, in his warm, plain voice, "We *proved* it."
Isaure laughed. It was a thin, exhausted, delighted thing. She put her face in her hands, and I saw her shoulders shake, and for a moment I did not know if she was laughing or not.
I looked at the slate. At the sheet. At the old woman by the stove, who had not moved.
"There is something I must tell you," said Hesper Loom.
She said it into the silence, in an odd, flat voice. She had taken off her spectacles and was holding them in her lap.
"Tell us what?"
"About the Tarns." Her eyes were on the stove. "I have said I kept one book safe for a very long time. It is a copy. Of a memorandum. Written in CY 283, by a copyist named Edric Tarn, to the Provost of the day. It was withdrawn. The original was burned. I found a copy, forty years ago, in a binding in the Archive, when I was a young lecturer, and I put it in my pocket and told no one." She drew a long, shaky breath. "I have read it perhaps two hundred times."
My heart had begun to hammer.
"Where is it?"
"It is safe. I will not tell you where." She raised her eyes. "Not yet."
"*Professor...*"
"Listen to me, Marek." She had never used my first name. "It concerns a count. That is all I will say. It concerns a number, and what happens when the number reaches its end. And if I give it to you tonight, you will go to the Tally Shelf. You will go tomorrow. You will go at the second bell, with your pen, and you will tell yourself that you are being careful." Her voice was very steady. "And the Shelf will *eat* you."
"I have a right to..."
"You have a Gate to finish. Sixty days, less six. If you go to the Shelf, the Provost will *know*, because he has known every time anyone has ever gone near it for ninety years, and he will find a reason to take your name off the Register, and your delegation with it, and the Gate will die in committee." She leaned forward. "I will give you the memorandum when the vote is taken. Not before. I have waited forty years. I can wait seven more weeks."
I stared at her. I wanted, with every part of me, to say no.
"She's right," said Isaure, very softly.
I turned. She had lowered her hands. Her eyes were red-rimmed, and quite clear.
"I don't like it either," she said. "But she's right. We need the vote. We need the Gate. If we lose the Gate, we lose *all* of it, and whatever's on that Shelf stays there for another ninety years." She held my gaze. "Wait."
Three of them. Three, and Brindle's wan uncertain face. I'd been told for five months that I was the one who was right. It is a strange feeling, to be out-voted by people you love.
"The vote," I said, at last.
"The vote," said Loom.
She put on her spectacles. She picked up a piece of cold toast, and bit it, and said, with her mouth full and her eyes very bright, in a tone I could only call defiant:
"Now let us have another look at the sixth clause. I find I do not like it."