Page 4 of 47

Re: 7-men Syzygy attempt

Posted: Tue Mar 13, 2018 7:04 pm
by Dann Corbit
Maybe

Code: Select all

struct tb_handle *open_tb(char *tablename, int wdl)
{
    char name[FILENAME_MAX+64]={0};
    struct tb_handle *H = malloc(sizeof(struct tb_handle));

    char *dirptr = getenv(wdl ? WDLDIR : DTZDIR);
    size_t dirlen = dirptr ? strlen(dirptr) : 0;
    if &#40;use_envdirs && dirlen < sizeof name&#41;
        strcpy&#40;name, dirptr&#41;;
    else
        strcpy&#40;name, ".");
    strcat&#40;name, "/");
    assert&#40;dirlen + 2 + 3 + strlen&#40;name&#41; < FILENAME_MAX&#41;;
    strcat&#40;name, tablename&#41;;
    strcat&#40;name, wdl ? WDLSUFFIX &#58; DTZSUFFIX&#41;;
    if (!&#40;H->F = fopen&#40;name, "rb"))) &#123;
        fprintf&#40;stderr, "Could not open %s for reading.\n", name&#41;;
        exit&#40;1&#41;;
    &#125;
    H->data = &#40;ubyte *&#41;map_file&#40;name, 1, &&#40;H->data_size&#41;);
    H->wdl = wdl;

    return H;
&#125;

Re: 7-men Syzygy attempt

Posted: Tue Mar 13, 2018 8:45 pm
by Ras
Dann Corbit wrote:Maybe
This code has guards, but the master on Github doesn't.
https://github.com/syzygy1/tb/blob/mast ... e/tbcore.c :

Code: Select all

static FD open_tb&#40;const char *str, const char *suffix&#41;
&#123;
  int i;
  FD fd;
  char file&#91;256&#93;;

  for &#40;i = 0; i < num_paths; i++) &#123;
    strcpy&#40;file, paths&#91;i&#93;);
    strcat&#40;file, "/");
    strcat&#40;file, str&#41;;
    strcat&#40;file, suffix&#41;;
#ifndef __WIN32__
    fd = open&#40;file, O_RDONLY&#41;;
#else
    fd = CreateFile&#40;file, GENERIC_READ, FILE_SHARE_READ, NULL,
			  OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL&#41;;
#endif
    if &#40;fd != FD_ERR&#41; return fd;
  &#125;
  return FD_ERR;
&#125;

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 4:16 am
by noobpwnftw

Code: Select all

########## KRBNvKQN ##########

White to move&#58;

82339643740 positions win in 1 ply.
35481300 positions win in 2 ply.
7371661376 positions win in 3 ply.
22718329 positions win in 4 ply.
1110426155 positions win in 5 ply.
12023494 positions win in 6 ply.
338100894 positions win in 7 ply.
4723715 positions win in 8 ply.
106222130 positions win in 9 ply.
2284483 positions win in 10 ply.
39837573 positions win in 11 ply.
951703 positions win in 12 ply.
17114121 positions win in 13 ply.
551910 positions win in 14 ply.
8741399 positions win in 15 ply.
284363 positions win in 16 ply.
4363418 positions win in 17 ply.
160771 positions win in 18 ply.
2255312 positions win in 19 ply.
86809 positions win in 20 ply.
1268895 positions win in 21 ply.
49383 positions win in 22 ply.
827827 positions win in 23 ply.
31995 positions win in 24 ply.
588676 positions win in 25 ply.
24867 positions win in 26 ply.
406035 positions win in 27 ply.
18355 positions win in 28 ply.
283576 positions win in 29 ply.
14019 positions win in 30 ply.
179725 positions win in 31 ply.
10464 positions win in 32 ply.
118671 positions win in 33 ply.
8490 positions win in 34 ply.
74927 positions win in 35 ply.
5402 positions win in 36 ply.
53008 positions win in 37 ply.
3643 positions win in 38 ply.
36299 positions win in 39 ply.
2578 positions win in 40 ply.
22032 positions win in 41 ply.
1835 positions win in 42 ply.
14932 positions win in 43 ply.
1638 positions win in 44 ply.
10925 positions win in 45 ply.
1625 positions win in 46 ply.
5592 positions win in 47 ply.
1182 positions win in 48 ply.
3345 positions win in 49 ply.
677 positions win in 50 ply.
2573 positions win in 51 ply.
464 positions win in 52 ply.
2469 positions win in 53 ply.
204 positions win in 54 ply.
866 positions win in 55 ply.
39 positions win in 56 ply.
326 positions win in 57 ply.
183 positions win in 59 ply.
114 positions win in 61 ply.
130 positions win in 63 ply.
99 positions win in 65 ply.
19654965 positions win in 101 ply.
1687709 positions win in 102 ply.
4279392 positions win in 103 ply.
704988 positions win in 104 ply.
1520448 positions win in 105 ply.
371707 positions win in 106 ply.
554990 positions win in 107 ply.
212100 positions win in 108 ply.
183136 positions win in 109 ply.
122261 positions win in 110 ply.
84736 positions win in 111 ply.
77284 positions win in 112 ply.
43087 positions win in 113 ply.
46430 positions win in 114 ply.
22349 positions win in 115 ply.
29220 positions win in 116 ply.
11809 positions win in 117 ply.
19643 positions win in 118 ply.
7031 positions win in 119 ply.
14596 positions win in 120 ply.
5084 positions win in 121 ply.
10696 positions win in 122 ply.
3990 positions win in 123 ply.
7382 positions win in 124 ply.
2849 positions win in 125 ply.
5060 positions win in 126 ply.
1816 positions win in 127 ply.
4277 positions win in 128 ply.
1171 positions win in 129 ply.
3884 positions win in 130 ply.
604 positions win in 131 ply.
2747 positions win in 132 ply.
259 positions win in 133 ply.
1031 positions win in 134 ply.
172 positions win in 135 ply.
495 positions win in 136 ply.
131 positions win in 137 ply.
199 positions win in 138 ply.
129 positions win in 139 ply.
268 positions win in 140 ply.
29 positions win in 141 ply.
105 positions win in 142 ply.
31 positions win in 143 ply.
33 positions win in 144 ply.
9 positions win in 145 ply.
27 positions win in 146 ply.
34 positions win in 148 ply.
27 positions win in 150 ply.
2 positions win in 152 ply.

91421711080 positions are wins.
29700422 positions are cursed wins.
49153557962 positions are draws.
18111210425 positions are cursed losses.
70036077151 positions are losses.

383833938 positions lose in 0 ply.
56356108 positions lose in 1 ply.
21791040464 positions lose in 2 ply.
63352600 positions lose in 3 ply.
8624895697 positions lose in 4 ply.
66443032 positions lose in 5 ply.
6122366528 positions lose in 6 ply.
58226429 positions lose in 7 ply.
4923894264 positions lose in 8 ply.
58560162 positions lose in 9 ply.
4154446615 positions lose in 10 ply.
57699627 positions lose in 11 ply.
3530282773 positions lose in 12 ply.
54838865 positions lose in 13 ply.
2985993179 positions lose in 14 ply.
49755643 positions lose in 15 ply.
2494903502 positions lose in 16 ply.
43077091 positions lose in 17 ply.
2048243062 positions lose in 18 ply.
35773219 positions lose in 19 ply.
1658323348 positions lose in 20 ply.
28942527 positions lose in 21 ply.
1336682241 positions lose in 22 ply.
23206693 positions lose in 23 ply.
1083991417 positions lose in 24 ply.
18750204 positions lose in 25 ply.
889749579 positions lose in 26 ply.
15357198 positions lose in 27 ply.
740555842 positions lose in 28 ply.
12767948 positions lose in 29 ply.
624780902 positions lose in 30 ply.
10802189 positions lose in 31 ply.
533969757 positions lose in 32 ply.
9234243 positions lose in 33 ply.
461778841 positions lose in 34 ply.
7951775 positions lose in 35 ply.
403683210 positions lose in 36 ply.
6895380 positions lose in 37 ply.
356390300 positions lose in 38 ply.
6003072 positions lose in 39 ply.
317163982 positions lose in 40 ply.
5277035 positions lose in 41 ply.
284583680 positions lose in 42 ply.
4676739 positions lose in 43 ply.
257243898 positions lose in 44 ply.
4159894 positions lose in 45 ply.
234329071 positions lose in 46 ply.
3731338 positions lose in 47 ply.
214950753 positions lose in 48 ply.
3402615 positions lose in 49 ply.
198404541 positions lose in 50 ply.
3130300 positions lose in 51 ply.
184120911 positions lose in 52 ply.
2889925 positions lose in 53 ply.
171581933 positions lose in 54 ply.
2685456 positions lose in 55 ply.
160356332 positions lose in 56 ply.
2504904 positions lose in 57 ply.
150350411 positions lose in 58 ply.
2311882 positions lose in 59 ply.
141202593 positions lose in 60 ply.
2127376 positions lose in 61 ply.
133190405 positions lose in 62 ply.
1977327 positions lose in 63 ply.
126047841 positions lose in 64 ply.
1845571 positions lose in 65 ply.
119559983 positions lose in 66 ply.
1732922 positions lose in 67 ply.
113714047 positions lose in 68 ply.
1634109 positions lose in 69 ply.
108468647 positions lose in 70 ply.
1559629 positions lose in 71 ply.
103798387 positions lose in 72 ply.
1486925 positions lose in 73 ply.
99512700 positions lose in 74 ply.
1444719 positions lose in 75 ply.
95632454 positions lose in 76 ply.
1408511 positions lose in 77 ply.
91958057 positions lose in 78 ply.
1363422 positions lose in 79 ply.
88549859 positions lose in 80 ply.
1320552 positions lose in 81 ply.
85476642 positions lose in 82 ply.
1257731 positions lose in 83 ply.
82623301 positions lose in 84 ply.
1182307 positions lose in 85 ply.
79903701 positions lose in 86 ply.
1120835 positions lose in 87 ply.
77367364 positions lose in 88 ply.
1065939 positions lose in 89 ply.
75079326 positions lose in 90 ply.
1030883 positions lose in 91 ply.
72955152 positions lose in 92 ply.
999245 positions lose in 93 ply.
70940927 positions lose in 94 ply.
977937 positions lose in 95 ply.
68966726 positions lose in 96 ply.
970427 positions lose in 97 ply.
67005182 positions lose in 98 ply.
976011 positions lose in 99 ply.
64986415 positions lose in 100 ply.
979422 positions lose in 101 ply.
62999245 positions lose in 102 ply.
986314 positions lose in 103 ply.
61008499 positions lose in 104 ply.
988592 positions lose in 105 ply.
59239354 positions lose in 106 ply.
985142 positions lose in 107 ply.
57607369 positions lose in 108 ply.
956699 positions lose in 109 ply.
56101831 positions lose in 110 ply.
905216 positions lose in 111 ply.
54755739 positions lose in 112 ply.
851033 positions lose in 113 ply.
53665500 positions lose in 114 ply.
810828 positions lose in 115 ply.
52753287 positions lose in 116 ply.
776095 positions lose in 117 ply.
51975421 positions lose in 118 ply.
740055 positions lose in 119 ply.
51420951 positions lose in 120 ply.
695344 positions lose in 121 ply.
50910118 positions lose in 122 ply.
664188 positions lose in 123 ply.
50389193 positions lose in 124 ply.
644475 positions lose in 125 ply.
49765539 positions lose in 126 ply.
628775 positions lose in 127 ply.
48988599 positions lose in 128 ply.
624462 positions lose in 129 ply.
48175884 positions lose in 130 ply.
616749 positions lose in 131 ply.
47240026 positions lose in 132 ply.
611581 positions lose in 133 ply.
46328904 positions lose in 134 ply.
593401 positions lose in 135 ply.
45467033 positions lose in 136 ply.
580644 positions lose in 137 ply.
44657671 positions lose in 138 ply.
585076 positions lose in 139 ply.
43947214 positions lose in 140 ply.
608696 positions lose in 141 ply.
43520434 positions lose in 142 ply.
639156 positions lose in 143 ply.
43116047 positions lose in 144 ply.
661288 positions lose in 145 ply.
42707456 positions lose in 146 ply.
672329 positions lose in 147 ply.
42239389 positions lose in 148 ply.
676771 positions lose in 149 ply.
41729087 positions lose in 150 ply.
675294 positions lose in 151 ply.
41266863 positions lose in 152 ply.
674291 positions lose in 153 ply.
40826377 positions lose in 154 ply.
674226 positions lose in 155 ply.
40384849 positions lose in 156 ply.
661124 positions lose in 157 ply.
39873918 positions lose in 158 ply.
643424 positions lose in 159 ply.
39424561 positions lose in 160 ply.
628695 positions lose in 161 ply.
39028896 positions lose in 162 ply.
623169 positions lose in 163 ply.
38662799 positions lose in 164 ply.
626203 positions lose in 165 ply.
38336358 positions lose in 166 ply.
630748 positions lose in 167 ply.
38084286 positions lose in 168 ply.
640160 positions lose in 169 ply.
37775733 positions lose in 170 ply.
651966 positions lose in 171 ply.
37406973 positions lose in 172 ply.
659610 positions lose in 173 ply.
37092191 positions lose in 174 ply.
658560 positions lose in 175 ply.
36912942 positions lose in 176 ply.
651649 positions lose in 177 ply.
36865345 positions lose in 178 ply.
641222 positions lose in 179 ply.
36973132 positions lose in 180 ply.
629476 positions lose in 181 ply.
37219712 positions lose in 182 ply.
623255 positions lose in 183 ply.
37465246 positions lose in 184 ply.
615577 positions lose in 185 ply.
37633310 positions lose in 186 ply.
605409 positions lose in 187 ply.
37701453 positions lose in 188 ply.
603635 positions lose in 189 ply.
37758127 positions lose in 190 ply.
606747 positions lose in 191 ply.
37786675 positions lose in 192 ply.
605990 positions lose in 193 ply.
37789195 positions lose in 194 ply.
599319 positions lose in 195 ply.
37790204 positions lose in 196 ply.
594379 positions lose in 197 ply.
37721091 positions lose in 198 ply.
593424 positions lose in 199 ply.
37492032 positions lose in 200 ply.
580368 positions lose in 201 ply.
37246170 positions lose in 202 ply.
564504 positions lose in 203 ply.
36982888 positions lose in 204 ply.
539568 positions lose in 205 ply.
36643211 positions lose in 206 ply.
507852 positions lose in 207 ply.
36203334 positions lose in 208 ply.
480614 positions lose in 209 ply.
35759236 positions lose in 210 ply.
453834 positions lose in 211 ply.
35422100 positions lose in 212 ply.
424744 positions lose in 213 ply.
35201051 positions lose in 214 ply.
384396 positions lose in 215 ply.
35042414 positions lose in 216 ply.
357495 positions lose in 217 ply.
34879122 positions lose in 218 ply.
328364 positions lose in 219 ply.
34724508 positions lose in 220 ply.
309672 positions lose in 221 ply.
34594956 positions lose in 222 ply.
299136 positions lose in 223 ply.
34481824 positions lose in 224 ply.
296649 positions lose in 225 ply.
34384944 positions lose in 226 ply.
306732 positions lose in 227 ply.
34321994 positions lose in 228 ply.
330790 positions lose in 229 ply.
34195923 positions lose in 230 ply.
362539 positions lose in 231 ply.
34101115 positions lose in 232 ply.
388290 positions lose in 233 ply.
34001116 positions lose in 234 ply.
409074 positions lose in 235 ply.
33862990 positions lose in 236 ply.
420367 positions lose in 237 ply.
33567313 positions lose in 238 ply.
419027 positions lose in 239 ply.
33204036 positions lose in 240 ply.
402492 positions lose in 241 ply.
32974559 positions lose in 242 ply.
383847 positions lose in 243 ply.
32961473 positions lose in 244 ply.
368367 positions lose in 245 ply.
33063988 positions lose in 246 ply.
364949 positions lose in 247 ply.
33151793 positions lose in 248 ply.
385578 positions lose in 249 ply.
33194616 positions lose in 250 ply.
415375 positions lose in 251 ply.
33315596 positions lose in 252 ply.
443546 positions lose in 253 ply.
33401540 positions lose in 254 ply.
469916 positions lose in 255 ply.
33491056 positions lose in 256 ply.
487774 positions lose in 257 ply.
33534246 positions lose in 258 ply.
487520 positions lose in 259 ply.
33641696 positions lose in 260 ply.
478315 positions lose in 261 ply.
33771378 positions lose in 262 ply.
465705 positions lose in 263 ply.
34030659 positions lose in 264 ply.
451188 positions lose in 265 ply.
34241892 positions lose in 266 ply.
431325 positions lose in 267 ply.
34470717 positions lose in 268 ply.
411438 positions lose in 269 ply.
34822702 positions lose in 270 ply.
389366 positions lose in 271 ply.
35254297 positions lose in 272 ply.
367331 positions lose in 273 ply.
35769181 positions lose in 274 ply.
349597 positions lose in 275 ply.
36238900 positions lose in 276 ply.
331148 positions lose in 277 ply.
36622190 positions lose in 278 ply.
317982 positions lose in 279 ply.
36891026 positions lose in 280 ply.
301452 positions lose in 281 ply.
37009405 positions lose in 282 ply.
284663 positions lose in 283 ply.
36990107 positions lose in 284 ply.
270063 positions lose in 285 ply.
36845649 positions lose in 286 ply.
256013 positions lose in 287 ply.
36614585 positions lose in 288 ply.
241812 positions lose in 289 ply.
36266300 positions lose in 290 ply.
234235 positions lose in 291 ply.
35905251 positions lose in 292 ply.
229527 positions lose in 293 ply.
35605349 positions lose in 294 ply.
229405 positions lose in 295 ply.
35355371 positions lose in 296 ply.
235424 positions lose in 297 ply.
35100571 positions lose in 298 ply.
241827 positions lose in 299 ply.
34843786 positions lose in 300 ply.
249617 positions lose in 301 ply.
34601145 positions lose in 302 ply.
260982 positions lose in 303 ply.
34231942 positions lose in 304 ply.
278405 positions lose in 305 ply.
33926433 positions lose in 306 ply.
299876 positions lose in 307 ply.
33695207 positions lose in 308 ply.
332794 positions lose in 309 ply.
33516723 positions lose in 310 ply.
367879 positions lose in 311 ply.
33434034 positions lose in 312 ply.
392956 positions lose in 313 ply.
33402229 positions lose in 314 ply.
402191 positions lose in 315 ply.
33374356 positions lose in 316 ply.
410214 positions lose in 317 ply.
33418521 positions lose in 318 ply.
414528 positions lose in 319 ply.
33528037 positions lose in 320 ply.
412203 positions lose in 321 ply.
33716909 positions lose in 322 ply.
405976 positions lose in 323 ply.
33932254 positions lose in 324 ply.
395603 positions lose in 325 ply.
34254990 positions lose in 326 ply.
385264 positions lose in 327 ply.
34726328 positions lose in 328 ply.
364995 positions lose in 329 ply.
35272721 positions lose in 330 ply.
335870 positions lose in 331 ply.
35848617 positions lose in 332 ply.
307352 positions lose in 333 ply.
36488278 positions lose in 334 ply.
284578 positions lose in 335 ply.
37097129 positions lose in 336 ply.
270771 positions lose in 337 ply.
37634546 positions lose in 338 ply.
258025 positions lose in 339 ply.
38179335 positions lose in 340 ply.
237804 positions lose in 341 ply.
38835072 positions lose in 342 ply.
217654 positions lose in 343 ply.
39595629 positions lose in 344 ply.
203309 positions lose in 345 ply.
40317272 positions lose in 346 ply.
196886 positions lose in 347 ply.
40980149 positions lose in 348 ply.
193809 positions lose in 349 ply.
41580908 positions lose in 350 ply.
197408 positions lose in 351 ply.
42233576 positions lose in 352 ply.
201200 positions lose in 353 ply.
42831490 positions lose in 354 ply.
209044 positions lose in 355 ply.
43356863 positions lose in 356 ply.
213755 positions lose in 357 ply.
43948536 positions lose in 358 ply.
219605 positions lose in 359 ply.
44603071 positions lose in 360 ply.
226023 positions lose in 361 ply.
45309123 positions lose in 362 ply.
232556 positions lose in 363 ply.
46202605 positions lose in 364 ply.
238332 positions lose in 365 ply.
47444503 positions lose in 366 ply.
240568 positions lose in 367 ply.
48886136 positions lose in 368 ply.
243407 positions lose in 369 ply.
50318142 positions lose in 370 ply.
244616 positions lose in 371 ply.
51653464 positions lose in 372 ply.
246370 positions lose in 373 ply.
52990262 positions lose in 374 ply.
255000 positions lose in 375 ply.
54225179 positions lose in 376 ply.
267558 positions lose in 377 ply.
55234718 positions lose in 378 ply.
271079 positions lose in 379 ply.
56191451 positions lose in 380 ply.
263568 positions lose in 381 ply.
57260869 positions lose in 382 ply.
248281 positions lose in 383 ply.
58320503 positions lose in 384 ply.
227374 positions lose in 385 ply.
59525911 positions lose in 386 ply.
202896 positions lose in 387 ply.
60970810 positions lose in 388 ply.
172110 positions lose in 389 ply.
62680906 positions lose in 390 ply.
146614 positions lose in 391 ply.
64507293 positions lose in 392 ply.
133256 positions lose in 393 ply.
66395900 positions lose in 394 ply.
124956 positions lose in 395 ply.
68268054 positions lose in 396 ply.
125658 positions lose in 397 ply.
70139369 positions lose in 398 ply.
135906 positions lose in 399 ply.
72149376 positions lose in 400 ply.
147432 positions lose in 401 ply.
74316893 positions lose in 402 ply.
168965 positions lose in 403 ply.
76677687 positions lose in 404 ply.
195139 positions lose in 405 ply.
79149294 positions lose in 406 ply.
224681 positions lose in 407 ply.
81636204 positions lose in 408 ply.
256108 positions lose in 409 ply.
84073509 positions lose in 410 ply.
283089 positions lose in 411 ply.
86712824 positions lose in 412 ply.
306495 positions lose in 413 ply.
89568114 positions lose in 414 ply.
334750 positions lose in 415 ply.
92482008 positions lose in 416 ply.
367832 positions lose in 417 ply.
95178589 positions lose in 418 ply.
398294 positions lose in 419 ply.
97640096 positions lose in 420 ply.
409526 positions lose in 421 ply.
99817458 positions lose in 422 ply.
415473 positions lose in 423 ply.
101815133 positions lose in 424 ply.
420905 positions lose in 425 ply.
103673109 positions lose in 426 ply.
439674 positions lose in 427 ply.
105078395 positions lose in 428 ply.
451232 positions lose in 429 ply.
106226521 positions lose in 430 ply.
443829 positions lose in 431 ply.
107172963 positions lose in 432 ply.
424978 positions lose in 433 ply.
107899915 positions lose in 434 ply.
415301 positions lose in 435 ply.
108499835 positions lose in 436 ply.
416195 positions lose in 437 ply.
109089357 positions lose in 438 ply.
432217 positions lose in 439 ply.
109711028 positions lose in 440 ply.
448920 positions lose in 441 ply.
110370850 positions lose in 442 ply.
450026 positions lose in 443 ply.
111015466 positions lose in 444 ply.
447799 positions lose in 445 ply.
111602279 positions lose in 446 ply.
438559 positions lose in 447 ply.
112273822 positions lose in 448 ply.
425913 positions lose in 449 ply.
112833216 positions lose in 450 ply.
418218 positions lose in 451 ply.
112875159 positions lose in 452 ply.
427677 positions lose in 453 ply.
112500511 positions lose in 454 ply.
437249 positions lose in 455 ply.
111771248 positions lose in 456 ply.
435717 positions lose in 457 ply.
110637777 positions lose in 458 ply.
426708 positions lose in 459 ply.
109273936 positions lose in 460 ply.
409539 positions lose in 461 ply.
107783008 positions lose in 462 ply.
383462 positions lose in 463 ply.
106106658 positions lose in 464 ply.
362920 positions lose in 465 ply.
104195490 positions lose in 466 ply.
339447 positions lose in 467 ply.
102192942 positions lose in 468 ply.
313123 positions lose in 469 ply.
100045052 positions lose in 470 ply.
288218 positions lose in 471 ply.
97954580 positions lose in 472 ply.
269149 positions lose in 473 ply.
95907782 positions lose in 474 ply.
252066 positions lose in 475 ply.
93944561 positions lose in 476 ply.
239245 positions lose in 477 ply.
92032341 positions lose in 478 ply.
222841 positions lose in 479 ply.
90108897 positions lose in 480 ply.
212440 positions lose in 481 ply.
88212071 positions lose in 482 ply.
198470 positions lose in 483 ply.
86253013 positions lose in 484 ply.
181304 positions lose in 485 ply.
84399423 positions lose in 486 ply.
165829 positions lose in 487 ply.
82612377 positions lose in 488 ply.
152342 positions lose in 489 ply.
80919875 positions lose in 490 ply.
136796 positions lose in 491 ply.
79442121 positions lose in 492 ply.
122657 positions lose in 493 ply.
78161441 positions lose in 494 ply.
111030 positions lose in 495 ply.
76905306 positions lose in 496 ply.
98767 positions lose in 497 ply.
75542964 positions lose in 498 ply.
88941 positions lose in 499 ply.
74029610 positions lose in 500 ply.
80846 positions lose in 501 ply.
72574487 positions lose in 502 ply.
75032 positions lose in 503 ply.
71077073 positions lose in 504 ply.
68790 positions lose in 505 ply.
69774409 positions lose in 506 ply.
62887 positions lose in 507 ply.
68699268 positions lose in 508 ply.
55305 positions lose in 509 ply.
67844012 positions lose in 510 ply.
50765 positions lose in 511 ply.
67071131 positions lose in 512 ply.
49627 positions lose in 513 ply.
66582524 positions lose in 514 ply.
47271 positions lose in 515 ply.
66234000 positions lose in 516 ply.
45031 positions lose in 517 ply.
65882062 positions lose in 518 ply.
43022 positions lose in 519 ply.
65791682 positions lose in 520 ply.
42042 positions lose in 521 ply.
65795114 positions lose in 522 ply.
39252 positions lose in 523 ply.
65750266 positions lose in 524 ply.
36724 positions lose in 525 ply.
65539126 positions lose in 526 ply.
28901 positions lose in 527 ply.
65176012 positions lose in 528 ply.
25261 positions lose in 529 ply.
64743948 positions lose in 530 ply.
22078 positions lose in 531 ply.
64295583 positions lose in 532 ply.
18041 positions lose in 533 ply.
63980578 positions lose in 534 ply.
14545 positions lose in 535 ply.
63929296 positions lose in 536 ply.
13181 positions lose in 537 ply.
64191317 positions lose in 538 ply.
11914 positions lose in 539 ply.
64689168 positions lose in 540 ply.
11912 positions lose in 541 ply.
65812996 positions lose in 542 ply.
10810 positions lose in 543 ply.
67724909 positions lose in 544 ply.
9517 positions lose in 545 ply.
70122730 positions lose in 546 ply.
8014 positions lose in 547 ply.
72282161 positions lose in 548 ply.
7180 positions lose in 549 ply.
74252307 positions lose in 550 ply.
6398 positions lose in 551 ply.
76047283 positions lose in 552 ply.
5658 positions lose in 553 ply.
77602655 positions lose in 554 ply.
4748 positions lose in 555 ply.
79173352 positions lose in 556 ply.
3760 positions lose in 557 ply.
80833782 positions lose in 558 ply.
3080 positions lose in 559 ply.
82879715 positions lose in 560 ply.
2436 positions lose in 561 ply.
85241520 positions lose in 562 ply.
2267 positions lose in 563 ply.
87781273 positions lose in 564 ply.
2504 positions lose in 565 ply.
90222588 positions lose in 566 ply.
2248 positions lose in 567 ply.
91995820 positions lose in 568 ply.
1971 positions lose in 569 ply.
93000230 positions lose in 570 ply.
1153 positions lose in 571 ply.
93791232 positions lose in 572 ply.
735 positions lose in 573 ply.
94634233 positions lose in 574 ply.
362 positions lose in 575 ply.
95739437 positions lose in 576 ply.
212 positions lose in 577 ply.
97153415 positions lose in 578 ply.
135 positions lose in 579 ply.
98726764 positions lose in 580 ply.
51 positions lose in 581 ply.
100245392 positions lose in 582 ply.
26 positions lose in 583 ply.
101751620 positions lose in 584 ply.
5 positions lose in 585 ply.
103190634 positions lose in 586 ply.
104291254 positions lose in 588 ply.
105484988 positions lose in 590 ply.
106762924 positions lose in 592 ply.
108108111 positions lose in 594 ply.
109458859 positions lose in 596 ply.
110473315 positions lose in 598 ply.
110990445 positions lose in 600 ply.
111260568 positions lose in 602 ply.
111222712 positions lose in 604 ply.
110476409 positions lose in 606 ply.
109065194 positions lose in 608 ply.
107543647 positions lose in 610 ply.
105929794 positions lose in 612 ply.
103479121 positions lose in 614 ply.
100085901 positions lose in 616 ply.
95981467 positions lose in 618 ply.
92229732 positions lose in 620 ply.
89161247 positions lose in 622 ply.
86472449 positions lose in 624 ply.
83884040 positions lose in 626 ply.
80807382 positions lose in 628 ply.
77314242 positions lose in 630 ply.
73557272 positions lose in 632 ply.
69530921 positions lose in 634 ply.
65568406 positions lose in 636 ply.
61937136 positions lose in 638 ply.
58868619 positions lose in 640 ply.
56352488 positions lose in 642 ply.
54426435 positions lose in 644 ply.
52965068 positions lose in 646 ply.
51765799 positions lose in 648 ply.
50615518 positions lose in 650 ply.
49178743 positions lose in 652 ply.
47323783 positions lose in 654 ply.
44942136 positions lose in 656 ply.
41939571 positions lose in 658 ply.
38648295 positions lose in 660 ply.
35412844 positions lose in 662 ply.
32364367 positions lose in 664 ply.
29561479 positions lose in 666 ply.
27120526 positions lose in 668 ply.
24966779 positions lose in 670 ply.
22972567 positions lose in 672 ply.
21262396 positions lose in 674 ply.
19904121 positions lose in 676 ply.
18792168 positions lose in 678 ply.
17894291 positions lose in 680 ply.
17173700 positions lose in 682 ply.
16501831 positions lose in 684 ply.
15904098 positions lose in 686 ply.
15282602 positions lose in 688 ply.
14666310 positions lose in 690 ply.
14133954 positions lose in 692 ply.
13620229 positions lose in 694 ply.
13124924 positions lose in 696 ply.
12601144 positions lose in 698 ply.
12060285 positions lose in 700 ply.
11603569 positions lose in 702 ply.
11220158 positions lose in 704 ply.
10838573 positions lose in 706 ply.
10454671 positions lose in 708 ply.
10001625 positions lose in 710 ply.
9518273 positions lose in 712 ply.
9015505 positions lose in 714 ply.
8536813 positions lose in 716 ply.
8081547 positions lose in 718 ply.
7628869 positions lose in 720 ply.
7217084 positions lose in 722 ply.
6805110 positions lose in 724 ply.
6431985 positions lose in 726 ply.
6100801 positions lose in 728 ply.
5748208 positions lose in 730 ply.
5412100 positions lose in 732 ply.
5107815 positions lose in 734 ply.
4803339 positions lose in 736 ply.
4491426 positions lose in 738 ply.
4204775 positions lose in 740 ply.
3964991 positions lose in 742 ply.
3725009 positions lose in 744 ply.
3550036 positions lose in 746 ply.
3404511 positions lose in 748 ply.
3243425 positions lose in 750 ply.
3088903 positions lose in 752 ply.
2917045 positions lose in 754 ply.
2729313 positions lose in 756 ply.
2543264 positions lose in 758 ply.
2379519 positions lose in 760 ply.
2220809 positions lose in 762 ply.
2080630 positions lose in 764 ply.
1957036 positions lose in 766 ply.
1839444 positions lose in 768 ply.
1742523 positions lose in 770 ply.
1650226 positions lose in 772 ply.
1570329 positions lose in 774 ply.
1499494 positions lose in 776 ply.
1439288 positions lose in 778 ply.
1386005 positions lose in 780 ply.
1306359 positions lose in 782 ply.
1246178 positions lose in 784 ply.
1216979 positions lose in 786 ply.
1200032 positions lose in 788 ply.
1184038 positions lose in 790 ply.
1162582 positions lose in 792 ply.
1132472 positions lose in 794 ply.
1071759 positions lose in 796 ply.
997483 positions lose in 798 ply.
940822 positions lose in 800 ply.
893320 positions lose in 802 ply.
845444 positions lose in 804 ply.
794605 positions lose in 806 ply.
744939 positions lose in 808 ply.
702776 positions lose in 810 ply.
655151 positions lose in 812 ply.
627919 positions lose in 814 ply.
614995 positions lose in 816 ply.
617429 positions lose in 818 ply.
635804 positions lose in 820 ply.
653980 positions lose in 822 ply.
665633 positions lose in 824 ply.
686886 positions lose in 826 ply.
715183 positions lose in 828 ply.
731941 positions lose in 830 ply.
745441 positions lose in 832 ply.
741550 positions lose in 834 ply.
728340 positions lose in 836 ply.
710015 positions lose in 838 ply.
686154 positions lose in 840 ply.
651443 positions lose in 842 ply.
623045 positions lose in 844 ply.
586502 positions lose in 846 ply.
551342 positions lose in 848 ply.
522983 positions lose in 850 ply.
496178 positions lose in 852 ply.
466765 positions lose in 854 ply.
443267 positions lose in 856 ply.
417520 positions lose in 858 ply.
386879 positions lose in 860 ply.
357286 positions lose in 862 ply.
328005 positions lose in 864 ply.
303648 positions lose in 866 ply.
277299 positions lose in 868 ply.
254886 positions lose in 870 ply.
240135 positions lose in 872 ply.
233408 positions lose in 874 ply.
227007 positions lose in 876 ply.
225472 positions lose in 878 ply.
231514 positions lose in 880 ply.
245335 positions lose in 882 ply.
261557 positions lose in 884 ply.
277909 positions lose in 886 ply.
282940 positions lose in 888 ply.
284389 positions lose in 890 ply.
286326 positions lose in 892 ply.
285396 positions lose in 894 ply.
283523 positions lose in 896 ply.
277377 positions lose in 898 ply.
261336 positions lose in 900 ply.
252390 positions lose in 902 ply.
240882 positions lose in 904 ply.
227185 positions lose in 906 ply.
214803 positions lose in 908 ply.
207818 positions lose in 910 ply.
208834 positions lose in 912 ply.
218360 positions lose in 914 ply.
223167 positions lose in 916 ply.
214245 positions lose in 918 ply.
204200 positions lose in 920 ply.
195342 positions lose in 922 ply.
194331 positions lose in 924 ply.
190603 positions lose in 926 ply.
188057 positions lose in 928 ply.
177611 positions lose in 930 ply.
164806 positions lose in 932 ply.
153524 positions lose in 934 ply.
146046 positions lose in 936 ply.
141339 positions lose in 938 ply.
135741 positions lose in 940 ply.
136122 positions lose in 942 ply.
144621 positions lose in 944 ply.
153056 positions lose in 946 ply.
157755 positions lose in 948 ply.
155588 positions lose in 950 ply.
153199 positions lose in 952 ply.
154641 positions lose in 954 ply.
156502 positions lose in 956 ply.
161693 positions lose in 958 ply.
165082 positions lose in 960 ply.
163617 positions lose in 962 ply.
159086 positions lose in 964 ply.
148642 positions lose in 966 ply.
135679 positions lose in 968 ply.
120588 positions lose in 970 ply.
101113 positions lose in 972 ply.
83350 positions lose in 974 ply.
69006 positions lose in 976 ply.
57370 positions lose in 978 ply.
46438 positions lose in 980 ply.
37459 positions lose in 982 ply.
30379 positions lose in 984 ply.
23942 positions lose in 986 ply.
19190 positions lose in 988 ply.
14185 positions lose in 990 ply.
11697 positions lose in 992 ply.
9677 positions lose in 994 ply.
7457 positions lose in 996 ply.
6178 positions lose in 998 ply.
5275 positions lose in 1000 ply.
3923 positions lose in 1002 ply.
2937 positions lose in 1004 ply.
2126 positions lose in 1006 ply.
1801 positions lose in 1008 ply.
1256 positions lose in 1010 ply.
1106 positions lose in 1012 ply.
867 positions lose in 1014 ply.
885 positions lose in 1016 ply.
795 positions lose in 1018 ply.
637 positions lose in 1020 ply.
443 positions lose in 1022 ply.
281 positions lose in 1024 ply.
78 positions lose in 1026 ply.
18 positions lose in 1028 ply.
18 positions lose in 1030 ply.
15 positions lose in 1032 ply.
24 positions lose in 1034 ply.

Black to move&#58;

119230462337 positions win in 1 ply.
196660877 positions win in 2 ply.
23625670477 positions win in 3 ply.
76749697 positions win in 4 ply.
7942952489 positions win in 5 ply.
54384918 positions win in 6 ply.
4900988080 positions win in 7 ply.
46379074 positions win in 8 ply.
3606633904 positions win in 9 ply.
42532929 positions win in 10 ply.
2833749100 positions win in 11 ply.
39358172 positions win in 12 ply.
2297418597 positions win in 13 ply.
35799242 positions win in 14 ply.
1884375188 positions win in 15 ply.
31398780 positions win in 16 ply.
1540470352 positions win in 17 ply.
26470590 positions win in 18 ply.
1249581523 positions win in 19 ply.
21674891 positions win in 20 ply.
1009673685 positions win in 21 ply.
17531058 positions win in 22 ply.
819083921 positions win in 23 ply.
14255315 positions win in 24 ply.
671070241 positions win in 25 ply.
11685069 positions win in 26 ply.
556851578 positions win in 27 ply.
9688947 positions win in 28 ply.
468238278 positions win in 29 ply.
8164867 positions win in 30 ply.
398777564 positions win in 31 ply.
6966683 positions win in 32 ply.
343680209 positions win in 33 ply.
5987356 positions win in 34 ply.
299502929 positions win in 35 ply.
5184306 positions win in 36 ply.
263491903 positions win in 37 ply.
4500127 positions win in 38 ply.
233833549 positions win in 39 ply.
3931628 positions win in 40 ply.
209173457 positions win in 41 ply.
3468808 positions win in 42 ply.
188530568 positions win in 43 ply.
3078637 positions win in 44 ply.
171232732 positions win in 45 ply.
2751502 positions win in 46 ply.
156622031 positions win in 47 ply.
2485187 positions win in 48 ply.
144204922 positions win in 49 ply.
2283239 positions win in 50 ply.
133571773 positions win in 51 ply.
2106515 positions win in 52 ply.
124256828 positions win in 53 ply.
1948661 positions win in 54 ply.
116054434 positions win in 55 ply.
1809234 positions win in 56 ply.
108624440 positions win in 57 ply.
1670338 positions win in 58 ply.
101949206 positions win in 59 ply.
1536841 positions win in 60 ply.
95987800 positions win in 61 ply.
1427080 positions win in 62 ply.
90766274 positions win in 63 ply.
1328967 positions win in 64 ply.
86038840 positions win in 65 ply.
1247429 positions win in 66 ply.
81797198 positions win in 67 ply.
1175010 positions win in 68 ply.
78035329 positions win in 69 ply.
1117267 positions win in 70 ply.
74613183 positions win in 71 ply.
1065255 positions win in 72 ply.
71537541 positions win in 73 ply.
1029085 positions win in 74 ply.
68677935 positions win in 75 ply.
998844 positions win in 76 ply.
66014154 positions win in 77 ply.
974032 positions win in 78 ply.
63595360 positions win in 79 ply.
943487 positions win in 80 ply.
61396153 positions win in 81 ply.
906477 positions win in 82 ply.
59360355 positions win in 83 ply.
862708 positions win in 84 ply.
57445245 positions win in 85 ply.
813287 positions win in 86 ply.
55669664 positions win in 87 ply.
773810 positions win in 88 ply.
53998961 positions win in 89 ply.
745062 positions win in 90 ply.
52454609 positions win in 91 ply.
724901 positions win in 92 ply.
51006862 positions win in 93 ply.
708511 positions win in 94 ply.
49591615 positions win in 95 ply.
702941 positions win in 96 ply.
48202939 positions win in 97 ply.
705513 positions win in 98 ply.
46782122 positions win in 99 ply.
708504 positions win in 100 ply.
45377242 positions win in 101 ply.
713702 positions win in 102 ply.
43941749 positions win in 103 ply.
724492 positions win in 104 ply.
42553677 positions win in 105 ply.
723905 positions win in 106 ply.
41365625 positions win in 107 ply.
711201 positions win in 108 ply.
40286826 positions win in 109 ply.
679337 positions win in 110 ply.
39264004 positions win in 111 ply.
639354 positions win in 112 ply.
38433677 positions win in 113 ply.
606198 positions win in 114 ply.
37743330 positions win in 115 ply.
581221 positions win in 116 ply.
37187857 positions win in 117 ply.
557781 positions win in 118 ply.
36776591 positions win in 119 ply.
525428 positions win in 120 ply.
36452612 positions win in 121 ply.
498378 positions win in 122 ply.
36070106 positions win in 123 ply.
480388 positions win in 124 ply.
35591670 positions win in 125 ply.
463533 positions win in 126 ply.
35035641 positions win in 127 ply.
453196 positions win in 128 ply.
34422743 positions win in 129 ply.
446216 positions win in 130 ply.
33721042 positions win in 131 ply.
438500 positions win in 132 ply.
32966778 positions win in 133 ply.
425729 positions win in 134 ply.
32265787 positions win in 135 ply.
414054 positions win in 136 ply.
31598369 positions win in 137 ply.
410034 positions win in 138 ply.
31001655 positions win in 139 ply.
422394 positions win in 140 ply.
30595929 positions win in 141 ply.
446166 positions win in 142 ply.
30293588 positions win in 143 ply.
462794 positions win in 144 ply.
30011958 positions win in 145 ply.
467963 positions win in 146 ply.
29714138 positions win in 147 ply.
473773 positions win in 148 ply.
29393803 positions win in 149 ply.
474508 positions win in 150 ply.
29049729 positions win in 151 ply.
472938 positions win in 152 ply.
28706949 positions win in 153 ply.
466736 positions win in 154 ply.
28374711 positions win in 155 ply.
461397 positions win in 156 ply.
28010342 positions win in 157 ply.
445557 positions win in 158 ply.
27643299 positions win in 159 ply.
433505 positions win in 160 ply.
27353167 positions win in 161 ply.
423236 positions win in 162 ply.
27084734 positions win in 163 ply.
421849 positions win in 164 ply.
26840701 positions win in 165 ply.
425581 positions win in 166 ply.
26697482 positions win in 167 ply.
433462 positions win in 168 ply.
26515318 positions win in 169 ply.
438257 positions win in 170 ply.
26280725 positions win in 171 ply.
442465 positions win in 172 ply.
26034052 positions win in 173 ply.
441506 positions win in 174 ply.
25891616 positions win in 175 ply.
440280 positions win in 176 ply.
25843383 positions win in 177 ply.
436221 positions win in 178 ply.
25903549 positions win in 179 ply.
430696 positions win in 180 ply.
26097478 positions win in 181 ply.
424502 positions win in 182 ply.
26304703 positions win in 183 ply.
423032 positions win in 184 ply.
26440268 positions win in 185 ply.
416488 positions win in 186 ply.
26515410 positions win in 187 ply.
410357 positions win in 188 ply.
26581144 positions win in 189 ply.
408650 positions win in 190 ply.
26655955 positions win in 191 ply.
408884 positions win in 192 ply.
26697934 positions win in 193 ply.
404489 positions win in 194 ply.
26701747 positions win in 195 ply.
399436 positions win in 196 ply.
26630931 positions win in 197 ply.
392534 positions win in 198 ply.
26516470 positions win in 199 ply.
384522 positions win in 200 ply.
26292584 positions win in 201 ply.
372068 positions win in 202 ply.
26063521 positions win in 203 ply.
357855 positions win in 204 ply.
25783276 positions win in 205 ply.
343054 positions win in 206 ply.
25432444 positions win in 207 ply.
322213 positions win in 208 ply.
25053989 positions win in 209 ply.
305916 positions win in 210 ply.
24729231 positions win in 211 ply.
287816 positions win in 212 ply.
24492880 positions win in 213 ply.
261467 positions win in 214 ply.
24299100 positions win in 215 ply.
241089 positions win in 216 ply.
24128326 positions win in 217 ply.
221057 positions win in 218 ply.
23994091 positions win in 219 ply.
204207 positions win in 220 ply.
23883060 positions win in 221 ply.
195808 positions win in 222 ply.
23819985 positions win in 223 ply.
190653 positions win in 224 ply.
23705333 positions win in 225 ply.
197015 positions win in 226 ply.
23627822 positions win in 227 ply.
212189 positions win in 228 ply.
23524487 positions win in 229 ply.
232768 positions win in 230 ply.
23419403 positions win in 231 ply.
252994 positions win in 232 ply.
23347206 positions win in 233 ply.
272173 positions win in 234 ply.
23266030 positions win in 235 ply.
281152 positions win in 236 ply.
23091780 positions win in 237 ply.
284374 positions win in 238 ply.
22824787 positions win in 239 ply.
278023 positions win in 240 ply.
22604520 positions win in 241 ply.
266123 positions win in 242 ply.
22522656 positions win in 243 ply.
254976 positions win in 244 ply.
22584692 positions win in 245 ply.
249898 positions win in 246 ply.
22659709 positions win in 247 ply.
255871 positions win in 248 ply.
22689712 positions win in 249 ply.
272383 positions win in 250 ply.
22723835 positions win in 251 ply.
293911 positions win in 252 ply.
22772865 positions win in 253 ply.
310159 positions win in 254 ply.
22797183 positions win in 255 ply.
324735 positions win in 256 ply.
22822937 positions win in 257 ply.
325776 positions win in 258 ply.
22863360 positions win in 259 ply.
318415 positions win in 260 ply.
22928258 positions win in 261 ply.
306852 positions win in 262 ply.
23058009 positions win in 263 ply.
298432 positions win in 264 ply.
23211187 positions win in 265 ply.
288585 positions win in 266 ply.
23367509 positions win in 267 ply.
278392 positions win in 268 ply.
23578470 positions win in 269 ply.
266031 positions win in 270 ply.
23878045 positions win in 271 ply.
250651 positions win in 272 ply.
24220681 positions win in 273 ply.
236906 positions win in 274 ply.
24571343 positions win in 275 ply.
224663 positions win in 276 ply.
24883981 positions win in 277 ply.
214109 positions win in 278 ply.
25077839 positions win in 279 ply.
202358 positions win in 280 ply.
25159424 positions win in 281 ply.
192787 positions win in 282 ply.
25134305 positions win in 283 ply.
184535 positions win in 284 ply.
25067659 positions win in 285 ply.
176450 positions win in 286 ply.
24895617 positions win in 287 ply.
167751 positions win in 288 ply.
24666537 positions win in 289 ply.
160087 positions win in 290 ply.
24403891 positions win in 291 ply.
158139 positions win in 292 ply.
24186143 positions win in 293 ply.
157572 positions win in 294 ply.
23997893 positions win in 295 ply.
160146 positions win in 296 ply.
23824967 positions win in 297 ply.
163922 positions win in 298 ply.
23631169 positions win in 299 ply.
170356 positions win in 300 ply.
23419454 positions win in 301 ply.
174503 positions win in 302 ply.
23193350 positions win in 303 ply.
181655 positions win in 304 ply.
22956776 positions win in 305 ply.
194220 positions win in 306 ply.
22766658 positions win in 307 ply.
213049 positions win in 308 ply.
22582867 positions win in 309 ply.
241095 positions win in 310 ply.
22462327 positions win in 311 ply.
261197 positions win in 312 ply.
22390491 positions win in 313 ply.
272994 positions win in 314 ply.
22337537 positions win in 315 ply.
279020 positions win in 316 ply.
22333274 positions win in 317 ply.
282901 positions win in 318 ply.
22355645 positions win in 319 ply.
280772 positions win in 320 ply.
22448735 positions win in 321 ply.
278297 positions win in 322 ply.
22600612 positions win in 323 ply.
270939 positions win in 324 ply.
22796151 positions win in 325 ply.
261993 positions win in 326 ply.
23113968 positions win in 327 ply.
248639 positions win in 328 ply.
23445811 positions win in 329 ply.
231506 positions win in 330 ply.
23854206 positions win in 331 ply.
210158 positions win in 332 ply.
24247484 positions win in 333 ply.
191973 positions win in 334 ply.
24619847 positions win in 335 ply.
180659 positions win in 336 ply.
24980791 positions win in 337 ply.
172626 positions win in 338 ply.
25298886 positions win in 339 ply.
161514 positions win in 340 ply.
25714628 positions win in 341 ply.
148167 positions win in 342 ply.
26200672 positions win in 343 ply.
137150 positions win in 344 ply.
26694776 positions win in 345 ply.
132801 positions win in 346 ply.
27127154 positions win in 347 ply.
127790 positions win in 348 ply.
27504275 positions win in 349 ply.
129831 positions win in 350 ply.
27917694 positions win in 351 ply.
132892 positions win in 352 ply.
28298499 positions win in 353 ply.
139306 positions win in 354 ply.
28622684 positions win in 355 ply.
144415 positions win in 356 ply.
28982759 positions win in 357 ply.
147782 positions win in 358 ply.
29390300 positions win in 359 ply.
149168 positions win in 360 ply.
29855229 positions win in 361 ply.
151528 positions win in 362 ply.
30442352 positions win in 363 ply.
152594 positions win in 364 ply.
31233061 positions win in 365 ply.
153691 positions win in 366 ply.
32200809 positions win in 367 ply.
155930 positions win in 368 ply.
33245354 positions win in 369 ply.
156524 positions win in 370 ply.
34207837 positions win in 371 ply.
156838 positions win in 372 ply.
35118933 positions win in 373 ply.
158367 positions win in 374 ply.
36044382 positions win in 375 ply.
168659 positions win in 376 ply.
36812281 positions win in 377 ply.
173718 positions win in 378 ply.
37448003 positions win in 379 ply.
173088 positions win in 380 ply.
38148202 positions win in 381 ply.
165003 positions win in 382 ply.
38798149 positions win in 383 ply.
153332 positions win in 384 ply.
39523710 positions win in 385 ply.
135460 positions win in 386 ply.
40375401 positions win in 387 ply.
116943 positions win in 388 ply.
41417185 positions win in 389 ply.
98765 positions win in 390 ply.
42559605 positions win in 391 ply.
87040 positions win in 392 ply.
43748182 positions win in 393 ply.
80778 positions win in 394 ply.
44965235 positions win in 395 ply.
80000 positions win in 396 ply.
46201544 positions win in 397 ply.
83815 positions win in 398 ply.
47453241 positions win in 399 ply.
89171 positions win in 400 ply.
48823828 positions win in 401 ply.
98813 positions win in 402 ply.
50285115 positions win in 403 ply.
114371 positions win in 404 ply.
51845692 positions win in 405 ply.
134957 positions win in 406 ply.
53403890 positions win in 407 ply.
152399 positions win in 408 ply.
54956896 positions win in 409 ply.
168639 positions win in 410 ply.
56490651 positions win in 411 ply.
187987 positions win in 412 ply.
58272324 positions win in 413 ply.
208310 positions win in 414 ply.
60118874 positions win in 415 ply.
231837 positions win in 416 ply.
61795325 positions win in 417 ply.
252307 positions win in 418 ply.
63366773 positions win in 419 ply.
263234 positions win in 420 ply.
64734347 positions win in 421 ply.
268421 positions win in 422 ply.
65900504 positions win in 423 ply.
273299 positions win in 424 ply.
66925967 positions win in 425 ply.
281453 positions win in 426 ply.
67627882 positions win in 427 ply.
291128 positions win in 428 ply.
68139302 positions win in 429 ply.
289420 positions win in 430 ply.
68599927 positions win in 431 ply.
278293 positions win in 432 ply.
68983322 positions win in 433 ply.
267974 positions win in 434 ply.
69273180 positions win in 435 ply.
267322 positions win in 436 ply.
69634394 positions win in 437 ply.
278099 positions win in 438 ply.
69998807 positions win in 439 ply.
293212 positions win in 440 ply.
70311825 positions win in 441 ply.
298418 positions win in 442 ply.
70586723 positions win in 443 ply.
301707 positions win in 444 ply.
70808811 positions win in 445 ply.
296082 positions win in 446 ply.
71017156 positions win in 447 ply.
285965 positions win in 448 ply.
71205831 positions win in 449 ply.
277831 positions win in 450 ply.
71142482 positions win in 451 ply.
272517 positions win in 452 ply.
70752055 positions win in 453 ply.
276486 positions win in 454 ply.
70120713 positions win in 455 ply.
279535 positions win in 456 ply.
69300450 positions win in 457 ply.
275136 positions win in 458 ply.
68251659 positions win in 459 ply.
265163 positions win in 460 ply.
67158879 positions win in 461 ply.
254748 positions win in 462 ply.
66014917 positions win in 463 ply.
235854 positions win in 464 ply.
64754756 positions win in 465 ply.
219571 positions win in 466 ply.
63366518 positions win in 467 ply.
202244 positions win in 468 ply.
61936576 positions win in 469 ply.
186595 positions win in 470 ply.
60471986 positions win in 471 ply.
173534 positions win in 472 ply.
59091492 positions win in 473 ply.
163032 positions win in 474 ply.
57768043 positions win in 475 ply.
151402 positions win in 476 ply.
56462565 positions win in 477 ply.
139459 positions win in 478 ply.
55152922 positions win in 479 ply.
129074 positions win in 480 ply.
53838551 positions win in 481 ply.
120767 positions win in 482 ply.
52533273 positions win in 483 ply.
110426 positions win in 484 ply.
51232144 positions win in 485 ply.
100101 positions win in 486 ply.
50026656 positions win in 487 ply.
91617 positions win in 488 ply.
48874359 positions win in 489 ply.
83698 positions win in 490 ply.
47863206 positions win in 491 ply.
75199 positions win in 492 ply.
46998108 positions win in 493 ply.
67075 positions win in 494 ply.
46170056 positions win in 495 ply.
61476 positions win in 496 ply.
45353643 positions win in 497 ply.
54980 positions win in 498 ply.
44393233 positions win in 499 ply.
49070 positions win in 500 ply.
43436696 positions win in 501 ply.
46195 positions win in 502 ply.
42466965 positions win in 503 ply.
41862 positions win in 504 ply.
41599939 positions win in 505 ply.
38891 positions win in 506 ply.
40869178 positions win in 507 ply.
34710 positions win in 508 ply.
40257545 positions win in 509 ply.
30728 positions win in 510 ply.
39769415 positions win in 511 ply.
29289 positions win in 512 ply.
39387827 positions win in 513 ply.
28245 positions win in 514 ply.
39031544 positions win in 515 ply.
26704 positions win in 516 ply.
38720905 positions win in 517 ply.
25722 positions win in 518 ply.
38569497 positions win in 519 ply.
25074 positions win in 520 ply.
38557570 positions win in 521 ply.
23859 positions win in 522 ply.
38539255 positions win in 523 ply.
21861 positions win in 524 ply.
38391427 positions win in 525 ply.
18204 positions win in 526 ply.
38140813 positions win in 527 ply.
15696 positions win in 528 ply.
37848423 positions win in 529 ply.
13816 positions win in 530 ply.
37497416 positions win in 531 ply.
11405 positions win in 532 ply.
37180539 positions win in 533 ply.
9297 positions win in 534 ply.
36951792 positions win in 535 ply.
7998 positions win in 536 ply.
36898183 positions win in 537 ply.
7352 positions win in 538 ply.
37009386 positions win in 539 ply.
7155 positions win in 540 ply.
37391714 positions win in 541 ply.
6681 positions win in 542 ply.
38134333 positions win in 543 ply.
5788 positions win in 544 ply.
39304840 positions win in 545 ply.
5131 positions win in 546 ply.
40493804 positions win in 547 ply.
4401 positions win in 548 ply.
41613834 positions win in 549 ply.
4012 positions win in 550 ply.
42653545 positions win in 551 ply.
3614 positions win in 552 ply.
43571179 positions win in 553 ply.
2923 positions win in 554 ply.
44435376 positions win in 555 ply.
2397 positions win in 556 ply.
45321758 positions win in 557 ply.
1771 positions win in 558 ply.
46338948 positions win in 559 ply.
1530 positions win in 560 ply.
47557808 positions win in 561 ply.
1338 positions win in 562 ply.
48831208 positions win in 563 ply.
1284 positions win in 564 ply.
50165870 positions win in 565 ply.
1138 positions win in 566 ply.
51162608 positions win in 567 ply.
1118 positions win in 568 ply.
51799897 positions win in 569 ply.
737 positions win in 570 ply.
52177491 positions win in 571 ply.
427 positions win in 572 ply.
52466375 positions win in 573 ply.
228 positions win in 574 ply.
52869269 positions win in 575 ply.
133 positions win in 576 ply.
53403636 positions win in 577 ply.
72 positions win in 578 ply.
54135499 positions win in 579 ply.
52 positions win in 580 ply.
54958585 positions win in 581 ply.
24 positions win in 582 ply.
55842046 positions win in 583 ply.
17 positions win in 584 ply.
56612721 positions win in 585 ply.
2 positions win in 586 ply.
57174623 positions win in 587 ply.
57708990 positions win in 589 ply.
58234005 positions win in 591 ply.
58831370 positions win in 593 ply.
59508892 positions win in 595 ply.
59995418 positions win in 597 ply.
60234029 positions win in 599 ply.
60219253 positions win in 601 ply.
60074108 positions win in 603 ply.
59602748 positions win in 605 ply.
58654646 positions win in 607 ply.
57510661 positions win in 609 ply.
56311783 positions win in 611 ply.
55031594 positions win in 613 ply.
53417983 positions win in 615 ply.
51395556 positions win in 617 ply.
49215525 positions win in 619 ply.
47281786 positions win in 621 ply.
45613816 positions win in 623 ply.
44102871 positions win in 625 ply.
42555542 positions win in 627 ply.
40803383 positions win in 629 ply.
38922512 positions win in 631 ply.
36880634 positions win in 633 ply.
34814899 positions win in 635 ply.
32850967 positions win in 637 ply.
31112906 positions win in 639 ply.
29645939 positions win in 641 ply.
28396414 positions win in 643 ply.
27425750 positions win in 645 ply.
26743210 positions win in 647 ply.
26196517 positions win in 649 ply.
25642970 positions win in 651 ply.
24869305 positions win in 653 ply.
23794736 positions win in 655 ply.
22343845 positions win in 657 ply.
20723285 positions win in 659 ply.
19040675 positions win in 661 ply.
17408995 positions win in 663 ply.
15905435 positions win in 665 ply.
14546154 positions win in 667 ply.
13369377 positions win in 669 ply.
12278799 positions win in 671 ply.
11311459 positions win in 673 ply.
10536647 positions win in 675 ply.
9896624 positions win in 677 ply.
9384316 positions win in 679 ply.
9006950 positions win in 681 ply.
8658509 positions win in 683 ply.
8336060 positions win in 685 ply.
8018575 positions win in 687 ply.
7710707 positions win in 689 ply.
7421183 positions win in 691 ply.
7153899 positions win in 693 ply.
6901225 positions win in 695 ply.
6640203 positions win in 697 ply.
6356997 positions win in 699 ply.
6091322 positions win in 701 ply.
5863806 positions win in 703 ply.
5649422 positions win in 705 ply.
5453178 positions win in 707 ply.
5223442 positions win in 709 ply.
4980087 positions win in 711 ply.
4731282 positions win in 713 ply.
4493331 positions win in 715 ply.
4267093 positions win in 717 ply.
4033986 positions win in 719 ply.
3819285 positions win in 721 ply.
3599532 positions win in 723 ply.
3396323 positions win in 725 ply.
3211937 positions win in 727 ply.
3036344 positions win in 729 ply.
2857257 positions win in 731 ply.
2694495 positions win in 733 ply.
2540447 positions win in 735 ply.
2374156 positions win in 737 ply.
2229497 positions win in 739 ply.
2099383 positions win in 741 ply.
1972472 positions win in 743 ply.
1877014 positions win in 745 ply.
1798085 positions win in 747 ply.
1721580 positions win in 749 ply.
1638755 positions win in 751 ply.
1550931 positions win in 753 ply.
1459983 positions win in 755 ply.
1366813 positions win in 757 ply.
1277881 positions win in 759 ply.
1193608 positions win in 761 ply.
1117164 positions win in 763 ply.
1050891 positions win in 765 ply.
991650 positions win in 767 ply.
939883 positions win in 769 ply.
886085 positions win in 771 ply.
844509 positions win in 773 ply.
800800 positions win in 775 ply.
767865 positions win in 777 ply.
741659 positions win in 779 ply.
702287 positions win in 781 ply.
671214 positions win in 783 ply.
645167 positions win in 785 ply.
632591 positions win in 787 ply.
619905 positions win in 789 ply.
607910 positions win in 791 ply.
589002 positions win in 793 ply.
561769 positions win in 795 ply.
522683 positions win in 797 ply.
493523 positions win in 799 ply.
463261 positions win in 801 ply.
438145 positions win in 803 ply.
411152 positions win in 805 ply.
382968 positions win in 807 ply.
361049 positions win in 809 ply.
337210 positions win in 811 ply.
315806 positions win in 813 ply.
302421 positions win in 815 ply.
297044 positions win in 817 ply.
301474 positions win in 819 ply.
306334 positions win in 821 ply.
308536 positions win in 823 ply.
317043 positions win in 825 ply.
333539 positions win in 827 ply.
345133 positions win in 829 ply.
352450 positions win in 831 ply.
354119 positions win in 833 ply.
352333 positions win in 835 ply.
347666 positions win in 837 ply.
340233 positions win in 839 ply.
326864 positions win in 841 ply.
311109 positions win in 843 ply.
295245 positions win in 845 ply.
275883 positions win in 847 ply.
263147 positions win in 849 ply.
251298 positions win in 851 ply.
238383 positions win in 853 ply.
227719 positions win in 855 ply.
215011 positions win in 857 ply.
197676 positions win in 859 ply.
180745 positions win in 861 ply.
166004 positions win in 863 ply.
152986 positions win in 865 ply.
139607 positions win in 867 ply.
129295 positions win in 869 ply.
121530 positions win in 871 ply.
115882 positions win in 873 ply.
112122 positions win in 875 ply.
109555 positions win in 877 ply.
111756 positions win in 879 ply.
115592 positions win in 881 ply.
121177 positions win in 883 ply.
129121 positions win in 885 ply.
134520 positions win in 887 ply.
135593 positions win in 889 ply.
136711 positions win in 891 ply.
137242 positions win in 893 ply.
137012 positions win in 895 ply.
134353 positions win in 897 ply.
129206 positions win in 899 ply.
124213 positions win in 901 ply.
119106 positions win in 903 ply.
112743 positions win in 905 ply.
107739 positions win in 907 ply.
102879 positions win in 909 ply.
104034 positions win in 911 ply.
106104 positions win in 913 ply.
107613 positions win in 915 ply.
103719 positions win in 917 ply.
99724 positions win in 919 ply.
92514 positions win in 921 ply.
90343 positions win in 923 ply.
89895 positions win in 925 ply.
88981 positions win in 927 ply.
86899 positions win in 929 ply.
81233 positions win in 931 ply.
77345 positions win in 933 ply.
72798 positions win in 935 ply.
70930 positions win in 937 ply.
66411 positions win in 939 ply.
67476 positions win in 941 ply.
68930 positions win in 943 ply.
72748 positions win in 945 ply.
76011 positions win in 947 ply.
76450 positions win in 949 ply.
75761 positions win in 951 ply.
75880 positions win in 953 ply.
76727 positions win in 955 ply.
79400 positions win in 957 ply.
82707 positions win in 959 ply.
81806 positions win in 961 ply.
80023 positions win in 963 ply.
77578 positions win in 965 ply.
71527 positions win in 967 ply.
64833 positions win in 969 ply.
56489 positions win in 971 ply.
47281 positions win in 973 ply.
38986 positions win in 975 ply.
33156 positions win in 977 ply.
26752 positions win in 979 ply.
21216 positions win in 981 ply.
17171 positions win in 983 ply.
13737 positions win in 985 ply.
10721 positions win in 987 ply.
7844 positions win in 989 ply.
6449 positions win in 991 ply.
5331 positions win in 993 ply.
4231 positions win in 995 ply.
3478 positions win in 997 ply.
2780 positions win in 999 ply.
2119 positions win in 1001 ply.
1683 positions win in 1003 ply.
1181 positions win in 1005 ply.
1027 positions win in 1007 ply.
680 positions win in 1009 ply.
532 positions win in 1011 ply.
423 positions win in 1013 ply.
410 positions win in 1015 ply.
351 positions win in 1017 ply.
341 positions win in 1019 ply.
264 positions win in 1021 ply.
194 positions win in 1023 ply.
55 positions win in 1025 ply.
15 positions win in 1027 ply.
8 positions win in 1029 ply.
6 positions win in 1031 ply.
6 positions win in 1033 ply.

177645100092 positions are wins.
11201586040 positions are cursed wins.
19008683296 positions are draws.
6065342 positions are cursed losses.
12752584310 positions are losses.

212353836 positions lose in 0 ply.
23831124 positions lose in 1 ply.
11597344694 positions lose in 2 ply.
8563066 positions lose in 3 ply.
658147317 positions lose in 4 ply.
4578230 positions lose in 5 ply.
170602759 positions lose in 6 ply.
1852416 positions lose in 7 ply.
44287912 positions lose in 8 ply.
850868 positions lose in 9 ply.
16279967 positions lose in 10 ply.
343668 positions lose in 11 ply.
6358509 positions lose in 12 ply.
191840 positions lose in 13 ply.
3128316 positions lose in 14 ply.
98764 positions lose in 15 ply.
1520040 positions lose in 16 ply.
57119 positions lose in 17 ply.
774509 positions lose in 18 ply.
31279 positions lose in 19 ply.
434395 positions lose in 20 ply.
16526 positions lose in 21 ply.
283435 positions lose in 22 ply.
10687 positions lose in 23 ply.
194783 positions lose in 24 ply.
8044 positions lose in 25 ply.
138264 positions lose in 26 ply.
6621 positions lose in 27 ply.
96898 positions lose in 28 ply.
4840 positions lose in 29 ply.
62866 positions lose in 30 ply.
3341 positions lose in 31 ply.
41957 positions lose in 32 ply.
2844 positions lose in 33 ply.
25324 positions lose in 34 ply.
2005 positions lose in 35 ply.
17296 positions lose in 36 ply.
1342 positions lose in 37 ply.
12002 positions lose in 38 ply.
829 positions lose in 39 ply.
7477 positions lose in 40 ply.
614 positions lose in 41 ply.
4986 positions lose in 42 ply.
518 positions lose in 43 ply.
3731 positions lose in 44 ply.
551 positions lose in 45 ply.
1856 positions lose in 46 ply.
350 positions lose in 47 ply.
1098 positions lose in 48 ply.
230 positions lose in 49 ply.
801 positions lose in 50 ply.
219 positions lose in 51 ply.
721 positions lose in 52 ply.
65 positions lose in 53 ply.
282 positions lose in 54 ply.
10 positions lose in 55 ply.
112 positions lose in 56 ply.
50 positions lose in 58 ply.
31 positions lose in 60 ply.
38 positions lose in 62 ply.
38 positions lose in 64 ply.
2139616 positions lose in 101 ply.
2370366 positions lose in 102 ply.
251769 positions lose in 103 ply.
615703 positions lose in 104 ply.
134530 positions lose in 105 ply.
224229 positions lose in 106 ply.
73989 positions lose in 107 ply.
68002 positions lose in 108 ply.
43411 positions lose in 109 ply.
30741 positions lose in 110 ply.
27439 positions lose in 111 ply.
15310 positions lose in 112 ply.
16495 positions lose in 113 ply.
7762 positions lose in 114 ply.
10373 positions lose in 115 ply.
4098 positions lose in 116 ply.
6988 positions lose in 117 ply.
2285 positions lose in 118 ply.
4890 positions lose in 119 ply.
1545 positions lose in 120 ply.
3671 positions lose in 121 ply.
1309 positions lose in 122 ply.
2442 positions lose in 123 ply.
985 positions lose in 124 ply.
1737 positions lose in 125 ply.
616 positions lose in 126 ply.
1309 positions lose in 127 ply.
448 positions lose in 128 ply.
1214 positions lose in 129 ply.
209 positions lose in 130 ply.
823 positions lose in 131 ply.
107 positions lose in 132 ply.
360 positions lose in 133 ply.
58 positions lose in 134 ply.
159 positions lose in 135 ply.
44 positions lose in 136 ply.
58 positions lose in 137 ply.
37 positions lose in 138 ply.
83 positions lose in 139 ply.
15 positions lose in 140 ply.
37 positions lose in 141 ply.
17 positions lose in 142 ply.
17 positions lose in 143 ply.
4 positions lose in 144 ply.
14 positions lose in 145 ply.
15 positions lose in 147 ply.
12 positions lose in 149 ply.
1 positions lose in 151 ply.

Longest win for white&#58; 65 ply; 5q1n/8/8/4N3/4B3/3K2R1/8/4k3 w - -
Longest cursed win for white&#58; 152 ply; 5n2/8/8/7q/3N1R2/3B4/8/k2K4 w - -
Longest cursed win for black&#58; 1034 ply; 8/2B5/8/1k6/8/3K4/4N1R1/qn6 w - -
Longest win for black&#58; 100 ply; 8/8/8/q7/8/8/1R3B2/NKnk4 w - -

Resetting black cursed losses.
time taken =   0&#58;33.770
tb_size = 392418260640
This is the stats for KRBNvKQN... a bit weird to see mate this long but due to different metric I'm uncertain about its correctness.

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 4:44 am
by Dann Corbit
That is really, really interesting.

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 9:30 am
by Nordlandia
The longest 7-piece mate - 549 moves according Lomonosov Tablebases.

Longest win: 1098 plies.

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 1:46 pm
by syzygy
Max DTZ = 517 moves as calculated by Marc Bourzut, so 1034 plies seems correct.

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 2:20 pm
by koedem
I assume these are plies till conversion? (otherwise I don't understand how for the same player to move there can be even and odd plies)

Is the gap for white to move and win ending just behind 50 moves (rule jump from 65 to 101 plies) coincidence? Also, how does white have a win in 101 plies but after making a move black doesn't have a loss in 100 plies? Does that mean the White move was a capture and the loss in 100 plies is a 6 men position?

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 5:27 pm
by Hai
syzygy wrote:Max DTZ = 517 moves as calculated by Marc Bourzut, so 1034 plies seems correct.
The 50 moves rule should be set off for engine matches and tournaments.
At least for Stockfish vs ...

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 10:01 pm
by syzygy
syzygy wrote:Max DTZ = 517 moves as calculated by Marc Bourzut, so 1034 plies seems correct.
Correction: Marc Bourzutschky

Re: 7-men Syzygy attempt

Posted: Wed Mar 14, 2018 10:08 pm
by syzygy
koedem wrote:I assume these are plies till conversion? (otherwise I don't understand how for the same player to move there can be even and odd plies)

Is the gap for white to move and win ending just behind 50 moves (rule jump from 65 to 101 plies) coincidence? Also, how does white have a win in 101 plies but after making a move black doesn't have a loss in 100 plies? Does that mean the White move was a capture and the loss in 100 plies is a 6 men position?
They are plies until a zeroing move (or mate). Zeroing moves are moves that reset the 50-move counter, so captures and pawn moves.

If a position is a win outside the 50-move rule (a "cursed win"), then its value is either the number of plies until a winning zeroing move (or losing by the other side) or 100 plus the number of plies until a zeroing move into another cursed win, whichever is smaller.