Published September 28, 2026 | Version v1

Meeting the Condition That the Spheres Fill Space Exactly Does Not Mean the Code Exists ── at length 90 the sphere count also fits, 1+90+4005=4096=2^12, but counting with two positions fixed gives 88/3=29.333333, not an integer ── counted globally it comes out whole, so the number condition alone cannot tell ── [Paper 597]

Authors/Creators

Description

Among error-correcting codes there are "perfect codes", in which every word lies near exactly one codeword. Their number condition is that the points of the spheres around the codewords add up to exactly the number of words. What this paper shows is that this number condition is only necessary for a perfect code to exist: at length 90 the condition holds but there is no code, and this is seen not by a global count but only by a local count with two positions fixed. No new theorem or law is claimed.

Scope of this paper (scope note): No new theorem or law is claimed──the Hamming codes, the Golay code, the sphere-counting bound (Hamming bound), and the counting argument that no perfect code of length 90 exists are all standard. Only binary codes are treated. The classification of perfect codes is not proved──that there are no binary perfect codes other than Hamming codes, the Golay code and trivial ones is cited, not proved. The search is limited──lengths meeting the number condition were sought up to 20000 and up to 8 errors corrected. Decoding procedures are not treated. Relation to earlier papers: Paper 315 showed that which dimension is special depends on the question, and stated in its scope note: "coding theory is not entered; the correspondence between sphere packing and error-correcting codes is not treated"──this paper takes that seat and counts how spheres pack in the space of words. Paper 281 showed that the quantum Hamming bound holds with equality at length 5, that is, that a quantum perfect code exists──this paper looks at the classical side, at a case where the numbers for equality fit and yet no code exists. Paper 163 showed that "a good code exists" and "here is a good code" are different sentences──this paper adds that "the numbers fit" and "it exists" are different sentences too. Paper 300 wrote that numerical agreement alone is not taken as sharing a root──the number condition here likewise does not guarantee existence by agreement alone; it is a caution of the same shape. What is added is checking exhaustively that the Hamming and Golay codes fill the space of words exactly, searching for lengths that meet the number condition, setting side by side that at length 90 the global count divides while the local count does not, and placing the separator on global versus local counting.

First, the Hamming code is perfect──at length 7 the radius-one spheres (8 points) around its 16 codewords cover the 128 words exactly once each: every one of the 128 words has exactly 1 codeword within distance 1 (Section 2).

Second, the Golay code is perfect too──at length 23 it has 4096 codewords of minimum weight 7; radius-three spheres have 2048 points and fill 4096x2048=2^23 exactly (Section 3).

Third, few lengths meet the number condition──searching lengths up to 20000 and up to 8 errors corrected, apart from Hamming codes and trivial repetition codes only length 23 (three errors) and length 90 (two errors) appear (Section 4).

Fourth, and this is the core. At length 90 the numbers fit, 1+90+4005=4096=2^12, yet there is no code──the 88 weight-three words containing two given positions would have to be covered three at a time by weight-five codewords, and 88/3=29.333333 is not an integer (Section 4).

Fifth, a global count shows no contradiction──the 117480 weight-three words covered ten at a time by weight-five codewords need 11748 of them, a whole number. For the Golay code the local count also divides, 20/4=5, and counting gives 5 (Section 4).

Sixth, the separator is whether one counts globally or locally with positions fixed──that the global numbers fit does not guarantee that the local numbers fit (Section 5).

Among error-correcting codes there are perfect codes, in which every word lies near exactly one codeword; their number condition is that the points of the spheres divide the whole exactly. The Hamming and Golay codes meet the condition and exist──the length-7 Hamming code covers the 128 words exactly once with 16 spheres of 8 points, and the length-23 Golay code fills 2^23 with 4096 spheres of 2048 points; for both, the local count with positions fixed also divides. At length 90 the number condition holds, yet there is no code──1+90+4005=4096=2^12 fits, but the 88 weight-three words containing two given positions would have to be covered three at a time by weight-five codewords, and 88/3=29.333333 is not whole. Counted globally, 117480/10=11748 is whole and shows no contradiction. The separator is whether one counts globally or locally with positions fixed──that the global numbers fit guarantees neither that the local numbers fit nor that the code exists. Placed among the earlier papers──this takes the seat for sphere packing and codes that Paper 315 left in its scope note. Beside the quantum perfect code of Paper 281 and the distinction between "exists" and "here it is" in Paper 163, it shows the distinction between "the numbers fit" and "it exists". It is a caution of the same shape as Paper 300's refusal to take numerical agreement alone as sharing a root. To be honest──the classification of binary perfect codes is cited, not proved; the search stopped at length 20000 and 8 errors; decoding is not treated.

On the making of this work: The ideas and content of this work stem from the author's own considerations. Assistance from an AI (a large language model) was used for structuring, English translation, and checking the algebra. Any remaining errors or misinterpretations are solely the author's. Feedback and corrections are sincerely appreciated.

Keywords: perfect code, Hamming bound, error-correcting code, Golay code, sphere packing.

-----

誤りを直す符号には、どの語もちょうど一つの符号語の近くにある「完全符号」がある。その数の条件は、符号語のまわりの球の点の数を足すと、ちょうど全体の語の数になることである。本稿が示すのは、この数の条件は完全符号が在るための必要条件にすぎず、長さ 90 では条件が成り立つのに符号は無く、それは全体の数え上げではなく、二つの位置を固定した局所の数え上げで初めて分かることである。新しい定理も法則も主張しない。

