A limit can be crossed before the answer is reached.
The previous Transmission established which changes of representation preserve a value. Its cross multiplication was mathematically exact. A machine must still have room for the products used to make that comparison.
An answer can fit while an intermediate step does not. We will prove when addition and multiplication remain within a finite domain, examine what early division discards, and justify a calculation that returns the correct answer whenever it accepts the work.
The examples are deliberately small. Their limits belong to this teaching model.
I. The Space Available
Let \( M \) be a positive integer and define
\( {U}_{M}=\text{\{0},\text{1},\ldots ,M\text{\}}. \)
These are the values our model can hold. An operation is representable when its exact result belongs to \( {U}_{M}\text{.} \) The proofs use ordinary mathematical integers; a proposed machine calculation must also keep its intermediate results within this domain.
Increasing \( M \) changes which inputs fit. It leaves the obligation to justify every intermediate step intact.
Take nonnegative operands \( a,b\in {U}_{M} \) and a divisor \( \text{1}\le d\le M\text{.} \) Our target is
\( T=\text{⌊}{ab}/{d}\text{⌋}. \)
The floor brackets mean the greatest integer no larger than the enclosed value. They specify integer division without floating-point approximation. Division with remainder gives \( a=qd+r\text{,} \) where \( \text{0}\le r<d \) and \( q=\text{⌊}a/d\text{⌋} \) (Shoup, 2008, pp. 3–4).
Choose \( M=\text{255,} \) \( a=\text{120,} \) \( b=\text{3,} \) and \( d=\text{2.} \) The intended answer is \( \text{180.} \) Every input fits. The answer fits. Multiplying first requires \( \text{360,} \) which does not.
Suppose multiplication wraps instead, retaining the remainder after division by \( \text{256,} \) the number of values in our domain: \( \text{360}=\text{256}+\text{104.} \) Dividing that retained value by two gives \( \text{52.} \)
If this hypothetical calculation sets a resource allocation, the rule has delivered \( \text{52} \) where it specified \( \text{180.} \) Both numbers look admissible. Checking only that the final quantity lies between zero and \( \text{255} \) would miss the change. Bounds on visible quantities do not automatically protect the operations that produce them.
Overflow behavior must therefore be stated. Swift’s ordinary integer arithmetic traps overflow by default; separate operators request wrapping behavior (Swift.org, n.d.). In our checked model, an operation that would exceed the domain is refused. Refusal supplies no replacement numerical answer.
II. Conditions Before Operations
A useful check must be evaluable before the operation it protects.
These checks decide whether the next operation can preserve its exact value in the available space. They do not yet tell us which rearrangement of a larger expression will succeed.
Addition. For \( a,b\in {U}_{M}\text{,} \)
\( a+b\in {U}_{M}\Leftrightarrow a\le M-b. \)
Proof. Nonnegative operands give \( a+b\ge \text{0.} \) The sum fits exactly when \( a+b\le M\text{.} \) Subtracting \( b \) gives \( a\le M-b\text{;} \) conversely, adding \( b \) recovers \( a+b\le M\text{.} \) Both directions hold.
The check itself fits: \( \text{0}\le b\le M \) implies \( \text{0}\le M-b\le M\text{.} \) We calculate the space left after allowing for \( b\text{,} \) then compare it with \( a\text{.} \) We need not form the uncertain sum.
Multiplication. If \( b=\text{0,} \) the product is zero and fits. For \( b>\text{0,} \) the quantity \( \text{⌊}M/b\text{⌋} \) is the largest nonnegative integer that can be multiplied by \( b \) without exceeding \( M\text{.} \) Thus
\( ab\in {U}_{M}\Leftrightarrow a\le \text{⌊}{M}/{b}\text{⌋}. \)
For our example, \( \text{⌊255}/\text{3⌋}=\text{85:} \) at most \( \text{85} \) groups of three fit. Since \( \text{120}>\text{85,} \) the check refuses the multiplication. We now prove that this boundary is exact.
Proof. Divide the limit by \( b\text{:} \)
\( M=sb+e,\text{ 0}\le e<b. \)
Here \( s=\text{⌊}M/b\text{⌋}\text{.} \) If \( a\le s\text{,} \) then \( ab\le sb\le sb+e=M\text{.} \) The product is nonnegative, so it fits.
If \( a>s\text{,} \) integer spacing gives \( a\ge s+\text{1.} \) Hence
\( ab\ge \text{(}s+\text{1)}b=sb+b>sb+e=M. \)
The strict inequality follows from \( e<b\text{.} \) Every accepted product fits; every rejected product exceeds the limit. The condition is both necessary and sufficient.
The check uses division and comparison. Its quotient lies between zero and \( M\text{.} \) The zero case must come first: evaluating \( M/b \) before checking \( b \) would introduce division by zero into the safeguard.
Both checks assume that their operands already belong to \( {U}_{M}\text{.} \) If \( b>M\text{,} \) even \( M-b \) leaves the domain. A theorem cannot validate its own missing hypothesis.
The proof’s products are mathematical expressions, not instructions to evaluate uncertain products on the machine. The executable checks use only operations whose bounds have been established.
The refusal of \( \text{120}\times \text{3} \) is therefore correct. It has identified an oversized intermediate, while leaving open how to obtain the fitting final answer.
III. What Early Division Removes
The tempting repair is to divide first. For \( \text{120}\times \text{3}/\text{2,} \) that works: \( \text{120}/\text{2}=\text{60,} \) followed by \( \text{60}\times \text{3}=\text{180.} \)
But consider
\( \text{⌊}{\text{3}\times \text{3}}/{\text{2}}\text{⌋}=\text{4},\text{ }\text{⌊}{\text{3}}/{\text{2}}\text{⌋}\times \text{3}=\text{3}. \)
Both paths fit within \( {U}_{\text{255}}\text{.} \) Their answers differ.
Dividing three by two gives one complete group and one unit left over: \( q=\text{1},r=\text{1.} \) Dividing first discards that remaining unit. After multiplication by three, it contributes three units, enough for one additional group of two. The correction below counts those additional complete groups.
Write \( a=qd+r\text{,} \) with \( \text{0}\le r<d\text{.} \) Then
\( \text{⌊}{ab}/{d}\text{⌋}=qb+\text{⌊}{rb}/{d}\text{⌋}. \)
Proof. Substitution gives
\( \frac{ab}{d}=\frac{\text{(}qd+r\text{)}b}{d}=qb+\frac{rb}{d}. \)
Let \( t=\text{⌊}rb/d\text{⌋}\text{.} \) The definition of floor gives \( t\le rb/d<t+\text{1.} \) Adding the integer \( qb \) yields
\( qb+t\le \frac{ab}{d}<qb+t+\text{1}. \)
The floor is therefore \( qb+t\text{,} \) proving the identity.
Dividing first and multiplying produces \( qb\text{.} \) It agrees with the target exactly when the correction is zero. Since \( r,b\ge \text{0} \) and \( d>\text{0,} \)
\( \text{⌊}{rb}/{d}\text{⌋}=\text{0}\Leftrightarrow rb<d. \)
Indeed, a nonnegative quantity has floor zero exactly when it is less than one. Dividing \( rb<d \) by positive \( d \) gives that condition; multiplying reverses the argument.
A zero remainder is sufficient, but unnecessary: when \( b=\text{1,} \) every allowed remainder satisfies the condition. In the failed example, \( r=\text{1},b=\text{3,} \) so the discarded contribution is \( \text{⌊3}/\text{2⌋}=\text{1.} \) The difference between four and three has been accounted for.
Change only the multiplier to one, and both paths return one: \( \text{⌊}\text{(3}\times \text{1)}/\text{2⌋}=\text{⌊3}/\text{2⌋}\times \text{1}=\text{1.} \) The remainder is still present, but its contribution never reaches another complete group. Its later use determines whether discarding it changes the answer.
This criterion identifies when the rearrangement preserves the answer. The safety of forming the product \( rb \) remains to be shown.
IV. An Equality Still Needs a Path
There is a useful partial guarantee. If \( T\le M\text{,} \) the identity’s nonnegative terms satisfy
\( \text{0}\le qb\le qb+\text{⌊}{rb}/{d}\text{⌋}=T\le M. \)
The first product fits. The intermediate product \( rb \) may still exceed the limit.
Take \( a=b=\text{254} \) and \( d=\text{255.} \) Here \( q=\text{0},r=\text{254,} \) while
\( \text{254}\times \text{254}=\text{64,516}=\text{255}\times \text{253}+\text{1}. \)
The target is \( \text{253.} \) Evaluating the correction directly still requires \( \text{64,516.} \) The identity is correct; that evaluation cannot be carried out entirely within \( {U}_{\text{255}}\text{.} \)
Could we wrap the product and repair it afterward? Suppose a function \( F\text{(}w,d\text{)} \) receives only the wrapped product \( w \) and divisor \( d\text{,} \) and always recovers the target whenever it fits.
This is a question about retained information. Before choosing an algorithm, we must ask whether its inputs still distinguish cases that require different answers.
Proof of impossibility. Within \( {U}_{\text{255}}\text{,} \) the products \( \text{104}\times \text{1} \) and \( \text{120}\times \text{3} \) both leave the wrapped value \( \text{104.} \) With divisor two, their intended quotients are \( \text{52} \) and \( \text{180.} \) Both fit. Correct reconstruction would require
\( F\text{(104},\text{2)}=\text{52 and }F\text{(104},\text{2)}=\text{180}. \)
A function cannot assign two outputs to the same input. Universal reconstruction from those inputs is impossible.
A procedure could refuse the ambiguous input. It could receive the original operands or other retained information, but that would change the interface. The proof concerns the wrapped value and divisor alone. Their shared representation has erased a distinction the answer still needs.
V. What Cancellation Permits
TX 010 gives us another tool: remove a common factor without changing the rational value.
In the failed divide-first example, the division was inexact. Here we choose a factor that divides both parts exactly. We must still prove that the smaller expression preserves the target and that its remaining operations fit.
Let \( g=\text{gcd}\text{(}a,d\text{)}\text{.} \) Since \( d>\text{0,} \) this greatest common divisor is positive. Write \( a=gu \) and \( d=gv\text{,} \) with \( u\ge \text{0},v>\text{0.} \) Then
\( \frac{ab}{d}=\frac{gub}{gv}=\frac{ub}{v}. \)
Cancelling the common factor preserves the rational value, so taking floors gives the same integer target. The divisions producing \( u,v \) are exact. They discard no remainder.
Since \( g\ge \text{1,} \) we have \( u\le a\le M \) and \( \text{1}\le v\le d\le M\text{,} \) so both reduced operands fit. This includes \( a=\text{0:} \) then \( g=d,u=\text{0},v=\text{1.} \)
Once these operands are available, consider a deliberately limited evaluation. If \( b=\text{0,} \) return zero. Otherwise, require \( u\le \text{⌊}M/b\text{⌋} \) before forming \( p=ub\text{.} \) If the check fails, refuse this path. If it passes, return \( \text{⌊}p/v\text{⌋}\text{.} \)
Correctness. The zero case is exact. Otherwise, the multiplication theorem guarantees \( p\in {U}_{M}\text{.} \) Since \( v\ge \text{1,} \)
\( \text{0}\le \text{⌊}{p}/{v}\text{⌋}\le p\le M. \)
The division fits. Substituting \( p=ub \) into the cancellation equality proves that the returned integer is exactly \( T\text{.} \) Every accepted evaluation from the reduced operands stays within the domain and satisfies the specification.
For \( \text{120}\times \text{3}/\text{2,} \) cancellation gives \( u=\text{60},v=\text{1,} \) allowing the product \( \text{180.} \)
The method remains incomplete. In \( \text{254}\times \text{254}/\text{255,} \) any common divisor of \( \text{254} \) and \( \text{255} \) must divide their difference, one. Cancellation removes nothing. The check refuses the product although the answer \( \text{253} \) fits. This identifies a limit of the method, not a proof that no method can obtain the answer.
Soundness means every returned answer satisfies the specification. Completeness, here, would mean returning an answer for every allowed input whose target fits. We have proved the first and disproved the second for this method. The counterexample marks the method’s limit without weakening the correctness proof.
The first promise lets us rely on returned answers. The second would establish coverage of every fitting case. A method can earn the first promise while failing the second.
Refusal must also remain distinguishable from zero. The allowed input \( a=\text{0} \) has the exact answer zero. Returning that number whenever a check fails would conceal whether a calculation had actually been completed.
VI. What Has Been Established
Return to the three calculations. For \( \text{120}\times \text{3}/\text{2,} \) wrapping gave \( \text{52.} \) The check refuses that direct multiplication, while cancellation reaches the correct answer, \( \text{180.} \) For \( \text{3}\times \text{3}/\text{2,} \) dividing first gives \( \text{3} \) instead of \( \text{4;} \) the remainder explains the missing unit. For \( \text{254}\times \text{254}/\text{255,} \) the answer \( \text{253} \) fits, yet our limited method cannot supply it.
These are different outcomes. A calculation must deliver the specified quantity or communicate that this path has not delivered it. A refusal cannot stand in for zero. It cannot, by itself, establish that the quantity is impossible to calculate.
The proofs concern nonnegative integers in the stated model. They do not establish a particular program’s correctness, supply an implementation of the greatest-common-divisor calculation, or extend automatically to signed arithmetic. Those claims need their own conditions and arguments.
For The Everdark Accord, this is an obligation I bring to the work: a rule must account for the steps by which it becomes a result. Changing an expression requires preserving its meaning. Declining a calculation requires an honest account of what has been declined.
The boundary belongs before the operation.
--The Architect--
References
Shoup, V. (2008). A computational introduction to number theory and algebra (Version 2). https://shoup.net/ntb/ntb-v2.pdf
Swift.org. (n.d.). Advanced operators. In The Swift programming language. Retrieved November 1, 2026, from https://docs.swift.org/latest/documentation/the-swift-programming-language/advancedoperators/