题目
设 s_1, …, s_N 为一个序列,每个 s_i ∈ {−1, +1},N = 100(problem.toml 中的 [params] length)。其非周期自相关为
C_k = Σ_{i=1}^{N−k} s_i s_{i+k}, k = 1, …, N − 1,
其能量为 E = Σ_{k=1}^{N−1} C_k²。优值因子为 F = N² / (2E)。
找出能量尽可能小的长度为 100 的序列。得分为 E。
将序列反转、把每个符号取反、将每隔一位的符号翻转(s_i → (−1)^i s_i),都不改变 E。这三种操作共生成一个含 8 个操作的群,因此每个序列最多有 7 个能量相同的平凡副本。
对 N = 100,每个序列都满足 E ≡ 2 (mod 4),因为由 C_k ≡ N − k (mod 2) 可得 C_k² ≡ (N − k)² (mod 4)。因此,低于基线的下一个可能取值是 574。
为什么重要
自相关 C_k 较小的二元序列是雷达和声呐脉冲压缩中的二相码(binary phase code):C_k 是压缩后脉冲的旁瓣,E 衡量旁瓣的总功率。Golay(1977,1982)通过优值因子研究了这一问题,并猜想随着 N 增大,最优优值因子趋于约 12.32。在统计物理中,同一能量对应 Bernasconi 模型(Bernasconi,1987)。
最优能量只在 N ≤ 66 时得到证明,方法是穷举式的分支定界搜索(Packebusch 和 Mertens,2016)。超出这一范围,只有启发式搜索得到的已知最好值,这些值记录在公开表格中:Knauer 的优值因子纪录;Bošković、Brglez 和 Brest 的求解器存档;以及 QOBLIB 基准库中 LABS 问题类的已知最好值表(Koch 等,2025)。LABS 是经典求解器和 QAOA 等量子优化方法的一个标准困难实例族(Shaydulin 等,2024)。
对 N = 100,已知最好的能量为 578,优值因子为 8.6505,约为猜想渐近值的 70%。E ≤ 574 的序列将是这些表格中 N = 100 的新已知最好值。
Few Shots 上的推进
从预设基线开始,每一行是一次经验证器复算的有效突破
- #0578预设基线
- #1?等待挑战者
证书格式
- 文件名为
certificate.json,形如 {"sequence": "++-+…"},不含其他键。 sequence 是恰好由 100 个字符组成的 JSON 字符串,每个字符为 +(表示 +1)或 -(表示 −1,即 ASCII 连字符减号)。字符串中的第 i 个位置是 s_i。- 验证器用精确的整数运算计算每个 C_k 和 E。
- 得分为 E,始终是整数,例如
"578"。 - 文件为 UTF-8 编码的 JSON,大小不超过 64 KiB,嵌套不超过 8 层,不含重复键。
- 规范形式:在序列经反转、取反和交替变号得到的 8 个像中,取字典序最小的字符串(
+ 排在 - 之前)。canonical_hash 是规范 JSON 的 sha256,因此同一序列的各个平凡副本哈希相同。
基线
E = 578(F = 8.6505)。该序列是 Knauer 优值因子纪录表(2004 年 10 月版)中长度为 100 的条目,表中将其标注为 Knauer 本人的结果,且未被证明为最优。QOBLIB 将 578 列为 N = 100 的已知最好值(实例 labs100),并以 labs100.bst.sol 提供同一序列;其游程长度为 6 2 5 5 2 1 2 2 1 2 10 3 1 1 2 2 4 1 1 2 2 4 1 2 1 1 1 1 1 1 1 1 2 3 2 3 2 1 1 1 2 1 1 1 2 2 1 1 1 1。
baseline/certificate.json 是将该解文件转换为证书格式的结果(1 → +,0 → -);验证器重新算得 E = 578。复现方法:
python3 problems/p006-labs-100/verify/verify.py problems/p006-labs-100/baseline
来源:QOBLIB,LABS 已知最好值;QOBLIB,labs100.bst.sol;Knauer,优值因子纪录(存档副本);T. Packebusch、S. Mertens,arXiv:1512.02475;B. Bošković、F. Brglez、J. Brest,arXiv:1406.5301;T. Koch 等,arXiv:2504.03832;R. Shaydulin 等,arXiv:2308.02342。
Problem
Let s_1, …, s_N be a sequence with every s_i ∈ {−1, +1}, and N = 100 ([params] length in problem.toml). Its aperiodic autocorrelations are
C_k = Σ_{i=1}^{N−k} s_i s_{i+k}, k = 1, …, N − 1,
and its energy is E = Σ_{k=1}^{N−1} C_k². The merit factor is F = N² / (2E).
Find a sequence of length 100 with energy as small as possible. The score is E.
Reversing the sequence, negating every sign, and flipping every second sign (s_i → (−1)^i s_i) do not change E. Together they generate a group of 8 operations, so every sequence has up to 7 trivial copies with the same energy.
For N = 100 every sequence has E ≡ 2 (mod 4), because C_k ≡ N − k (mod 2) gives C_k² ≡ (N − k)² (mod 4). The next possible value below the baseline is therefore 574.
Why it matters
A binary sequence with small autocorrelations C_k is a binary phase code for pulse compression in radar and sonar: the C_k are the sidelobes of the compressed pulse, and E measures their total power. Golay (1977, 1982) studied the problem through the merit factor and conjectured that the best merit factor tends to about 12.32 as N grows. In statistical physics the same energy is the Bernasconi model (Bernasconi, 1987).
Optimal energies are proven only up to N = 66, by exhaustive branch-and-bound search (Packebusch and Mertens, 2016). Beyond that only best known values from heuristic searches exist, and they are tracked in public tables: the merit factor records of Knauer, the solver archive of Bošković, Brglez and Brest, and the best-known-value table of the LABS problem class in the QOBLIB benchmark library (Koch et al., 2025). LABS is a standard hard instance family for classical solvers and for quantum optimisation methods such as QAOA (Shaydulin et al., 2024).
For N = 100 the best known energy is 578, merit factor 8.6505, about 70% of the conjectured asymptotic value. A sequence with E ≤ 574 would be a new best known value for N = 100 in these tables.
Progress on Few Shots
From the preset baseline, one row per valid breakthrough recomputed by the verifier
- #0578Preset baseline
- #1?Awaiting a challenger
Certificate
- File name
certificate.json, shaped like {"sequence": "++-+…"}, with no other keys. sequence is a JSON string of exactly 100 characters, each + (meaning +1) or - (meaning −1, ASCII hyphen-minus). Position i in the string is s_i.- The verifier computes every C_k and E in exact integer arithmetic.
- The score is E, always an integer, for example
"578". - The file is UTF-8 JSON, at most 64 KiB, nested at most 8 levels, with no duplicate keys.
- Canonical form: the lexicographically smallest string (with
+ before -) among the 8 images of the sequence under reversal, negation and alternation. canonical_hash is the sha256 of the canonical JSON, so the trivial copies of one sequence hash the same.
Baseline
E = 578 (F = 8.6505). The sequence is the length-100 entry in Knauer's table of merit factor records (version of October 2004), where it is marked as Knauer's own result and as not proven optimal. QOBLIB lists 578 as the best known value for N = 100 (instance labs100) and ships the same sequence as labs100.bst.sol; its run lengths are 6 2 5 5 2 1 2 2 1 2 10 3 1 1 2 2 4 1 1 2 2 4 1 2 1 1 1 1 1 1 1 1 2 3 2 3 2 1 1 1 2 1 1 1 2 2 1 1 1 1.
baseline/certificate.json is that solution file converted to the certificate format (1 → +, 0 → -); the verifier recomputes E = 578. To reproduce:
python3 problems/p006-labs-100/verify/verify.py problems/p006-labs-100/baseline
Sources: QOBLIB, LABS best known values; QOBLIB, labs100.bst.sol; Knauer, merit factor records (archived copy); T. Packebusch, S. Mertens, arXiv:1512.02475; B. Bošković, F. Brglez, J. Brest, arXiv:1406.5301; T. Koch et al., arXiv:2504.03832; R. Shaydulin et al., arXiv:2308.02342.