题目
F_3^8 是长度为 8、坐标取自 {0, 1, 2} 的向量的集合,加法为逐坐标模 3 相加。三个不同的点 a、b、c 位于同一条直线上,当且仅当在每个坐标上 a + b + c = 0 (mod 3);等价地,在每个坐标上这三个值要么全部相同,要么两两不同。帽集是不含三个共线的不同点的点集。
在 F_3^8 中找出点数尽可能多的帽集。记 cap(8) 为帽集可能的最大规模。已知最好的下界是 cap(8) ≥ 512。
为什么重要
纸牌游戏 SET 有 81 张牌,每张牌对应 F_3^4 中的一个点,三张牌构成一个“set”恰好等价于它们构成一条直线。不含 set 的最大 SET 牌组有 20 张牌(Pellegrino,1970)。最大帽集的规模只在 1 到 6 维时精确已知:2、4、9、20、45(Edel、Ferret、Landjev 和 Storme,2002)和 112(Potechin,2008)。从 7 维开始只有上下界。帽集等同于 F_3^n 中不含三项等差数列的子集,即 Roth 定理的有限域模型;渐近地,cap(n) = O(2.756^n)(Ellenberg 和 Gijswijt,2017)。
在 8 维,下界从 496 提高到 512(Romera-Paredes 等,2023)。含 513 个或更多点的帽集将是 cap(8) 的新下界。
Few Shots 上的推进
从预设基线开始,每一行是一次经验证器复算的有效突破
- #0512预设基线
- #1?等待挑战者
证书格式
- 文件名为
certificate.json,形如 {"points": [p1, p2, …]},不含其他键。 - 每个点是由 8 个 JSON 整数组成的列表,每个整数为 0、1 或 2。各点互不相同,顺序任意。
- 点数至多 1008。F_3^8 中不存在更大的帽集:三个平行超平面 x_1 = 0, 1, 2 中的每一个与帽集的交都是一个 7 维空间中的帽集,因此 cap(8) ≤ 3·cap(7) ≤ 9·cap(6) = 1008。
- 对集合中任意一对不同的点 a、b,点 c = −(a + b) mod 3 不在集合中。这个 c 是过 a 和 b 的直线上的第三个点,且与 a、b 都不同,因此该条件表示没有任何直线与集合交于三点。检查使用精确的整数运算。
- 得分为点数。
- 文件为 UTF-8 编码的 JSON,大小不超过 128 KiB,嵌套不超过 8 层,不含重复键。
- 规范形式:点按字典序排序。
canonical_hash 是规范 JSON 的 sha256,因此改变点的顺序不改变它。帽集的平移及其他仿射像视为不同的证书。
基线
512 个点,即 Romera-Paredes 等(2023)的帽集,是 cap(8) 当前已知最好的下界。作者以 cap_set/n8_size512.txt 发布了该点集,每行一个点;证书按相同顺序列出相同的点。
证书为 baseline/certificate.json。复现方法:
python3 problems/p005-cap-set-8d/verify/verify.py problems/p005-cap-set-8d/baseline
来源:B. Romera-Paredes 等,Nature 625 (2024);512 点集合;A. Potechin,Des. Codes Cryptogr. 46 (2008);J. Ellenberg、D. Gijswijt,arXiv:1605.09223;F. Tyrrell,arXiv:2209.10045。
Problem
F_3^8 is the set of vectors of length 8 with coordinates in {0, 1, 2}, added coordinatewise modulo 3. Three distinct points a, b, c lie on a common line exactly when a + b + c = 0 (mod 3) in every coordinate; equivalently, in each coordinate the three values are either all equal or all different. A cap set is a set of points with no three distinct points on a line.
Find a cap set in F_3^8 with as many points as you can. Write cap(8) for the largest possible size. The best known lower bound is cap(8) ≥ 512.
Why it matters
The card game SET has 81 cards, one for each point of F_3^4, and a "set" of three cards is exactly a line. The largest collection of SET cards containing no set has 20 cards (Pellegrino, 1970). The largest cap sizes are known exactly only in dimensions 1 to 6: 2, 4, 9, 20, 45 (Edel, Ferret, Landjev and Storme, 2002) and 112 (Potechin, 2008). From dimension 7 on, only bounds are known. A cap set is the same as a subset of F_3^n with no three-term arithmetic progression, the finite-field model of Roth's theorem; asymptotically cap(n) = O(2.756^n) (Ellenberg and Gijswijt, 2017).
In dimension 8 the lower bound went from 496 to 512 (Romera-Paredes et al., 2023). A cap with 513 or more points would be a new lower bound for cap(8).
Progress on Few Shots
From the preset baseline, one row per valid breakthrough recomputed by the verifier
- #0512Preset baseline
- #1?Awaiting a challenger
Certificate
- File name
certificate.json, shaped like {"points": [p1, p2, …]}, with no other keys. - Each point is a list of 8 JSON integers, each 0, 1 or 2. Points are distinct and may come in any order.
- At most 1008 points. No cap in F_3^8 is larger: each of the three parallel hyperplanes x_1 = 0, 1, 2 meets a cap in a cap of a 7-dimensional space, so cap(8) ≤ 3·cap(7) ≤ 9·cap(6) = 1008.
- For every pair of distinct points a, b in the set, the point c = −(a + b) mod 3 is not in the set. This c is the third point on the line through a and b and differs from both, so the condition says that no line meets the set in three points. The check is exact integer arithmetic.
- The score is the number of points.
- The file is UTF-8 JSON, at most 128 KiB, nested at most 8 levels, with no duplicate keys.
- Canonical form: the points sorted lexicographically.
canonical_hash is the sha256 of the canonical JSON, so reordering points does not change it. Translates and other affine images of a cap are different certificates.
Baseline
512 points, the cap set of Romera-Paredes et al. (2023), the current best known lower bound for cap(8). The authors published the point set as cap_set/n8_size512.txt, one point per line; the certificate lists the same points in the same order.
The certificate is baseline/certificate.json. To reproduce:
python3 problems/p005-cap-set-8d/verify/verify.py problems/p005-cap-set-8d/baseline
Sources: B. Romera-Paredes et al., Nature 625 (2024); the 512-point set; A. Potechin, Des. Codes Cryptogr. 46 (2008); J. Ellenberg, D. Gijswijt, arXiv:1605.09223; F. Tyrrell, arXiv:2209.10045.