Difference between revisions of "4D Moser brute force search"

From Polymath Wiki
Jump to: navigation, search
(Pareto Maxima and Extremal Points: removed incorrect computation of extrema)
(Pareto Maxima and Extremal Points)
Line 425: Line 425:
 
     15    4    0    0    0
 
     15    4    0    0    0
 
     16    0    0    0    0
 
     16    0    0    0    0
 +
 +
Using qhull, 58 extremals were found:
 +
 +
    3    16    24      0      0
 +
    4    14    19      2      0
 +
    4    15    24      0      0
 +
    4    16      8      4      1
 +
    4    16    14      4      0
 +
    4    18    19      0      0
 +
    5    12    12      4      1
 +
    5    12    19      2      0
 +
    5    13    21      1      0
 +
    5    15      9      4      1
 +
    5    15    12      3      1
 +
    5    15    18      3      0
 +
    5    16      7      4      1
 +
    5    16    10      3      1
 +
    5    16    12      2      1
 +
    5    20      8      4      0
 +
    5    20    18      0      0
 +
    5    21    10      2      0
 +
    6      8    12      8      0
 +
    6    10    11      4      1
 +
    6    12    18      4      0
 +
    6    14      9      4      1
 +
    6    14      9      7      0
 +
    6    14    12      6      0
 +
    6    14    21      0      0
 +
    6    15      7      4      1
 +
    6    16    18      2      0
 +
    7    12    12      3      1
 +
    7    14      6      4      1
 +
    7    14      6      7      0
 +
    7    16    12      0      1
 +
    7    30      1      0      0
 +
    8      8      0      8      0
 +
    8      8      9      7      0
 +
    8      8    12      6      0
 +
    8      9      9      4      1
 +
    8      9    12      3      1
 +
    8      9    15      3      0
 +
    8    10      7      4      1
 +
    8    10    12      2      1
 +
    8    11      6      4      1
 +
    8    11    10      2      1
 +
    8    12    12      1      1
 +
    8    12    18      0      0
 +
    8    13    12      0      1
 +
    8    14      0      7      0
 +
    8    14      6      6      0
 +
    8    14      8      1      1
 +
    8    15      6      3      1
 +
    8    15      7      1      1
 +
    8    16      4      3      1
 +
    8    16      6      2      1
 +
    8    16      9      0      1
 +
    8    16    16      0      0
 +
    8    26      0      1      0
 +
    8    32      0      0      0
 +
    11      8      4      4      0
 +
    16      0      0      0      0

Revision as of 16:57, 13 June 2009

The brute force search program requires first building a preliminary lookup table, and then a refined lookup table, to determine the Pareto-optimal statistics for all forbidden Level 2 sets. Details of the lookup table construction are here.

The basic idea is to run over pairs of Level 1 slices and Level 3 slices, which are 3D Moser sets. For each such pair, compute the forbidden Level 2 set, then use the lookup table to find the optimal statistics for that pair, add that to a global table of feasible (a,b,c,d,e) statistics for 4D Moser sets, and iterate. However, the total number of such pairs is [math]3813884 \times 3813884 \sim 1.4 \times 10^{13}[/math], which is computationally infeasible.

However, one can use symmetries to cut this number down. Look at the "a" corners of the Level 1 and Level 3 sets; these are two 8-bit strings (which we call the "a-signatures" of the Level1 and Level3 sets), so there are [math]2^{16}[/math] possible choices for these. Actually we can eliminate those choices for which a=1 and a=2, because if (0,b,c,d,e) is a feasible statistic then (1,b,c,d,e) and (2,b,c,d,e) is feasible also (just pick a "b", "c", "d", or "e" point which is not in the set, and then pick a pair of "a" points with that midpoint). In fact (3,b,c,d,e) is also feasible, see Lemma below.

For the remaining configurations, one exploits the symmetry group of [math][3]^4[/math], which has order [math]4! \times 2^4 = 384[/math]. There are 391 remaining equivalence classes; for each equivalence class, we pick a representative which minimises the number of Level1 x Level3 pairs. A table of these representatives can be found here. A table of how many Moser sets there are for each a-signature can be found here.

With these reductions, the number of pairs to check drops to 62 billion (or more precisely, 62009590818).

The code to scan the pairs is here. When compiled (say, as scan.exe), the format is

 scan x y

which will scan the signature-pair classes from x to y, where [math]0 \leq x \leq y \leq 390[/math], and output the relevant feasible statistics to stdout and to an output file. If instead one types

 scan x y count

then this will indicate what percentage of the scan range is covered by x to y.