本稿の射程(射程注記):新しい定理も法則も主張しない──ハミング符号、ゴレイ符号、球の数による上限(ハミング限界)、長さ 90 の完全符号が無いことの数え上げは、すべて標準的である。二元の符号に限る。完全符号の分類を証明しない──ハミング符号・ゴレイ符号・自明なもの以外に二元の完全符号が無いことは、引くだけで証明しない。探索の範囲を限る──数の条件を満たす長さを探したのは、長さ 20000 まで・直す誤りの数 8 までである。復号の手順は扱わない。既刊との関係:論文315 は、どの次元が特別かは問いごとに違うことを示し、射程注記で「符号理論に立ち入らない──球充填と誤り訂正符号の対応は扱わない」とした──本稿はその席に座り、語の空間での球の詰め方を数える。論文281 は、量子のハミング限界が長さ 5 で等号になる、つまり量子の完全符号があることを示した──本稿は古典の側で、等号になる数が合っても符号が無い例を見る。論文163 は、「良い符号が在る」と「これが良い符号だ」は別の文だと示した──本稿は、「数が合う」と「在る」もまた別の文であることを足す。論文300 は、数値の一致だけでは同根と見なさないと書いた──本稿の数の条件も、一致だけでは存在を保証しない。同じ型の注意である。加えたのは、ハミング符号とゴレイ符号が語の空間をちょうど埋めることを全数で確かめたこと、数の条件を満たす長さを探したこと、長さ 90 で全体の数え上げは割り切れ、局所の数え上げが割り切れないことを並べたこと、分離子を「全体か局所か」に置いたことである。

第一に、ハミング符号は完全である──長さ 7 で 16 個の符号語のまわりの半径 1 の球(8 点)が、128 語をちょうど一度ずつ覆う。128 語すべてで、距離 1 以内の符号語はちょうど 1 個である(第2節)。

第二に、ゴレイ符号も完全である──長さ 23 で符号語は 4096 個、最小の重さは 7、半径 3 の球は 2048 点で、4096x2048=2^23 をちょうど埋める(第3節)。

第三に、数の条件を満たす長さは少ない──長さ 20000 まで・直す誤りの数 8 までで探すと、ハミング符号と自明な反復符号を除けば、長さ 23(誤り 3)と長さ 90(誤り 2)の二つだけである(第4節)。

第四に、これが本稿の芯である。長さ 90 では 1+90+4005=4096=2^12 と数が合うのに、符号は無い──二つの位置を含む重さ 3 の語 88 個を、重さ 5 の符号語が 3 個ずつ覆わなければならず、88/3=29.333333 で割り切れない(第4節)。

第五に、全体で数えると、矛盾は見えない──重さ 3 の語 117480 個を重さ 5 の符号語が 10 個ずつ覆えば 11748 個で、割り切れる。ゴレイ符号では局所の数え上げも 20/4=5 で割り切れ、実際に数えても 5 個である(第4節)。

第六に、分離子は、数え上げを全体でするか、位置を固定して局所でするかである──全体の数が合うことは、局所の数が合うことを保証しない(第5節)。

誤りを直す符号には、どの語もちょうど一つの符号語の近くにある完全符号がある。その数の条件は、符号語のまわりの球の点の数がちょうど全体を割り切ることである。ハミング符号とゴレイ符号は、その条件を満たし、実際に在る──長さ 7 のハミング符号は 16 個の球 8 点ずつで 128 語をちょうど一度ずつ覆い、長さ 23 のゴレイ符号は 4096 個の球 2048 点ずつで 2^23 を埋める。どちらも、位置を固定した局所の数え上げでも割り切れる。長さ 90 では数の条件が成り立つのに、符号は無い──1+90+4005=4096=2^12 と数は合うが、二つの位置を含む重さ 3 の語 88 個を重さ 5 の符号語が 3 個ずつ覆うことになり、88/3=29.333333 で割り切れない。全体で数えれば 117480/10=11748 で割り切れて、矛盾は見えない。分離子は、数え上げを全体でするか、位置を固定して局所でするかである──全体の数が合うことは、局所の数が合うことも、符号が在ることも保証しない。既刊との位置──論文315 が射程注記で空けていた球充填と符号の席に座った。論文281 の量子の完全符号、論文163 の「在る」と「これだ」の区別の隣で、「数が合う」と「在る」の区別を示した。論文300 が数値の一致だけでは同根と見なさないと書いたのと、同じ型の注意である。正直に言えば──二元の完全符号の分類は証明せず引くだけで、探索は長さ 20000 まで、直す誤りの数 8 までに限った。復号の手順も扱っていない。

作成にあたって:本稿の着想と内容は、著者自身の考察に基づくものです。文章の構成整理や英訳、数式の確認には AI(大規模言語モデル)の助力を得ました。最終的な内容の解釈や誤りがあれば、それらはすべて著者の責に帰します。お気づきの点があれば、ご教示いただければ幸いです。

キーワード:完全符号、ハミング限界、誤り訂正符号、ゴレイ符号、球の詰め込み。

Files

yamagishi_597_the_numbers_fit_but_the_code_does_not_exist_20260928_en.pdf

Additional details

Additional titles

Translated title (Japanese)
球がぴったり詰まる数の条件を満たしても、その符号は在るとは限らない ── 長さ 90 でも 1+90+4005=4096=2^12 と球の数は合うが、二つの位置を固定して数えると 88/3=29.333333 で割り切れない ── 全体で数えれば割り切れるので、数の条件だけでは見分けられない ── [論文597]