\documentclass[11pt]{article} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,amsthm,booktabs,hyperref,listings} \hypersetup{colorlinks=true,urlcolor=blue,citecolor=blue} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newcommand{\ML}{M^{\mathrm L}} \title{Local Identifying Codes in the 8-Cube: Unrestricted Bounds and the Antipodal Optimum} \author{Steven Minh Phat Duong\\\small Independent Researcher, Calgary, Alberta, Canada} \date{December 2026} \begin{document} \maketitle \begin{abstract} A local identifying code is a dominating set whose intersections with closed neighbourhoods distinguish adjacent vertices. Let $\ML(n)$ be the minimum size of such a code in the binary $n$-cube. We give a self-contained share-deficit argument excluding 35-word codes in the 8-cube and an explicit 40-word construction, yielding $36\le\ML(8)\le40$. The lower-bound argument classifies the equality cases of a local share estimate and shows that a hypothetical 35-word code would induce a disjoint union of three-vertex paths, contradicting its cardinality. The construction is accompanied by a short exhaustive verifier. The unrestricted arguments do not use SAT certificates. We also prove that the minimum among antipodal codes is exactly 40, using a Walsh second-moment bound and a replayable finite exclusion. The unrestricted optimum remains unknown. This draft is AI-assisted and has not undergone independent human mathematical review; no priority claim is made. \end{abstract} \section{Definition and scope} Write $Q_n$ for the graph on $\{0,1\}^n$ whose edges join words differing in one coordinate. Addition of words is coordinatewise modulo two. Let $e_j$ denote the $j$th unit word, and let $N[v]$ be the closed neighbourhood of $v$. For a code $C\subseteq\{0,1\}^n$, put $I(v)=N[v]\cap C$. Following Herva, Laihonen and Lehtil\"a~\cite{HLL}, $C$ is a local identifying code if $I(v)\ne\varnothing$ for every vertex and $I(u)\ne I(v)$ whenever $u,v$ are adjacent. Separation of all pairs is not required. The cited paper reports $35\le\ML(8)\le48$. We address this one dimension. Our result is the interval $36$--$40$, not an exact determination of $\ML(8)$. The lower bound below is an explicit mathematical argument; the upper bound is an explicit finite witness. Section~\ref{antipodal} separately resolves the antipodal subclass by a computer-assisted proof. \section{A local share estimate} The share upper bound $s(c)\le n-2/3$ is established in Theorem 2.4 of~\cite{HLL}. We give a coordinate-based derivation that also tracks equality and the deficit away from equality, which are needed to exclude 35 words. For each $c\in C$, define its share and deficit by \[ s(c)=\sum_{v\in N[c]}\frac1{|I(v)|},\qquad B_n=n-\frac23,\qquad \delta(c)=B_n-s(c). \] Since every vertex is covered, double counting gives \begin{equation}\label{sum} \sum_{c\in C}s(c)=2^n. \end{equation} Translate a chosen codeword to $c=0$. Put \[ S=\{j:e_j\in C\},\quad p=|S|,\quad E=\{\{j,k\}:j\mathbb E[T]$, impossible if $T\le3$ everywhere. \paragraph{Finite exclusion.} If a putative solution $A$ deletes $k$ pairs from $S$, it can add at most $k-1$ outside $S$. The replay enumerates the deletion sets up to the seed stabilizer (192 actions), marking every labelled set in each orbit. For each retained set $K$ it removes the rows already hit and branches on an unmet row, trying each available pair in that row. Branches are partitioned by the first selected pair in the row; disjoint rows require distinct choices. With one choice left the intersection of the remaining rows gives the exact test. The unpruned-by-overlap search excludes $k=1,\ldots,13$, so every seed image meets $A$ in at most six pairs. Choose a seed image with maximum overlap and apply an inverse isometry to make it $S$. The overlap is 4, 5 or 6 by the moment bound. If another seed image contains all of $K$, none of its pairs outside $S$ may be selected. If it contains all but one of $K$, at most one of its pairs outside $S$ may be selected. In each case a violation would contradict maximality. These two restrictions are invariant under the seed stabilizer. The replay generates all 26,880 seed images by quotient translations and adjacent coordinate swaps, applies these safe restrictions, and exhausts the remaining deletion sets: \begin{center} \begin{tabular}{rrr} \toprule Deleted pairs $k$ & Labelled sets & Orbits exhausted\\ \midrule 14 & 38,760 & 321\\ 15 & 15,504 & 147\\ 16 & 4,845 & 64\\ \bottomrule \end{tabular} \end{center} No improvement is found. Every possible 19-pair solution belongs to one of the excluded cases, which proves the claim. \end{proof} \paragraph{Consequence for unrestricted search.} A code of size at most 39 has at least one antipodal pair with exactly one selected word, by Theorem~\ref{apopt}. Each original row and its antipodal mate are disjoint, since all points of a row lie within a set of diameter at most three. Both rows have to be hit. Deleting any one singly occupied pair from the folded support still leaves every projected row hit: a single chosen word could not have hit both disjoint rows. The folded optimum of 20 now forces at least 21 occupied pairs before deletion. In particular a 39-word code has at most 18 complete antipodal pairs. This narrows the unrestricted search, without changing its numerical bounds. \paragraph{Replay.} Download this version's source package. With Python 3.10 or newer and a C++17 compiler supporting unsigned 128-bit integers (such as Clang or GCC), run the following from the extracted source directory: \begin{lstlisting}[basicstyle=\ttfamily\small] python3 -B anc/run_replay.py \end{lstlisting} The driver extracts the C++ listing in Appendix~\ref{cppreplay} verbatim, checks the witness and Walsh spectrum, and compiles and runs the exclusion in the two required ranges, $1$--$13$ and $14$--$16$. It checks the labelled set and orbit counts at each layer, requires the planted repair control to pass, and fails on any reported improvement. A sample successful run is included as \texttt{anc/replay.log}. The antipodal theorem, unlike the share lower bound, depends on the finite exclusion. This calculation does not exclude non-antipodal codes. \section{Evidence, limitations and availability} The share-deficit proof is independent of the project's computer-assisted lower-bound argument. No SAT solver, local SAT enumeration, or negative-search log is a premise of Theorem~\ref{lb}. The construction requires only a short finite check. These distinctions allow this note to be read without the larger certificate collection. This draft does not establish the exact optimum in $Q_8$, certify novelty against every later publication, or claim any result for $Q_9$. The broader project's $Q_6$, $Q_7$ and $Q_{10}$ claims require separate accounts of their encodings, reductions, certificates and trust assumptions; they are not asserted or used here. A limited literature check did not locate a later matching result, but an exhaustive citation search has not been completed. The witness list, Python verifier and verification record are available under their respective licences in the archived preprint package, \href{https://doi.org/10.5281/zenodo.24335625}{Zenodo 10.5281/zenodo.24335625} (18 November 2026). The word list and the verification listing are also printed here. The complete version-2 replay is included with the source of this deposit: the C++ enumeration is printed in Appendix~\ref{cppreplay}, and the Python driver, witness and checks are in the ancillary files. No access to a private repository is needed. This version adds the antipodal theorem while leaving the unrestricted bounds unchanged. \paragraph{AI-use and review disclosure.} AI systems assisted with the computational search, development and checking of the mathematical argument, and preparation of this text. The present argument has been inspected by AI reviewers, but no independent human mathematical review or peer review is documented. AI review is not described as independent human validation. No institutional affiliation or faculty endorsement is claimed. \appendix \section{Direct verifier}\label{verifier} Save the 40 words in the displayed order, one per line, in \texttt{q8\_k40.txt}. Run the following Python 3 program from the same directory. All arithmetic is exact. \begin{lstlisting}[basicstyle=\ttfamily\small,breaklines=true,frame=single] from pathlib import Path words = Path("q8_k40.txt").read_text().split() assert len(words) == len(set(words)) == 40 assert all(len(w) == 8 and set(w) <= {"0", "1"} for w in words) C = {int(w, 2) for w in words} def N(v): return {v} | {v ^ (1 << i) for i in range(8)} I = {v: N(v) & C for v in range(256)} assert all(I.values()) edges = [(v, v ^ (1 << i)) for v in range(256) for i in range(8) if v < (v ^ (1 << i))] assert len(edges) == 1024 assert all(I[u] != I[v] for u, v in edges) print("PASS: 40 words; 256 vertices; 1024 edges") \end{lstlisting} Do not run Python with \texttt{-O}, which disables assertions. The supplied list has SHA-256 \begin{center}\footnotesize\ttfamily eafaefaa1b8093d18a92c6eb1d2b176247b2d6efd6178d332f8dee366e7ddeb0. \end{center} \section{Complete antipodal enumeration source}\label{cppreplay} The following is the C++17 source used for the enumeration. The original MIT notice is retained in the ancillary licensing file. % Q8-CPP-BEGIN \begin{lstlisting}[basicstyle=\ttfamily\footnotesize,breaklines=true] // SPDX-License-Identifier: MIT // Exact Q8 antipodal seed-repair replay; compile with C++17 and __uint128_t. #include #include #include #include #include #include #include #include #include #include using Word = __uint128_t; using Perm = std::array; using RowSet = std::vector; static void check(bool ok, const char *what) { if (!ok) throw std::runtime_error(what); } static Word bit(int v) { return Word(1) << v; } static int fold(int v) { return std::min(v, v ^ 255); } static int size(Word w) { return __builtin_popcountll(uint64_t(w)) + __builtin_popcountll(uint64_t(w >> 64)); } static bool covers(Word code, const RowSet& rows) { for (Word r : rows) if (!(code & r)) return false; return true; } static int move(int v, const std::array& p) { int w = 0; for (int i = 0; i < 8; ++i) w |= ((v >> i) & 1) << p[i]; return w; } // Separate domination/pair-separation check on all original 256 vertices. static bool direct(Word code) { std::array, 256> signatures; for (int v = 0; v < 256; ++v) { for (int w = 0; w < 256; ++w) if ((code & bit(fold(w))) && __builtin_popcount(v ^ w) <= 1) signatures[v].insert(w); if (signatures[v].empty()) return false; } for (int v = 0; v < 256; ++v) for (int i = 0; i < 8; ++i) if (signatures[v] == signatures[v ^ (1 << i)]) return false; return true; } static RowSet quotient() { std::set unique; auto add = [&](int u, int v) { Word row = 0; for (int w = 0; w < 256; ++w) { bool first = __builtin_popcount(u ^ w) <= 1; bool second = v >= 0 && __builtin_popcount(v ^ w) <= 1; if (first != second) row |= bit(fold(w)); } unique.insert(row); }; for (int u = 0; u < 256; ++u) { add(u, -1); for (int i = 0; i < 8; ++i) if (u < (u ^ (1 << i))) add(u, u ^ (1 << i)); } return {unique.begin(), unique.end()}; } static uint64_t nodes; static std::array conflicts; static bool use_conflicts; // Index of the low set bit; callers only pass nonzero words. static int index(Word w) { const auto l=uint64_t(w); return l ? __builtin_ctzll(l) : 64+__builtin_ctzll(uint64_t(w>>64)); } static bool repair(const RowSet& rows, int budget, Word& answer) { ++nodes; if (rows.empty()) { answer = 0; return true; } if (!budget) return false; if (budget == 1) { Word common = ~Word(0); for (Word r : rows) common &= r; answer = common & -common; return answer != 0; } Word first = rows.front(), packed = 0; int count = 0, width = size(first); for (Word r : rows) { if (!(r & packed)) { if (++count > budget) return false; packed |= r; } int w = size(r); if (!w) return false; if (w < width) { width = w; first = r; } } RowSet next; next.reserve(rows.size()); // Partition by the first chosen vertex in the branching row. // Earlier alternatives are unavailable in each later branch. Word excluded = 0; while (first) { Word pick = first & -first; first ^= pick; next.clear(); const Word blocked=excluded|(use_conflicts ? conflicts[index(pick)] : Word(0)); for (Word r : rows) if (!(r & pick)) next.push_back(r & ~blocked); if (repair(next, budget - 1, answer)) { answer |= pick; return true; } excluded |= pick; } return false; } int main(int argc, char** argv) { check(argc == 2 || argc == 4, "usage: replay seed.txt [lo hi]"); int lo = argc == 4 ? std::stoi(argv[2]) : 9; int hi = argc == 4 ? std::stoi(argv[3]) : 11; check(1 <= lo && lo <= hi && hi <= 20, "bad deletion range"); std::ifstream in(argv[1]); std::string line; std::set full; while (in >> line) { check(line.size() == 8 && line.find_first_not_of("01") == std::string::npos, "bad seed word"); check(full.insert(std::stoi(line, nullptr, 2)).second, "duplicate seed word"); } check(full.size() == 40, "expected 40 words"); std::vector vals; std::array idx; idx.fill(-1); Word seed = 0; for (int v : full) { check(full.count(v ^ 255), "seed not antipodal"); if (v < 128) { idx[v] = int(vals.size()); vals.push_back(v); seed |= bit(v); } } RowSet rows = quotient(); check(rows.size() == 640 && direct(seed) && covers(seed, rows), "bad quotient or seed"); std::array p; std::iota(p.begin(), p.end(), 0); check(idx[4] >= 0, "anchor not in seed"); std::set group; int actions = 0, fixing_anchor = 0; do { for (int b : vals) { int s = fold(move(4, p) ^ b); Perm perm{}; bool valid = true; for (int i = 0; i < 20; ++i) { perm[i] = idx[fold(move(vals[i], p) ^ s)]; if (perm[i] < 0) { valid = false; break; } } if (valid) { ++actions; fixing_anchor += b == 4; check(group.insert(perm).second, "nonfaithful seed action"); } } } while (std::next_permutation(p.begin(), p.end())); check(actions == 192 && fixing_anchor == 48, "unexpected group / anchor sizes"); for (const auto& a : group) for (const auto& b : group) { Perm c{}; for (int i = 0; i < 20; ++i) c[i] = a[b[i]]; check(group.count(c), "group not closed"); } std::array burnside{}; for (const auto& a : group) { std::array poly{}; poly[0] = 1; uint32_t seen = 0; for (int i = 0; i < 20; ++i) if (!(seen & (1u << i))) { int len = 0, j = i; do { ++len; seen |= 1u << j; j = a[j]; } while (j != i); for (int k = 20; k >= len; --k) poly[k] += poly[k - len]; } for (int k = 0; k <= 20; ++k) burnside[k] += poly[k]; } const std::array expected{1,3,9,22,64,147,321,567,891,1133,1252,1133,891,567,321,147,64,22,9,3,1}; for (int k = 0; k <= 20; ++k) check(burnside[k] == actions * expected[k], "Burnside discrepancy"); std::cout << "group=" << actions << " anchor=4 fixing=" << fixing_anchor << std::endl; auto misses = [&](Word kept) { RowSet out; for (Word r : rows) if (!(r & kept)) out.push_back(r & ~seed); std::sort(out.begin(), out.end(), [](Word a, Word b) { return size(a) == size(b) ? a < b : size(a) < size(b); }); out.erase(std::unique(out.begin(), out.end()), out.end()); return out; }; Word plant = 0, picked = 0; const std::array planted{0,1,2,6,4,7,3,5}; for (int v : vals) plant |= bit(fold(move(v, planted) ^ 5)); check(size(plant & seed) == 16 && direct(plant), "bad planted witness"); check(repair(misses(plant & seed), 4, picked) && size((plant & seed) | picked) == 20 && direct((plant & seed) | picked), "planted four-pair repair failed"); std::cout << "positive repair control passed" << std::endl; // For a maximum-overlap seed image, any image containing all the // retained pairs forbids its outsider pairs. Generate the full orbit // using quotient translations and adjacent coordinate swaps. const bool maximum_overlap = lo>=14 && hi<=16; std::vector images; if(maximum_overlap) { images.push_back(seed); std::set seen{seed}; for(size_t i=0;i>a)^(u>>(a+1)))&1)u^=3< seen(limit, false); int reps = 0, subsets = 0, marked = 0; nodes = 0; int minimum_allowed=128, maximum_allowed=0; for (uint32_t d = 1; d < limit; ++d) { if (__builtin_popcount(d) != k) continue; ++subsets; if (seen[d]) continue; ++reps; for (const auto& a : group) { uint32_t image = 0; for (int i = 0; i < 20; ++i) if (d & (1u << i)) image |= 1u << a[i]; if (!seen[image]) { seen[image] = true; ++marked; } } check(seen[d], "identity missing"); Word kept = seed; for (int i = 0; i < 20; ++i) if (d & (1u << i)) kept ^= bit(vals[i]); auto pending=misses(kept); if(maximum_overlap) { Word forbidden=seed; for(Word image:images) if((image&kept)==kept)forbidden|=image; int allowed=128-size(forbidden); minimum_allowed=std::min(minimum_allowed,allowed); maximum_allowed=std::max(maximum_allowed,allowed); for(Word& row:pending)row&=~forbidden; // If another image contains all but one retained pair, // at most one selected outsider can belong to that image. conflicts.fill(0); for(Word image:images) if(size(image&kept)==20-k-1) { const Word outside=image&~forbidden; for(Word remaining=outside;remaining;remaining&=remaining-1) conflicts[index(remaining)]|=outside; } use_conflicts=true; } if (repair(pending, k - 1, picked)) { check(size(kept | picked) <= 19 && direct(kept | picked), "bad improving witness"); std::cout << "improving repair:"; for (int v = 0; v < 128; ++v) if ((kept | picked) & bit(v)) std::cout << ' ' << v; std::cout << std::endl; return 2; } } int choose = 1; for (int j = 1; j <= k; ++j) choose = choose * (21 - j) / j; check(reps == expected[k] && marked == subsets && subsets == choose, "bad orbit coverage"); std::cout << "k=" << k << " subsets=" << subsets << " orbits=" << reps << " nodes=" << nodes << " no improvement"; if(maximum_overlap)std::cout<<" (maximum-overlap case) outsider-range="<