In the case x=372 and y=390 (which only takes about a minute to run), here is the stdout output and file output (for testing purposes).


Lemma Suppose that (0,b,c,d,e) is a feasible statistic for a 4D Moser set. Then (3,b,c,d,e) is also feasible.

Proof Let A be a 4D Moser set with statistics (0,b,c,d,e). It suffices to show that we can add three "a" points to A and still have a Moser set, i.e. one can find three "a" points whose three midpoints are omitted by A. We assume for contradiction that this is not possible.

Suppose first that A contains a "d" point, such as 2221. Then A must omit either 2211 or 2231; without loss of generality we may assume that it omits 2211. Similarly we may assume it omits 2121 and 1221. Then we can add 1131, 1311, 3111 to A, a contradiction. Thus we may assume that A contains no "d" points.

Now suppose that A omits a "c" point, such as 2211. Then one can add 3333, 3111, 1311 to A, a contradiction. Thus we may assume that A contains all "c" points, which in particular implies that A omits the "e" point 2222.

Since A contains all the "c" points, it must omit a "b" point, such as 2111. But then 3111, 1111, 3333 can be added to the set, a contradiction.

Pareto Maxima and Extremal Points

This routine was run on a Linux cluster, taking around two hours. The output files were collated, there were 390 Pareto maxima:

    3    16    24     0     0
    4    14    19     2     0
    4    15    24     0     0
    4    16     8     4     1
    4    16    14     4     0
    4    16    23     0     0
    4    17    21     0     0
    4    18    19     0     0
    5    12    12     4     1
    5    12    13     6     0
    5    12    15     5     0
    5    12    19     2     0
    5    13    10     4     1
    5    13    14     5     0
    5    13    21     1     0
    5    15     9     4     1
    5    15    12     3     1
    5    15    13     5     0
    5    15    18     3     0
    5    15    20     1     0
    5    15    22     0     0
    5    16     7     4     1
    5    16    10     3     1
    5    16    11     5     0
    5    16    12     2     1
    5    16    16     3     0
    5    16    19     1     0
    5    16    21     0     0
    5    17    12     4     0
    5    17    14     3     0
    5    17    16     2     0
    5    17    18     1     0
    5    17    20     0     0
    5    18    13     3     0
    5    18    14     2     0
    5    20     8     4     0
    5    20    10     3     0
    5    20    13     2     0
    5    20    14     1     0
    5    20    18     0     0
    5    21    10     2     0
    5    21    15     0     0
    5    22    13     0     0
    6     8    12     8     0
    6    10    11     4     1
    6    11    12     7     0
    6    12    10     7     0
    6    12    13     5     0
    6    12    18     4     0
    6    13    16     4     0
    6    14     9     4     1
    6    14     9     7     0
    6    14    12     6     0
    6    14    16     3     0
    6    14    19     1     0
    6    14    21     0     0
    6    15     7     4     1
    6    15    10     3     1
    6    15    10     6     0
    6    15    11     2     1
    6    15    12     5     0
    6    15    15     4     0
    6    15    20     0     0
    6    16     7     3     1
    6    16     8     6     0
    6    16     9     2     1
    6    16    10     5     0
    6    16    12     1     1
    6    16    13     4     0
    6    16    14     3     0
    6    16    18     2     0
    6    16    19     0     0
    6    17     9     5     0
    6    17    10     4     0
    6    17    13     3     0
    6    17    15     2     0
    6    17    17     1     0
    6    17    18     0     0
    6    18    13     2     0
    6    18    16     1     0
    6    18    17     0     0
    6    19     9     4     0
    6    19    12     3     0
    6    19    15     1     0
    6    20     7     4     0
    6    20     9     3     0
    6    20    12     2     0
    6    20    13     1     0
    6    20    15     0     0
    6    21     8     3     0
    6    21     9     2     0
    6    21    12     1     0
    6    21    14     0     0
    6    22     7     3     0
    6    22     8     2     0
    6    22    10     1     0
    6    23     9     1     0
    6    24     7     2     0
    6    24     8     1     0
    6    24    12     0     0
    6    25     9     0     0
    6    26     7     0     0
    7     8     6     8     0
    7    11     9     4     1
    7    11    12     6     0
    7    12     8     4     1
    7    12     8     6     0
    7    12    12     3     1
    7    12    12     5     0
    7    12    13     4     0
    7    12    15     3     0
    7    12    17     2     0
    7    13     7     4     1
    7    13    10     3     1
    7    13    11     5     0
    7    13    12     2     1
    7    13    12     4     0
    7    13    14     3     0
    7    13    16     2     0
    7    14     6     4     1
    7    14     6     7     0
    7    14     9     5     0
    7    14    10     2     1
    7    14    12     1     1
    7    14    17     1     0
    7    14    19     0     0
    7    15     7     5     0
    7    15     8     3     1
    7    15     9     2     1
    7    15    11     1     1
    7    15    11     4     0
    7    15    13     3     0
    7    15    16     1     0
    7    16     6     3     1
    7    16     6     6     0
    7    16     8     2     1
    7    16    10     1     1
    7    16    10     4     0
    7    16    12     0     1
    7    16    12     3     0
    7    16    15     2     0
    7    16    17     0     0
    7    17     6     5     0
    7    17     7     4     0
    7    17    11     3     0
    7    17    13     2     0
    7    17    14     1     0
    7    17    16     0     0
    7    18    10     3     0
    7    18    13     1     0
    7    18    15     0     0
    7    19     9     3     0
    7    20     6     4     0
    7    20    11     2     0
    7    20    12     1     0
    7    20    14     0     0
    7    21     8     2     0
    7    21    10     1     0
    7    21    12     0     0
    7    22     9     1     0
    7    22    11     0     0
    7    23     6     3     0
    7    23     7     1     0
    7    23    10     0     0
    7    24     6     2     0
    7    24     9     0     0
    7    25     6     1     0
    7    25     8     0     0
    7    26     3     1     0
    7    28     6     0     0
    7    29     3     0     0
    7    30     1     0     0
    8     8     0     8     0
    8     8     9     7     0
    8     8    12     6     0
    8     9     9     4     1
    8     9    10     6     0
    8     9    12     3     1
    8     9    12     5     0
    8     9    13     4     0
    8     9    15     3     0
    8    10     7     4     1
    8    10    10     3     1
    8    10    10     5     0
    8    10    12     2     1
    8    10    12     4     0
    8    10    13     3     0
    8    10    15     2     0
    8    11     6     4     1
    8    11     9     6     0
    8    11    10     2     1
    8    11    11     4     0
    8    12     7     6     0
    8    12     9     3     1
    8    12     9     5     0
    8    12    10     4     0
    8    12    12     1     1
    8    12    14     2     0
    8    12    16     1     0
    8    12    18     0     0
    8    13     7     3     1
    8    13     7     5     0
    8    13     9     2     1
    8    13    12     0     1
    8    13    12     3     0
    8    14     0     7     0
    8    14     6     6     0
    8    14     7     2     1
    8    14     8     1     1
    8    14     9     4     0
    8    14    11     0     1
    8    14    11     3     0
    8    14    13     2     0
    8    14    15     1     0
    8    14    17     0     0
    8    15     6     3     1
    8    15     6     5     0
    8    15     7     1     1
    8    16     0     6     0
    8    16     4     3     1
    8    16     4     5     0
    8    16     6     2     1
    8    16     8     4     0
    8    16     9     0     1
    8    16    10     3     0
    8    16    12     2     0
    8    16    14     1     0
    8    16    16     0     0
    8    17     0     5     0
    8    17     3     4     0
    8    17     8     3     0
    8    17    10     2     0
    8    17    12     1     0
    8    17    14     0     0
    8    18     9     2     0
    8    18    11     1     0
    8    18    12     0     0
    8    19     6     3     0
    8    19     8     2     0
    8    20     0     4     0
    8    20     4     3     0
    8    20     7     2     0
    8    20     9     1     0
    8    20    11     0     0
    8    21     4     2     0
    8    21     7     1     0
    8    22     3     2     0
    8    22     6     1     0
    8    22     9     0     0
    8    23     0     3     0
    8    23     4     1     0
    8    24     0     2     0
    8    24     3     1     0
    8    24     8     0     0
    8    25     1     1     0
    8    25     6     0     0
    8    26     0     1     0
    8    26     4     0     0
    8    28     3     0     0
    8    32     0     0     0
    9     8    10     4     0
    9     9     9     4     0
    9     9    12     3     0
    9    10     8     4     0
    9    10    10     3     0
    9    10    12     2     0
    9    10    13     1     0
    9    10    15     0     0
    9    11    11     2     0
    9    12     7     4     0
    9    12     9     3     0
    9    12    12     1     0
    9    12    14     0     0
    9    13     7     3     0
    9    13    10     2     0
    9    14     9     2     0
    9    14    11     1     0
    9    14    13     0     0
    9    15     6     3     0
    9    16     0     4     0
    9    16     4     3     0
    9    16     8     2     0
    9    16    10     1     0
    9    16    12     0     0
    9    17     3     3     0
    9    17     6     2     0
    9    17     8     1     0
    9    17    10     0     0
    9    18     2     3     0
    9    18     4     2     0
    9    18     7     1     0
    9    18     9     0     0
    9    19     0     3     0
    9    19     3     2     0
    9    19     6     1     0
    9    20     1     2     0
    9    20     5     1     0
    9    20     8     0     0
    9    21     4     1     0
    9    21     6     0     0
    9    22     1     1     0
    9    22     5     0     0
    9    24     4     0     0
    9    25     2     0     0
    9    28     0     0     0
   10     8     6     4     0
   10     8     8     3     0
   10     9     7     3     0
   10     9    10     2     0
   10     9    11     1     0
   10     9    13     0     0
   10    10     5     4     0
   10    10     9     2     0
   10    10    12     0     0
   10    11     6     3     0
   10    12     4     4     0
   10    12     5     3     0
   10    12     7     2     0
   10    12    10     1     0
   10    12    11     0     0
   10    13     6     2     0
   10    13     8     1     0
   10    13    10     0     0
   10    14     3     3     0
   10    14     5     2     0
   10    14     9     0     0
   10    15     2     3     0
   10    15     7     1     0
   10    16     4     2     0
   10    16     6     1     0
   10    16     8     0     0
   10    17     4     1     0
   10    17     6     0     0
   10    18     2     1     0
   10    18     5     0     0
   10    20     4     0     0
   10    21     2     0     0
   10    22     1     0     0
   10    24     0     0     0
   11     4     6     4     0
   11     6     5     4     0
   11     7     6     3     0
   11     8     4     4     0
   11     8     5     3     0
   11     9     6     2     0
   11     9     8     1     0
   11     9    10     0     0
   11    10     3     3     0
   11    10     5     2     0
   11    10     9     0     0
   11    11     2     3     0
   11    11     7     1     0
   11    12     4     2     0
   11    12     6     1     0
   11    12     8     0     0
   11    13     4     1     0
   11    13     6     0     0
   11    14     2     1     0
   11    14     5     0     0
   11    16     4     0     0
   11    17     2     0     0
   11    18     1     0     0
   11    20     0     0     0
   12     4     3     3     0
   12     6     2     3     0
   12     6     5     2     0
   12     6     7     1     0
   12     6     9     0     0
   12     8     4     2     0
   12     8     6     1     0
   12     8     8     0     0
   12     9     4     1     0
   12     9     6     0     0
   12    10     2     1     0
   12    10     5     0     0
   12    12     4     0     0
   12    13     2     0     0
   12    14     1     0     0
   12    16     0     0     0
   13     6     5     0     0
   13     8     4     0     0
   13     9     2     0     0
   13    10     1     0     0
   13    12     0     0     0
   14     4     3     0     0
   14     5     2     0     0
   14     6     1     0     0
   14     8     0     0     0
   15     4     0     0     0
   16     0     0     0     0

