A characterization of flat spaces in a finite geometry and the uniqueness of the hamming and the MacDonald codes

A characterization of flat spaces in a finite geometry and the uniqueness of the hamming and the MacDonald codes

JOURNAL OF COMBINATORIAL THEORY 1, 96-104 (1966) A Characterization of Flat Spaces in a Finite Geometry and the Uniqueness of the Hamming and the Mac...

356KB Sizes 0 Downloads 42 Views

JOURNAL OF COMBINATORIAL THEORY 1, 96-104 (1966)

A Characterization of Flat Spaces in a Finite Geometry and the Uniqueness of the Hamming and the MacDonald Codes* R. C. BOSE AND R. C. BURTON University o f North Carolina, Department o f Statistics, Chapel Hill, North Carolina

ABSTRACT Let PG(k -- 1, q) be the projective geometry of dimension k 1 over the finite field GF(q) where q is a prime power. T h e flat spaces of PG(k 1, q) m a y be characterized by the following THEOREM. I f F is a set o f points in PG(k 1, q) which has a non-empty intersection with every v-fiat, then the number o f points in F is greater than or equal to (qk-~ _ 1)/(q -- 1). Equality holds if, and only if, F is a (k -- v, -- l)-flat. It m a y be s h o w n f r o m this t h e o r e m that the H a m m i n g codes which maximize n for a given r e d u n d a n c y r, q = 2, a n d m i n i m u m distance d = 4, are unique. An extension of the t h e o r e m shows that the M a c D o n a l d codes with d -- qk-1 _ q,~ (u = 0, 1, - - . , k -- 2) are unique.

I. GEOMETRIC THEOREMS Since m o s t researchers are p r o b a b l y m o r e familiar with vector spaces than with projective spaces, we recall the following well k n o w n 1-1 correspondence. To each subspace o f r a n k s in a vector space o f r a n k k, there corresponds a flat o f d i m e n s i o n s -- 1 in the (k -- 1)-dimensional projective geometry. A one-dimensional subspace, for example, corresponds to a projective point or 0-flat. Two flats F1 and F2 are said to

* This research was supported by U . S . A r m y Research Office - D u r h a m , under Contract No. DA-31-124-AROD-254.

96

C H A R A C T E R I Z A T I O N OF FLAT SPACES IN GEOMETRY

97

intersect in a flat F 3 provided the subspaces corresponding to F 1 and F2 have the subspace corresponding to F3 as their intersection. Every statement about the projective geometry PG(k - 1, q) can be translated into a statement about the vector space. Indeed, following Baer [1], we may regard P G ( k - 1, q) as the projective geometry of subspaces of the vector space. We will make frequent use of the following THEOREM 0. Let r(A) denote the rank of a subspaee A. Then if S and T

are subspaees, (a) S_~ T and r ( S ) = r ( T )

imply S =

T, and

(b) r(S) + r(T) = r(S A T) - / r ( S -k T). A proof of this theorem is found on page 18 of Baer [1]. By S c T we mean that S is a subspace of T, S ~ T is the intersection of S and T, and S - / T denotes the subspace spanned by S and T together. Theorem 1.6 remains true if the subspaces are considered as flats, and if for r(A) we write dim (A), the dimension of the flat. The connection between the above realization of a projective geometry and the realization in terms of proportional coordinates is easily seen. A subspace of rank 1 consists of all vectors which are proportional to some non-null vector. Any non-null vector in the subspace can serve as the basis for the subspace, or, as the vector of coordinates of the corresponding projective point. Subspaces of higher rank may be given in terms of basis vectors which are independent and therefore not proportional. Hence the corresponding fiat is defined in terms of distinct projective points. Projective points are said to be independent if the corresponding vectors are independent. Alternately, a subspace may be defined as all vectors satisfying a set of homogeneous linear equations. Since the equations are homogeneous, they may be multiplied by non-zero constants without affecting the solutions. And if a vector satisfies the equations, then so do all vectors proportional to it. Carmichael [4] gives a readable introduction to finite projective geometrics from this latter point of view, and the following formula which we will need: The number of s-flats in a given t-flat (s < t) is (q,+l _ 1 ) ( q ' - - 1) . . . ( q " - ' (qS+l _

1)(qS

_

1) - . -

-- 1)

