| | @@ -0,0 +1,134 @@ |
| 1 | +# Cyclic Sidon set extensions at small orders |
| 2 | + |
| 3 | +For a prime power $q$, put $n=q^2+q+1$. A Sidon set in $\mathbb Z_n$ |
| 4 | +has distinct ordered differences between distinct points. A perfect |
| 5 | +difference set has each nonzero residue as a difference exactly once. |
| 6 | +At size $q+1$, the Sidon condition implies perfection because |
| 7 | +$q(q+1)=n-1$. The finite cases below concern Conjecture 5.4, attributed |
| 8 | +to Michael Tait in [Eberhard and Manners](https://arxiv.org/html/2107.05744#S5). |
| 9 | + |
| 10 | +## Finite results |
| 11 | + |
| 12 | +The table counts size-$q$ Sidon sets that contain both 0 and 1. A set |
| 13 | +is extendible if one can adjoin a residue to make a perfect difference set. |
| 14 | + |
| 15 | +| $q$ | $n$ | Anchored sets | Extendible | Affine orbits of Sidon sets | |
| 16 | +| ---: | ---: | ---: | ---: | ---: | |
| 17 | +| 2 | 7 | 1 | 1 | 1 | |
| 18 | +| 3 | 13 | 8 | 8 | 2 | |
| 19 | +| 4 | 21 | 60 | 6 | 11 | |
| 20 | +| 5 | 31 | 364 | 40 | 19 | |
| 21 | +| 7 | 57 | 3464 | 72 | 130 | |
| 22 | +| 8 | 73 | 4368 | 56 | 78 | |
| 23 | +| 9 | 91 | 3252 | 96 | 65 | |
| 24 | +| 11 | 133 | 360 | 360 | 4 | |
| 25 | +| 13 | 183 | 480 | 480 | 6 | |
| 26 | + |
| 27 | +For $q=2$, the only anchored set is $\{0,1\}$, and $\{0,1,3\}$ is |
| 28 | +a perfect difference set modulo 7. The remaining rows are verified by |
| 29 | +exhaustive computation. |
| 30 | + |
| 31 | +**Finite theorem (exhaustive computation).** Every 11-element Sidon |
| 32 | +set in $\mathbb Z_{133}$ and every 13-element Sidon set in |
| 33 | +$\mathbb Z_{183}$ lies in a perfect difference set. In each modulus, |
| 34 | +all the size-$q$ Sidon sets arise by deleting one point from an affine |
| 35 | +image of the corresponding explicit Singer set in `verify.py`. |
| 36 | +The census finds 360 and 480 anchored sets, respectively. The verifier |
| 37 | +constructs that many distinct anchored deletions in the two moduli, |
| 38 | +which exhaust the census. Every affine orbit has an anchored member by |
| 39 | +the unit-difference argument below, so this proves the statements for |
| 40 | +arbitrary sets. The $q=13$ log lists all six canonical representatives, |
| 41 | +their weights and a completing point for each. |
| 42 | + |
| 43 | +## Why the search is exhaustive |
| 44 | + |
| 45 | +**Anchoring.** A size-$q$ Sidon set has $q(q-1)$ distinct nonzero |
| 46 | +differences. For every $q$ tested, this exceeds the number |
| 47 | +$n-1-\varphi(n)$ of nonzero nonunits. For the nine moduli |
| 48 | +$7,13,21,31,57,73,91,133,183$, the latter counts are |
| 49 | +$0,0,8,0,20,0,18,24,62$, respectively. Thus some ordered pair $a,b$ |
| 50 | +has $b-a$ a unit. The map $x\mapsto (x-a)/(b-a)$ sends those points |
| 51 | +to $0,1$. All maps $x\mapsto ux+t$ with $u$ a unit are bijections |
| 52 | +and multiply ordered differences by $u$. They preserve the Sidon |
| 53 | +property and extendibility. |
| 54 | + |
| 55 | +**Distance masks.** For $a<b$ in the standard representatives, the |
| 56 | +distance $\min(b-a,n-(b-a))$ represents the pair of residues |
| 57 | +$\{b-a,a-b\}$. Because $n$ is odd, the two residues of each pair |
| 58 | +are distinct. Distinct unordered pairs therefore produce disjoint |
| 59 | +ordered differences exactly when their distances are distinct. |
| 60 | + |
| 61 | +An increasing prefix $P$ has a mask $U$ of its used distances. |
| 62 | +The candidate list consists of the larger points $y$ for which |
| 63 | +$P\cup\{y\}$ is Sidon. Its entry for $y$ stores the mask $E_y$ |
| 64 | +of the distances from $y$ to $P$. The initial list tests this |
| 65 | +condition directly with $P=\{0,1\}$. Upon selecting $x$, the new |
| 66 | +used mask is $U\cup E_x$. For each later candidate $y$, the |
| 67 | +distances in $E_y$ are already distinct and disjoint from $U$. |
| 68 | +It remains to test $E_x\cap E_y=\varnothing$ and to check that |
| 69 | +the distance between $x$ and $y$ belongs to none of |
| 70 | +$U,E_x,E_y$. This gives exactly the new candidate list, with that |
| 71 | +last distance added to each retained $E_y$. Any point removed |
| 72 | +for a collision stays invalid in every larger prefix. If too few |
| 73 | +candidates remain, that prefix cannot reach size $q$. |
| 74 | +The increasing order gives each anchored Sidon set a unique path. |
| 75 | + |
| 76 | +**Affine pruning.** The canonical representative is the lexicographically |
| 77 | +smallest increasing list in an affine orbit. As the orbit contains a set |
| 78 | +with both 0 and 1, its minimum begins with that pair. For a prefix |
| 79 | +that begins with 0 and 1, the only possible smaller images also start |
| 80 | +with that pair. They are exactly the images from ordered unit-difference |
| 81 | +pairs in the prefix, using the normalizing map in the anchoring argument. |
| 82 | +The implementation checks the third point first. A transformed third |
| 83 | +point below the current one certifies a smaller image, while a bigger |
| 84 | +one certifies a bigger image. For a tie it compares the whole image by |
| 85 | +the first bit at which the equal-cardinality point sets differ. |
| 86 | + |
| 87 | +Every increasing prefix $P$ of a canonical full set $S$ must itself |
| 88 | +be canonical. If some affine map $f$ made $f(P)$ lexicographically |
| 89 | +smaller than $P$, the first $|P|$ points of $f(S)$ would be |
| 90 | +lexicographically no larger than $f(P)$ since $f(P)\subseteq f(S)$. |
| 91 | +They would then be smaller than $P$, contrary to minimality of $S$. |
| 92 | +Thus canonical pruning keeps the path to each orbit minimum. At a |
| 93 | +canonical leaf, all anchored images are obtained using the ordered |
| 94 | +unit-difference pairs as above. The code deduplicates these images and |
| 95 | +uses their number as the weight of the orbit. In anchored mode every |
| 96 | +anchored leaf has weight one. |
| 97 | + |
| 98 | +**Extension test.** For each leaf, the search tries every point outside |
| 99 | +the set, including points smaller than the last mark, until it finds a |
| 100 | +completion or exhausts the residues. A point works exactly when all its |
| 101 | +distances to the leaf are distinct and unused. If a leaf is extendible, |
| 102 | +so is its entire orbit. |
| 103 | + |
| 104 | +## Offline reproduction |
| 105 | + |
| 106 | +Run these commands from the repository root with GCC or Clang and Python 3. |
| 107 | +The wider C++ mask uses the `unsigned __int128` extension. |
| 108 | +The size-13 run in anchored mode took about seven minutes on the swarm host. |
| 109 | + |
| 110 | +```sh |
| 111 | +set -e |
| 112 | +c++ -std=c++17 -O3 -Wall -Wextra experiments/tait/search.cpp -o /tmp/erdos-tait |
| 113 | +for q in 3 4 5 7 8 9 11; do /tmp/erdos-tait anchored "$q"; done > /tmp/tait-anchored.log |
| 114 | +for q in 3 4 5 7 8 9 11; do /tmp/erdos-tait canonical "$q"; done > /tmp/tait-canonical-small.log |
| 115 | +/tmp/erdos-tait canonical 13 --list > /tmp/tait-canonical13.log |
| 116 | +/tmp/erdos-tait anchored 13 > /tmp/tait-anchored13.log |
| 117 | +diff -u experiments/tait/anchored.log /tmp/tait-anchored.log |
| 118 | +diff -u experiments/tait/canonical-small.log /tmp/tait-canonical-small.log |
| 119 | +diff -u experiments/tait/canonical13.log /tmp/tait-canonical13.log |
| 120 | +diff -u experiments/tait/anchored13.log /tmp/tait-anchored13.log |
| 121 | +python3 experiments/tait/verify.py > /tmp/tait-verify.log |
| 122 | +diff -u experiments/tait/verify.log /tmp/tait-verify.log |
| 123 | +``` |
| 124 | + |
| 125 | +The two search modes agree on the full anchored census, including at |
| 126 | +$q=13$. The independent |
| 127 | +Python verifier uses literal directed residues and plain combinations to |
| 128 | +recompute the counts for $q=3,4,5,7$. It also tries every possible |
| 129 | +extension of each logged counterexample. For $q=11,13$ it independently |
| 130 | +checks an explicit perfect difference set and counts the distinct anchored |
| 131 | +subsets obtained from all of its affine images by deleting one point. |
| 132 | +For $q=13$ it checks every listed completion directly, expands the six |
| 133 | +orbits independently by trying all affine maps, and compares the union |
| 134 | +with the set of anchored Singer deletions. |