The Covering Radius of the Reed-Muller Code RM(5,9) Is 32
Kirill Khoruzhii
v1 2026-11-08
Abstract. We prove that every Boolean function on nine variables differs from a polynomial of degree at most five at no more than 32 points. Together with previous lower bounds, this determines the covering radius of RM(5,9) to be 32.
The Reed–Muller code consists of the Boolean polynomials in variables of degree at most , viewed as functions on Reed, 1954Muller, 1954. For a Boolean function , write and . The covering radius is the maximum of this distance over all Boolean functions:
We prove the following upper bound.
Together with the previous lower bound of Khoruzhii (2026), Lemma 1 gives .
1Previous bounds¶
Dougherty et al. (2022) proved , where the relative covering radius restricts the maximum to the indicated outer code. Khoruzhii et al. (2026) obtained the upper bound 32 for the relative covering radius of in . The matching lower bounds of Khoruzhii (2026) determine both relative radii to be 32.
Table 1:Full covering radii for and . Intervals give lower and upper bounds. Updated from Table 1 of Gao (2026); each entry links to its source or derivation.
Sources and bounds
The code contains all Boolean functions on , so its covering radius is 0.
The code consists of all words of even weight, so its covering radius is 1. This is the parity-check code of Hamming (1950), Section 2.
For , the code is the extended Hamming code Hamming, 1950, Sections 3–4. Its parity-check matrix has columns for . Every syndrome is a sum of at most two columns, and a syndrome with requires two, giving covering radius 2.
For even , bent functions give Rothaus, 1976.
The preprint of Hou et al. (2026) gives .
The sphere-covering bound can be applied separately to even and odd words, since every codeword has even weight for . With and , each parity must satisfy for . The least admissible gives the lower bounds 112, 59, 271, 162, and 77 for , respectively.
The standard recurrence gives the nine-variable upper bounds , , and , using the results of Hou et al. (2026), Rothaus (1976), Zhao & Wu (2026), and Gillot & Langevin (2024).
Applying the same recurrence in ten variables gives , , , , and . Here 242 is the first-order radius from Wang et al. (2026), while the last two bounds use Lemma 1.
2Moment matching¶
The proof represents a coset by its moments through degree three. We first match the moments through degree two by an affinely independent set, then complete the cubic moments while controlling the intersection with that set.
For a set and a coordinate set , define , with the sum taken in . Matching these moments for is equivalent to matching the sums of every Boolean polynomial of degree at most .
In nine variables, two supports with the same moments through degree three represent the same coset of . Indeed, let be the sum of their indicator functions. The coefficient of the monomial in the algebraic normal form of is
If , expanding the product expresses as a sum of moments of degree at most three, all zero. Thus has degree at most five.
For , the set has odd cardinality at most ten, so . For a support with odd, the symmetric difference therefore has vanishing moments through degree two.
3Cubic forms and intersections¶
Write . A support with vanishing moments through degree two defines a trilinear form on the dual space by
This form is alternating: when two arguments coincide, the product reduces to a polynomial of degree at most two. Its values on increasing triples of coordinate functionals are precisely the cubic moments of .
The nonzero alternating trilinear forms in nine dimensions fall into 348 orbits under , classified by Brier & Langevin (2003) and Hora & Pudlák (2021). The contragredient action gives the same orbit classification for forms on . We use representatives listed in Khoruzhii et al. (2026). To avoid assuming completeness of these classifications, we verify the list directly: computed invariants show that the representatives lie in distinct orbits, and upper bounds on their stabilizer orders satisfy
Each orbit has size at least . Thus the identity proves that these disjoint orbits, together with zero, exhaust all 284 alternating trilinear forms.
For each cubic form and each affinely independent set of odd cardinality, we construct a support whose moments through degree two vanish, whose cubic form is , and for which
We use the induced action . If maps to a catalogue representative , it suffices to construct for and the set , and put . For the zero form, take .
Each nonzero representative has a support of size at most 32 with vanishing moments through degree two. Every translation of such a support preserves its moments through degree three: expanding a translated monomial introduces only moments of degrees at most two, which vanish. Linear maps stabilizing its cubic form also preserve these moments. We choose among the resulting supports one meeting in enough points.
Translations suffice for supports of size at most 24. For sizes 26 and 28, finite pair and triple incidence checks provide the required intersections. The two size-30 families and the size-32 family use geometric constructions over and , giving intersections of size at least for weight 30 and for weight 32.
The same approach may also help determine the full covering radius of .
/-- Every Boolean function on nine variables is within distance 32 of RM(5,9). -/
theorem covering_radius_upper_bound (f : BooleanFunction 9) :
∃ p ∈ reedMuller 9 5, weight (f + p) ≤ 32 :=
full_bound_thirty_two f
/-- Every odd support has an affinely independent support with the same quadratic sums. -/
theorem odd_support_simplex {m : ℕ} (S : Finset (Point m)) (hodd : Odd S.card) :
∃ P : Finset (Point m), AffineIndependent Field ((↑) : P → Point m) ∧
∀ q : ANF m, DegreeLE q 2 →
(∑ x ∈ P, evaluate q x) = ∑ x ∈ S, evaluate q x := by
obtain ⟨P, hind, _, hmatch, _⟩ :=
exists_affineIndependent_matchSupportMoments_two S hodd
exact ⟨P, hind, fun q hq => hmatch.sum_evaluate q hq⟩Formal verification — ◐ 1 of 2 formal results kernel-checked; 1 relies on computation
⚙ checked by computation (Lean v4.35.0) Lemma 1 —
Lemmata.RM59.covering_radius_upper_bound(source); relies on 52 computations of this entry, listed below✓ kernel-checked (Lean v4.35.0) Lemma 2 —
Lemmata.RM59.odd_support_simplex(source)
Computations assumed. These 75 claims were evaluated by compiled code during the build and are not checked by Lean’s kernel or re-run by the archive. Running tools/check.sh re-runs them. What this means. 52 of them are used by the results above; the other 23 sit in helper declarations no displayed result depends on. Each claim as the kernel stores it is in lemmata.json.
Lemmata/RM59/Proof/CatalogCompute.lean — 1 claim
quotient_coordinates_checked, native_decide, line 58:native_decide
Lemmata/RM59/Proof/CatalogForms.lean — 1 claim
basis_data_checked, native_decide, line 47:native_decide
Lemmata/RM59/Proof/CatalogUniform.lean — 1 claim
pilot_results_valid, native_decide, line 94:native_decide
Lemmata/RM59/Proof/CatalogUniformCheck.lean — 1 claim
catalog_checked, native_decide, line 10:theorem catalog_checked : catalogCheck = true := by native_decide
Lemmata/RM59/Proof/CubicForms.lean — 2 claims
Lemmata/RM59/Proof/Family35.lean — 2 claims
Lemmata/RM59/Proof/FieldCoordinates.lean — 2 claims
Lemmata/RM59/Proof/FieldData.lean — 10 claims
support35_data, native_decide, line 48:theorem support35_data : support35.length = 30 ∧ support35.Nodup := by native_decidesupport53_data, native_decide, line 50:theorem support53_data : support53.length = 32 ∧ support53.Nodup := by native_decideverticalFlat_data, native_decide, line 53:native_decidemomentMasks_count, native_decide, line 55:theorem momentMasks_count : momentMasks.length = 130 := by native_decidelower_moments, native_decide, line 60:packedMoment verticalFlat mask.val = false := by native_decidetrace_determinant_coefficients, native_decide, line 66:(basisCovector k)) := by native_decidesyndrome53_eq_35_xor_vertical, native_decide, line 71:native_decidevertical_syndrome, native_decide, line 74:packedMoment verticalFlat mask.val = (mask.val == 448) := by native_decidefull_frame_points_mem, native_decide, line 78:native_decidefull_frame_determinants, native_decide, line 83:frameDeterminant 35 39 26 196 = F8Scalar.ofNat 3 := by native_decide
Lemmata/RM59/Proof/FlagActions.lean — 4 claims
baseRows_length, native_decide, line 38:theorem baseRows_length : baseRows.length = 6 := by native_decidealphabet_checked, native_decide, line 41:native_decidepacked_eq_evalColumns, native_decide, line 44:packed i x = evalColumns (columns i) x := by native_decideseed_card, native_decide, line 46:theorem seed_card : seed.card = 30 := by native_decide
Lemmata/RM59/Proof/FlagGeometry.lean — 4 claims
decoded_mem_checked, native_decide, line 30:decodePoint x ∈ space i ↔ Nat.land x.val (mask i) = 0 := by native_decidecardinality_checked, native_decide, line 33:native_decidegenerator_flags_checked, native_decide, line 42:decodePoint (packed g x) ∈ space i ↔ decodePoint x ∈ space i := by native_decidehyperplane_mem_checked, native_decide, line 66:decodePoint x ∈ space 2 ↔ decodePoint x 1 = 0 := by native_decide
Lemmata/RM59/Proof/FlagNine.lean — 1 claim
quotient_kernel_checked, native_decide, line 25:quotient (decodePoint x) = 0 ↔ decodePoint x ∈ space 0 := by native_decide
Lemmata/RM59/Proof/FlagNormalizing.lean — 4 claims
clear_decode_checked, native_decide, line 29:decodePoint (clear which x) = clearLinear which (decodePoint x) := by native_decidebase_coordinate, native_decide, line 31:theorem base_coordinate : ∀ which : Fin 2, base which (baseIndex which) = 1 := by native_decideallowed_decode_checked, native_decide, line 48:allowed which a b = true ↔ Domain which (decodePoint a) (decodePoint b) := by native_decidepoint_allowed_checked, native_decide, line 53:decodePoint x ∈ space 2 ∧ decodePoint x ∉ space 1 := by native_decide
Lemmata/RM59/Proof/FlagSelectionChecks.lean — 2 claims
Lemmata/RM59/Proof/FlagWitnessChecks.lean — 3 claims
point_coverage_checked, native_decide, line 50:pointAllowed which x = true → pointCheck which x = true := by native_decideplane_domain_counts, native_decide, line 153:native_decidequad_coverage_checked, native_decide, line 156:allowed which a b = true → quadCheck which a b = true := by native_decide
Lemmata/RM59/Proof/HeavyFamilies.lean — 3 claims
heavy_family_data, native_decide, line 16:native_decideseed35_eq_support35, native_decide, line 24:theorem seed35_eq_support35 : Certificate.seed 35 = FieldData.support35 := by native_decideseed53_eq_support53, native_decide, line 26:theorem seed53_eq_support53 : Certificate.seed 53 = FieldData.support53 := by native_decide
Lemmata/RM59/Proof/Packed.lean — 6 claims
encodePoint_decodePoint, native_decide, line 37:encodePoint (decodePoint x) = x := by native_decidedecodePoint_encodePoint, native_decide, line 40:decodePoint (encodePoint x) = x := by native_decideencodeMask_decodeMask, native_decide, line 58:encodeMask (decodeMask mask) = mask := by native_decidedecodeMask_encodeMask, native_decide, line 61:decodeMask (encodeMask s) = s := by native_decidedecodeMask_card, native_decide, line 73:(decodeMask mask).card = bitCount mask.val := by native_decidemonomial_decode, native_decide, line 81:bitField (Nat.land x.val mask.val == mask.val) := by native_decide
Lemmata/RM59/Proof/PackedLinear.lean — 2 claims
Lemmata/RM59/Proof/ProjectionChecks.lean — 6 claims
reduced_rows_count, native_decide, line 127:theorem reduced_rows_count : allReducedRows.length = 4745 := by native_decideadmissible_rows_count, native_decide, line 131:native_decideprojection_coverage_checked, native_decide, line 133:theorem projection_coverage_checked : projectionCoverage = true := by native_decidefibers_checked, native_decide, line 136:native_decidelift_certificates_checked, native_decide, line 140:(entry.2.drop 1).Nodup ∧ ∀ i ∈ entry.2.drop 1, i < 16 := by native_decidelift_coverage_checked, native_decide, line 142:theorem lift_coverage_checked : liftCoverage = true := by native_decide
Lemmata/RM59/Proof/ProjectionPacked.lean — 1 claim
decode_frobenius, native_decide, line 87:Family35.frobeniusPoint k.val (Packed.decodePoint x) := by native_decide
Lemmata/RM59/Proof/ProjectionTupleChecks.lean — 4 claims
reduced_rows_count, native_decide, line 127:theorem reduced_rows_count : allReducedProjections.length = 4745 := by native_decideadmissible_rows_count, native_decide, line 130:(allReducedProjections.filter independentProjection).length = 3720 := by native_decideprojection_coverage_checked, native_decide, line 132:theorem projection_coverage_checked : projectionCoverage = true := by native_decidelift_coverage_checked, native_decide, line 155:theorem lift_coverage_checked : liftCoverage = true := by native_decide
Lemmata/RM59/Proof/ProjectionTupleSound.lean — 1 claim
linear_independence_checked, native_decide, line 115:independentProjection p = linearTest p := by native_decide
Lemmata/RM59/Proof/ProjectionWitnessChecks.lean — 1 claim
coverage_checked, native_decide, line 60:theorem coverage_checked : coverage = true := by native_decide
Lemmata/RM59/Proof/SimplexSearchCheckCore.lean — 4 claims
Lemmata/RM59/Proof/SimplexSearchChecks0.lean — 1 claim
chunk0_checked, native_decide, line 11:theorem chunk0_checked : chunkCheck 0 = true := by native_decide
Lemmata/RM59/Proof/SimplexSearchChecks1.lean — 1 claim
chunk1_checked, native_decide, line 11:theorem chunk1_checked : chunkCheck 1 = true := by native_decide
Lemmata/RM59/Proof/SimplexSearchChecks2.lean — 1 claim
chunk2_checked, native_decide, line 11:theorem chunk2_checked : chunkCheck 2 = true := by native_decide
Lemmata/RM59/Proof/SimplexSearchChecks3.lean — 1 claim
chunk3_checked, native_decide, line 11:theorem chunk3_checked : chunkCheck 3 = true := by native_decide
Lemmata/RM59/Proof/SupportChecks.lean — 1 claim
supplied_families_checked, native_decide, line 39:native_decide
Lemmata/RM59/Proof/SymmetryChecks.lean — 1 claim
supplied_symmetries_checked, native_decide, line 33:native_decide
Lemmata/RM59/Proof/TraceData.lean — 2 claims
Lemmata/RM59/Proof/TraceVertical.lean — 1 claim
packed_vertical_mem, native_decide, line 21:FieldData.coordinates p 1 = 0 := by native_decide
Checked at commit a20ff2d299b3. The formal statement is machine-checked, modulo the computations named above; that it matches the prose is checked by review. What “checked” means.
Lean covering_radius_upper_bound · ⚙ checked by computation · source
Statement in Lean
/-- Every Boolean function on nine variables is within distance 32 of RM(5,9). -/
theorem covering_radius_upper_bound (f : BooleanFunction 9) :
∃ p ∈ reedMuller 9 5, weight (f + p) ≤ 32Lean odd_support_simplex · ✅ kernel-checked · source
Statement in Lean
/-- Every odd support has an affinely independent support with the same quadratic sums. -/
theorem odd_support_simplex {m : ℕ} (S : Finset (Point m)) (hodd : Odd S.card) :
∃ P : Finset (Point m), AffineIndependent Field ((↑) : P → Point m) ∧
∀ q : ANF m, DegreeLE q 2 →
(∑ x ∈ P, evaluate q x) = ∑ x ∈ S, evaluate q xAI use. The Lean formalization was developed with OpenAI Codex.
License: CC BY 4.0
Comments.
- Reed, I. (1954). A class of multiple-error-correcting codes and the decoding scheme. Transactions of the IRE Professional Group on Information Theory, 4(4), 38–49. 10.1109/TIT.1954.1057465
- Muller, D. E. (1954). Application of Boolean algebra to switching circuit design and to error detection. Transactions of the I.R.E. Professional Group on Electronic Computers, EC-3(3), 6–12. 10.1109/IREPGELC.1954.6499441
- Khoruzhii, K. (2026). MinRank Lower Bounds for the Cocubic Reed–Muller Covering Radius. Lemmata Repository, lemmata:2610.00011. https://lemmata.iol.berlin/abs/2610.00011
- Dougherty, R., Mauldin, R. D., & Tiefenbruck, M. (2022). The Covering Radius of the Reed–Muller Code RM(m-4,m) in RM(m-3,m). IEEE Transactions on Information Theory, 68(1), 560–571. 10.1109/TIT.2021.3120754
- Khoruzhii, K., Gelß, P., & Pokutta, S. (2026). The Weight Distribution of the Third-Order Reed–Muller Code of Length 2048. 10.48550/arXiv.2607.02365
- Gao, J. (2026). Numerical Results and Asymptotic Lower Bound on the Covering Radius of Reed–Muller Codes RM(2,11) and RM(3,n). IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences, E109-A(1), 35–46. 10.1587/transfun.2025EAP1015
- Schatz, J. R. (1981). The second order Reed–Muller code of length 64 has covering radius 18. IEEE Transactions on Information Theory, 27(4), 529–530. 10.1109/TIT.1981.1056364
- McLoughlin, A. M. (1979). The Covering Radius of the (m-3)rd Order Reed–Muller Codes and a Lower Bound on the (m-4)th Order Reed–Muller Codes. SIAM Journal on Applied Mathematics, 37(2), 419–422. 10.1137/0137032
- Mykkeltveit, J. (1980). The covering radius of the (128,8) Reed–Muller code is 56. IEEE Transactions on Information Theory, 26(3), 359–362. 10.1109/TIT.1980.1056187
- Wang, Q. (2019). The covering radius of the Reed–Muller code RM(2,7) is 40. Discrete Mathematics, 342(12), 111625. 10.1016/j.disc.2019.111625
- Gao, J., Kan, H., Li, Y., & Wang, Q. (2023). The Covering Radius of the Third-Order Reed–Muller Code RM(3,7) is 20. IEEE Transactions on Information Theory, 69(6), 3663–3673. 10.1109/TIT.2023.3242966
- Zhao, Z., & Wu, Y. (2026). The Covering Radius of the Reed–Muller Code RM(3,8) is 56. 10.48550/arXiv.2611.03186
- Gillot, V., & Langevin, P. (2024). Covering radius of RM(4,8). Advances in Mathematics of Communications, 18(2), 383–393. 10.3934/amc.2023038
- Wang, Q., Lou, Y., & Wang, Z. (2026). The Covering Radius of the Reed–Muller Code RM(1,9) is 242. 10.48550/arXiv.2610.17871
- Brier, E., & Langevin, P. (2003). Classification of Boolean cubic forms of nine variables. 2003 IEEE Information Theory Workshop, 179–182. 10.1109/ITW.2003.1216724