Search bug

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Eelco de Groot
Posts: 4677
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Search bug

Post by Eelco de Groot »

I think there must be something wrong with the search in the new Crystal, but if that would affect gameplay too then there is hope for Elo gain because this would seriously undermine performance, but it probably does not show up in games, or I did something wong.

I just let Crystal search this again, after

[pgn]
[Event "?"]
[Site "?"]
[Date "2025.05.12"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "3b2k1/5qrn/3p3p/2pPp1pP/1pP1P1K1/pP4N1/P5Q1/6RR w - -"]

1. Nf5 Qd7 2. Rf1 Rf7 3. Kh3 *
[/pgn]

First nothing out of the ordinary only there is a search explosion of sorts so no new output after a while

[d]3b2k1/3q1r1n/3p3p/2pPpNpP/1pP1P3/pP5K/P5Q1/5R1R b - -

Code: Select all

3b2k1/3q1r1n/3p3p/2pPpNpP/1pP1P3/pP5K/P5Q1/5R1R b - -

Engine: Crystal 9 (1024 MB)
gemaakt door the Stockfish developers (see AUTHORS f

16/35  0:01   +0.75    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Dh3 Kh8 
                       7.Tff1 Lf8 8.Kg2 Pf6 9.Pe3 Dxh3+ 
                       10.Kxh3 (1.921.066) 1150 

17/36  0:02   +0.70    3...Le7 4.Tf3 Kh8 5.Kh2 Lf8 6.Thf1 Lg7 
                       7.T3f2 Tf6 8.Dg4 Tf7 9.Kg3 Pf6 
                       10.De2 Ph7 11.Kh2 Tf6 12.Df3 Kg8 (2.823.942) 1175 

18/42  0:04   +1.00    3...Le7 4.Tf3 Kh8 5.Kh2 Lf8 6.Thf1 Lg7 
                       7.Dh3 Lf8 8.Kh1 Lg7 9.Kg1 Tf6 10.Kh2 Tf8 
                       11.Kg2 Tf6 12.Kg3 Tf8 13.Pxd6 g4 
                       14.Txf8+ Lxf8 15.Dxg4 Dxd6 16.Dg6 Pg5 (4.844.761) 1199 

19/57  0:08   +1.50    3...Le7 4.Tf3 Kh8 5.Kh2 Lf8 6.Thf1 Lg7 
                       7.Dh3 Tf8 8.Kg2 Tg8 9.T3f2 Tf8 
                       10.Kh2 Tf7 11.Pxd6 Txf2+ 12.Txf2 Dxd6 
                       13.Dc8+ Lf8 14.Tf7 Kg8 15.Ta7 Df6 
                       16.De6+ Dxe6 (10.094.063) 1223 

20/48  0:10   +1.60--  3...Le7 4.Tf3 (12.227.119) 1217 

20/48  0:11   +1.65--  3...Le7 4.Tf3 (13.874.840) 1214 

20/48  0:11   +1.55++  3...Le7 (14.299.012) 1213 

20/48  0:12   +1.55++  3...Le7 (15.045.506) 1208 

20/48  0:13   +1.50    3...Le7 4.Kh2 Lf8 5.Tf3 Kh8 6.Thf1 Lg7 
                       7.Dh3 Lf8 8.Kh1 Lg7 9.Kg1 Tf8 10.Kg2 Tg8 
                       11.T3f2 Tf8 12.Kh2 Tf6 13.Kg3 Lf8 
                       14.Dg4 De8 15.Kh3 Dd8 16.Kg2 De8 (16.207.569) 1193 

21/40  0:15   +1.65    3...Pf6 4.De2 Le7 5.Kg2 Kh7 6.Tf2 Tf8 
                       7.Thf1 Tf7 8.Kg1 Ld8 9.Tf3 Tf8 (18.543.060) 1192 

22/29  0:15   +1.60--  3...Pf6 4.De2 (18.842.233) 1191 

22/29  0:16   +1.60--  3...Pf6 4.De2 (19.325.961) 1192 

22/29  0:16   +1.65--  3...Pf6 4.De2 (19.904.849) 1191 

22/29  0:17   +1.70--  3...Pf6 4.De2 (20.930.440) 1192 

22/42  0:18   +1.65++  3...Le7 (21.857.363) 1194 

22/42  0:18   +1.70    3...Le7 4.Kh2 Lf8 5.Tf3 Kh8 6.Thf1 Lg7 
                       7.Dh3 Lf8 8.Kh1 Pf6 9.Dg2 Pxh5 
                       10.Pxd6 Tf4 11.Pf5 Pf6 12.Th3 Kg8 
                       13.d6 Kf7 14.Td1 (22.608.065) 1197 

23/46  0:19   +1.70    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Tf3 Pf6 
                       7.Thf1 Kh7 8.Pe3 Tf8 9.Kg1 Kg8 
                       10.Dh2 Df7 11.Pf5 Dd7 12.Pxh6+ Lxh6 
                       13.Txf6 Txf6 14.Txf6 Dg4+ 15.Dg2 Dd1+ 
                       16.Kh2 Kh7 (23.742.759) 1203 

24/47  0:19   +1.65++  3...Le7 (23.969.809) 1205 

24/49  0:21   +1.75    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Tf3 Kh8 
                       7.Thf1 Tf8 8.Dg3 Tf7 9.Kg1 Tf6 
                       10.Dh3 Tf8 11.Kg2 Tg8 12.T3f2 Tf8 
                       13.Kh2 Tf6 14.Kg3 Tf8 15.Pxd6 Dxd6 
                       16.Txf8+ Pxf8 (26.199.952) 1222 

25/53  0:23   +1.75    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Thf1 Kh8 
                       7.Tf3 Tf8 8.Dg3 Tf7 9.Kg1 Tf8 10.Dg2 Tg8 
                       11.Pe3 g4 12.Tf7 Dd8 13.Ta7 De8 
                       14.Pf5 Lf8 15.Dh1 Pg5 16.Dh4 (28.927.618) 1231 

26/47  0:28   +1.90    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Thf1 Kh8 
                       7.Kg1 Tf8 8.Tf3 Kg8 9.Dh2 Kh8 10.Dg3 Kg8 
                       11.Kg2 Kh8 12.Dh3 Tf6 13.Kh2 Tf8 
                       14.T3f2 Tf6 15.Kg3 Tf8 16.Pxd6 Dxd6 (34.822.884) 1224 

27/46  0:28   +1.80++  3...Le7 (35.498.646) 1225 

27/56  0:31   +1.85    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Thf1 Kh8 
                       7.Kg1 Tf8 8.Tf3 Kg8 9.Dh2 Kh8 10.Dg3 Tf7 
                       11.Dh3 Tf6 12.Kh2 Lf8 13.Dg4 Tf7 
                       14.Kh3 De8 15.T1f2 Tf6 16.Kg2 Df7 (38.274.013) 1220 

28/64  0:39   +2.00    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Thf1 Kh8 
                       7.Kg1 Tf8 8.Tf3 Tf6 9.Dh3 Lf8 10.Kg2 Tf7 
                       11.Kh2 Tf6 12.Dg4 Tf7 13.Kh3 De8 
                       14.T1f2 Tf6 15.Kg2 Df7 16.Tf1 Kg8 (48.013.806) 1211 

29/52  0:48   +1.90++  3...Pf6 (58.693.326) 1208 

29/52  5:30   +2.15--  3...Pf6 4.De2 (1.403.867.223) 4253 

29/64  5:45   +2.15    3...Le7 4.Kh2 Lf8 5.Tf2 Lg7 6.Thf1 Kh8 
                       7.Tf3 Tf6 8.Dh3 Tf8 9.Kg2 Tf6 10.Kg3 Tf8 
                       11.Pxd6 Dxd6 12.Txf8+ Pxf8 13.Tf7 Kg8 
                       14.Df5 Dd8 15.Ta7 Lf6 16.Ta6 Lg7 (1.434.937.964) 4155 

30/65  5:52   +2.05++  3...Le7 (1.444.064.213) 4091 

30/65  54:50  +2.35--  3...Le7 4.Kh2 (14.883.742.037) 4523 

beste zet: Ld8-e7  tijd: 54:50.453 min  n/s: 4.523.459   nodes: 14.883.742.037  
I now restarted with the results still in hash and Crystal comes up with a dubious refutation of White's winning position:

search explosion, restart:

Code: Select all

3b2k1/3q1r1n/3p3p/2pPpNpP/1pP1P3/pP5K/P5Q1/5R1R b - -

Engine: Crystal 9 (1024 MB)
gemaakt door the Stockfish developers (see AUTHORS f

8/25   0:01   +2.05    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 Lg7 
                       7.Tf5 Pxe4 8.Txf7 Dxf7 9.Tf1 Dd7 
                       10.Dc2 Pc3 11.Dg6 (22.088) 13 

9/27   0:01   +2.05    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 Lg7 
                       7.Tf5 Pxe4 8.Txf7 Dxf7 9.Tf1 Dd7 
                       10.Dc2 Pc3 11.Dg6 Pe2 12.Pf5 Pf4+ 
                       13.Txf4 exf4 14.Pxh6+ Kh8 15.De6 Dxe6 (29.079) 16 

10/32  0:03   +2.10    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 Kh8 
                       7.Tf5 Kg7 8.Tf2 Le7 9.Thf1 Kh8 
                       10.Tf5 Tf8 11.Pg4 (71.419) 21 

11/26  0:04   +2.35    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Tf2 Kh8 9.Thf1 Kh7 
                       10.Kh1 Tf8 11.Tf5 De8 12.Dg2 g3 
                       13.Dxg3 (126.757) 30 

12/28  0:04   +2.30    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Tf2 Kh8 9.Thf1 Dd8 
                       10.Pf5 Kh7 11.De3 Lf8 12.Ph4 Le7 
                       13.Pg6 Pxh5 14.Txf7+ Kxg6 15.Df2 Pf4+ 
                       16.Txf4 (147.848) 34 

13/32  0:05   +2.25    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Tf2 Kh7 9.Thf1 De8 
                       10.Kh1 Tf8 11.Tf5 Kg7 12.T1f2 Tg8 (211.338) 37 

14/30  0:06   +2.35    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Tf2 De8 9.Thf1 Dd8 
                       10.Pf5 Kh7 11.De3 Lf8 12.Ph4 Lg7 
                       13.Tf5 Kh8 14.Pg6+ Kg8 15.De2 De8 
                       16.Df2 Dd7 (285.758) 42 

15/35  0:08   +2.25    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Tf2 Dd8 9.Thf1 Kh8 
                       10.Pf5 Lf8 11.Ph4 Lg7 12.Tf5 Kg8 
                       13.De3 (435.676) 51 

16/36  0:11   +2.25    3...Pf6 4.De2 Le7 5.Kg2 Kh7 6.Tf2 g4 
                       7.Pg3 Lf8 8.Thf1 Le7 9.Kg1 Dd8 
                       10.Pf5 Lf8 11.Pe3 Le7 12.Tf5 Tf8 
                       13.Kh1 Tg8 14.Df2 Pxe4 15.Dc2 Pg3+ 
                       16.Kg1 (690.503) 61 

17/44  0:15   +2.25    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Tf2 Kh7 9.Thf1 Ld8 
                       10.Tf5 Tf8 11.Kg1 De8 12.Kh1 Pxh5 (1.127.112) 72 

18/40  0:16   +2.20    3...Pf6 4.De2 Le7 5.Kg2 Kh7 6.Tf2 g4 
                       7.Pg3 Lf8 8.Thf1 Le7 9.Kg1 Dd8 
                       10.Pf5 Lf8 11.Ph4 Lg7 12.Pg2 Kh8 
                       13.Tf5 Dc8 (1.329.691) 79 

19/46  0:19   +2.25    3...Pf6 4.De2 Le7 5.Kg2 Kh7 6.Tf2 g4 
                       7.Pg3 De8 8.Thf1 Dc8 9.Kg1 Dg8 
                       10.De3 Dd8 11.Pf5 Lf8 12.Ph4 Lg7 
                       13.Tf5 Kg8 14.Dg3 (1.897.828) 98 

20/45  0:20   +2.20    3...Pf6 4.De2 Le7 5.Kg2 Kh7 6.Tf2 g4 
                       7.Pg3 De8 8.Thf1 Dg8 9.De3 Df8 
                       10.Kg1 Ld8 11.Dd2 Le7 12.De2 Dg8 
                       13.De3 Df8 14.Pf5 Ld8 15.Ph4 De8 
                       16.Tf5 (2.182.653) 106 

21/43  0:23   +2.05    3...Pf6 4.De2 Kh7 5.Kg2 Le7 6.Tf2 g4 
                       7.Tg1 De8 8.Tgf1 Df8 9.Kh1 Kh8 
                       10.Kg1 Kh7 11.Ph4 Kg7 12.Pg6 De8 
                       13.Tf5 Ld8 14.Ph4 Dg8 (3.096.095) 132 

22/53  0:29   +2.05    3...Pf6 4.De2 Kh7 5.Kg2 Le7 6.Tf2 g4 
                       7.Tg1 De8 8.Tgf1 Df8 9.Kh1 Kh8 
                       10.Kg1 Kh7 11.Pe3 Dg8 12.Tf5 Kh8 
                       13.Pg2 Ld8 14.Ph4 De8 15.Dh2 Kg7 
                       16.Pg6 Td7 (5.242.665) 176 

23/59  0:32   +2.15    3...Pf6 4.De2 Le7 5.Kg2 Kh7 6.Tf2 g4 
                       7.Tg1 De8 8.Tgf1 Df8 9.Kh1 Kg8 
                       10.Kg1 Ld8 11.Pe3 Kh8 12.Tf5 Le7 
                       13.Dg2 Dg8 (6.979.786) 216 

24/50  0:33   +2.10    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Thf1 Dd8 9.T5f2 Kh7 
                       10.Pf5 Df8 11.Kh1 Kh8 12.Ph4 De8 
                       13.Kg1 Ld8 14.Pf5 Df8 15.Tg2 (8.266.765) 244 

25/43  0:36   +2.20    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Thf1 Dd8 9.T5f2 Kh7 
                       10.Pf5 Df8 11.Kh1 Kh8 12.Kg1 Ld8 
                       13.Pe3 Tg7 14.Tf5 Le7 15.Pg2 Kg8 
                       16.Ph4 Df7 (9.883.132) 273 

26/58  0:42   +2.25    3...Pf6 4.De2 Le7 5.Kg2 Lf8 6.Pe3 g4 
                       7.Tf5 Le7 8.Thf1 Dd8 9.T5f2 Kh7 
                       10.Pf5 Df8 11.Ph4 Dd8 12.Tf5 Lf8 
                       13.Kg1 Kg8 14.Txf6 Txf6 15.Dxg4+ Kh8 
                       16.Pf5 Tf7 (21.235.984) 495 

27/57  1:34   +2.20++  3...Txf5 (234.851.427) 2490 

27/57  1:34   +2.15++  3...Txf5 (234.875.316) 2490 

27/57  1:34   +2.15++  3...Txf5 (234.926.772) 2489 

27/57  1:34   +2.10++  3...Txf5 (234.982.063) 2489 

27/57  1:34   +2.05++  3...Txf5 (235.042.503) 2488 

27/57  1:34   +1.95++  3...Txf5 (235.135.865) 2488 

27/57  1:34   +1.85++  3...Txf5 (235.227.046) 2487 

27/57  1:34   +1.75++  3...Txf5 (235.331.234) 2487 

27/57  1:34   +1.55++  3...Txf5 (235.621.796) 2484 

27/57  1:35   +1.45    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Kh2 Kg7 7.Kg1 Kg8 8.Dh3 Kg7 9.Kg2 Kf7 
                       10.Te1 Pf8 11.Kf1 Kg7 12.Tb1 Ph7 
                       13.Ta1 Pf8 14.Ke2 Ph7 15.Kd1 Kf7 
                       16.Kc1 Kg7 (237.022.961) 2478 

28/19  1:35   +1.55++  3...Txf5 (237.059.402) 2478 

28/34  1:35   +1.50++  3...Txf5 (237.107.848) 2477 

28/34  1:35   +1.50++  3...Txf5 (237.161.760) 2477 

28/34  1:35   +1.45++  3...Txf5 (237.213.681) 2477 

28/51  1:36   +1.40++  3...Txf5 (237.727.538) 2476 

28/54  1:36   +1.30++  3...Txf5 (238.561.937) 2475 

28/54  1:36   +1.30    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Kh2 Kg7 7.Kg1 Kg8 8.Dh3 Kg7 9.Kg2 Kf7 
                       10.Te1 Pf8 11.Tg1 Ph7 12.Dh1 Pf8 
                       13.Kf1 Ph7 14.Ke2 Kg8 15.Kd1 Kf7 
                       16.Te1 Kf8 (239.832.885) 2473 

29/32  1:37   +1.30++  3...Txf5 (239.983.458) 2472 

29/44  1:37   +1.30    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Kh2 Kg7 7.Df3 Kf7 8.Td1 Ke7 9.Df1 Kf7 
                       10.Kg2 Ke7 11.Dg1 Kf7 12.Kf1 Kg7 
                       13.Ke2 Kf7 14.Dh1 Kg8 15.Tg1 Kf7 
                       16.Kf1 Ke8 (240.489.816) 2471 

30/51  1:38   +1.30    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Kh2 Kg7 7.Df3 Kf7 8.Td1 Ke7 9.Df1 Pf8 
                       10.Dh1 Kf7 11.Kg2 Ph7 12.De1 Pf8 
                       13.Kf1 Pd7 14.Ke2 Kg7 15.Dg3 Kf7 
                       16.Dh3 Pf8 (242.289.639) 2461 

31/57  1:40   +1.30    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Kh2 Kg7 7.Df3 Kf7 8.Td1 Ke7 9.Df1 Pf8 
                       10.Dh1 Kf7 11.Kg2 Ph7 12.Kf1 Kf8 
                       13.Dh3 Kf7 14.Kg1 Pf8 15.Tf1 Pd7 
                       16.Te1 Ke7 (245.580.041) 2454 

32/54  1:40   +1.30    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Kh2 Kg7 7.Df1 Kg8 8.Kg2 Kf7 9.Df3 Pf8 
                       10.Te1 Pd7 11.Kf1 Kg7 12.Te3 Pf8 
                       13.Dh1 Ph7 14.Te1 Pf8 15.Dh3 Kf7 
                       16.Te4 Ke7 (247.023.262) 2446 

33/70  1:44   +1.30    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Df3 Kg7 7.De2 Kf7 8.Dg4 Pf8 9.Dg3 Pd7 
                       10.Te1 Ke8 11.Te4 Kf7 12.Kh2 Pf8 
                       13.Df3 Ke8 14.Kg2 Kf7 15.Dh3 Ke7 
                       16.Kf1 Kf7 (255.623.998) 2445 

34/73  2:00   +1.25    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Df3 Kg7 7.Kh2 Kf8 8.Ta1 Kf7 9.Te1 Pf8 
                       10.De3 Pd7 11.Dg3 Kg7 12.Df2 Pf8 
                       13.Kg1 Pd7 14.Kf1 Pf8 15.Dg1 Pd7 
                       16.Ta1 Kg8 (310.414.895) 2579 

35/79  2:27   +1.25    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Dg3 Kf7 7.Kg2 Ke7 8.Te1 Kf7 9.Dh3 Pf8 
                       10.Kh2 Pd7 11.Tf1 Ke7 12.Kh1 Pf8 
                       13.Tg1 Ph7 14.Te1 Pf8 15.Kg1 Pd7 
                       16.Kf1 Kf7 (410.008.510) 2774 

36/75  2:41   +1.40--  3...Txf5 4.Txf5 (449.828.504) 2783 

36/75  2:46   +1.40--  3...Txf5 4.Txf5 (456.271.435) 2733 

36/75  2:52   +1.45--  3...Txf5 4.Txf5 (462.947.187) 2688 

36/77  2:52   +1.45    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Dg3 Kf8 7.Kg2 Kf7 8.Dg4 Pf8 9.Te1 Pd7 
                       10.Tg1 Kg7 11.Dh3 Pf8 12.Kh1 Kf7 
                       13.Te1 Pd7 14.Kg1 Kg7 15.Te3 Pf8 
                       16.Te4 Pd7 (464.736.919) 2687 

37/81  3:03   +1.60--  3...Txf5 4.Txf5 (480.532.332) 2619 

37/86  3:26   +1.50    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Kh2 Kf7 7.Dh3 Ke7 8.Td1 Pf8 9.Kg1 Ke8 
                       10.Kh1 Kf7 11.Ta1 Ph7 12.Kg2 Kg7 
                       13.Te1 Pf8 14.Te2 Kf7 15.Kg1 Kg7 
                       16.Te3 Kf7 (577.353.481) 2792 

38/84  4:43   +1.50++  3...Txf5 (889.499.589) 3134 

38/87  9:41   +1.50    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.Te1 Kf7 7.Df3 Pf8 8.Kg2 Pd7 9.Ta1 Kg8 
                       10.Tg1 Pf8 11.Kg3 Kf7 12.Dh1 Ke7 
                       13.Kh3 Ph7 14.Kg2 Kf7 15.Kf1 Kf8 
                       16.Dh3 Kf7 (2.265.203.254) 3895 

39/89  19:54  +1.45    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.De2 Kg7 7.Kg2 Pf8 8.Kf1 Ph7 9.Dh2 Kh8 
                       10.Kf2 Kg8 11.Dh3 Kg7 12.Kf1 Kf7 
                       13.Th2 Kg7 14.Te2 Pf8 15.Te1 Kf7 
                       16.De3 Pd7 (5.081.444.737) 4255 

40/90  64:33  +1.45    3...Txf5 4.Txf5 Dxf5+ 5.exf5 Lf6 
                       6.De2 Kg7 7.Kg3 Kf7 8.Df3 Kg7 9.Kg2 Kf7 
                       10.Tg1 Kg7 11.Te1 Kf7 12.Txe5 Lxe5 
                       13.f6 Pf8 14.Dh3 Lxf6 15.Dg4 Ke8 
                       16.Dc8+ Ke7 (16.643.987.719) 4296 
 
Here again no new output (search explosion after depth 40 I think) but 3... Rxf5 is not corrected anyway, this is what CSTal thinks of it:

[d]3b2k1/3q3n/3p3p/2pPprpP/1pP1P3/pP5K/P5Q1/5R1R w - -

Code: Select all

3b2k1/3q3n/3p3p/2pPprpP/1pP1P3/pP5K/P5Q1/5R1R w - -

Engine: Chess System Tal 2.1 EAS (256 MB)
gemaakt door Chris Whittington (C) 2003-2025

21/28  0:01   +5.26++  4.Txf5 De8 (1.219.623) 

21/38  0:01   +5.27    4.Txf5 Pf6 5.Thf1 Le7 6.De2 Kg7 
                       7.Kg2 Ld8 8.Df3 Kg8 9.Kg1 Le7 10.Dh3 Kh8 
                       11.Kg2 Kg7 12.Kh2 De8 13.Kg1 Df7 
                       14.Df3 Ld8 15.Kg2 Kg8 16.Txf6 Lxf6 
                       17.Dxf6 (1.472.769) 

22/38  0:02   +5.27    4.Txf5 Pf6 5.Thf1 Le7 6.De2 Kg7 
                       7.Kg2 Ld8 8.Df3 Kg8 9.Kg1 Le7 10.Dh3 Kh8 
                       11.Kg2 Kg7 12.Kh2 De8 13.Kg1 Df7 
                       14.Df3 Ld8 15.Kg2 Kg8 16.Txf6 Lxf6 
                       17.Dxf6 (1.554.324) 

23/32  0:02   +5.27++  4.Txf5 De8 (1.677.335) 

23/37  0:02   +5.34    4.Txf5 Pf6 5.Thf1 Le7 6.De2 Kg7 
                       7.Kg2 Ld8 8.Df3 Kg8 9.Dh3 Df7 10.Kg1 Kh7 
                       11.T5f2 Le7 12.De6 Dxe6 13.dxe6 Kg7 
                       14.Tf5 Ld8 15.Kh2 Le7 16.Kg2 (1.946.879) 

24/43  0:02   +5.25    4.Txf5 Pf6 5.Thf1 Le7 6.De2 Kg7 
                       7.Kg2 Ld8 8.Df3 Kg8 9.Dh3 Df7 10.Kg1 Kh7 
                       11.T5f2 Kg7 12.Dg4 Kh7 13.Df5+ Kg7 
                       14.Dh3 Le7 15.Tf5 De8 16.Df3 Df7 
                       17.Kg2 (2.186.124) 

25/38  0:03   +5.25    4.Txf5 Pf6 5.Thf1 Le7 6.De2 Kg7 
                       7.Kg2 Ld8 8.Df3 Kg8 9.Dh3 Df7 10.Kg1 Le7 
                       11.Df3 Kg7 12.Kh2 Ld8 13.Dh3 Kh7 
                       14.Kg1 Kg8 15.Txf6 Lxf6 16.Df5 Kg7 
                       17.Kg2 (2.480.686) 

26/40  0:03   +5.25    4.Txf5 Pf6 5.Thf1 Le7 6.De2 Kg7 
                       7.Kg2 Ld8 8.Df3 Kg8 9.Dh3 Df7 10.Kg1 Le7 
                       11.Df3 Kg7 12.Kg2 Ld8 13.Kh2 Kg8 
                       14.Kg1 Dd7 15.Dh3 Df7 16.Txf6 Lxf6 
                       17.Df5 (2.758.294) 

27/42  0:04   +5.25    4.Txf5 Pf6 5.Thf1 Le7 6.De2 Kg7 
                       7.Kg2 Ld8 8.Df3 Kg8 9.Dh3 Df7 10.Kg1 Le7 
                       11.Df3 Kg7 12.Kg2 Ld8 13.Kh2 Kg8 
                       14.Kg1 Dd7 15.Dh3 Df7 16.Txf6 Lxf6 
                       17.Df5 (3.108.636) 

28/43  0:06   +5.35++  4.Txf5 De8 (4.314.035) 

28/45  0:08   +5.45++  4.Txf5 (5.685.086) 

28/48  0:10   +5.37++  4.Txf5 Kg7 (6.991.029) 

28/49  0:11   +5.53    4.Txf5 Pf6 5.Thf1 De8 6.De2 Kg7 
                       7.Kg2 Dxh5 8.Dxh5 Pxh5 9.Tf7+ Kg6 
                       10.Td7 Lf6 11.Txd6 Pf4+ 12.Kh1 h5 
                       13.Tc6 h4 14.d6 Kf7 15.d7 Ld8 
                       16.Txc5 Ke6 17.Td1 (8.157.981) 

29/45  0:15   +5.42    4.Txf5 Pf6 5.Thf1 De8 6.De2 g4+ 
                       7.Kg2 Pxh5 8.Dxg4+ Pg7 9.Tf8+ Dxf8 
                       10.Txf8+ Kxf8 11.Dc8 Ke7 12.Kh2 Ke8 
                       13.Kg1 Ke7 14.Kh1 Ke8 15.Kh2 Ke7 
                       16.Kg1 Ke8 17.Kh1 (10.847.368) 

30/53  0:19   +5.19++  4.Txf5 Dg7 (13.410.703) 

30/46  0:20   +5.53++  4.Txf5 (14.366.136) 

30/55  0:27   +6.05++  4.Txf5 (19.012.673) 

30/54  0:34   +5.90    4.Txf5 Pf6 5.Thf1 De8 6.De2 Kg7 
                       7.Kg2 Dxh5 8.Dxh5 Pxh5 9.Tf7+ Kg6 
                       10.Td7 Lf6 11.Txd6 Pf4+ 12.Kh1 h5 
                       13.Tc6 h4 14.d6 Kf7 15.d7 Ld8 
                       16.Txc5 Ke6 17.Td1 (23.612.135) 

31/57  0:37   +6.00++  4.Txf5 Dg7 (25.110.020) 

31/62  0:42   +6.10++  4.Txf5 (28.455.007) 

31/69  0:47   +6.26++  4.Txf5 (31.808.792) 

31/59  0:53   +6.48++  4.Txf5 (35.702.537) 

31/66  1:19   +6.83++  4.Txf5 (52.494.752) 

31/65  1:41   +6.83    4.Txf5 Dxf5+ 5.exf5 Pf6 6.Kh2 Le7 
                       7.Tf1 Lf8 8.Kg1 Lg7 9.De2 Kh8 10.Te1 Lf8 
                       11.De3 Lg7 12.Dd3 Kg8 13.Df1 Kh8 
                       14.Dg2 Lf8 15.Dh2 Kg8 16.Kh1 Lg7 
                       17.Tg1 (66.530.177) 

32/50  1:45   +6.75    4.Txf5 Pf6 5.Thf1 Kg7 6.De2 Pg8 
                       7.Kg2 Lf6 8.Dg4 De7 9.T5f2 Df7 
                       10.De6 Df8 11.Kg1 Df7 12.Tf3 Df8 
                       13.Tf5 Df7 14.T5f2 Df8 15.Tf3 Df7 
                       16.Dg4 De7 17.Kg2 (69.636.378) 

33/58  1:48   +6.85++  4.Txf5 Dg7 (71.564.818) 

33/53  1:49   +6.78    4.Txf5 Pf6 5.Thf1 Kg7 6.De2 Pg8 
                       7.Kg2 Lf6 8.Dg4 De7 9.T5f2 Df7 
                       10.De6 Df8 11.Kg1 Df7 12.Tf3 Df8 
                       13.Tf5 Dd8 14.T1f2 Df8 15.T5f3 Df7 
                       16.Kg2 Df8 17.Tf1 (72.037.644) 

34/69  2:00   +6.88++  4.Txf5 Kg7 (79.596.180) 

34/55  2:09   +6.98++  4.Txf5 (85.386.643) 

34/56  2:16   +7.13++  4.Txf5 (90.296.093) 

34/59  2:39   +7.36++  4.Txf5 (105.466.223) 

34/63  3:29   +7.70++  4.Txf5 (138.482.606) 

34/68  4:34   +7.83    4.Txf5 Dxf5+ 5.exf5 Pf6 6.Kh2 Le7 
                       7.Tf1 Lf8 8.Kg1 Kf7 9.Te1 Pxh5 10.f6 Kxf6 
                       11.Dg4 Pf4 12.Dd7 h5 13.Kh1 g4 
                       14.De8 Lg7 15.Dd8+ Kf5 16.Dxd6 Lf6 
                       17.Tg1 (180.161.576) 

35/56  4:51   +7.93++  4.Txf5 Kg7 (191.165.111) 

35/56  5:07   +8.03++  4.Txf5 (201.466.643) 

35/58  5:30   +8.18++  4.Txf5 (216.231.913) 

35/61  6:16   +8.18    4.Txf5 Dxf5+ 5.exf5 Pf6 6.Kh2 Le7 
                       7.Tf1 Lf8 8.Kg1 Kf7 9.Te1 Lg7 10.Dh2 Lf8 
                       11.Dh3 Lg7 12.Te3 Kg8 13.Df1 Kf8 
                       14.Dd3 Ke8 15.De2 Kf8 16.Kf1 Kg8 
                       17.Txe5 (244.189.058) 

36/62  7:26   +8.26    4.Txf5 Dxf5+ 5.exf5 Pf6 6.Kh2 Le7 
                       7.Tf1 Lf8 8.Kg1 Kf7 9.Te1 Lg7 10.Dh2 Lf8 
                       11.Dh3 Lg7 12.Te3 Kg8 13.Df1 Kf8 
                       14.Dd3 Ke8 15.De2 Kf7 16.Txe5 dxe5 
                       17.Dxe5 (287.398.521) 

37/64  8:37   +8.36++  4.Txf5 De8 (333.495.247) 

37/63  10:13  +8.46++  4.Txf5 (393.986.674) 

37/64  11:56  +8.61++  4.Txf5 (458.919.004) 

37/68  15:18  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg7 15.Tf3 Kg8 16.Tf1 Kg7 
                       17.Tg1 (586.238.276) 

38/66  15:24  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (590.174.363) 

39/68  15:36  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (597.526.083) 

40/68  15:58  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (610.839.690) 

41/70  17:02  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (649.634.882) 

42/60  17:43  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (674.770.685) 

43/70  19:26  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (738.019.279) 

44/71  20:46  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (786.470.523) 

45/73  25:10  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (950.104.370) 

46/80  28:50  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (1.086.202.202) 

47/75  35:32  +8.65    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kg7 
                       7.Kg2 Kh8 8.Tf1 Kg8 9.Tf2 Kh8 10.Kf1 Pf8 
                       11.Ke2 Ph7 12.Dg4 Pf8 13.Df3 Pd7 
                       14.De4 Kg8 15.Kf1 Kg7 16.Te2 Kh8 
                       17.Kg2 (1.337.818.983) 

48/79  57:42  +8.58    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kf7 
                       7.Kg2 Ke7 8.Dg4 Kd8 9.Te1 Kc8 10.Te2 Pf8 
                       11.Kf1 Pd7 12.De4 Kb8 13.Tf2 Ka7 
                       14.Ke2 Ka8 15.Dg4 Ka7 16.Tg2 Kb8 
                       17.De4 (2.184.778.352) 

49/81  70:51  +8.58    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kf7 
                       7.Kg2 Ke7 8.Dg4 Kd8 9.Te1 Kc8 10.Te2 Pf8 
                       11.Kf1 Pd7 12.De4 Kb8 13.Tf2 Ka7 
                       14.Ke2 Ka8 15.Dg4 Ka7 16.Tg2 Kb8 
                       17.De4 (2.683.172.265) 

50/92  86:58  +8.58    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kf7 
                       7.Kg2 Ke7 8.Dg4 Kd8 9.Te1 Kc8 10.Te2 Pf8 
                       11.Kf1 Pd7 12.De4 Kb8 13.Tf2 Ka7 
                       14.Ke2 Ka8 15.Dg4 Ka7 16.Tg2 Kb8 
                       17.De4 (3.298.519.437) 

51/86  106:40 +8.58    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kf7 
                       7.Kg2 Ke7 8.Dg4 Kd8 9.Te1 Kc8 10.Te2 Pf8 
                       11.Kf1 Pd7 12.De4 Kb8 13.Tf2 Ka7 
                       14.Ke2 Ka8 15.Dg4 Ka7 16.Tg2 Kb8 
                       17.De4 (4.053.008.340) 

52/88  149:44 +8.58    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kf7 
                       7.Kg2 Ke7 8.Dg4 Kd8 9.Te1 Kc8 10.Te2 Pf8 
                       11.Kf1 Pd7 12.De4 Kb8 13.Tf2 Ka7 
                       14.Ke2 Ka8 15.Dg4 Ka7 16.Tg2 Kb8 
                       17.De4 (5.700.826.750) 

53/87  192:07 +8.58    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kf7 
                       7.Kg2 Ke7 8.Dg4 Kd8 9.Te1 Kc8 10.Te2 Pf8 
                       11.Kf1 Pd7 12.De4 Kb8 13.Tf2 Ka7 
                       14.Ke2 Ka8 15.Dg4 Ka7 16.Tg2 Kb8 
                       17.De4 (7.297.166.961) 

54/93  277:44 +8.58    4.Txf5 Dxf5+ 5.exf5 Lf6 6.De4 Kf7 
                       7.Kg2 Ke7 8.Dg4 Kd8 9.Te1 Kc8 10.Te2 Pf8 
                       11.Kf1 Pd7 12.De4 Kb8 13.Tf2 Ka7 
                       14.Ke2 Ka8 15.Dg4 Ka7 16.Tg2 Kb8 
                       17.De4 (10.574.671.335) 
Okay here with CSTal 2.1 the score does not go up anymore but is this a fortress again? Then Crystal would be brilliant here :) I have not really looked into that possibility yet, sorry...
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
peter
Posts: 3434
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Search bug

Post by peter »

Eelco de Groot wrote: Mon May 12, 2025 12:56 am I think there must be something wrong with the search in the new Crystal, but if that would affect gameplay too then there is hope for Elo gain because this would seriously undermine performance, but it probably does not show up in games, or I did something wong.

I just let Crystal search this again, after

[pgn]
[Event "?"]
[Site "?"]
[Date "2025.05.12"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "3b2k1/5qrn/3p3p/2pPp1pP/1pP1P1K1/pP4N1/P5Q1/6RR w - -"]

1. Nf5 Qd7 2. Rf1 Rf7 3. Kh3 *
[/pgn]
How and where do you get into this one line out of the original game here

viewtopic.php?p=978138#p978138

, Eelco?
Peter.
User avatar
Eelco de Groot
Posts: 4677
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Re: Search bug

Post by Eelco de Groot »

Hi Peter, no, you are right I do not think that is possible. It was just an attempt (fabricated) to see if the Queen sacrifice motif could still work, if White's king was far enough advanced to defend horse. But king takes back and sacrifice directly does not work. Then a whole lot of analysis with old Crystal 6 (see thread page two) to see if White then could win and it seemed to me that it did, but very slowly. But now Crystal has refuted 3.Kh3 {?!?} So Queen sacrifice works again! But White does not have to go back with his king indeed it would be cowardly, so it still is to be proven conclusively, that White can't win 8-) Still it is a nice find, maybe Black draws this and Crystal 6 did not find it at least not at this spot, I did not research 3.Kh3 much though that was more a human move although I think that was the PV.
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
User avatar
Eelco de Groot
Posts: 4677
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Re: Search bug

