Paper

One Number Per Cell: A Separating-Family Encoding of Superimposed Discrete Curves

Preprint · 2026

Davide Bragetti

Abstract

On a discrete grid several curves may cross and share cells, yet a tracer following one curve must recover, at every shared cell, where ITS OWN curve continues. We ask for a single static number per cell --- no stored lists --- from which each curve reads its next step with no collision. The answer is to read the cell number as a member of a SEPARATING FAMILY: assign curve i the prime p_i and store the product of p_i raised to curve i's local Freeman direction; each curve recovers its direction as the exponent of its own prime, and unique factorisation guarantees that distinct curves never interfere.

We analyse the cost of this prime code and give more compact separating families --- the residue number system (Chinese Remainder Theorem), positional mixed-radix, and bit-packing --- that share the same properties without factorisation; the prime form is space-dominated. The result is sharp: a local, state-blind tracer cannot resolve a tangency (two curves entering a cell alike but leaving differently) by any cell number, so the irreducible resource is a per-curve index, of order log m bits, carried in the tracer, not in the cell (the local-indistinguishability theorem). The construction has a mutable dual: the rotor-router places the same disambiguating resource inside the cell and advances it on each visit. Separating family and rotor-router are the two escapes of the impossibility boundary. Simple curves --- open paths, closed loops, and rho-shapes --- are admissible; only genuine self-intersection is excluded, with a branch-separation (residue-jet) extension outlined for it.

An interactive demonstration runs at https://l3ragio.github.io/one-number-per-cell/ (source: https://github.com/l3ragio/one-number-per-cell).

Keywords digital geometry · chain codes · separating family · superimposed codes · cover-free families · Chinese remainder theorem · residue number system · unique factorisation · rotor-router · discrete curves · one number per cell

Publication details

Type
Preprint, deposited on Zenodo. Not a peer-reviewed journal or conference publication.
This version
9 July 2026 · version 0.4-draft · doi:10.5281/zenodo.21270850
Concept DOI
doi:10.5281/zenodo.21270849 (always resolves to the latest version)
Full text
paper.pdf (0.62 MB), a byte-identical copy of main.pdf in Zenodo record 21270850.
SHA-256 4bbbe255f2b9f4a88042f676dc409408b86efbfdb45ec5b01a9512e01b0214c1
Licence
Creative Commons Attribution 4.0 International (CC BY 4.0)

Cite

Davide Bragetti (2026). One Number Per Cell: A Separating-Family Encoding of Superimposed Discrete Curves. Preprint, Zenodo. https://doi.org/10.5281/zenodo.21270849

@misc{bragetti2026onenumberpercell,
  title = {One Number Per Cell: A Separating-Family Encoding of Superimposed Discrete Curves},
  author = {Bragetti, Davide},
  year = {2026},
  month = jul,
  doi = {10.5281/zenodo.21270849},
  publisher = {Zenodo},
  note = {Preprint}
}

Versions

DateVersionDOIAccess
2026-07-090.4-draft (hosted here)10.5281/zenodo.21270850open