Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

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 RM(r,m)\mathrm{RM}(r,m) consists of the Boolean polynomials in mm variables of degree at most rr, viewed as functions on F2m\mathbb F_2^m Reed, 1954Muller, 1954. For a Boolean function ff, write wt⁡(f)=∣{x:f(x)=1}∣\operatorname{wt}(f)=|\{x:f(x)=1\}| and d(f,RM(r,m))=min⁡p∈RM(r,m)wt⁡(f+p)d(f,\mathrm{RM}(r,m))=\min_{p\in\mathrm{RM}(r,m)}\operatorname{wt}(f+p). The covering radius is the maximum of this distance over all Boolean functions:

ρ(RM(r,m))=max⁡f:F2m→F2d(f,RM(r,m)).\rho(\mathrm{RM}(r,m)) =\max_{f:\mathbb F_2^m\to\mathbb F_2}d(f,\mathrm{RM}(r,m)).

We prove the following upper bound.

Together with the previous lower bound of Khoruzhii (2026), Lemma 1 gives ρ(RM(5,9))=32\rho(\mathrm{RM}(5,9))=32.

1Previous bounds

Dougherty et al. (2022) proved 28≤ρ(RM(5,9),RM(6,9))≤3228\le\rho(\mathrm{RM}(5,9),\mathrm{RM}(6,9))\le32, 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 RM(6,10)\mathrm{RM}(6,10) in RM(7,10)\mathrm{RM}(7,10). The matching lower bounds of Khoruzhii (2026) determine both relative radii to be 32.

Table 1:Full covering radii ρ(RM(r,m))\rho(\mathrm{RM}(r,m)) for 6≤m≤106\le m\le10 and 1≤r≤61\le r\le6. Intervals [L,U][L,U] give lower and upper bounds. Updated from Table 1 of Gao (2026); each entry links to its source or derivation.

m\rm\backslash r123456
628188210
7564020821
8120[88, 91]5626102
9242[196, 211][112, 147][59, 82]3210
10496[408, 453][271, 358][162, 229][77, 114][32, 42]

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 S⊆F2mS\subseteq\mathbb F_2^m and a coordinate set I⊆{1,…,m}I\subseteq\{1,\ldots,m\}, define μI(S)=∑x∈S∏i∈Ixi\mu_I(S)=\sum_{x\in S}\prod_{i\in I}x_i, with the sum taken in F2\mathbb F_2. Matching these moments for ∣I∣≤d|I|\le d is equivalent to matching the sums of every Boolean polynomial of degree at most dd.

In nine variables, two supports with the same moments through degree three represent the same coset of RM(5,9)\mathrm{RM}(5,9). Indeed, let hh be the sum of their indicator functions. The coefficient of the monomial ∏i∈Bxi\prod_{i\in B}x_i in the algebraic normal form of hh is

aB=∑x∈F29h(x)∏i∉B(1+xi).a_B=\sum_{x\in\mathbb F_2^9}h(x)\prod_{i\notin B}(1+x_i).

If ∣B∣≥6|B|\ge6, expanding the product expresses aBa_B as a sum of moments of degree at most three, all zero. Thus hh has degree at most five.

For m=9m=9, the set PP has odd cardinality at most ten, so ∣P∣∈{1,3,5,7,9}|P|\in\{1,3,5,7,9\}. For a support SS with ∣S∣|S| odd, the symmetric difference H=S△PH=S\mathbin\triangle P therefore has vanishing moments through degree two.

3Cubic forms and intersections

Write V=F29V=\mathbb F_2^9. A support HH with vanishing moments through degree two defines a trilinear form on the dual space V∗V^* by

TH(λ,μ,ν)=∑x∈Hλ(x)μ(x)ν(x).T_H(\lambda,\mu,\nu)=\sum_{x\in H}\lambda(x)\mu(x)\nu(x).

This form is alternating: when two arguments coincide, the product reduces to a polynomial of degree at most two. Its (93)=84\binom93=84 values on increasing triples of coordinate functionals are precisely the cubic moments of HH.