( q - - 1)

(1)

98

BOSE AND BURTON

In particular, the number of points in a v-flat is ( q ' ~ -- 1 ) / ( q -

1).

(la)

In a PG(k - 1, q), the number of t-fiats which contain a given s-flat is ( q k - l - s _ 1)(q*-2-s _ 1) . . . (q~' L _ 1) (qt-~_ 1 ) ( q t - ~ - l _ 1 ) . . . (q -- 1) ' (2)

(s < t)

as may be seen by dualizing (1). By specializing (2) we find that, in a

P G ( k - 1, q), the number of lines through a point is

(@:-1_ 1)/(q- 1), the n u m b e r of v-flats on a ( v -

(2a)

1)-flat is

(q~:-~'- 1 ) / ( q - 1),

(2b)

and the n u m b e r of (k -- 2)-flats on a given u-flat is (qk-~-~_ 1)/(q-

1).

(2c)

A (k -- 2)-flat in PG(k -- I, q) is called a hyperplane. Let [ S[ denote the n u m b e r of elements in a set S. We prove first a preliminary theorem. THEOREM 1. I f F is a set of points in PG(k -- 1, q) which has a non-empty intersection with every line of P G ( k - 1, q), then IF[ > (q~-i_ 1 ) / ( q - 1).

Equality holds if, and only if, F is a hyperplane. We note first that if F is a hyperplane it intersects every line (by T h e o r e m 0) and I F [ -- (q~-i _ 1)/(q - 1). N o w let us suppose only that F intersects every line. Let S be the complementary set of F and let P be any point of S. By formula (2a) there are (qk-1 _ 1)/(q -- 1) distinct lines d on P. By assumption e a c h / ~ has a point Q~in c o m m o n with F. If Q i - - Qj, then ~ - ~ P Q i = P Q j = ~, which contradicts the fact that the lines d are all distinct. Hence the points Qi are distinct and I F t _> (q~'-I - 1)/(q - 1). N o w suppose that Fintersects every line and that I F [ _ ( q k - l _ 1 ) / ( q - 1). Then the points Qi described above are all the points of F. Since P was an arbitrary point of S, we conclude that any line which contains a point of S contains but one point of F. In other words, a line which is on two points of F is contained in F. (The equivalent property

CHARACTERIZATION OF FLAT SPACES IN GEOMETRY

99

in terms of vector spaces is that if F contains two vectors it contains all linear combinations of them.) This shows that F is a flat space, and from the number of points it contains, F i s clearly a (k -- 2)-flat or hyperplane. This completes the p r o o f of the theorem. COROLLARY. I f S is a set o f qk-1 points in PG(k -- 1, q) which does not contain all the points o f any line, then S is the complementary set o f a hyperplane. A n y set which contains more points contains at least one line. This is just a restatement of the theorem in terms of S, the complementary set of F. The number q~-I

q~- 1 q--1

qk-1 _ 1 q--1

is just the number of points in the complementary set. THEOREM 2. I f F is a set o f points in PG(k -- 1, q) which has a non-empty intersection with every v-flat, then I F I ~ (qk-V _ 1)/(q -- 1). Equality holds if, and only if, F is a (k - v -- 1)-flat. We note that if F is a (k -- v -- 1)-flat, it has a non-empty intersection with every v-flat (by Theorem 0) and I F ] = ( q ~ - V - 1 ) / ( q - 1). The remainder of the p r o o f is by induction on v. The theorem is obviously true if v = 0, and for v = 1 it reduces to Theorem 1. We assume that it is true for v* if v* < v - 1. Assume that F has a non-empty intersection with every v-flat and that ] F ] ~ (q~-~ -- 1)/(q -- 1). Then, by the inductive hypothesis, there exists a ( v - 1)-flat L having no points in c o m m o n with F since I F I < ( q ~ - ~ + l _ 1 ) / ( q - 1). By formula (2b) there are (qk-~ _ 1)/(q -- 1) distinct v-flats on L which we denote by Ha, FIz, . . . , II,,~, m = ( q e - ~ - 1 ) / ( q - 1). By assumption each H,: has a point Pi in c o m m o n with F (Figure 1). The points Pi are all distinct for, if Pi = Pj, then 11 i = I l j by Theorem 0, since H i and H j would have the (v -- 1)-fiat L and the point Pi = Pi, not on L, in common. Hence F contains at least ( q ~ - V _ 1 ) / ( q - 1) points, as asserted by the theorem. Now suppose Fintersects every v-flat and that IFI ~ ( q ~ - ~ - 1 ) / ( q - 1). Then F is just the set of points Pi described above. Let Q be a point on L, and consider the lines QPi. Since QP~ belongs to H i and QPj does not, the lines QPi are all distinct. Hence if G is the set of all points on the lines QPi, then G contains [ q ( q k - ~ _ 1 ) / ( q - 1)] + 1 = (q~-~+x_ 1 ) / ( q - 1) points.

100

BOSE AND BURTON

First assume that G is not a (k - v)-flat. Then, by the inductive hypothesis, there is a (v -- 1)-flat L' which has no points in c o m m o n with G. N o w Q is not on L' since Q is on G. Let V be the v-flat QL'. N o w v must have a point Pi c o m m o n with F. The line QP~ and the (v - 1)i

[I L

FIGURE ]

flat L' must have a c o m m o n point, since both are subspaces of Z. This is a contradiction since QPi is in G, which is disjoint with U . Hence G is a (k - v)-flat. Let Q' be a point on L distinct from Q. Let G' be the set of all points on the lines Q'P~. Then G' is a (k - v)-flat just as G is. The (k -- v)-flats G and G: are not identical, since if Q belonged to G' it would lie on a line Q'Pi = Q'Q and Pz would be on L. Hence the intersection of G and G' is a flat space o f dimension not greater than k -- v -- 1. Since the (q~-V _ 1)/(q -- 1) points Pi all belong both to G and G', we see that G n G' is a (k -- v - D-flat which consists of just the points P~. That is, G ~ G' = F. This completes the p r o o f of the theorem. COROLLARY I. I f S is a set o f (q~ -- qk-V)/(q _ 1) points in PG(k -- 1, q) which does not contain all the points o f any v-flat, then S is the complementary set o f a (k -- v -- 1)-flat. Any set which contains more points contains at least one v-fiat. This is just a restatement of the theorem in terms of S, the complementary set o f F. COROLLARY II. I f F is a set o f points in PG(k -- 1, q) such that i f ] ] is any v-fiat when the intersection F ( 3 I ] contains a u-fiat, then

CHARACTERIZATION OF FLAT SPACES IN GEOMETRY

I F [ ~ (q~-V+u_ 1 ) / ( q -

101

1). Equality holds if, and only if, F is a

(k - v + u -- 1)-flat. T o prove the corollary, l e t / 7 be any v-fiat and let L be a u-fiat which is contained in F n / / . By the conditions of the corollary, such an L exists. Since every (v -- u)-fiat i n / / h a s at least a point in c o m m o n with L, F has a n o n - e m p t y intersection with every (v -- u)-flat i n / 7 . Since every (v -- u)-fiat is contained in some v-fiat, F has a n o n - e m p t y intersection with every (v -- u)-flat. Hence the corollary follows f r o m the theorem on replacing v by v - u. The above corollary suggests the following theorem. THEOREM 3. I f F is a set of points in PG(k -- 1, q) such that if1] is any v-fiat then the intersection F n 11 contains at least (qU+l_ 1 ) / ( q - 1) points, then ] F I >_ (qk-,+u _ 1)/(q -- 1). Equality holds if, and only if, F i s a ( k - - v + u 1)-flat. We note first that if F is a (k -- v + u -- 1)-flat then I FI = ( q ~ - ~ + u _ 1)/ (q - 1), and if[1 is any v-fiat then FC~ 11 contains at least a u-flat so that [ F n 17[ > (qU+l _ 1)/(q -- 1). The remainder of the p r o o f is by induction on u. F o r u = 0 the t h e o r e m reduces to T h e o r e m 2. We assume that it is true for u* if u* < u -- 1, and give a p r o o f for u. Let us assume that either (a)

IF]<

(q~-V+u_ 1 ) ) ( q -

1),

(b)

I F I = (qk-V+~ _ l)/(q -- 1) and F is not a (k - v + u - 1)-fiat.

or

Then, by the inductive hypothesis for u * = u - 1, there exists at least one (v -- 1)-flat L which has fewer than (qU*+l _ 1)/(q -- 1 ) = (qU-- 1 ) / ( q - 1) points in c o m m o n with F. By f o r m u l a (2b) there are (q~-V_ 1 ) / ( q - 1) distinct v-fiats on L. N o two of these v-fiats have one point in c o m m o n other than the points of L. Since by the assumption of the theorem every v-fiat has at least (qU+l _ 1 ) / ( q - 1) points in c o m m o n with F, we have [El>

qk-V _ 1 q--1 __ q~-V q--1

__

q U + l __

1

q--1

1 qU +

q_ U__ I q--1

[qb-~-- 1 [ q25--1 __

1] __qU-- 1 ] q--1

qk-V+~_ 1 q--1

102

BOSE AND BURTON

The inequality is strict since L has fewer than (q~'-- 1)/(q -- 1) points in c o m m o n with F. Hence either o f the assumptions (a) or (b) leads to a contradiction, a n d the p r o o f o f the t h e o r e m is complete. COROLLARY. I f S is a set o f (q~ -- qX ..... ')/(q -- 1) points in P G ( k -- 1, q) which does not have more than (q~+l _ q~, 1)/(q _ 1) points in c o m m o n with any v-flat (v > u), then S is the complementary set o f a (k - v -- u - 1)flat. I f ] S ] > (q~: - qk-~+~)/(q _ 1), then there exists a v-flat such that ] S N l l [ > (q"+~ - q,+l)/(q _ 1).

This is just a restatement o f the t h e o r e m in terms of S, the complementary set o f F.

II. APPLICATIONS TO CODES Let V be an (n, k) code, t h a t is, a subspace of r a n k k o f the vector space o f all n-tuples over GF(q). V may be specified in terms o f a k • n generator matrix G whose rows are a basis for V, or in terms o f an r ~z n parity check matrix H where r - - n -- k. A vector x belongs to V if and only if H x ~ 0.

(3)

F r o m (3) we see that if no d - 1 columns o f H are linearly dependent, then every non-null vector in V has at least d non-zero coordinates. T h a t is, the code V is o f m i n i m u m weight (or distance) at least d. Consider the case d > 3. Then no two columns o f H can be p r o p o r tional, so we m a y consider the n columns as projective coordinates of n distinct points in P G ( r -

l, q).

Suppose q = 2 so that there are 3 points on a line o f PG(r - 1, 2). Then, for d = 4, the set S of points whose c o o r d i n a t e vectors are columns o f H m u s t not contain a line. W e w a n t to maximize the n u m b e r n of columns, and, by the C o r o l l a r y o f T h e o r e m i, the only way to do this is to let S be the c o m p l e m e n t a r y set o f a h y p e r p l a n e in PG(r - 1, 2) so that n = 2 r-1. These are the distance 4 H a m m i n g codes described in H a m m i n g [5] or Peterson [8]. N o w let us consider an (n, k) code V defined in terms of a generator matrix G. A vector x belongs to V if and only if x := e G,

(4)

CHARACTERIZATION OF FLAT SPACES IN GEOMETRY

103

where c is some row k-vector. I f there are n - d c o l u m n s gi o f G such that the scalar p r o d u c t c 9 gi=0,

(5)

whereas c 9 g~ : ~ 0 for the other d c o l u m n s o f G, then x is o f weight d. (Scalar p r o d u c t s a n d other m a t r i x o p e r a t i o n s are to be t a k e n over GF(q).) I f the i-th c o l u m n g~ o f G is replaced by ag~ where a is a n o n - z e r o element o f GF(q), then the weights o f the code vectors are unaffected since e 9 ag~ = 0 if a n d only if e 9 g,: = 0. H e n c e the c o l u m n s o f G m a y be r e g a r d e d as c o o r d i n a t e s o f p o i n t s in P G ( k -- 1, q). (In fact, replacing g~ b y ag~ has no effect on the d i s t r i b u t i o n o f coset weights a n d hence on the p r o b a b i l i t y o f correct d e c o d i n g (cf. B u r t o n [2, pp. 24-25]). N o w let us n o t e t h a t if b is a n o n - z e r o element o f GF(q), then the code vector bx=bcG has the s a m e weight as x. Hence there are q - - 1 code vectors c o r r e s p o n d ing to c u n d e r the different choices for b. I f we r e g a r d the e q u a t i o n c.y:O as the e q u a t i o n o f a h y p e r p l a n e I I in P G ( k -- 1, q), a n d the c o l u m n s gi o f G as c o o r d i n a t e s o f p o i n t s P / o f P G ( k - 1, q), then a necessary and sufficient c o n d i t i o n t h a t the q - 1 code vectors c o r r e s p o n d i n g to e be o f weight at least d is t h a t I l should n o t c o n t a i n m o r e t h a n n - - d o f the p o i n t s P~. S u p p o s e we seek to find a code with p a r a m e t e r s k, n = (q~ - qU+2)/ (q - - 1), a n d d = q~-a _ qU+l, where u is some integer in the range u = - 1, 0, 1, 2, . . - , k - - 3. T h e n in the C o r o l l a r y o f T h e o r e m 3, let S be the set o f p o i n t s P~, ] S [ : - n, a n d the v-fiat be 1Y with v = k - - 2. T h e n n - - d = (q,+l _ qU+l)/(q _ 1) so t h a t

d--

qk_qU+2 q--

1

q~-l_qU+l q--

q~-~ _ qU+~,

1

a n d the code is possible if a n d only if S is the c o m p l e m e n t o f a flat o f dimension k--v+u--l=u+l.

104

BOSE AND BURTON

It is easily seen that d cannot be increased for the given n and k. In fact, the C o r o l l a r y tells us that even if n is increased to n ~ 1, then d cannot be increased. We have glossed over one point. That is, the C o r o l l a r y was only p r o v e d in case the points P~ are all distinct, which means that no two columns o f the generator matrix are p r o p o r t i o n a l . W h a t we have shown, then, is that if the columns are not p r o p o r t i o n a l they m u s t be the complementary set o f a (u + 1)-flat. M a c D o n a l d [6] and M c C l u s k e y [7] give a description of these codes for the case q = 2 which is equivalent to omitting a particular (u + 1)flat. See also Peterson [8]. The geometric theorems find other uses in coding theory in the papers by Burton [2, 3]. In the second o f these, we must face squarely the p r o b l e m of p r o p o r t i o n a l columns or even equal columns, and further discussion is deferred to that paper.

ACKNOWLEDGMENT

Dr. Dale Mesner suggested Corollary II of Theorem 2, which in turn suggested Theorem 3. REFERENCES

1. R. BAER, Linear Algebra and Projective Geometry, Academic Press, New York, 1952. 2. R.C. BURTON, An Application of Convex Sets to the Construction of ErrorCorrecting Codes and Factorial Designs, Institute of Statistics Mimeo Series No. 393, University of North Carolina, Chapel Hill, 1964. 3. R.C. BURTON, Iterated Bounds for Error-Correcting Codes, submitted for publication. 4. R.D. CARMIC~AEL,Introduction to the Theory of Groups of Finite Order, Ginn, 1937; reissued by Dover, New York. 5. R.W. HAMMING, Error-Detecting and Error-Correcting Codes, Bell System Tech. J. 29 (1950), 147-160. 6. J.E. MACDONALD, Constructive Coding Methods for the Binary Symmetric Independent Data Transmission Channel, M.S. Thesis, Department of Electrical Engineering, Syracuse University, Syracuse, N.Y., 1958. 7. E.J. MCCLus~ZEV,Jr., Error-Correcting Codes--a Linear Programming Approach, Bell System Tech. J. 38 (1959), 1485-1512. 8. W.W. PEaneRSON,Error-Correcting Codes, The M.I.T. Press, Cambridge, Mass., 1961.