Post by Eelco de Groot »

As 3.Kh3 seems to be refuted now by Crystal 9 in its research. I thought I better see if White has better. I'm not quite sure if it is Black's best play but anyhow with enough depth White's score is rather convincing if played an alternative. As Joouni has mentioned elsewhere Crystal 5 gets big depths with its small networks and that is what you want here, more iterations so search has a chance to explore the whole tree, not single lines that run away in the distance. Crystal is not to be blamed, I have not actually checked but it is likely that for the nth time Stockfish is doing these double or even triple extensions :P They are deadly, but Stockfish gets away with it because it prunes so much, the chances of explosion are just manageable. Not on long runs I think and most certainly not for Crystal that, well, explores where Stockfish just prunes. I am just guessing here have not checked either sources for many years. Joseph knows best what to do.

This is the pgn now:

[pgn][Event "?"]
[Site "?"]
[Date "2025.05.14"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "3b2k1/5qrn/3p3p/2pPp1pP/1pP1P1K1/pP4N1/P5Q1/6RR w - -"]

1. Nf5 Qd7 2. Rf1 Rf7 3. Kh3 {?!?} (3. Qe2 Be7 4. Rh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8 13.T3f2 Dd8 14.Df3 Dd7
15.Dg4 Kd8 16.Pe3 Tf4 17.Dxd7+ Kxd7
18.Pf5 (44.483.252.940) 819
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
peter
Posts: 3434
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Search bug

Post by peter »

Eelco de Groot wrote: Wed May 14, 2025 9:20 pm As 3.Kh3 seems to be refuted now by Crystal 9 in its research. I thought I better see if White has better.
White has for sure. I'd say about 6 moves are winning, 3.Kh3? is a clear avoid move.
Lc0, the engine that played the Queen- sac against SF in the original game (
viewtopic.php?p=978138#p978138

, without transposition to the lines of this new one thread) favoured 3.Rf2, so I did let it play out against SF dev., which ended drawn, yet with rerversed colour Lc0 blundered with Black and lost, from correct continuation Stockfish-Crystal played out 2xdrawn again.
Here all the games together with your Crystal5- output after 3.Qe2 pasted in one .pgn:

[pgn][Event "AMD, Schnellschach 25.0min+5.0sek"]
[Site "AMD"]
[Date "2025.05.15"]
[Round "1"]
[White "Eelco, Lc0"]
[Black "Crystal 9, Stockfish"]
[Result "1-0"]
[Annotator "Peter"]
[SetUp "1"]
[FEN "3b2k1/5qrn/3p3p/2pPp1pP/1pP1P1K1/pP4N1/P5Q1/6RR w - - 0 1"]
[PlyCount "91"]
[GameId "2177572116017269"]
[SourceTitle "CCC Classical Cup#4, game 11 SF-Lc0"]
[TimeControl "1500+5"]

1. Nf5 {1.78/15 43} Qd7 {1.65/33 74} 2. Rf1 {1.78/17 1 2.53;1.21: '1.23;1.40: '1.78;1.65: '(Kg3)'''} Rf7 {2.55/34 371} 3. Rf2 {1.80/16 0} (3. Kh3 $2 Rxf5 4. Rxf5 {2.53/76 67} Qxf5+ {1.21/13 75} 5. exf5 {2.50/78 64} Bf6 {1.20/12 0} 6. Re1 {2.28/72 241 2.53;1.21: '(Df1)'} (6. Qf1 {1.22/12 0 (Te1)} Kf7 {1.35/40 60 (Kg7)} 7. Rg1 {1.22/10 137 (Kg2)} Ke7 {1.35/40 65 (Kg8)} 8. Kh2 {1.22/10 78 (Kg2)} Kd8 {1.25/44 37 (Kf7)} 9. Kg3 {1.25/9 40 (Dh3)} Ke7 {1.20/44 34 (Ke8)} 10. Kf2 {1.22/9 33 (Kf3)} Kd7 {1.20/40 130 (Kf7)} 11. Kg3 {1.25/10 33 (Ke2)} Kc7 {1.25/42 33 (Ke8)} 12. Kh2 {1.27/9 35 (Kf3)} Kd7 {1.25/32 23} 13. Kg2 {1.24/10 36 (Df3)} Kd8 {1.10/38 39 (Ke7)} 14. Kh2 {1.25/9 32 (De2)} Kc7 {1.05/38 269 (Ke8)} 15. Rg3 {1.25/10 33 (De1)} Kd8 {1.00/34 28} 16. Rg1 {1.25/9 33 (Kg1)} Kc8 {0.95/44 14 (Ke8)} 17. Rg3 {1.25/10 35 (Db1)} Kd8 {0.95/48 19} 18. Rc3 {1.24/9 32 (Kh1)} Nf8 {1.05/47 44 (Ke7)} 19. Rh3 {1.23/9 37 (Kh1)} Ke7 {1.10/32 65} 20. Rg3 {1.22/10 27 (Te3)} Nh7 {0.85/49 147 (Kf7)} 21. Rg1 {1.23/10 36 (Kh1)} Kf8 {1.00/27 12} 22. Kg3 {1.22/10 39 (Df3)} Ke7 {0.90/40 6 (Kg7)} 23. Kh3 {1.23/9 33 (Df3)} Kd8 {0.95/32 6 (Kf7)} 24. Rg3 {1.23/9 33 (Kg2)} Ke7 {0.90/39 22} 25. Re3 {1.19/9 37} Kf7 {0.90/44 0 (Sf8)} 26. Rc3 {1.21/9 21 (Kh2)} Nf8 {0.85/36 3} 27. Kh2 {1.22/9 41 (Te3)} Nh7 {0.85/40 3} 28. Kg2 {1.22/9 33 (Te3)} Ke8 {0.90/39 6 (Sf8)} 29. Kh2 {1.22/9 36 (Te3)} Nf8 {0.85/31 7 (Kf7)} 30. Rh3 {1.23/9 34 (Te3)} Nh7 {0.85/28 13 (Kf7) adjud. Remis angenommen Crystal9-Stockfish 250427}) 6... Nf8 {1.19/12 143 2.53;1.21: '(Kf7)'} 7. Kh2 {1.93/82 133 2.53;1.21: '(Tg1)'} Nd7 {1.21/10 47 2.53;1.21: '(Kf7)'} 8. Kg1 {1.79/75 85 2.53;1.21: '(Tg1)'} Nf8 {1.13/10 29 2.53;1.21: '(Kf8)'} 9. Kf2 {1.68/71 65 2.53;1.21: '(Te3)'} Kf7 (9... Nh7 $2 {1.12/10 38 (Kf7)} 10. Qg4 {8.06/31 45 (Dh3)} Nf8 {1.13/11 26 (Kg7)} 11. Rxe5 {10.78/26 22 (Dh3)} Bxe5 {1.72/22 0} 12. f6 {83.53/30 35} Kf7 {2.11/24 65 (Lxf6)} 13. Qc8 {#37/60 33} Bxf6 {2.24/24 2} 14. Qc7+ {#32/62 41} Be7 {2.45/18 0} 15. Kf3 {#31/69 65 (Kg3)} Nh7 {2.50/21 102 (Kf6)} 16. Qc8 {#30/59 18} Nf8 {2.64/14 0} 17. Qb8 {#29/68 45} Kg7 {2.82/20 0} 18. Qe8 {#28/65 23} Bf6 {3.02/16 0} 19. Kg3 {#27/77 30} Be5+ {3.75/20 131 (Kg8)} 20. Kg4 {#26/77 36} Bf6 {3.90/14 0} 21. Kf5 {#25/79 34} g4 {4.02/19 0} 22. Kxg4 {#24/79 32} Kg8 {4.39/18 114 (Lg5)} 23. Kf3 {#23/74 38 (Kf5)} Kg7 {3.09/14 19} 24. Qc6 {#22/79 8 (De4)} Be5 {3.64/15 29 (Le7)} 25. Qa8 {#21/81 27 (Ke4)} Kf7 {4.59/14 50 (Kg8)} 26. Qd8 {#20/94 27} Bh2 {5.47/13 0} 27. Kg4 {#19/93 30} Be5 {6.55/12 0} 28. Kf5 {#18/93 30} Kg7 {7.56/15 44} 29. Qc7+ {#17/98 0} Kg8 {7.85/15 0} 30. Qe7 {#16/96 125} Bh2 {9.50/14 0 (Lg3)} 31. Qf6 {#15/109 22} Be5 {12.87/11 1} 32. Qxh6 {#14/104 26} Kf7 {12.86/11 52} 33. Qg5 {#13/115 0} Ke8 {12.98/10 132} 34. Qg8 {#12/123 0 (h6)} Bb2 {10.48/10 77 (Lh2)} 35. h6 {#11/172 20;1-0 Stockfish-Lc0 v0.32.0-dev+git.63b66e4 AMD, Schnellschach 25.0min+5.0sek (1) adjud.}) 10. Ke2 {2.84/62 88} Kg7 {1.45/34 336 (Ke7)} 11. Rc1 {2.21/57 44 (De4)} Kg8 {1.25/47 113 (Kf7)} 12. Rg1 {2.03/82 143 (Df1)} Kf7 {1.15/39 64 (Sd7)} 13. Ra1 {2.03/77 35 (Kd1)} Nh7 {1.10/43 92 (Sd7)} 14. Kf2 {1.76/74 164 (Df1)} Nf8 {1.15/33 42} 15. Rb1 {1.64/73 173 (Ke1)} Nh7 {1.15/31 54 (Ke8)} 16. Kg3 {1.64/84 28 (Dg1)} Kg8 {1.00/30 93 (Sf8)} 17. Ra1 {1.54/96 26 (Dh1)} Kf7 {1.00/37 41} 18. Rb1 {1.54/65 4 (Kf2)} Nf8 {1.05/35 144} 19. Ra1 {1.45/76 0 (Dh1)} Nh7 {1.05/32 25 (Ke8)} 20. Qd2 {1.31/97 46 (Dg1)} Nf8 {1.15/32 81 (Ke7)} 21. Rf1 {1.23/65 36 (Kf2)} Ke7 {1.00/37 88 (Ke8)} 22. Qc2 {1.06/59 20 (Te1)} Nh7 {0.85/46 21 (Kd8)} 23. Kf2 {1.01/70 42 (Db1)} Ke8 {1.00/40 81} 24. Qe4 {0.98/56 16 (Te1)} Ke7 {0.95/34 108 (Kf7)} 25. Ra1 {0.96/68 38 (Df3)} Ke8 {0.95/33 49 (Kd7)} 26. Re1 {0.88/62 43 (Kf1)} Kd7 {0.95/44 28 (Ke7)} 27. Qg4 {0.77/71 117} Nf8 {0.95/51 0 (Kd8)} 28. Ra1 {0.77/68 23 (Txe5)} Kc7 {1.00/44 149 (Kd8)} 29. Rg1 {0.79/72 32 (Te1)} Kd8 {1.05/44 31} 30. Ra1 {0.79/68 4 (Df3)} Ke7 {0.95/39 3 (Kc7)} 31. Rb1 {0.82/56 21 (Df3)} Kd8 {0.90/40 2 (Kd7)} 32. Rc1 {0.72/69 44 (Dh3)} Ke7 {0.85/44 4} 33. Ra1 {0.72/85 28 (Te1)} Kd8 {0.90/37 10 (Ke8)} 34. Ke1 {0.69/58 24 (Te1)} Nh7 {0.90/29 10 (Ke7)} 35. Ke2 {0.64/69 49 (Kf2)} Nf8 {0.65/39 2 (Ke8)} 36. Rg1 {0.55/61 205 (Te1)} Ke8 {0.65/38 2 (Ke7)} 37. Kd1 {0.50/57 36} Kf7 {0.60/45 0 (Sh7)} 38. Rg2 {0.47/56 23 (Dh3)} Ke7 {0.65/36 15 (Sh7)} 39. Rg1 {0.68/52 57 (Dh3)} Kd7 {0.80/36 2 (Sh7)} 40. Qf3 {0.61/57 7 (Dh3)} Nh7 {0.80/35 2 (Ke7)} 41. Re1 {0.64/56 16} Kc7 {0.85/40 0 (Sf8)} 42. Qf1 {0.64/58 11 (Txe5)} Nf8 {1.00/34 14} 43. Re2 {0.54/58 46 (Txe5)} Kd8 {0.95/33 2} 44. Rxe5 {0.62/54 9} Bxe5 {0.95/41 0} 45. f6 {0.54/63 5} Ke8 {0.90/34 0 (La1)} 46. Qf5 {0.52/59 4} Kd8 {0.90/36 1} 47. f7 {0.54/57 6 (Kc2)} Bd4 {0.55/32 22 (Lg7)} 48. Qe4 {0.47/61 6 (Ke2)} Be5 {0.60/29 2} 49. Qf5 {0.43/65 2 (Dg4)} Bh8 {0.65/28 12 (Lg7)} 50. Qe4 {0.34/80 8 (Df3)} Be5 {0.70/24 2} 51. Qd3 {0.36/73 7 (De2)} Bh8 {0.45/30 6 (Ke7)} 52. Qf5 {0.44/56 6} Bc3 {0.55/28 1 (La1)} 53. Kc2 {0.39/64 5 (De4)} Be5 {0.40/31 11 (La1)} 54. Kd3 {0.39/72 6 (Df3)} Ba1 {0.30/30 3 (Lc3)} 55. Qe4 {0.35/65 4 (Ke2)} Be5 {0.35/27 2} 56. Qf5 {0.33/62 1 (Kc2)} Bd4 {0.55/31 2} 57. Kc2 {0.37/55 4 (De4)} Be5 {0.15/29 7 (La1)} 58. Qh3 {0.28/54 6} Bf4 {0.20/30 4 (Lc3)} 59. Qg4 {0.43/43 4 (Kd1)} Bh2 {0.00/34 3 (Le5)} 60. Kd1 {0.28/61 6} Be5 {0.00/43 0} 61. Ke2 {0.29/65 6 (De4)} Bg7 {0.00/42 7} 62. Qe4 {0.43/44 0} Be5 {0.00/47 3} 63. Kf3 {0.48/46 6 (Kd1)} Ke7 {0.00/53 4 (Kc7)} 64. Qg4 {0.02/50 18 (Db1) Remis angenommen Stockfish 250427-Crystal9}) (3. Qe2 {Crystal5 Eelco- Output)} Be7 4. Rh2 Bf6 5. Re1 Bh8 6. Rf2 Rf6 7. Ref1 Kf7 8. Kg3 Ke8 9. Rf3 Qd8 10. Kg2 Qd7 11. Qd3 Kd8 12. Qd1 Ke8 13. R3f2 Qd8 14. Qf3 Qd7 15. Qg4 Kd8 16. Ne3 Rf4 17. Qxd7+ Kxd7 18. Nf5 {4.46/54 904:14}) 3... Nf6+ {2.50/25 307 (Le7)} 4. Kg3 {2.46/14 56} Kh7 {2.70/24 192} 5. Kh2 {2.61/18 0} g4 {2.70/22 209 (Tf8)} 6. Rhf1 {2.75/16 77 (Sg3)} Rf8 {3.50/30 163} 7. Ne3 {3.23/25 0 (Kh1)} Qg7 {3.60/27 124} 8. Kg1 {3.52/29 0} Rg8 {4.00/21 24} 9. Nf5 {3.84/26 0 (Tf5)} Qg5 {3.45/22 67} 10. Nxd6 {3.96/27 0} Nxh5 {3.70/18 15} 11. Rf5 {3.99/27 38} Qe3+ {4.05/21 0} 12. Qf2 {3.87/27 3} Qg3+ {4.05/20 8} 13. Qxg3 {4.15/29 63} Nxg3 {4.40/18 0} 14. Rf7+ {4.26/28 22} Kg6 {4.25/20 0} 15. Rf8 {4.36/27 31 (T1f2)} Ne2+ {4.80/19 17} 16. Kg2 {4.49/26 39} Rxf8 {5.40/21 0} 17. Rxf8 {4.37/24 0} Be7 {5.70/20 10} 18. Rg8+ {4.56/24 48} Kh7 {6.30/20 0} 19. Re8 {4.59/22 33} Bxd6 {6.70/19 0} 20. Rd8 {4.57/21 46} Nf4+ {7.20/23 0} 21. Kg3 {4.65/23 51} Nh5+ {7.85/23 0 (Se2+)} 22. Kh2 {7.71/15 98} Nf4 {8.40/23 0 (g3+)} 23. Rxd6 {7.17/16 76} Kg7 {9.25/23 0} 24. Rd7+ {8.27/16 25 (Kg3)} Kf8 {10.10/22 31 (Kf6)} 25. d6 {10.38/15 37} Ke8 {10.90/20 0} 26. Re7+ {11.26/15 20} Kd8 {9.15/18 0} 27. Rxe5 {13.01/13 46} h5 {11.20/20 0 (Kd7)} 28. Rf5 {18.96/10 88 (Kg3)} Ne2 {12.95/13 22} 29. e5 {17.03/10 29 (Txc5)} Kd7 {14.75/17 8 (Sd4)} 30. Rf7+ {14.93/11 36} Kc6 {8.70/25 0} 31. Rc7+ {15.14/12 37} Kb6 {#15/40 0} 32. Rc8 {18.87/10 23} g3+ {#14/44 0 (Sd4)} 33. Kh3 {19.54/10 58} g2 {#13/49 0 (Sd4)} 34. Kxg2 {21.26/9 28} Nf4+ {#12/43 0 (Sd4)} 35. Kf3 {21.52/8 45 (Kh2)} Ne6 {#11/36 5} 36. Ke4 {18.10/8 37 (d7)} h4 {#10/40 5} 37. d7 {21.38/9 33} h3 {#9/47 0} 38. Kd5 {44.91/11 18} Nd8 {8.20/63 0} 39. Rxd8 {#8/2 0} h2 {#7/67 7} 40. Rb8+ {#7/1 0} Ka6 {#6/97 6} 41. Kxc5 {#6/1 0 (Th8)} h1=Q {#5/419 4} 42. d8=Q {#5/1 0} Qg1+ {#4/419 0} 43. Kxb4 {#4/1 0} Qe1+ {#3/419 0} 44. Ka4 {#3/1 0} Qb4+ {#2/419 0} 45. Kxb4 {#2/1 0} Ka7 {#1/419 0} 46. Qb6# {#1/1 0;1-0 Lc0 v0.32.0-dev+git.63b66e4-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h3 Kf7 9.Te1 Sf8 10.Kf1 Ke8 11.Te4 Kd8 12.Te3 Ke8 13.Te1 Kf7 14.Df3 Sh7 15.Te2 Sf8 16.Kf2
11. +/- (1.05):  3.Dg1 Sf6+ 4.Kf3 Sh7 5.Ke2 Txf5 6.Txf5 Dxf5 7.exf5 Lf6 8.Df1 Kf7 9.Dh3 Kf8 10.Kf1 Kf7 11.Th2 Sf8 12.Tg2 Sh7 13.Tg4 Kg7 14.Df3 Kf8 15.Tg2 Kg7
12. = (0.20):  3.Dd2 Sf6+ 4.Kf3 Sxh5 5.Dc2 Txf5+ 6.exf5 Df7 7.Th3 e4+ 8.Kg4 Sf6+ 9.Kg3 h5 10.De2 Kf8 11.Te1 g4 12.Thh1 Ke8 13.De3 Kd7 14.Df4 Dg7 15.Te2 Kc7 16.Kg2 Le7
 
Peter.
peter
Posts: 3434
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Search bug

Post by peter »

peter wrote: Thu May 15, 2025 9:36 am Lc0,
...
favoured 3.Rf2, so I did let it play out against SF dev., which ended drawn, yet with rerversed colour Lc0 blundered with Black and lost, from correct continuation Stockfish-Crystal played out 2xdrawn again.
Didn't notice till now, that I wrote nonsense there
:)
Of course 3.Rf2 was 1-0 Lc0-SF, the lost game of Lc0's playing Black was after forced 3.Kh3? and 9...Kh7? in a game against SF, without this one second blunder all the other games after 3.Kh3? ended drawn.
Sorry for the confusion.
Peter.