Professional Documents
Culture Documents
Locally Explicit Construction of R6dl's Asymptotically Good Packings
Locally Explicit Construction of R6dl's Asymptotically Good Packings
Locally Explicit Construction of R6dl's Asymptotically Good Packings
A b s t r a c t . We present a family of asymptotically good packings of lsubsets of an n-set by k-subsets and an algorithm that given a natural i
finds the ith k-subset of this family. The bit complexity of this algorithm
is almost linear in encoding length of i that is close to best possible
complexity. A parallel NC-algorithm for this problem is presented as
well.
1 Introduction
Research of the last decade has demonstrated the significance of probabilistic
methods and algorithms (see [4,14]). By this reason, explicit constructions and
derandomization techniques for objects whose existence had been proved by
probabilistic arguments have been the focus of much research [2,14,15,19,22].
W h a t we mean by explicit constructions? Say we wish to construct a family
F of subsets of a finite set. By a globally explicit construction we mean an algorithm that lists all members of F in time polynomial in IFI. Locally explicit
constructions would just ask for ith member of F to be evaluated in time polynomial in encoding length of i which is O(log IF]). Clearly, local is stronger than
global, in analogy to the distinction between log-space and polynomial time.
One of the most significant achievements of the probabilistic method has been
R6dl's probabilistic proof of the long-standing Erd6s-Hanani conjecture, i.e. the
proof of the existence of asymptotically good packings and coverings [4,17,24].
Our purpose here is to accomplish this result deterministically by means of the
construction that is locally explicit.
We need to introduce some terminology and notation. Let l < k < n be
natural numbers and [n] = {0, 1 , . . . , n - 1} (the n-set). By a k-subset of In] we
mean any subset g of In] such that Igl = k.
An (n, k,/)-packing is defined as a family P of k-subsets of In] such that every
/-subset of In] is contained in at most one g E P. The density of a packing P is
defined as
JPJ( )
(?)
Lubo~ Prim et hi. (Eds.): MFCS'98, LNCS 1450, pp. 194-202, 1998.
(~) Springer-Verlag Berlin Heidelberg 1998
195
It is easy to see that the density of any packing is at most 1. The sequences of
packings of density tending to 1 as n tends to infinity are called asymptotically
good.
P.ErdSs and H.Hanani [6] conjectured that for all fixed 1 and k with 1 < k
the sequences of asymptotically good packings exist. In 1985 V.RSdl [17] using probabilistic methods proved this conjecture in full. Futher strenthenings
and extensions were given in [3,7,8,11,13,16,18,23]. Recently D. Grable [9] found
globally explicit construction of asymptotically good packings.
In this paper we present locally explicit construction of asymptotically good
packings which has almost linear (in the input size) bit complexity. Our main
contribution may be formulated as follows. We write f -- O(g) if there exists a
constant c > 0 such that f = O(g(logg)C).
T h e o r e m 1. For any natural numbers l and k with l < k there is a sequence
Pn (k, l) of asymptotically good (n, k, 1)-packings and enumeration of k-subsets in
each Pn(k, l) such that there is an algorithm of ()(log n) bit complexity which
given natural n, k, l and i finds the i th k-subset of Pn(k, 1).
Moreover, we present a parallel NC-algorithm for this problem (Section 6).
The proof of Theorem 1 will be given in the next 4 sections. Our result is not
independent on RSdt's result. We use reccurrencies and algebraic construction
to decrease exponentially the dimension and then apply RSdl's result along with
exhaustive search for very small set.
2
Explicit
Construction
196
Nikolai N. Kuzjurin
substitute a (t, k,/)-packing which is equivalent to the maximal packing R(t, k, l).
Clearly, the size of such a composed packing is the product of the sizes of the
corresponding packings.
We describe now the first part of our construction in detail. Let p be the
maximum prime such that
(1)
prt
(2)
p, <
tp r .
(3)
It will be essential in the sequel that in view of [10] and (2-3) Pl ~ c~ and
Pt ~ nt p ~ as n -+ c~. It is easy to .see that choosing appropriate r we can satisfy
(2) because p is sufficiently small in view of (1).
Consider the system
t
i3x~=0m~
j=l,...,t-l.
(4)
~-~1
For arbitrarily fixed variables x i l , . . . , x~z in (4) we obtain a system with Vandermonde's determinant. For this reason the number of solutions is e x a c t l y / .
Denote by V(p, t, l) the set of solutions of the system (4). Note that the system
(4) was used in [13] to prove some extensions of the Erd6s-Hanani conjecture.
In coding theory it is well-known as RS-codes over large alphabets.
Let N = tplp r, IN] = {0, 1 , . . . , N - 1). Consider a partition of [N] in t parts
t
[N] = U Si,
N
IS~I = T =
PlPr'
where St = {(i - 1)plpr,. 9 9 iplp r - 1}. Define the function f which enumerates
the Cartesian product ~v]r [Pl] by natural numbers from [plp r] in such a way
that for any z = ( x t . . . , xr, y) from [p]r x [Pl]
(5)
r:
197
where [N/t] t denotes t th Cartesian power of the set [N/t] = {0, 1 , . . . , Nit - 1}.
Note that F defines t-tuples with elements belonging to ~olpr]. For each such ttuple we may obtain in an obvious way a t-subset with elements in Si, i = 1 , . . . , t
(it is sufficient to modify x~ as follows xi = xi + (i - 1)plpr). Denote this family
of t-subsets by Sn(t, l).
For the second part of our construction consider all (t, k,/)-packings and select one that is maximal denoting it by R(t, k, l). Substitute (t, k,/)-packings
equivalent to R(t, k, l) in place of each t-tuple of Sn(t, l) and denote such composed packing by Qt (n, k, l). Let Pn (k, l) = Qt (n, k, l) with t = (log log log n) 1/3k.
It is easy to verify that all t-subsets of Sn(t, l) form (n, t,/)-packing. Indeed, fixing
values of arbitrarily chosen l variables (for example, Xl = il, x2 = i 2 , . . . , xz = iz)
for every is, j = 1 , . . . ,l the r + 1 numbers f-l(i3) are uniquely defined. Let
f - l ( i j ) = (z~J),... ,z(J),y(3)). For every/-tuple
, z J l ) ) , j = 1,... ,r and
( y l ) , . . . , y(t)) the solution of the system (4) with the values of l variables equal
to numbers of this/-tuple is uniquely defined as well. It can be found by solving
r systems of linear equations over Fp and one system of linear equations over
Fpl. These r + 1 solutions define unique t-subset by the mapping F.
Why the composition of (n, t,/)-packing P and (t, k,/)-packing Q is a (n, k, l)packing? It is, of course, a family of k-subsets of In]. Moreover, any two k-subsets
from the same t-subset of P have no common /-subset because Q is (t, k, l)packing. Any two k-subsets from different t-subsets have no common/-subset
because P is (n, t,/)-packing. Thus, the resulting composed family is (n, k, l)packing. Note, that such packings are the product of packings in the sence of
[25].
In view of [10] Pl "~ ___n
tp ~ as n ~ c~. The size of the packing Sn(t, l) is
(zJl),...
198
4
Nikolai N. Kuzjurin
Algorithm
L(x) = E
y~pl-~.
(6)
i-~l
i=TL+d,
O<d<L.
Then T is the number of t-subset and d is the number of k-subset in the list
R(t, k, l) corresponding to the T t h t-subset.
4) Transform T from the binary representation to the P = pip r base representation of length l (denote it by (Yl,..., Yt)).
5) Given Yl, Y2,..., y~ f i n d / ( r + l ) - t u p l e s f - l ( y j ) , j _= 1,..., I. Let f - l ( y j ) =
6) For each l-tuple of numbers (z~l),..., z~0), j - 1 , . . . , r and ( y l ) , . . . , y ( 0 )
find the solution of system (4) with the first I variables equal to the values of
this/-tuple. Thus, we obtain r + 1 t-tuples.
7) Given this r + 1 t-tuples of coefficients in representation (5), find the
desired unique t-subset by the map F.
8) Given the list R(t, k, l) and the number d select the dth k-subset in the
t-subset that was found at the previous step.
199
Complexity
O < yz < P,
then divide T1 by P
TI = T2 P + yl-1,
O < y t - l < P,
/(z) = Pl(Z) +
p~p2(z),
(7)
(8)
200
Nikolai N. Kuzjurin
Parallel
Complexity
The detailed analysis of the above algorithm shows that all operations may be
efficiently parallelized and we obtain parallel algorithm which terminates in time
O((log log n) c~
using O((log n) c~
parallel processors.
Note that fast multiplication and division algorithms were parallelized (see
[12]) and both parallel algorithms terminates in time O((logn) c~
when operate with O(n) bit numbers. In our case this parallel time is O((log log n) c~
because we operate with O(log n) bit numbers only.
Observe, briefly the main steps of the algorithm LocalSubset. Note that
the sequential complexity of steps 1), 2) and 8) is o(loglogn) and it is nothing to parallelize within these steps. Steps 3-4 may be easily done in parallel
time O((loglogn)C~
At step 5 we evaluate O(loglogn) powers of p using
fast parallel multiplication algorithm and recursively find all x~ and y in the
representation (5). The parallel complexity is O((log log n) c~
because there
are log r - o(log log n) recursive levels. Similar arguments show that this is true
for step 7. At step 6 we solve for r l-tuples of numbers (independently) system
(4) over the field Fp and for one l-tuple over the field Fm. This may be done in
parallel time O((log log n) c~
[12].
Thus, the total parallel time is O((log log n) c~
on O((log n) c~
parallel
processors. Noting that the class N C consists of problems solvable in deterministic time polynomial in the logarithm of the size of the input on polynomiallymany parallel RAM processors (for details, see [12]) we obtain the following
T h e o r e m 2. There is an NC-algorithm which given arbitrary natural n, k, l
201
Discussion
There are three essential ideas to obtain our locally explicit construction:
1) the notion of composition of packings;
2) the algebraic construction of (n, t,/)-packings with slowly increasing t (as
n---+ (x));
3) the use of refinement and direct products of packings to avoid large primes.
The third part may be done in other manner using recent result of [20,21].
Instead of system (4) we may use its analogue over the field Fq, where q is a
prime power close to n. The efficient construction of such fields with q ~ n was
presented in [20,21].
This work was partially supported by the grant 98-01-00509 of the Russian
Foundation for Fundamental Research. Part of this work was done while the
author was visiting Bielefeld University.
References
1. A.V. Aho, J.E. Hopcroft and J.D. Ullman, The design and analysis of computer
algorithms, Addison-Wesley, 1976.
2. N. Alon, J. Bruck, J. Naor, M. Naor and R. Roth, Construction of asymptotically good, low-rate error-correcting codes through pseudorandom graphs, IEEE
Transactions on Information Theory, 38 (1992) 509-516.
3. N. Alon, J.H. Kim and J.H. Spencer, Nearly perfect matchings in regular simple
hypergraphs, Preprint, 1996.
4. N. Alon and J.H. Spencer, The probabilistic method. John Wiley and Sons, New
York, 1992.
5. P. Erd6s and J. Spencer, Probabilistic methods in combinatorics, Akademic Press.
New York, 1974.
6. P. Erd6s and H. Hanani, On a limit theorem in combinatorial analysis. Publ. Math.
Debrecen. 10 (1963) 10- 13.
7. P. Frankl and V. R6dl, Near perfect coverings in graphs and hypergraphs, Europ.
J. Combinatorics, 6 (1985), 317-326.
8. D.M. Gordon, O. Patashnik, G, Kuperberg and J.H. Spencer, Asymptotically optimal covering designs, J. Comb. Theory A 75 (1996) 270 - 280.
9. D.A. Grable, Nearly-perfect hypergraph packing is in NC, Information Process.
Letters, 60 (1997) 295-299.
10. H. Iwaniec and J. Pintz, Primes in short intervals, Monatsch. Math. 98 (1984)
115-143.
11. J. Kahn, A linear programming perspective on the Frankl-R6dl-Pippenger theorem,
Random Structures and Algorithms, 8 (1996) 149-157.
12. R.M. Karp and V. Ramachandran, Parallel algorithms for shared-memory machines, In Handbook of Theoretical Computer Science (ed. J. van Leeuwen), Elsevier, 1990, 869-942.
13. N.N. Kuzjurin, On the difference between asymptotically good packings and coverings. - European J. Comb. 16 (1995) 35 - 40.
14. R. Motwani and P. Raghavan, Randomized Algorithms, Cambridge University
Press, 1995.
202
Nikolal N. Kuzjurin
15. M. Naor, L.J. Shulman and A. Srinivasan, Splitters and near-optimal derandomo
ization, Proc. 36th Ann. IEEE FOCS, 1995, 182-191.
16. N. Pippenger and J. Spencer, Asymptotic behavior of the chromatic index for
hypergraphs. J. Comb. Theory. Ser. A51 (1989) 24- 42.
17. V. RSdl, On a packing and covering problem. Europ. J. Combinatorics. 5 (1985)
69 - 78.
18. V. RSdl and L. Thoma, Asymptotic packing and the random greedy algorithm,
Random Structures Algorithms 8 (1996) 161 - 177.
19. M. Saks, A. Srinivasan and S. Zhou, Explicit dispersers with polylog degree, Proc.
Annu. 27th ACM STOC-95, 1995, 479-488.
20. I. Sparlinski, Approximate constructions in finite fields, In Finite Fields and Applications, London Math. Soc., Lect. Notes Ser., v. 233, Cambridge Univ. Press,
Cambridge, 1996, 313-332.
21. I. Sparlinski, Finding irreducible and primitive polynomials, Appl. Algebra in Engin., Commun. and Computing, 4 (1993) 263-268.
22. J.H. Spencer, Ten Lectures on the Probabilistic Method, SIAM, Philadelphia, 1987.
23. J. Spencer, Asymptotic packing via a branching process, Random Structures Algorithms 7 (1995) 167 - 172.
24. J. Spencer, Asymptotically good coverings. Pacific J. Math. 118 (1985) 575 - 586.
25. V.A. Zinoviev, Cascade equal-weight codes and maximal packings, Problems of
Control and Information Theory 12 (1983) 3 - 10.