The nonzero alternating trilinear forms in nine dimensions fall into 348 orbits under GL(9,2)\mathrm{GL}(9,2), classified by Brier & Langevin (2003) and Hora & Pudlák (2021). The contragredient action gives the same orbit classification for forms on V∗V^*. 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 UTU_T on their stabilizer orders satisfy

1+∑T∣GL(9,2)∣UT=284.1+\sum_T\frac{|\mathrm{GL}(9,2)|}{U_T}=2^{84}.

Each orbit has size at least ∣GL(9,2)∣/UT|\mathrm{GL}(9,2)|/U_T. Thus the identity proves that these disjoint orbits, together with zero, exhaust all 284 alternating trilinear forms.

For each cubic form TT and each affinely independent set PP of odd cardinality, we construct a support GG whose moments through degree two vanish, whose cubic form is TT, and for which

∣G△P∣=∣G∣+∣P∣−2∣G∩P∣≤31.|G\mathbin\triangle P|=|G|+|P|-2|G\cap P|\le31.

We use the induced action A⋅TH=TAHA\cdot T_H=T_{AH}. If A∈GL(9,2)A\in\mathrm{GL}(9,2) maps TT to a catalogue representative T0T_0, it suffices to construct G0G_0 for T0T_0 and the set APAP, and put G=A−1G0G=A^{-1}G_0. For the zero form, take G=∅G=\varnothing.

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 PP 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 F2\mathbb F_2 and F8\mathbb F_8, giving intersections of size at least (∣P∣−1)/2(|P|-1)/2 for weight 30 and (∣P∣+1)/2(|P|+1)/2 for weight 32.

The same approach may also help determine the full covering radius of RM(6,10)\mathrm{RM}(6,10).

Main.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) ≤ 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
  • increasingTriple_card, native_decide, line 20: native_decide

  • exists_sorted_permutation, native_decide, line 25: native_decide

Lemmata/RM59/Proof/Family35.lean — 2 claims
  • sourcePoint_mem, native_decide, line 61: native_decide

  • sourceFrame_determinant, native_decide, line 68: F8Scalar.ofNat (r.val + 1) := by native_decide

Lemmata/RM59/Proof/FieldCoordinates.lean — 2 claims
  • packed_coordinates, native_decide, line 87: pointEquiv (Packed.decodePoint x) = FieldData.coordinates x := by native_decide

  • covector_basis, native_decide, line 135: covectorLinear (Pi.single i 1) = FieldData.basisCovector i := by native_decide

Lemmata/RM59/Proof/FieldData.lean — 10 claims
  • support35_data, native_decide, line 48: theorem support35_data : support35.length = 30 ∧ support35.Nodup := by native_decide

  • support53_data, native_decide, line 50: theorem support53_data : support53.length = 32 ∧ support53.Nodup := by native_decide

  • verticalFlat_data, native_decide, line 53: native_decide

  • momentMasks_count, native_decide, line 55: theorem momentMasks_count : momentMasks.length = 130 := by native_decide

  • lower_moments, native_decide, line 60: packedMoment verticalFlat mask.val = false := by native_decide

  • trace_determinant_coefficients, native_decide, line 66: (basisCovector k)) := by native_decide

  • syndrome53_eq_35_xor_vertical, native_decide, line 71: native_decide

  • vertical_syndrome, native_decide, line 74: packedMoment verticalFlat mask.val = (mask.val == 448) := by native_decide

  • full_frame_points_mem, native_decide, line 78: native_decide

  • full_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_decide

  • alphabet_checked, native_decide, line 41: native_decide

  • packed_eq_evalColumns, native_decide, line 44: packed i x = evalColumns (columns i) x := by native_decide

  • seed_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_decide

  • cardinality_checked, native_decide, line 33: native_decide

  • generator_flags_checked, native_decide, line 42: decodePoint (packed g x) ∈ space i ↔ decodePoint x ∈ space i := by native_decide

  • hyperplane_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_decide

  • base_coordinate, native_decide, line 31: theorem base_coordinate : ∀ which : Fin 2, base which (baseIndex which) = 1 := by native_decide

  • allowed_decode_checked, native_decide, line 48: allowed which a b = true ↔ Domain which (decodePoint a) (decodePoint b) := by native_decide

  • point_allowed_checked, native_decide, line 53: decodePoint x ∈ space 2 ∧ decodePoint x ∉ space 1 := by native_decide

