What is the minimum number of
hyperplanes that slice all edges
of the d-dimensional hypercube?
Introduction
Consider the d-dimensional hypercube with
vertex set {-1,+1}d.
The d hyperplanes through the origin and
normal to the i-th unit vector obviously slice
all its edges.
A different strategy also uses d hyperplanes, running between
adjacent levels of the hypercube; the i-th level being
the subset of vertices with exactly i many coordinates
equal to +1.
However [Paterson] observed that for d=6, one can do better!
The five hyperplanes described by the following linear equations
in x,y,z,u,v,w
cut through the relative interior of any of its 80 edges:
| plane 1: |
x | + | y | + | z | - | 3u | - | 3v | - | 6w | =0 |
| plane 2: |
3x | + | 3y | + | 3z | + | u | + | v | - | 4w | =0 |
| plane 3: |
2x | + | 2y | + | 2z | - | 3u | - | 3v | + | w | =0 |
| plane 4: |
3x | + | 3y | + | 3z | + | u | + | v | + | 8w | =0 |
| plane 5: |
x | + | y | + | z | + | 3u | + | 3v | - | 4w | =0 |
|
This raises the question of determining
C(d),
the minimal number of hyperplanes that slice all edges of the
d-dimensional hypercube.
Problems of this kind occur in separability
questions related to Perceptrons
[Minsky].
Previous works
[Emamy,ONeil,Paterson,Saks]
proved C(d)=d up to dimension 4. Starting with d=5,
the exact values were unknown, asymptotically leaving a gap
between SquareRoot(d) and O(d).
It is our goal to close this gap!
A first success, we were able to show
[CCCG]
that C(5)=5 and thereby solve an
at least 15-year old open problem in Geometry.
More generally, we use both computational and combinatorial methods
to investigate on so-called
Slicing Numbers
S(d,k),
the maximum number of
edges in the d-cube that k hyperplanes can slice;
obviously C(d)>k iff S(d,k)<k*2k-1.
For instance,
[Emamy2]
strengthened his previous result
"C(4)=4"
to "S(4,3)=30".
Similarly in our recent work
[DMCCG],
we strengthen
[CCCG]'s
"C(5)=5"
to "S(5,4)=78".
The following two tables
represent the present state of knowledge;
high lighted entries are due to
the author of this web-page.
|
d
|
C(d)
| |
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 |
<=5, >=5
| |
6 |
<=5, >=5
| |
7 |
<=6, >=5
| |
8 |
5 ... 7 | |
d | O(d1/2) .. O(d) |
|
|
Interactive Challenge
Join the competition,
try to beat our lower bounds on S(d,k).
Do you manage to slice the 7-cube with only 5 cuts?
Paterson-like Cuts
Paterson found 5 cuts slicing all 192 edges of the 6-cube.
In connection with [CCCG],
this settles the cut number problem in dimension 6.
However until 2002, Patersons cuts remained the only ones
with this special property. It was not known whether there
exist other ways of slicing the 6-cube with 5 hyperplanes
(excluding isomorphic ones, of course).
With new computational techniques, we only recently found a
new collection of 5 cuts in the 6-cube.
Like
Paterson's cuts, they are all homogeneous.
Here is
some further collection and
another one.
Computer Proof
We develop algorithms that decide, for given natural
number k and edge set E of a geometric graph,
whether S(E) <= k or not.
To reduce the number of cases involved, we apply symmetries and
consider only maximal sliceable subsets. More precisely,
- call a line segment [a,b] sliced by
hyperplane H
if their intersection is a point in the relative interior (a,b).
- Call a subset L of E
a sliceable subset (SS) if some
hyperplane slices all elements (edges) of L.
- Call it a maximal sliceable subset
(MSS) if adding any edge from
E makes it unsliceable.
- Call it k-sliceable if some set of k
hyperplanes slice all its edges, i.e., iff L
decomposed into k sliceable subsets.
- Call it maximal k-slicable
(MkSS) if it is
k-slicable but not any more after adding any edge from E.
To the best of my knowledge, there is no characterization
of this property by decomposition into maximal slicable subsets...
- A cut complex (CC)
is the subgraph of the hypercube induced by exactly those vertices
which lie in a common halfspace.
More formally,
V'={-1,+1}d
n H+
for some oriented hyperplane H. In the sequel,
the empty set V'={} is not considered a cut complex.
It is well-known [Emamy]
that every MSS consists of the
edges exterior to some cut complex. Moreover, since the complement
of a cut complex is a cut complex again, it suffices to consider
those of size up to 2d/2.
A cunning algorithm for obtaining only symmetrically
nonequivalent CCs is presented in
[CCCG].
We refer as symmetries of
the d-dimensional hypercube to
- reflections in direction j=1..d, i.e., mappings
u=(u1,..,uj,..,ud)
-> (u1,..,-uj,..,ud)
- permutation of dimensions
- any of the 2d d! combinations
of the above.
By applying such a symmetry to both a hyperplane H and a
set L which is sliced by H, one can see that
L is slicable iff any of its symmetric images is.
For all sets L which can be transformed into one another
by symmetries, we therefore need to consider only one
unique symmetry representative (USR).
Soundness
Our proof that S(5)=5 is computer-based and
therefore volatile to to programming mistakes on behalf of ours as
well as to errors sources beyond our reach such as
compiler, libraries, and even the processor itself (see
Pentium
bug).
Such reproaches to any kind of
computer-proofs had been discussed intensively in
connection with the famous Four-Colour Theorem.
To establish confidence in our results,
- we performed extensive tests of our software,
- including experiments on numerical robustness.
- All previous results on cut numbers have been reproduced,
- such as the bounds on M(d) and
- complete lists of USRs for MSSs of E3
and E4 in [Emamy].
- For each considered dimension d=3..7, the size of these lists
coincides with the corresponding
"number of NPN-equivalence classes of
threshold functions of d or fewer variables" listed
in Table 2.3.2 of [Muroga].
- Furthermore, validy of Theorems 1-3 of
[Emamy2] and
- of Paterson's (counter-) example could be confirmed algorithmically.
- Finally, we follow [Robertson]
in disclosing all intermediate results, encouraging others
to verify them and to repeat computations in their own implementations.
More precisely, this web page offers for download our lists of
E3
-
- all 498 sliceable subsets (SSs)
- all 51 MSSs
- coming from the 58 CCs of size up to 4
- all 5 USRs of MSSs
- 1 containing three edges
- 2 containing four edges
- 1 containing five edges
- 1 containing six edges
- coming from the 5 USRs of CCs of size up to 4:
- 1 containing one vertex
- 1 containing two vertices
- 1 containing three vertices
- 2 containing four vertices
- all 92 M2SSs
- all 5 USRs of M2SSs
- 1 containing 8 edges
- 3 containing 9 edges
- 1 containing 10 edges
E4
-
- all 784 037 SSs;
- all 940 MSSs in binary
- as well as in human readable form,
- coming from the 992 CCs of size up to 8;
- all 14 USRs of MSSs
(see below)
- coming from the 14 USRs of CCs of size up to 8
(see below):
1 containing one vertex, 1 with 2 vertices, 1x3 vertices,
2x4, 2x5, 2x6, 2x7, 3x8.
- all 82 336 M2SSs
- all 301 USRs of M2SSs:
1 containing 12 edges, 1 with 14 edges,
1x15 edges, 14x16, 17x17, 63x18,
56x19, 125x20, 17x21, 4x22,
1x23, 1x24.
- all 4760 M3SSs
- all 23 USRs of M3SSs:
11 containing 27 edges, 9 with 28 edges, 2x29 edges, 1x30.
In particular, 3 cuts can slice at most 30 out of 32 edges of the 4-cube:
S(4,3)=30.
E5
-
- the >10G SSs make up >100GB
of data and should not be transferred via internet
- all 47 285 MSSs
- coming from 48 226 CCs of size up to 16;
- all 62 USRs of MSSs
(1x5, 1x8, 1x11, 1x12, 1x14, 1x15, 3x16, 2x17, 1x18, 3x19, 6x20, 4x21, 5x22, 6x23,
8x24, 6x25, 5x26, 3x27, 2x28, 1x29, 1x30 edges)
- coming from 62 USRs of CCs of size up to 16
(1x1,1x2,1x3,
2x4,
2x5,
3x6,
3x7,
4x8,
4x9,
5x10,
5x11,
6x12,
6x13,
6x14,
6x15,
7x16 vertices)
- the M2SSs make up 6GB
of data and should not be transferred via internet
- all 125 328 USRs of M2SSs
- all 13 194 628 USRs of M3SSs
- all 182 920 M4SSs
- all 65 USRs of M4SSs
(2x78, 1x77, 4x76, 4x75, 29x74, 19x73, 6x72 edges)
In particular, 4 cuts can slice at most 78 out of 80 edges of the 5-cube:
S(5,4)=78.
E6
-
- the 7 514 066 MSSs make up 180MB
of data and should not be transferred via internet
- all 566 USRs of MSSs
(1x6, 1x10, 1x14, 1x16, 1x18,
1x20, 2x22, 3x24, 2x26, 4x28,
4x30, 9x32, 9x34, 10x36, 13x38,
22x40, 28x42, 38x44, 46x46,
49x48, 64x50, 67x52, 66x54,
53x56, 35x58, 36x60 edges)
- coming from 566 USRs of CCs up to size 32:
(1x1,
1x2,
1x3,
2x4,
2x5,
3x6,
4x7,
5x8,
5x9,
7x10,
8x11,
10x12,
11x13,
13x14,
14x15,
17x16,
18x17,
20x18,
22x19,
25x20,
26x21,
29x22,
30x23,
32x24,
33x25,
36x26,
35x27,
37x28,
36x29,
34x30,
28x31,
21x32 vertices).
- Selected USRs of M2SSs:
2 containing 120 edges,
1x119,
4x118,
11x117,
35x116,
68x115,
211x114,
373x113,
973x112,
1639x111,
3960x110,
6806x109,
18207x108,
38096x107,
97765x106,
208289x105,
497915x104,
1014046x103,
.....
- Selected USRs of M3SSs:
1 containing 160 edges,
1x159,
2x158,
11x157,
27x156,
102x155,
316x154,
816x153,
2475x152,
5890x151,
16365x150,
37420x149,
98704x148,
239576x147,
630833x146,
1626493x145,
4485337x144,
.....
E7
-
- the 4 189 035 431 MSSs make up 200GB
of data and should not be transferred via internet
- all 14 754 USRs of MSSs
- coming from the 14 754 USRs of CCs
up to size 64:
1x1,
1x2,
1x3,
2x4,
2x5,
3x6,
4x7,
6x8,
6x9,
8x10,
10x11,
13x12,
15x13,
19x14,
22x15,
27x16,
31x17,
37x18,
43x19,
51x20,
58x21,
68x22,
77x23,
89x24,
99x25,
114x26,
126x27,
142x28,
155x29,
169x30,
175x31,
178x32,
186x33,
204x34,
218x35,
236x36,
256x37,
284x38,
304x39,
321x40,
334x41,
357x42,
377x43,
398x44,
409x45,
430x46,
442x47,
460x48,
476x49,
495x50,
508x51,
521x52,
533x53,
550x54,
557x55,
560x56,
565x57,
568x58,
557x59,
542x60,
504x61,
427x62,
288x63,
135x64
File Format
Each of the the files available for download is binary
i.e., without delimiters between items. Each item
represents a subset A of some common universe
{0,1,...,n-1} which is fixed within each file.
Such subset is represented by a bit string of length n
where the i-th bit determines whether i
is in A or not.
The bits themselves are listed in what is known as
small endian order: The first byte contains
bits number 0,1, to 7, corresponding to bit values 1,2, to 128.
The next byte contains bits number 8 to 15; then bits 16-23 and
so on up to bit number n-1. Note that this
coincides with the way that the Intel Pentium Microprocessor
stores bits!
If n is no multiple of 8,
the remaining bits in the last byte are cleared.
It remains to explain how we enumerate vertices and edges, i.e.,
to which element of Vd and Ed,
respectively, the i-th bit corresponds to.
For vertices this is easy, since each
v in Vd has has the form
v=( x0,x1,..,xd-1 )
for xi either 0 or 1, i=0..d-1.
This gives the correspondence canonically.
For Ed,
note that each hypercube edge connects two vertices which
differ in exactly one coordinate:
( x0,..,xj-1,*,
xj+1,..,xd-1 )
It can therefore be described by
- that differing coordinate j between 0 and d-1
- the d-1 common coordinates, each either 0 or 1.
Let us combine these two informations into one number i
between 0 and 2d-1d -1 where the least
d-1 bits store the d-1 common coordinates and the
highest order bits are the binary representation of j.
More explicitely, the above edge corresponds to
i := x0 + 2 x1 +
4 x2 + ... + 2j-1 xj-1
+ 2j xj+1 + ... + 2d-2 xd-1
+ 2d-1 j
and vice versa, a given i represents (on Intel machines
as well as, e.g., on SUNs) the edge
( 1 & i>>0,
1 & i>>1,
...,
1 & i>>j-1,
*,
1 & i>>j,
...,
1 & i>>d-2 ),
j:=i mod 2d-1
The following table compiles the sizes of one entry in bytes:
|
d
|
|Vd|
|
#bytes
|
|Ed|
|
#bytes
|
|---|
|
3
|
8
|
1
|
12
|
2
|
|
4
|
16
|
2
|
32
|
4
|
|
5
|
32
|
4
|
80
|
10
|
|
6
|
64
|
8
|
192
|
24
|
|
7
|
128
|
16
|
448
|
56
|
Examples
To exemplify the above explainations,
here are the 14 USRs of CCs and of MSSs for E4
shown graphically and their corresponding bitstring.
Least significat
bit (LSB) is right, most significant bit (MSB) left.
As USRs (unique symmetry representatives) we chose,
among all equivalent sets, the smallest one with
respect to lexicographical order, i.e., that whose
bit string corresponds in binary respresentation
to the least valued integer.
Name
(according to
[Emamy'86])
|
Cut Complex
|
induced MSS
|
USR of MSS
|
|---|
|
C1 |
0000000000000001
|
00000001000000010000000100000001
|
00000001000000010000000100000001
|
C2 |
0000000000000011
|
00000011000000110000001100000000
|
00000000000100010001000100010001
|
C3 |
0000000000000111
|
00000111000001110000001000000010
|
00000001000000010101010001010100
|
C4 |
0000000000001111
|
00001111000011110000000000000000
|
00000000000000000101010101010101
|
C5 |
0000000000011111
|
00011111000011100000010000000100
|
00000001000000010101010010101011
|
C6 |
0000000000111111
|
00111111000011000000110000000000
|
00000000000100010001000111101110
|
C7 |
0000000001111111
|
01111111000010000000100000001000
|
00000001000000010000000111111110
|
C8 |
0000000011111111
|
11111111000000000000000000000000
|
00000000000000000000000011111111
|
C8'' |
0000000101111111
|
01111110000110000001100000011000
|
00011000000110000100001010111101
|
C7' |
0000000100111111
|
00111110000111000001110000010000
|
00000001011001111001100010011000
|
C8' |
0000001100111111
|
00111100001111000011110000000000
|
00000000011001100110011001100110
|
C6' |
0000000100011111
|
00011110000111100001010000010100
|
00000110000001100101011001010110
|
C4' |
0000000000010111
|
00010111000001100000011000000110
|
00000110000101110001001000010010
|
C5' |
0000000100010111
|
00010110000101100001011000010110
|
00010110000101100001011000010110
|
References
[Emamy]
-
M. Reza Emamy-K.: "On the cuts and cut numbers of
the 4-cube", pp.211-227 in Journal of Combinatorial Theory
Series A 41 (1986)
[Emamy2]
-
M. Reza Emamy-K.: "On the covering cuts of c5",
pp.191-196 in Discrete Mathematics 68 (1988),
Elsevier North-Holland
[DCG]
-
M. Reza Emamy-K., M. Ziegler: "On the Coverings of the d-Cube for d≤6",
submitted (2005).
[DMCCG]
-
M. Reza Emamy-K., M. Ziegler: "New
Bounds for Hypercube Slicing Numbers",
pp.155-164 in Proceedings of the
First International
Conference DM-CCG, published
as special issue of Discrete
Mathematics and Theoretical Computer Science.
[ICALP02]
-
M. Charikar, P. Indyk, R. Panigrahy:
New Algorithms for Subset Query, Partial Match, Orthogonal Range Searching and Related Problems, pp.451-462 in Proceedings of the 29th International Colloquium on Automata Languages and Programming (2002), Springer LNCS vol.2380.
[Minsky]
-
Marvin Minsky, Seymour A. Papert: "Perceptrons",
MIT Press (1988).
[Muroga]
-
Saburo Muroga: "Threshold logic and its applications",
Wiley-Interscience (1971).
[ONeil]
-
P. O'Neil: "Hyperplane cuts of an n-cube",
pp.193-195 in Discrete Mathematics 1 (1971).
[Paterson]
-
M. Paterson, unpublished; see Example 3.72 in [Saks].
[Robertson]
-
N. Robertson, D.P. Sanders, P. Seymour, R. Thomas:
"A New Proof of the Four-Colour Theorem", pp.17-25 in
ERA of the Amer.Math.Soc. 2 (1996).
[Saks]
-
Michael E. Saks: "Slicing the hypercube", pp.211-255
in Surveys in Combinatorics, Cambridge University Press
(1993), Keith Walker (editor).
[CCCG]
-
C. Sohler, M. Ziegler: "Computing Cut Numbers",
pp.73-79 in Proceedings of the 12th Annual
Canadian Conference on Computational Geometry
CCCG'00.
[Wegener]
-
I. Wegener: "Optimal lower bounds on the depth of polynomial-size threshold circuits for some arithmetic functions",
pp.85-87 in Information Processing Letters 46 (1993).