Residue readers: the finite places

A reader that sees an integer only through its residues modulo a few coprime moduli: which maps it computes channel by channel, the operations no channel computes alone (sign, comparison and overflow), and the least extra structure that restores each; then the logic and the gates such a ring carries, and words held in a product of fields.