Lemmata/RM59/Proof/FlagSelectionChecks.lean — 2 claims
  • mixed_checked, native_decide, line 33: native_decide

  • cube_checked, native_decide, line 63: native_decide

Lemmata/RM59/Proof/FlagWitnessChecks.lean — 3 claims
  • point_coverage_checked, native_decide, line 50: pointAllowed which x = true → pointCheck which x = true := by native_decide

  • plane_domain_counts, native_decide, line 153: native_decide

  • quad_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_decide

  • seed35_eq_support35, native_decide, line 24: theorem seed35_eq_support35 : Certificate.seed 35 = FieldData.support35 := by native_decide

  • seed53_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_decide

  • decodePoint_encodePoint, native_decide, line 40: decodePoint (encodePoint x) = x := by native_decide

  • encodeMask_decodeMask, native_decide, line 58: encodeMask (decodeMask mask) = mask := by native_decide

  • decodeMask_encodeMask, native_decide, line 61: decodeMask (encodeMask s) = s := by native_decide

  • decodeMask_card, native_decide, line 73: (decodeMask mask).card = bitCount mask.val := by native_decide

  • monomial_decode, native_decide, line 81: bitField (Nat.land x.val mask.val == mask.val) := by native_decide

Lemmata/RM59/Proof/PackedLinear.lean — 2 claims
  • decodePoint_zero, native_decide, line 19: @[simp] theorem decodePoint_zero : decodePoint 0 = 0 := by native_decide

  • decodePoint_xorPoint, native_decide, line 23: native_decide

Lemmata/RM59/Proof/ProjectionChecks.lean — 6 claims
  • reduced_rows_count, native_decide, line 127: theorem reduced_rows_count : allReducedRows.length = 4745 := by native_decide

  • admissible_rows_count, native_decide, line 131: native_decide

  • projection_coverage_checked, native_decide, line 133: theorem projection_coverage_checked : projectionCoverage = true := by native_decide

  • fibers_checked, native_decide, line 136: native_decide

  • lift_certificates_checked, native_decide, line 140: (entry.2.drop 1).Nodup ∧ ∀ i ∈ entry.2.drop 1, i < 16 := by native_decide

  • lift_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_decide

  • admissible_rows_count, native_decide, line 130: (allReducedProjections.filter independentProjection).length = 3720 := by native_decide

  • projection_coverage_checked, native_decide, line 132: theorem projection_coverage_checked : projectionCoverage = true := by native_decide

  • lift_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
  • cases_count, native_decide, line 30: theorem cases_count : cases.length = 243 := by native_decide

  • weight26_cases_complete, native_decide, line 35: native_decide

  • weight28_pair_cases_complete, native_decide, line 40: native_decide

  • weight28_triple_cases_complete, native_decide, line 45: native_decide

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
  • ordered_coefficients, native_decide, line 25: (FieldData.basisCovector j) (FieldData.basisCovector k)) := by native_decide

  • triple_mask_degree, native_decide, line 55: FieldData.bitCount (Packed.encodeMask {i, j, k}).val ≤ 3 := by native_decide

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) ≤ 32

Lean 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 x

AI use. The Lean formalization was developed with OpenAI Codex.

License: CC BY 4.0

Comments.

References
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. Zhao, Z., & Wu, Y. (2026). The Covering Radius of the Reed–Muller Code RM(3,8) is 56. 10.48550/arXiv.2611.03186
  13. Gillot, V., & Langevin, P. (2024). Covering radius of RM(4,8). Advances in Mathematics of Communications, 18(2), 383–393. 10.3934/amc.2023038
  14. 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
  15. 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