Probability of super-regular matrices and MDS codes over finite fields
Pith reviewed 2026-05-15 02:10 UTC · model grok-4.3
The pith
Random [n,k] codes over F_q are MDS with probability tending to 1 or 0 according to whether binom(n,k)/q tends to 0 or infinity.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
If (1/q) binom(n,k) tends to 0 then the probability that a random [n,k] code is MDS tends to 1; if it tends to infinity then the probability tends to 0. The same dichotomy holds for super-regularity of random k by k matrices with the quantity 4^k/sqrt(k)/q. When the ratio tends to a finite positive lambda and k/n tends to 0, the MDS probability tends to e^{-lambda}. When k^3/(3q) tends to lambda the contiguous-super-regular probability tends to e^{-lambda}. The number of super-regular 3 by 3 matrices is a polynomial in q, as is the number of contiguous super-regular 3 by 3 matrices; for 4 by 4 matrices the super-regular count is not a polynomial nor a quasi-polynomial of period less than 7.
What carries the argument
Uniform random selection of linear codes and matrices over F_q together with asymptotic enumeration of the events that all relevant square submatrices are nonsingular.
If this is right
- When binom(n,k)/q tends to a positive finite constant lambda and k/n tends to 0, the MDS probability tends to e to the minus lambda.
- When k cubed over 3q tends to a finite lambda, the probability a random matrix is contiguous super-regular tends to e to the minus lambda.
- The exact count of super-regular 3 by 3 matrices is a polynomial in q, and the same holds for contiguous super-regular 3 by 3 matrices.
- For 4 by 4 matrices the count of super-regular matrices is neither a polynomial nor a quasi-polynomial of period smaller than 7.
Where Pith is reading between the lines
- The threshold supplies a concrete regime in which random selection already produces MDS codes with overwhelming probability, suggesting that explicit constructions may only be needed below that regime.
- The Poisson limits indicate that the number of non-MDS obstructions behaves like a Poisson random variable when the ratio is order 1, which may be useful for concentration bounds.
- The distinction between super-regular and contiguous super-regular counts for 4 by 4 matrices hints that locality constraints on the minors change the algebraic dependence on q.
Load-bearing premise
The field size q and the code parameters n and k all tend to infinity simultaneously under the stated growth conditions on their ratios.
What would settle it
For a concrete sequence with binom(n,k)/q growing like log n, compute the exact fraction of MDS codes for successive values and check whether that fraction drops from near 1 to near 0.
Figures
read the original abstract
Let $C$ be an $[n,k]$ linear code chosen uniformly at random over a finite field $\mathbb{F}_q$ of size $q$. The following asymptotic probability of $C$ being maximum distance separable (MDS) as $q,n,k\to\infty$ is known: If $\frac{1}{q}\binom{n}{k} \to 0$, then $P(C\ \text{is MDS}) \to 1$. We demonstrate that this growth rate is in fact a threshold by proving: If $\frac{1}{q}\binom{n}{k} \to \infty$, then $P(C\ \text{is MDS}) \to 0$. A matrix is ($\textit{contiguous}$) $\textit{super-regular}$ if all of its (contiguous) square submatrices are nonsingular. The above results imply that for any $k \times k$ matrix $A$ chosen uniformly at random over $\mathbb{F}_q$, the following hold: If $\frac{4^k/\sqrt{k}}{q} \to 0$, then $P(A \text{ is super-regular}) \to 1$. If $\frac{4^k/\sqrt{k}}{q}\to \infty$, then $P(A \text{ is super-regular}) \to 0$. We also obtain the following asymptotic probabilities for two variations of the above questions: If $\frac{1}{q}\binom{n}{k} \to \lambda \in (0,\infty)$ and $k/n\to 0$, then $P(C\ \text{is MDS}) \to e^{-\lambda}$. If $\frac{k^3/3}{q} \to \lambda \in [0,\infty]$, then $P(A \text{ is contiguous super-regular}) \to e^{-\lambda}$. The number of super-regular $3\times 3$ matrices is known to be a polynomial in $q$. We show that the number of contiguous super-regular $3\times 3$ matrices is also a polynomial. Finally, for $4\times 4$ matrices, we show that the number of super-regular matrices is not a polynomial, nor even a quasi-polynomial of period less than $7$, whereas our experimental evidence suggests that the number of contiguous super-regular matrices is a polynomial.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper establishes sharp threshold results for the probability that a random [n,k] linear code over F_q is MDS: if (1/q) binom(n,k) -> 0 then P(MDS) -> 1, while if (1/q) binom(n,k) -> infinity then P(MDS) -> 0. It further derives a Poisson limit P(MDS) -> e^{-lambda} when the quantity tends to a finite lambda >0 and k/n ->0. Analogous thresholds and limits are proved for random k x k matrices being super-regular (threshold 4^k / sqrt(k) / q) and contiguous super-regular (threshold k^3/3 / q). The paper also proves that the number of contiguous super-regular 3x3 matrices over F_q is a polynomial in q, while the number of (non-contiguous) super-regular 4x4 matrices is neither a polynomial nor a quasi-polynomial of period less than 7.
Significance. If the results hold, they give precise asymptotic characterizations of MDS codes and super-regular matrices in the large-q regime, using direct combinatorial counting and moment methods. These thresholds are load-bearing for applications in coding theory and matrix-based constructions; the Poisson limits and small-case polynomiality statements are additional contributions that clarify the transition and counting behavior.
minor comments (2)
- [§3] §3, after Eq. (3): the transition from the first-moment upper bound to the second-moment argument for the divergence case could be expanded with an explicit reference to the deletion method or Paley-Zygmund inequality used to control dependence among singular submatrices.
- [§5] The statement that the number of super-regular 4x4 matrices is not a quasi-polynomial of period less than 7 relies on experimental evidence; a brief description of the computational method (e.g., the range of q tested and the period-search algorithm) would strengthen the claim.
Simulated Author's Rebuttal
We thank the referee for their positive assessment of the manuscript and for recommending acceptance. The summary accurately captures the main contributions on MDS thresholds, Poisson limits, and the polynomiality results for small super-regular matrices.
Circularity Check
No significant circularity identified
full rationale
The paper's core derivations consist of direct combinatorial enumeration of singular submatrices (for MDS codes) and contiguous square submatrices (for super-regular matrices), followed by standard first-moment arguments showing expected violations tend to infinity or to a constant, plus method-of-moments or Stein-Chen arguments for the Poisson limit under k/n -> 0. These steps rely on the uniform random model and the stated asymptotic growth conditions; they do not reduce any claimed prediction to a fitted input, self-definition, or load-bearing self-citation. The reference to a 'known' result is external prior work, and the new threshold and Poisson statements are obtained independently from the counting arguments. No ansatz smuggling, uniqueness theorems from the same authors, or renaming of known results occurs.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption Uniform random selection of linear codes and matrices over finite fields
- domain assumption Asymptotic limits as q, n, k tend to infinity under the stated growth conditions
Reference graph
Works this paper leans on
-
[1]
G. Akemann, J. Baik, and P. Di Francesco,The Oxford handbook of random matrix theory, Oxford University Press. 2011
work page 2011
-
[2]
Superregular matrices over small finite fields
P. Almeida and D. Napp, “Superregular matrices over small finite fields”, arXiv:2008.00215v1, August 2020
-
[3]
A new class of superregular matrices and MDP convo- lutional codes
P. Almeida, D. Napp, and R. Pinto, “A new class of superregular matrices and MDP convo- lutional codes”,Linear Algebra and its Applications, vol. 439, pp. 2145-2157, 2013
work page 2013
-
[4]
G.W. Anderson, A. Guionnet, and O. Zeitouni,An introduction to random matrices, Cam- bridge University Press, 2010
work page 2010
-
[5]
Two moments suffice for Poisson approximations: The Chen-Stein method
R. Arratia, L. Goldstein, and L. Gordon, “Two moments suffice for Poisson approximations: The Chen-Stein method”,The Annals of Probability, vol. 17, no. 1, pp. 9–25, 1989
work page 1989
-
[6]
R. Arratia, L. Goldstein, and L. Gordon, ”Poisson approximation and the Chen-Stein method”,Statistical Science, vol. 5, no. 4, pp. 403–434, 1990
work page 1990
-
[7]
On the distribution of rank of a random matrix over a finite field
C. Cooper, “On the distribution of rank of a random matrix over a finite field”,Random Structures and Algorithms, 17 (3-4), pp. 197–212, 2000
work page 2000
-
[8]
Balanced sparsest generator matrices for MDS codes
S. H. Dau, W. Song, Z. Dong, and C. Yuen. “Balanced sparsest generator matrices for MDS codes”,IEEE International Symposium on Information Theory (ISIT), pp. 1889—1893
-
[9]
(Also arXiv:1301.5108.v1)
work page internal anchor Pith review Pith/arXiv arXiv
-
[10]
On the existence of MDS codes over small fields with constrained generator matrices
S. H. Dau, W. Song, Z. Dong, and C. Yuen. “On the existence of MDS codes over small fields with constrained generator matrices”,IEEE International Symposium on Information Theory (ISIT), pp. 1787–1791, 2014
work page 2014
-
[11]
The probability that a matrix is nilpotent
N.J. Fine and I.N. Herstein, “The probability that a matrix is nilpotent”,Illinois Journal of Mathematics. vol. 2, pp. 499–504, 1958
work page 1958
-
[12]
The eigenvalue distribution of a random unipotent matrix in its representation on lines
J. Fulman, “The eigenvalue distribution of a random unipotent matrix in its representation on lines”,Journal of Algebra, vol. 228, pp. 497–511, 2000
work page 2000
-
[13]
Random matrix theory over finite fields
J. Fulman, “Random matrix theory over finite fields”,Bulletin (New Series) of the American Mathematical Society, vol. 39, pp. 51–85, 2002
work page 2002
-
[14]
Hyperplane sections of Grassmannians and the number of MDS linear codes
S.R. Ghorpade and G. Lachaud, “Hyperplane sections of Grassmannians and the number of MDS linear codes”,Finite Fields and Their Applications, vol. 7, pp. 468–506, 2001
work page 2001
-
[15]
Strongly-MDS convolutional codes
H. Gluesing-Luerssen, J. Rosenthal, and R. Smarandache, “Strongly-MDS convolutional codes”,IEEE Transactions on Information Theory, vol. 52, no. 2, February 2006, pp. 584– 598
work page 2006
-
[16]
How random is the characteristic polynomial of a random ma- trix?
J. Hansen and E. Schmutz, “How random is the characteristic polynomial of a random ma- trix?”,Mathematical Proceedings of the Cambridge Philosophical Society, vol. 114, pp. 507– 515, 1993
work page 1993
-
[17]
The 1959 Annali di Matematica paper of Beniamino Segre and its legacy
J. W. P. Hirschfeld, “The 1959 Annali di Matematica paper of Beniamino Segre and its legacy”,Journal of Geometry, June 2003. Sections: 1 2 3 4 5 6 ReferencesPage 47 of 49 Probability of super-regular matrices and MDS codes over finite fieldsMarch 20, 2026
work page 1959
-
[18]
R. Horn and C. Johnson,Matrix analysis, Second Edition, Cambridge University Press, New York, 2013
work page 2013
-
[19]
An algorithm for counting arcs in higher-dimensional projective space
K. Isham, “An algorithm for counting arcs in higher-dimensional projective space”,Finite Fields and Their Applications, vol. 80, pp. 102006, 2022
work page 2022
-
[20]
A note on upper bounds for minimum distance codes
D.D. Joshi, “A note on upper bounds for minimum distance codes”,Information and Control, vol. 1, no. 3, pp. 289–295, 1958
work page 1958
-
[21]
Singularity probabilities for random matrices over finite fields
J. Kahn and J. Koml ´os, “Singularity probabilities for random matrices over finite fields”, Combinatorics, Probability, and Computing, vol. 10, no. 2, pp. 137–157, 2001
work page 2001
-
[22]
An asymptotic formula inqfor the number ofrn, ksq-ary MDS codes
K. Kaipa, “An asymptotic formula inqfor the number ofrn, ksq-ary MDS codes”,IEEE Transactions on Information Theory, vol. 60, no. 11, pp. 7047–7057, November 2014
work page 2014
-
[23]
Application of logical mathematics to information theory
Y . Komamiya, “Application of logical mathematics to information theory”,Proceedings of the 3rd Japanese National Congress on Applied Mathematics, pp. 58–70, January 31, 1953 (in Japanese)
work page 1953
-
[24]
On the determinant of random matrices
J. Koml ´os, “On the determinant of random matrices”,Studia Scientiarum Mathematicarum Hungarica, vol. 3, pp. 387–399, 1968
work page 1968
-
[25]
On the rank of matrices with random Boolean elements
M. V . Kozlov, “On the rank of matrices with random Boolean elements”,Soviet Mathematics - Doklady, vol. 7, pp. 1048–1051, 1966
work page 1966
-
[26]
Sparse MDS matrices over small fields: A proof of the GM-MDS conjecture
S. Lovett, “Sparse MDS matrices over small fields: A proof of the GM-MDS conjecture”, SIAM Journal on Computing, vol. 50, no. 4, pp. 1248–1262, 2021
work page 2021
-
[27]
F. J. MacWilliams and N.J.A. Sloane,The theory of error-correcting codes, North-Holland Publishing Company, 1977
work page 1977
-
[28]
Singularity of Random Matrices over Finite Fields
K. Maples, “Singularity of random matrices over finite fields”, arXiv.org/abs/1012.2372, De- cember 2010
work page internal anchor Pith review Pith/arXiv arXiv 2010
-
[29]
F. Maturana and K. V . Rashmi, “Convertible codes: New class of codes for efficient conver- sion of coded data in distributed storage”,11th Innovations in Theoretical Computer Science Conference, Article No. 66, pp. 66:1 – 66:26, 2020
work page 2020
-
[30]
Mehta,Random Matrices, Amsterdam: Elsevier/Academic Press
M.L. Mehta,Random Matrices, Amsterdam: Elsevier/Academic Press. 2004
work page 2004
-
[31]
M. Potters and J.-P. Bouchaud,A first course in random matrix theory: for physicists, engi- neers and data scientists, Cambridge University Press, 2020
work page 2020
-
[32]
Roth,Introduction to coding theory, Cambridge University Press, 2006
R. Roth,Introduction to coding theory, Cambridge University Press, 2006
work page 2006
-
[33]
On MDS codes via Cauchy matrices
R. M. Roth and A. Lempel, “On MDS codes via Cauchy matrices”,IEEE Transactions on Information Theory, vol. 35, no. 6, pp. 1314–1319, November 1989
work page 1989
-
[34]
On generator matrices of MDS codes
R. M. Roth and G. Seroussi, “On generator matrices of MDS codes”,IEEE Transactions on Information Theory, vol. 31, no. 6, pp. 826 – 830, November 1985
work page 1985
-
[35]
On the rank of random matrices over finite fields
D. Salmond, A. Grant, I. Grivell, and T. Chan, “On the rank of random matrices over finite fields”, https://arxiv.org/pdf/1404.3250, 2016. Sections: 1 2 3 4 5 6 ReferencesPage 48 of 49 Probability of super-regular matrices and MDS codes over finite fieldsMarch 20, 2026
work page internal anchor Pith review Pith/arXiv arXiv 2016
-
[36]
On the distribution of the entries of a fixed-rank random matrix over a finite field
C. Sanna, “On the distribution of the entries of a fixed-rank random matrix over a finite field”, Finite Fields and Their Applications, vol. 93, 2024
work page 2024
-
[37]
The order of a typical matrix with entries in a finite field
E. Schmutz, “The order of a typical matrix with entries in a finite field”,Israel Journal of Mathematics, vol. 91, pp. 349–71. 1995
work page 1995
-
[38]
Curve razionali normali ek–archi negli spazi finiti
B. Segre, “Curve razionali normali ek–archi negli spazi finiti”,Annali di Matematica Pura Applicata, vol. 39, pp. 357–379, 1955
work page 1955
-
[39]
R.C. Singleton, “Maximum distanceq-nary codes”,IEEE Transactions on Information The- ory, vol. 10, no. 2, pp. 116–118, 1964
work page 1964
-
[40]
Linear codes, strata of Grassmannians and the problems of Segre
A. N. Skorobogatov, “Linear codes, strata of Grassmannians and the problems of Segre”, Coding theory and algebraic geometry, H. Stichtenoth and M. A. Tsfasman, Eds., Lecture Notes in Mathematics, vol. 1518, pp. 210–223, Springer-Verlag, Berlin, 1992
work page 1992
-
[41]
Optimum linear codes with support-constrained generator matrices over small fields
H. Yildiz and B. Hassibi, “Optimum linear codes with support-constrained generator matrices over small fields”,IEEE Transactions on Information Theory, vol. 65, no. 12, pp. 7868–7875, 2019. Sections: 1 2 3 4 5 6 ReferencesPage 49 of 49
work page 2019
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.