Manuscript Offprint
arXiv:2610.35645Proofs of strong forms of the Bovdi--Geche universality conjecture and a complex analogue
VICTOR BOVDI AND AMBRUS PÁL
ABSTRACT. We prove two universality theorems for neural networks consisting of a single neuron. First we prove a strong form of the Bovdi–Geche universality conjecture on neurons over finite fields, where the activation function is a certain modification of the discrete logarithm, using the Weil bound on multiplicative character sums over finite fields. Then we show a generalisation of Aizenberg’s universality theorem for complex binary neurons with a weight vector independent of the target function, positively answering another question in the literature. The proof of the latter uses an equidistribution theorem for the dilates of certain maps into tori.
1. INTRODUCTION
Neural networks consisting of a single neuron have been much studied in the literature, including a class of functions which are usually called threshold functions, both over finite fields (for example see [9], [11], [12, Chapter 4], and [13]), and over the complex field (for example see [1], [2], [3], [4], [6] and [7]). The universality of such functions on finite subsets is of fundamental importance, and much effort was exerted on this circle of problems. In this paper we prove two universality theorems for threshold functions. In order to state them, we will need to review some basic definitions.
Definition 1.1. Let be a field, let be a set, and let be a partially defined map, which we will call the activation function, with domain of definition . As usual for every let denote the usual scalar product:
2020 Mathematics Subject Classification. 11T23, 11T24, 68T07.
Date: October 19, 2026.
Victor Bovdi and Ambrus Pál
For every and the threshold function attached to with respect to is the partially defined function:
which maps every such that to the value .
Definition 1.2. A pair is admissible with respect to a subset if the associated threshold function is defined on every element of . The threshold function attached to realises a function if the pair is admissible with respect to and the restriction of to is . In this case we will also sometimes say that realises for the sake of simplicity. The pair is universal for if every map is realised by some threshold function.
Definition 1.3. Fix integers
(1.3.1)
set , and let . A finite field of cardinality is called admissible for the parameters in (1.3.1) if
By Dirichlet’s theorem on primes in arithmetic progressions there are admissible finite fields of arbitrarily large cardinality.
Definition 1.4. For every divisor of let denote the unique subgroup of of order . Set
Fix a primitive element , set and . The activation function attached to is the map
given by the rule:
(1.4.1)
For every function let be the number of pairs admissible with respect to such that the threshold function attached to with respect to realises .
Theorem 1.5. There exists a constant , depending only on , such that for every admissible finite field of cardinality , every map , and every primitive element we have
(1.5.1)
Since in the estimate above the main term has order and the error is bounded by a constant multiple of , we immediately get the following
Corollary 1.6. Let be an admissible finite field of cardinality , and let be a primitive element. If is sufficiently large (for fixed and ) then the pair is universal for .
This claim is stronger than the conjecture formulated by Bovdi–Geche on page 125 of [12], which only postulated the existence of an admissible field such that is universal for some choice of a primitive element .
The proof of Theorem 1.5 is a rather standard application of the Weil bound for multiplicative character sums; for similar arguments see for example [10], [17] and [16]. As usual it proceeds by expressing the characteristic function of the set of pairs whose threshold function realises in terms of multiplicative characters. The way this proof mainly differs from the arguments in the aforementioned papers is that while they work with the partition of the multiplicative group of the field into the cosets of a subgroup of fixed index, we work with the level sets of the activation function which are not cosets. However this difference is taken care of by the elementary Lemma 2.3.
Definition 1.7. Now fix an integer , and set and . As usual let denote the fractional-part function. For every integer let denote the partially defined function given by the rule:
for every , with domain of definition , where
and is a branch of the argument function on .
Theorem 1.8. Let be nonempty and finite. Then there exist a and an integer such that for every integer and every map there is a such that realises with respect to .
Remark 1.9. The construction of complex threshold functions in this paper originates in the works [1], [2], [3] and [4]. Since it was known that these functions are not universal in general when , I. N. Aizenberg introduced the more general activation function in Definition 1.7 (see
Victor Bovdi and Ambrus Pál
[6, formula (5), p. 350]), and on p. 348 of the same paper he asked whether increasing makes arbitrary q-valued functions realisable. For , that is for Boolean output, universality was already known for (see [5, pp. 467–473]), but it was open for general q until our theorem. The latter is actually much stronger, since we can choose the weight vector uniformly which will work for every function f and every sufficiently large .
The proof of Theorem 1.8 uses an equidistribution theorem for the dilates of certain maps into tori. Such results are classical, see for example [18] and its extension to nilmanifolds in [14, Theorem 1.2]. The vector is chosen so that the conditions of the equidistribution theorem apply. Our strategy is very similar to Yarotsky's neural-network construction in [19, pp. 11934–11935], although the latter uses Kronecker's density theorem instead.
Contents 1.10. In Section 2 we prove Theorem 1.5, while in Section 3 we show Theorem 1.8 using the methods we described above.
Acknowledgement 1.11. The authors acknowledge that the initial sketches of the paper were developed via conversations with ChatGPT, but the authors thoroughly reviewed and revised the manuscript, and they take full responsibility for the final version of the paper.
(2.1.1)
Let denote the group of complex-valued multiplicative characters of . Let be the principal character. We extend every character to by setting . For , and , define
(2.1.2)
As usual, for every subset let denote the characteristic function of .
Lemma 2.2. We have:
(2.2.1)
Proof. The equality for follows from our convention for extending characters, while for other values it is immediate from the multiplicative Fourier inversion formula.
Lemma 2.3. There is an absolute constant C such that
for every choice of q, the field , the primitive element and j.
Proof. Clearly , so the first claim holds. For simplicity let denote , and let be the unique generator of such that . For using the definition of the set we get
where we used that the factor has absolute value one in the third equation, the geometric-sum formula in the fourth equation, the identity in the fifth equation, and the inequality in the last inequality. Therefore
Victor Bovdi and Ambrus Pál
where we used
in the second inequality, the elementary inequality:
which follows from the concavity of sine on this interval, in the third inequality, and the usual estimate for the harmonic series in the last inequality.
Lemma 2.4. Let be a set of distinct points of . For each let , and assume that not all are principal. Then
(2.4.1)
where depends only on N.
Proof. Let denote the set:
and let be its complement. Clearly is the union of the hyperplanes
where are different, so its cardinality is at most . Therefore
(2.4.2)
since each product appearing in the sum has absolute value at most 1.
Let generate the character group as above, and for every let be the unique number such that .
Now let be arbitrary. By assumption at least one of the is nonzero, so the polynomial
is well-defined and has positive degree. Moreover the elements are pairwise distinct as ranges over Z, so every root of has multiplicity at most Q-2, and hence this polynomial is not a constant multiple of the -th power of a polynomial. As the order of is Q-1, we may apply the standard Weil bound for the multiplicative character evaluated on the polynomial (see Theorem 5.41 of [15] on page 225) to get that
Note that
for every outside the set
There are at most N elements of , and at each such value the two expressions differ by a quantity of absolute value at most 1, so we get that
(2.4.3)
Combining the inequalities (2.4.2) and (2.4.3) together we get the claim.
Notation 2.5. For every function and for every let be the unique number such that
Lemma 2.6. We have:
(2.6.1)
Proof. For every and for every we have
Victor Bovdi and Ambrus Pál
if and only if
Therefore
is equal to 1 if and only if is admissible with respect to X and realises f, and it is zero otherwise. Summing this product over all pairs gives (2.6.1).
Proof of Theorem 1.5. By plugging equation (2.2.1) into the identity in Lemma 2.6 we get
(2.6.2)
where we have expanded the finite product of finite sums in the second equality, and we have exchanged the finite sums over and over the tuples in the third equality.
Consider first the tuple in which every is the principal character . By Lemma 2.3 we have for every , therefore the corresponding contribution in the right hand side of (2.6.2) is independent of and equals
Each equation defines a hyperplane of cardinality in , so
for some constant depending only on N. All remaining character tuples satisfy the conditions of Lemma 2.4, so the latter combined with Lemma 2.3 bounds the absolute value of their total contribution to the right hand side of (2.6.2) by
for some constant depending only on N. Now (1.5.1) is clear. ☐
3. THE UNIVERSALITY OF PERIODIC COMPLEX NEURONS AND EQUIDISTRIBUTION OF MAPS
We will start with the following easy
Lemma 3.1. Let be finite. Then there is a vector such that the numbers are pairwise distinct as ranges over .
Proof. For every such that the equation defines a proper complex hyperplane in . A finite union of proper hyperplanes cannot cover , so there is a outside their union with the required property.
Notation 3.2. Now we are going to use the notation of Definition 1.7 and Theorem 1.8, and fix a vector as in Lemma 3.1 above for . Write for every and choose an open disk whose closure does not intersect the finite set . On for each choose a real-analytic branch of , and set
(3.2.1)
For every let denote the real-analytic function given by the rule:
Lemma 3.3. For every nonzero the function is not constant on .
Proof. First note that the function
Victor Bovdi and Ambrus Pál
is well-defined and nonzero everywhere on , since for every . Now assume that is constant. Then has constant argument on , so by the open mapping theorem is constant. Therefore its logarithmic derivative:
(3.3.1)
vanishes on . This is a rational function, so it vanishes identically by the unique continuation principle. Since the are distinct, the residue of this logarithmic derivative at is . Hence for every which is a contradiction.
Definition 3.4. Let denote the quotient torus , and let denote the quotient map. Let denote the usual planar measure (or area) on subsets of , and let be a smooth, compactly supported and nonnegative function such that . For every positive integer let denote the measure on which for every continuous is given by the formula:
Lemma 3.5. The measures converge weakly to the Haar probability measure on as .
Proof. For every let denote the integral:
When we get that
by our assumptions on . Hence it will be sufficient to show that as for every non-zero by the Fourier criterion for weak convergence of measures on a torus.
By Lemma 3.3 the real-analytic function is not constant on the disk U. Its critical set
has planar measure zero. Indeed, if both first partial derivatives of vanished identically, then would be constant because U is connected. Hence at least one of these partial derivatives is a nonzero real-analytic function. The zero set of a nonzero real-analytic function has planar measure zero, and is contained in that zero set.
Let , which is a compact subset of , and let . Since has measure zero, there is an open set whose closure lies in and which contains such that
Choose a smooth, compactly supported function with such that vanishes on a neighborhood of and on . Then
Set , and for this calculation write and . Since the compact set is disjoint from , the function is bounded below by a positive constant on a neighborhood of this set. On that neighborhood define
Here gradients and divergences are taken with respect to the two real coordinates of complex number and we will let denote the corresponding real scalar product. The vector field extends by zero to a smooth, compactly supported vector field on .
Choose an open disk containing such that , and let denote the outward unit normal on . Green's theorem in divergence form, applied separately to the real and imaginary parts, gives
because vanishes near . The product rule and the identity on a neighborhood of imply that
Integrating this identity and rearranging therefore gives
Here the integrals over may be replaced by integrals over because the integrands are supported in . Taking absolute values,
Victor Bovdi and Ambrus Pál
applying the triangle inequality for integrals, and using , we obtain
where explicitly
This constant is finite because is smooth and compactly supported, and it is independent of once are fixed. Combining these two estimates we get that
Since was arbitrary we get that .
Proof of Theorem 1.8. We continue to use the notation introduced in this section so far. By slight abuse of notation for every congruence class let the same symbol denote its unique representative in . For every function let denote the image of the open box
under the quotient map mod : . The set has Haar measure and its boundary has Haar measure zero, so by Lemma 3.5 we get that
In particular for every sufficiently large . Since there are only finitely many functions from X to Y, we get that there is an such that
for every f as above.
Now let and be arbitrary. By the above there is a such that . Since we get that is nonzero for every . Moreover and
Since we get that realises .
REFERENCES
[1] N. N. Aizenberg, Yu. L. Ivas'kiv and D. A. Pospelov, Ob odnom obobshchenii porogovykh funkcii [On one generalization of threshold functions], Dokl. Akad. Nauk SSSR 196 (1971), no. 6, 1287–1290 (in Russian).
[2] N. N. Aizenberg, Yu. L. Ivas'kiv, D. A. Pospelov and G. F. Khudyakov, Multivalued threshold functions. I. Boolean complex-threshold functions and their generalization, Cybernetics and Systems Analysis 7 (1971), 626–635; translated from Kibernetika, no. 4 (1971), 44–51.
[3] N. N. Aizenberg, Yu. L. Ivas'kiv, D. A. Pospelov and G. F. Khudyakov, Multivalued threshold functions. II. Synthesis of multivalued threshold elements, Cybernetics and Systems Analysis 9 (1973), 61–77; translated from Kibernetika, no. 1 (1973), 53–66.
[4] N. N. Aizenberg and Yu. L. Ivas'kiv, Mnogoznachnaya porogovaya logika [Multivalued threshold logic], Naukova Dumka, Kiev, 1977 (in Russian).
[5] I. N. Aizenberg, A universal logic element over the complex field, Cybernetics and Systems Analysis 27 (1991), 467–473; translated from Kibernetika, no. 3 (1991), 116–121.
[6] I. Aizenberg, A multi-valued neuron with a periodic activation function, in: Proceedings of the International Joint Conference on Computational Intelligence, Funchal, Madeira, 2009, 347–354.
[7] I. Aizenberg, Learning of the non-threshold functions of multiple-valued logic by a single multi-valued neuron with a periodic activation function, in: Proceedings of the 40th IEEE International Symposium on Multiple-Valued Logic, IEEE, 2010, 33–38.
[8] I. Aizenberg, Periodic activation function and a modified learning algorithm for the multivalued neuron, IEEE Trans. Neural Networks 21 (2010), 1939–1949.
[9] V. Bovdi and V. Laver, Thelma: THreshold ELelements, Modeling and Applications, version 1.3, GAP package, 2022.
[10] H. Davenport and P. Erdős, The distribution of quadratic and higher residues, Publ. Math. Debrecen 2 (1952), 252–265.
[11] F. E. Geche, Neural elements over finite fields, Information Technologies and Systems 1 (1998), no. 1–2, 100–104.
[12] F. E. Geche, Analysis of discrete functions and logical schemes synthesis in neurobasis, Uzhhorod National University, Uzhhorod, 2010 (in Ukrainian).
[13] F. Geche, O. Mulesa, A. Batyuk and V. Voloshchuk, Properties of logical functions implemented by one generalized neural element over the Galois field, in: Advances in Intelligent Systems and Computing IV, Advances in Intelligent Systems and Computing 1080, Springer, Cham, 2020, 202–213.
[14] B. Kra, N. A. Shah and W. Sun, Equidistribution of dilated curves on nilmanifolds, arXiv:1712.02907v2, 2018.
[15] R. Lidl and H. Niederreiter, Finite fields, second edition, Encyclopedia of Mathematics and its Applications 20, Cambridge University Press, Cambridge, 1997.
[16] B. McDonald, A. Sahay and E. L. Wyman, The VC-dimension of quadratic residues in finite fields, arXiv:2210.03789v2, 2024.
Victor Bovdi and Ambrus Pál
[17] R. Peralta, On the distribution of quadratic residues and nonresidues modulo a prime number, Math. Comp. 58 (1992), 433–440.
[18] B. Randol, The behavior under projection of dilating sets in a covering space, Trans. Amer. Math. Soc. 285 (1984), no. 2, 855–859.
[19] D. Yarotsky, Elementary superexpressive activations, in: Proceedings of the 38th International Conference on Machine Learning, Proc. Mach. Learn. Res. 139 (2021), 11932–11940.
DEPARTMENT OF MATHEMATICAL SCIENCES, UAEU, UAE
Email address: vbovdi@gmail.com
MATHEMATICAL INSTITUTE, EÖTVÖS LORÁND UNIVERSITY 1117 BUDAPEST, PÁZMÁNY PÉTER SÉTÁNY 1/C, HUNGARY;
DEPARTMENT OF MATHEMATICAL SCIENCES, UAEU, UAE
Email address: ambrus.pal@uaeu.ac.ae