Using qhull, 58 extremals were found:

    3     16     24      0      0 
    4     14     19      2      0 
    4     15     24      0      0 
    4     16      8      4      1 
    4     16     14      4      0 
    4     18     19      0      0 
    5     12     12      4      1 
    5     12     19      2      0 
    5     13     21      1      0 
    5     15      9      4      1 
    5     15     12      3      1 
    5     15     18      3      0 
    5     16      7      4      1 
    5     16     10      3      1 
    5     16     12      2      1 
    5     20      8      4      0 
    5     20     18      0      0 
    5     21     10      2      0 
    6      8     12      8      0 
    6     10     11      4      1 
    6     12     18      4      0 
    6     14      9      4      1 
    6     14      9      7      0 
    6     14     12      6      0 
    6     14     21      0      0 
    6     15      7      4      1 
    6     16     18      2      0 
    7     12     12      3      1 
    7     14      6      4      1 
    7     14      6      7      0 
    7     16     12      0      1 
    7     30      1      0      0 
    8      8      0      8      0 
    8      8      9      7      0 
    8      8     12      6      0 
    8      9      9      4      1 
    8      9     12      3      1 
    8      9     15      3      0 
    8     10      7      4      1 
    8     10     12      2      1 
    8     11      6      4      1 
    8     11     10      2      1 
    8     12     12      1      1 
    8     12     18      0      0 
    8     13     12      0      1 
    8     14      0      7      0 
    8     14      6      6      0 
    8     14      8      1      1 
    8     15      6      3      1 
    8     15      7      1      1 
    8     16      4      3      1 
    8     16      6      2      1 
    8     16      9      0      1 
    8     16     16      0      0 
    8     26      0      1      0 
    8     32      0      0      0 
   11      8      4      4      0 
   16      0      0      0      0