Two periodic labels can identify more states together than either label can distinguish alone. That does not make their joint description an unlimited absolute count. The Chinese remainder theorem explains which integer class is identified and the period after which the entire label pair repeats.

For a robot record model, this is useful arithmetic before assigning physical meaning to multiple cyclic fields. The example below uses exact integer residues for one common count. It does not claim that any particular encoder, timing interface, or multi-sensor assembly implements the assumed relationship.

Define the paired labels

Let x be an unknown integer. Channel A stores its nonnegative remainder modulo eight, and channel B stores its nonnegative remainder modulo eleven. A valid A label lies from zero through seven; a valid B label lies from zero through ten.

Suppose the observed pair is A = five and B = seven. The equations are x congruent to five modulo eight and x congruent to seven modulo eleven.

Eight and eleven are coprime: their greatest common divisor is one. NIST's DLMF states that such a pair of congruences has one solution class modulo the product, eighty-eight. SymPy's official number-theory documentation separately describes residue/modulus inputs and how noncoprime cases can require consistency checks.

Find the class by substitution

The first equation permits x = 5 + 8k for any integer k. Insert it into the second: 5 + 8k must leave remainder seven modulo eleven. Thus 8k is congruent to two modulo eleven.

Seven is the modular inverse of eight modulo eleven because eight times seven is fifty-six, which leaves remainder one. Multiplying gives k congruent to fourteen, equivalently three, modulo eleven.

Therefore x = 5 + 8 times three = twenty-nine is a representative. Direct checks give twenty-nine modulo eight equals five and twenty-nine modulo eleven equals seven.

All solutions are x = 29 + 88j for integer j. Values twenty-nine, 117, and -59 have exactly the same pair of residues. The label pair determines one class, rather than selecting one of these unlimited representatives by itself.

Reconstruct with basis weights too

Build a number that is one modulo eight and zero modulo eleven: thirty-three works because it is three times eleven and leaves remainder one modulo eight.

Build another that is zero modulo eight and one modulo eleven: fifty-six works because it is seven times eight and leaves remainder one modulo eleven.

Combine the observed residues using 5 times 33 plus 7 times 56 = 557. Reducing 557 modulo eighty-eight gives twenty-nine again. The basis coefficients preserve one channel while suppressing the other modulo its own base.

These are independently constructed arithmetic checks. No number-theory library was run, and the calculation is not a claim about decoding a measured robot signal.

Prove the repetition boundary

If two integers produce the same pair, their difference is divisible by eight and by eleven. Because those numbers are coprime, the difference is divisible by eighty-eight. Conversely, adding eighty-eight changes neither remainder.

There are eight times eleven = eighty-eight possible label pairs, and each corresponds to one integer in the range zero through eighty-seven. A separately established count range inside that interval would select a unique representative.

Without such range or continuity information, the pair cannot tell how many complete eighty-eight-count periods have passed. Reconstruction from simultaneous residues and recovering motion between wrapped snapshots are related modular ideas but different questions.

Noncoprime labels need an agreement check

Change the channel moduli to six and ten. Their greatest common divisor is two. Every integer has the same parity whether reduced modulo six or modulo ten, so the two remainder labels must agree modulo two.

For example, x congruent to one modulo six and three modulo ten is consistent. Write x = 1 + 6k, giving 6k congruent to two modulo ten. Dividing the congruence by two yields 3k congruent to one modulo five, so k is congruent to two modulo five.

The result is x = thirteen modulo thirty. The repetition period is the least common multiple of six and ten, thirty, rather than their product sixty. Direct checks give thirteen modulo six equals one and thirteen modulo ten equals three.

In contrast, remainders one modulo six and two modulo ten are inconsistent. The first requires an odd integer and the second an even integer. No integer satisfies both. Returning a number anyway would manufacture a state that does not fit the input equations.

With these noncoprime bases, only thirty of the sixty nominal residue pairs are compatible. That redundancy permits this parity consistency test, but it does not correct arbitrary errors or identify which channel is wrong.

An incorrect residue can produce a distant class

Return to moduli eight and eleven with the original pair (five, seven), representing twenty-nine modulo eighty-eight. Change only the second label from seven to eight.

The new solution is eighty-five modulo eighty-eight: eighty-five leaves remainders five and eight. A one-step label error changed the chosen zero-to-eighty-seven representative by fifty-six counts. Exact modular reconstruction is not automatically a small-error numerical estimator.

For coprime moduli, every in-range pair is consistent, so the theorem alone provides no spare consistency check to flag that change. Additional coding, measurement, or continuity information would be a separate model.

Retain the channel definitions

Swapping the original residue assignments gives seven modulo eight and five modulo eleven, whose representative is seventy-one. Both are valid pairs, but they describe different classes. The modulus attached to each field is part of its meaning.

The same is true of origin and direction conventions. The arithmetic assumes both channels describe the same integer x at the same observation. Unknown offsets, scaling, asynchronous sampling, or lost counts cannot be repaired merely by combining residues.

All examples were independently checked with integer arithmetic. The result is a clear information boundary: exact compatible labels identify an integer class within a defined repetition period, while physical position, unbounded turns, and error recovery need additional evidence.

Sources checked October 24, 2026: NIST DLMF1.2.8, Section27.15: https://dlmf.nist.gov/27.15

SymPy1.14.0, Number Theory, modular congruence routines: https://docs.sympy.org/latest/modules/ntheory.html#sympy.ntheory.modular.solve_congruence

Illustration note: A generic motor or robot-and-laptop image is a concept illustration. It does not depict a dual-residue encoder, measured labels, or validated position reconstruction.