| | @@ -0,0 +1,152 @@ |
| 1 | +# Modular Golomb rulers of order 16 |
| 2 | + |
| 3 | +The construction search found explicit witnesses for 42 of the task's 97 |
| 4 | +moduli. The two positive cases outside Davydov et al.'s published |
| 5 | +order-16 table are **312 and 314**. |
| 6 | + |
| 7 | +| Modulus | A 16-mark ruler | |
| 8 | +| --- | --- | |
| 9 | +| 312 | 0, 4, 10, 11, 39, 128, 144, 159, 191, 210, 212, 215, 224, 237, 274, 282 | |
| 10 | +| 314 | 0, 1, 14, 25, 29, 64, 74, 76, 81, 183, 191, 214, 217, 223, 244, 260 | |
| 11 | + |
| 12 | +Each row is a finite arithmetic certificate. For each listed modulus $v$ |
| 13 | +the verifier computes every residue $a-b\bmod v$ with $a\ne b$. It |
| 14 | +checks that the set of these residues has size $16\cdot15=240$ and excludes |
| 15 | +zero. There are exactly 240 ordered pairs, so each difference is unique. |
| 16 | +This independently checks every witness emitted by the C++ search, which |
| 17 | +works with unordered circular distances. The verifier also checks all |
| 18 | +136 unordered sums, including doubles. |
| 19 | + |
| 20 | +The verifier lists the 44 moduli for which these construction passes |
| 21 | +returned no witness. |
| 22 | + |
| 23 | +## Published cases in the task range |
| 24 | + |
| 25 | +Davydov, Faina, Giulietti, Marcugini and Pambianco give order-16 cyclic |
| 26 | +configurations at $288,307,313,317,318$ and every $320\le v\le354$. |
| 27 | +The search produced explicit witnesses for all 40. Buratti and Stinson |
| 28 | +identify cyclic symmetric configurations with modular Golomb rulers. |
| 29 | +[Davydov et al., Table 6.1](https://arxiv.org/pdf/1312.3837#page=23) |
| 30 | +[Buratti and Stinson, Theorem 1.6](https://arxiv.org/pdf/2007.01908#page=2) |
| 31 | + |
| 32 | +Gordon's Section III gives |
| 33 | +$\operatorname{MGR}(15)=\{255\}\cup\{v:v\ge267\}$. A subset of 15 marks |
| 34 | +in any 16-mark ruler preserves the uniqueness of directed differences. |
| 35 | +Therefore none of $256,\ldots,266$ belongs to $\operatorname{MGR}(16)$. |
| 36 | +This deduction uses Gordon's published exhaustive classification. |
| 37 | +[Modular Golomb Rulers and Almost Difference Sets, Section III](https://arxiv.org/html/2408.16721v3#S3) |
| 38 | + |
| 39 | +## Construction search |
| 40 | + |
| 41 | +For each circular seed modulo $p$, the first pass multiplies the marks by |
| 42 | +every unit modulo $p$, then translates each possible initial mark to 0 |
| 43 | +before taking the representatives in $[0,p)$. Multiplication by a unit |
| 44 | +permutes directed differences and translation preserves them. These are |
| 45 | +all source affine images that have some mark at 0. The pass also uses |
| 46 | +ordinary rulers as integer seeds. It reduces each candidate modulo the |
| 47 | +target $v$ and tests 16-mark subsets. |
| 48 | + |
| 49 | +For two different residues let $d$ be their ordinary positive separation. |
| 50 | +Their two directed differences are $d$ and $v-d$. Accordingly an |
| 51 | +unordered pair contributes the key $\min(d,v-d)$. Equal keys from |
| 52 | +different pairs give a collision. A key $v/2$ also gives a collision |
| 53 | +because the two directions agree. The C++ subset search branches by |
| 54 | +removing one endpoint of a conflicting pair, or one of the endpoints of |
| 55 | +two pairs with the same key. A valid subset must omit at least one of |
| 56 | +these endpoints, so this pruning preserves every valid subset of the |
| 57 | +current candidate. |
| 58 | + |
| 59 | +The repair pass starts from the witnesses from the first pass. After |
| 60 | +recutting and reduction, it allows removals down to 14 retained marks. |
| 61 | +When it reaches a collision-free subset, it enumerates additions by |
| 62 | +increasing target residue, using the same collision test. The 312 witness |
| 63 | +comes from repairing the witness at 323. |
| 64 | + |
| 65 | +The final pass edits one internal gap of a cut by shifting its suffix. |
| 66 | +For source periods within 35 of the target and seeds of at most 19 |
| 67 | +marks, it tries signed shifts between zero and the total period change, |
| 68 | +excluding the endpoints and preserving a positive internal gap. It |
| 69 | +reduces the edited marks modulo the target and runs the same subset test. |
| 70 | +The 314 witness comes from a Bose seed at 288. |
| 71 | + |
| 72 | +The ordinary seeds come from Table 2.2 of Dimitromanolakis's thesis. The |
| 73 | +remaining seeds use Singer, Bose and Ruzsa constructions, including binary |
| 74 | +finite fields for $q=16$. The seed generator checks the differences of |
| 75 | +every seed before passing it to the search. |
| 76 | +[Analysis of the Golomb Ruler and the Sidon Set Problems, Table 2.2](https://www.cs.toronto.edu/~apostol/golomb/main.pdf#page=26) |
| 77 | + |
| 78 | +## Reproduce offline |
| 79 | + |
| 80 | +Run from the repository root with Python 3, NumPy for the existing |
| 81 | +finite-field module and a C++20 compiler. |
| 82 | + |
| 83 | +```sh |
| 84 | +experiments/mgr16/run.sh > /tmp/mgr16-results.log |
| 85 | +diff -u experiments/mgr16/results.log /tmp/mgr16-results.log |
| 86 | +python3 experiments/mgr16/verify.py /tmp/mgr16-results.log |
| 87 | +scripts/check.sh |
| 88 | +``` |
| 89 | + |
| 90 | +All witness certificates were checked by computation. The argument from |
| 91 | +the published order-15 classification and the search-pruning arguments are |
| 92 | +ordinary mathematical proofs. |
| 93 | + |
| 94 | +## Exhaustive search for a restricted prefix range |
| 95 | + |
| 96 | +The exhaustive program explores sorted representatives of affine orbits. |
| 97 | +No canonical third mark lies in the inclusive ranges in |
| 98 | +`prefix-results.log`. Thus the third mark must be below 8 for |
| 99 | +267, 268, 269 and 271, and below 12 for 270. The smaller third marks |
| 100 | +remain unresolved. At 270 the search through third mark 24 finished |
| 101 | +before the time limit interrupted the next branch. The restarted |
| 102 | +search begins at 25 and covers the rest of the range. |
| 103 | + |
| 104 | +The counting bound is $k(k-1)\le v-1$ from the distinct nonzero residues. |
| 105 | +For the tested order and moduli $k(k-1)$ also exceeds the number of |
| 106 | +nonzero nonunits, which the program checks. At least one directed |
| 107 | +difference $b-a$ is therefore a unit. The affine map |
| 108 | +$x\mapsto(b-a)^{-1}(x-a)$ sends that pair to $0,1$. It follows that the |
| 109 | +lexicographically least sorted list under affine maps starts with $0,1$. |
| 110 | +Any sorted prefix of that list is also lexicographically least under |
| 111 | +affine maps. If an image of the prefix were lexicographically earlier, |
| 112 | +the corresponding image of the whole list would have its earliest entries |
| 113 | +at most the sorted image of the prefix and would also be earlier. |
| 114 | + |
| 115 | +Any affine image of a prefix which can improve it must map two existing |
| 116 | +marks to $0,1$. The program checks triples for images whose third mark |
| 117 | +could be smaller than the current third mark. It checks only triples |
| 118 | +involving the newest mark because every earlier triple was already tested. |
| 119 | +When that threshold is 3, a smaller possible third mark would be 2, |
| 120 | +which repeats the difference from 0 to 1. For ties in the third mark |
| 121 | +$t$, the program considers the map defined by each ordered pair $a,b$ |
| 122 | +of unit difference if $a+t(b-a)$ is also present. It compares the sorted |
| 123 | +image to the current prefix. |
| 124 | + |
| 125 | +The candidate pool holds the possible future marks in increasing order |
| 126 | +and the circular distances from each to the prefix. Two prospective |
| 127 | +marks are compatible only if their incident distances to the prefix are |
| 128 | +disjoint and their mutual distance is unused, distinct from their |
| 129 | +incident distances, and non-antipodal. These conditions give the updated |
| 130 | +candidate pool after appending a mark. An extension must form a clique in |
| 131 | +the pairwise compatibility graph, so a proper coloring with fewer colors |
| 132 | +than the remaining number of marks rules it out. The program attempts a |
| 133 | +greedy coloring when the pool is small. |
| 134 | + |
| 135 | +If marks still need to follow a newly appended $x$, all subsequent gaps |
| 136 | +from $x$ around to $0$ have distinct, currently unused circular |
| 137 | +distance keys. The sum of their positive lengths is $v-x$, so the sum |
| 138 | +of the smallest available keys for that many gaps is a lower bound for |
| 139 | +$v-x$. This gives the gap pruning rule. |
| 140 | + |
| 141 | +The independent small-modulus check agreed with brute force on 132 |
| 142 | +combinations of modulus, order and third-mark range. To reproduce a |
| 143 | +logged exhaustion, pass its modulus, order 16 and the two inclusive |
| 144 | +endpoints to the C++ program. A completed exhaustion exits with status 1 and |
| 145 | +prints the visited node count on standard output. Branch progress is |
| 146 | +written to standard error. |
| 147 | + |
| 148 | +```sh |
| 149 | +c++ -std=c++20 -O3 -Wall -Wextra -Werror experiments/mgr16/exhaust.cpp -o /tmp/mgr16-exhaust |
| 150 | +python3 experiments/mgr16/check_exact.py /tmp/mgr16-exhaust |
| 151 | +/tmp/mgr16-exhaust 267 16 8 |
| 152 | +``` |