Deep mate question

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Deep mate question

Post by xr_a_y »

Hi all,
when Minic found a deep mate, like in this well known position
[d] 6r1/2rp1kpp/2qQp3/p3Pp1P/1pP2P2/1P2KP2/P5R1/6R1 w - -
at depth 20 (or even more), window is increasing size and reach [100, +MATE].
Everything before the last search with (semi-)opened window is quite fast but as soon as mate shall be "validated" by the opened window the search is never able to conclude. Of course, with easier mate, like mate in 6 or 8, this is not happening as even an opened window depth 8 search is quite fast.

Code: Select all

# +-+-+-+-+-+-+-+-+
# | | | | | | |r| |
# +-+-+-+-+-+-+-+-+
# | | |r|p| |k|p|p|
# +-+-+-+-+-+-+-+-+
# | | |q|Q|p| | | |
# +-+-+-+-+-+-+-+-+
# |p| | | |P|p| |P|
# +-+-+-+-+-+-+-+-+
# | |p|P| | |P| | |
# +-+-+-+-+-+-+-+-+
# | |P| | |K|P| | |
# +-+-+-+-+-+-+-+-+
# |P| | | | | |R| |
# +-+-+-+-+-+-+-+-+
# | | | | | | |R| |
# +-+-+-+-+-+-+-+-+
# wk e3
# bk f7
# Turn white
# Phase 0.643906
# Static score 115
# Hash 9259679773084287456
# FEN 6r1/2rp1kpp/2qQp3/p3Pp1P/1pP2P2/1P2KP2/P5R1/6R1 w - - 0 1

# Info  2019-03-20 17:52:53-393: msecPerMove     86400000
# Info  2019-03-20 17:52:53-393: msecInTC        -1
# Info  2019-03-20 17:52:53-393: msecInc         -1
# Info  2019-03-20 17:52:53-393: nbMoveInTC      -1
# Info  2019-03-20 17:52:53-393: msecUntilNextTC -1
# Info  2019-03-20 17:52:53-393: currentNbMoves  1
# Info  2019-03-20 17:52:53-393: Search Sync
# Info  2019-03-20 17:52:53-393: Wait for workers to be ready
# Info  2019-03-20 17:52:53-393: ...ok
# Info  2019-03-20 17:52:53-393: Calling main thread search
# Info  2019-03-20 17:52:53-393: Search launched 0
# Info  2019-03-20 17:52:53-393: Search called
# Info  2019-03-20 17:52:53-393: requested time  86400000
# Info  2019-03-20 17:52:53-393: requested depth 30
# Info  2019-03-20 17:52:53-393: Init stat
# Info  2019-03-20 17:52:53-393: Init killers
# Info  2019-03-20 17:52:53-393: Init history
# Info  2019-03-20 17:52:53-393: Init counter
# Info  2019-03-20 17:52:53-393: Thread 0 searching depth 1
1 78 0 234 7 233 0	g1d1 
# Info  2019-03-20 17:52:53-393: Thread 0 searching depth 2
2 78 0 305 7 305 0	g1d1 c6d6 
# Info  2019-03-20 17:52:53-393: Thread 0 searching depth 3
3 78 0 809 10 808 0	g1d1 c6d6 e5d6 
# Info  2019-03-20 17:52:53-393: Thread 0 searching depth 4
4 59 0 1640 11 1639 0	g1d1 c6d6 e5d6 c7c8 
# Info  2019-03-20 17:52:53-394: Thread 0 searching depth 5
# Info  2019-03-20 17:52:53-394: Increase window beta 287
# Info  2019-03-20 17:52:53-394: Increase window alpha 28
5 72 0 2436 11 2436 0	d6c6 c7c6 h5h6 g7g6 g1d1 
# Info  2019-03-20 17:52:53-394: Thread 0 searching depth 6
# Info  2019-03-20 17:52:53-394: Increase window alpha 41
# Info  2019-03-20 17:52:53-395: Increase window beta 97
6 94 0 4496 13 2248 0	h5h6 g7g6 g1d1 g8e8 a2a3 b4a3 
# Info  2019-03-20 17:52:53-395: Thread 0 searching depth 7
# Info  2019-03-20 17:52:53-396: Increase window alpha 72
# Info  2019-03-20 17:52:53-397: Increase window alpha 49
7 78 0 7923 15 1980 0	h5h6 g7g6 g1d1 g8d8 g2d2 c6d6 d2d6 
# Info  2019-03-20 17:52:53-397: Thread 0 searching depth 8
# Info  2019-03-20 17:52:53-398: Increase window alpha 56
8 69 0 10206 15 2041 1	h5h6 g7g6 g1d1 g8d8 g2d2 c6d6 d2d6 f7g8 
# Info  2019-03-20 17:52:53-398: Thread 0 searching depth 9
# Info  2019-03-20 17:52:53-399: Increase window beta 91
9 83 1 21262 17 2126 1	h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1d1 a8d8 e3f2 
# Info  2019-03-20 17:52:53-404: Thread 0 searching depth 10
10 83 1 28277 17 2175 2	h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1c1 a8c8 c1d1 c8d8 
# Info  2019-03-20 17:52:53-407: Thread 0 searching depth 11
11 88 1 40788 18 2146 3	h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1c1 a8e8 e3f2 f7g8 c4c5 
# Info  2019-03-20 17:52:53-412: Thread 0 searching depth 12
12 83 2 52747 21 2293 5	h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1c1 a8e8 e3f2 e8d8 c4c5 c7c6 
# Info  2019-03-20 17:52:53-417: Thread 0 searching depth 13
13 83 3 71968 23 2321 7	h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1c1 a8e8 e3f2 e8d8 c4c5 d8c8 f2g2 
# Info  2019-03-20 17:52:53-425: Thread 0 searching depth 14
# Info  2019-03-20 17:52:53-432: Increase window beta 105
14 93 7 160342 29 2196 17	h5h6 g7g6 g2d2 g8d8 g1d1 f7e8 e3f2 c6d6 e5d6 c7c5 d2e2 e8f7 e2e5 d8c8 e5c5 
# Info  2019-03-20 17:52:53-466: Thread 0 searching depth 15
15 93 8 183184 29 2233 21	h5h6 g7g6 g2d2 g8d8 g1d1 f7e8 e3f2 c6d6 e5d6 c7c5 d2e2 e8f7 e2e5 d8c8 e5c5 
# Info  2019-03-20 17:52:53-475: Thread 0 searching depth 16
# Info  2019-03-20 17:52:53-508: Increase window alpha 71
16 89 17 370567 29 2142 43	h5h6 g7g6 g2d2 g8d8 d6c6 c7c6 g1d1 f7e7 d2d6 c6d6 e5d6 e7f6 c4c5 d8c8 d1c1 c8c6 c1c4 c6c8 e3f2 f6f7 
# Info  2019-03-20 17:52:53-567: Thread 0 searching depth 17
17 89 18 410417 29 2194 49	h5h6 g7g6 g2d2 g8d8 d6c6 c7c6 g1d1 f7e7 d2d6 c6d6 e5d6 e7f6 c4c5 d8c8 d1c1 c8c6 c1c4 c6c8 
# Info  2019-03-20 17:52:53-581: Thread 0 searching depth 18
# Info  2019-03-20 17:52:53-621: Increase window alpha 67
# Info  2019-03-20 17:52:53-779: Increase window beta 112
18 94 41 910752 34 2215 118	h5h6 g7g6 d6c6 c7c6 g1d1 g8d8 g2d2 f7e8 d2d4 c6c7 d4d6 c7c6 e3f2 c6d6 e5d6 e8f7 c4c5 d8c8 d1c1 f7g8 c5c6 
# Info  2019-03-20 17:52:53-805: Thread 0 searching depth 19
19 89 43 977286 34 2251 130	h5h6 g7g6 d6c6 c7c6 g1d1 g8d8 g2d2 f7e8 d2d4 c6c7 d4d6 c7c6 e3f2 c6d6 e5d6 e8f7 d1c1 d8c8 c4c5 
# Info  2019-03-20 17:52:53-827: Thread 0 searching depth 20
20 90 48 1125450 38 2301 151	h5h6 g7g6 d6c6 c7c6 g1d1 g8d8 g2d2 f7e8 d2d4 c6b6 d4d6 b6c6 e3f2 c6d6 e5d6 d8c8 f2e3 e8f7 d1c1 c8c6 
# Info  2019-03-20 17:52:53-882: Thread 0 searching depth 21
21 87 54 1277768 38 2353 175	h5h6 g7g6 d6c6 c7c6 g1d1 g8d8 g2d2 f7e8 d2d4 c6b6 d4d6 b6c6 e3f2 c6d6 e5d6 d8c8 f2e3 e8f7 d1c1 c8c6 c4c5 f7f6 e3d4 
# Info  2019-03-20 17:52:53-936: Thread 0 searching depth 22
# Info  2019-03-20 17:52:54-148: Increase window alpha 65
# Info  2019-03-20 17:52:54-206: Increase window beta 110
22 96 109 2511218 40 2301 338	h5h6 g7g6 d6c6 c7c6 g1d1 f7e7 g2d2 c6c7 d2d6 g8c8 e3e2 c8a8 e2f1 a8d8 f1g2 c7c6 g2g3 c6c5 d6b6 d8c8 b6b5 e7e8 b5b7 e8e7 
# Info  2019-03-20 17:52:54-485: Thread 0 searching depth 23
23 96 116 2707201 40 2331 372	h5h6 g7g6 d6c6 c7c6 g1d1 f7e7 g2d2 c6c7 d2d6 g8c8 e3e2 c8a8 e2f2 e7e8 d6b6 e8e7 f2g1 a8d8 b6b5 c7a7 d1d6 e7f7 c4c5 f7g8 
# Info  2019-03-20 17:52:54-554: Thread 0 searching depth 24
24 96 130 3076357 40 2359 426	h5h6 g7g6 d6c6 c7c6 g1d1 f7e7 g2d2 c6c7 d2d6 g8c8 e3e2 c8a8 e2f2 e7e8 d6b6 e8e7 f2g1 a8d8 b6b5 c7a7 d1d6 e7f7 c4c5 f7g8 
# Info  2019-03-20 17:52:54-697: Thread 0 searching depth 25
25 96 151 3629734 41 2400 508	h5h6 g7g6 d6c6 c7c6 g1d1 f7e7 g2d2 c6c7 d2d6 g8c8 e3f2 c7a7 f2g1 e7e8 d6b6 e8e7 g1f2 a7c7 b6a6 c7c5 f2g2 e7e8 d1d6 c8d8 a6a7 
# Info  2019-03-20 17:52:54-906: Thread 0 searching depth 26
26 96 178 4319272 45 2426 625	h5h6 g7g6 d6c6 c7c6 g1d1 f7e7 g2d2 c6c7 d2d6 g8c8 e3f2 c7a7 f2g1 c8b8 g1h1 b8c8 h1h2 e7e8 d6b6 a7c7 h2g3 c7c6 b6b7 c6c7 b7b5 c7c5 
# Info  2019-03-20 17:52:55-173: Thread 0 searching depth 27
# Info  2019-03-20 17:52:56-805: Increase window beta 118
27 102 425 10467366 45 2461 1729	d6c6 c7c6 h5h6 g7g6 g1d1 c6c7 g2d2 f7e7 d2d6 c7a7 e3d4 g8c8 d6b6 e7e8 b6b5 e8f7 d4e3 c8g8 b5b6 g8d8 e3d3 f7e7 d3c2 d8c8 c2b1 e7e8 b1c1 e8e7 c1b1 e7e8 b1c2 
# Info  2019-03-20 17:52:57-646: Thread 0 searching depth 28
# Info  2019-03-20 17:52:58-012: Increase window beta 124
# Info  2019-03-20 17:52:58-049: Increase window beta 147
# Info  2019-03-20 17:52:58-093: Increase window beta 183
# Info  2019-03-20 17:52:58-143: Increase window beta 239
# Info  2019-03-20 17:52:58-213: Increase window beta 325
# Info  2019-03-20 17:52:58-683: Increase window beta 456
# Info  2019-03-20 17:52:59-095: Increase window beta 654
# Info  2019-03-20 17:52:59-562: Increase window beta 953
# Info  2019-03-20 17:53:00-234: Increase window beta 1403
# Info  2019-03-20 17:53:00-558: Increase window beta 2080
# Info  2019-03-20 17:53:01-114: Increase window beta 3097
# Info  2019-03-20 17:53:01-245: Increase window beta 4624
# Info  2019-03-20 17:53:01-250: Increase window beta 6916
# Info  2019-03-20 17:53:01-255: Increase window beta 10000
What to do ? How does others engines behave here ?
Last edited by xr_a_y on Wed Mar 20, 2019 5:54 pm, edited 1 time in total.
D Sceviour
Posts: 570
Joined: Mon Jul 20, 2015 5:06 pm

Re: Deep mate question

Post by D Sceviour »

Schooner v2.0.39 - 0.64 seconds to mate

Code: Select all

 24	+327.40	22.9M	0:06.39	g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g6 g3h2 e3f2 c6c5 f2f1 c5g1 g6g1 h2h3#
 24	+327.32	2.2M	0:00.64	g2g7#
 24	+28.05	2.2M	0:00.64	g2g7
 24	+13.46	2.2M	0:00.64	g2g7
 24	+7.06	2.2M	0:00.63	g2g7
 24	+3.86	2.2M	0:00.62	g2g7
 24	+2.26	2.1M	0:00.61	g2g7
 24	+1.46	2.1M	0:00.61	g2g7
 23	+0.76	1.7M	0:00.49	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 b5b6 a8f8 d6d2 f8a8 d2d1 a7c7 d1d6 e7f7 d6d3
 22	+0.71	1.3M	0:00.39	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 b5b6 a8f8 d6d2 f8a8 d2d1 a7c7 d1d6 c7a7
 21	+0.71	1.0M	0:00.31	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 b5b6 a8f8 d6d2 f8c8 b6d6 c8a8 d2d3
 20	+0.72	829042	0:00.25	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7 e3e2 a7c7
 19	+0.71	696831	0:00.22	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7 d1d6
 18	+0.71	490681	0:00.16	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7
 17	+0.71	436230	0:00.14	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7 d1d6 a7c7
 16	+0.81	204198	0:00.07	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7
 15	+0.81	158296	0:00.06	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2
 14	+0.81	113455	0:00.04	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7
 13	+0.78	49259	0:00.02	d6d4 c6c5 d4c5 c7c5 h5h6 g7g6 g1d1 c5c7 g2d2 f7e7 d2d6 g8a8 d6b6
 12	+0.78	36062	0:00.01	d6d4 c6c5 d4c5 c7c5 h5h6 g7g6 g1d1 c5c7 g2d2 f7e7 d2d6 g8a8
 11	+0.78	29402	0:00.01	d6d4 c6c5 d4c5 c7c5 h5h6 g7g6 g1d1 c5c7 g2d2 f7e7 d2d6 g8a8
 10	+0.84	15918	0:00.01	g2d2 c6d6 d2d6 g8a8 g1g2 f7f8 g2d2 f8e7 d2g2 a8g8
  9	+0.91	12905	0:00.00	g2d2 c6d6 d2d6 g8a8 g1g2 a5a4 g2d2 f7e8 d2g2 a4b3
  8	+0.99	5946	0:00.00	g2d2 c6d6 d2d6 c7a7 d6d2 g7g6 h5h6 f7e7
  7	+0.70	3926	0:00.00	g2d2 h7h6 e3e2 c6d6 d2d6 g7g6 h5g6
  6	+0.79	2986	0:00.00	g2d2 h7h6 d2d4 c6d6 d4d6 g7g6
  5	+0.77	2278	0:00.00	g2d2 h7h6 e3f2 c6d6 e5d6
  4	+2.03	445	0:00.00	h5h6 c6d6 g2g7 g8g7
  3	+2.03	326	0:00.00	h5h6 c6d6 g2g7
  2	+2.03	230	0:00.00	h5h6 c6d6
  1	+1.87	127	0:00.00	h5h6
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Deep mate question

Post by xr_a_y »

D Sceviour wrote: Wed Mar 20, 2019 5:50 pm Schooner v2.0.39 - 0.64 seconds to mate

Code: Select all

 24	+327.40	22.9M	0:06.39	g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g6 g3h2 e3f2 c6c5 f2f1 c5g1 g6g1 h2h3#
 24	+327.32	2.2M	0:00.64	g2g7#
 24	+28.05	2.2M	0:00.64	g2g7
 24	+13.46	2.2M	0:00.64	g2g7
 24	+7.06	2.2M	0:00.63	g2g7
 24	+3.86	2.2M	0:00.62	g2g7
 24	+2.26	2.1M	0:00.61	g2g7
 24	+1.46	2.1M	0:00.61	g2g7
 23	+0.76	1.7M	0:00.49	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 b5b6 a8f8 d6d2 f8a8 d2d1 a7c7 d1d6 e7f7 d6d3
 22	+0.71	1.3M	0:00.39	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 b5b6 a8f8 d6d2 f8a8 d2d1 a7c7 d1d6 c7a7
 21	+0.71	1.0M	0:00.31	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 b5b6 a8f8 d6d2 f8c8 b6d6 c8a8 d2d3
 20	+0.72	829042	0:00.25	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7 e3e2 a7c7
 19	+0.71	696831	0:00.22	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7 d1d6
 18	+0.71	490681	0:00.16	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7
 17	+0.71	436230	0:00.14	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7 d2d1 c7a7 d1d6 a7c7
 16	+0.81	204198	0:00.07	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7
 15	+0.81	158296	0:00.06	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2
 14	+0.81	113455	0:00.04	g2d2 c6d6 d2d6 g8a8 h5h6 g7g6 g1d1 f7e7 d6b6 c7a7 b6b5 a8g8 d1d6 g8a8 d6d2 a7c7
 13	+0.78	49259	0:00.02	d6d4 c6c5 d4c5 c7c5 h5h6 g7g6 g1d1 c5c7 g2d2 f7e7 d2d6 g8a8 d6b6
 12	+0.78	36062	0:00.01	d6d4 c6c5 d4c5 c7c5 h5h6 g7g6 g1d1 c5c7 g2d2 f7e7 d2d6 g8a8
 11	+0.78	29402	0:00.01	d6d4 c6c5 d4c5 c7c5 h5h6 g7g6 g1d1 c5c7 g2d2 f7e7 d2d6 g8a8
 10	+0.84	15918	0:00.01	g2d2 c6d6 d2d6 g8a8 g1g2 f7f8 g2d2 f8e7 d2g2 a8g8
  9	+0.91	12905	0:00.00	g2d2 c6d6 d2d6 g8a8 g1g2 a5a4 g2d2 f7e8 d2g2 a4b3
  8	+0.99	5946	0:00.00	g2d2 c6d6 d2d6 c7a7 d6d2 g7g6 h5h6 f7e7
  7	+0.70	3926	0:00.00	g2d2 h7h6 e3e2 c6d6 d2d6 g7g6 h5g6
  6	+0.79	2986	0:00.00	g2d2 h7h6 d2d4 c6d6 d4d6 g7g6
  5	+0.77	2278	0:00.00	g2d2 h7h6 e3f2 c6d6 e5d6
  4	+2.03	445	0:00.00	h5h6 c6d6 g2g7 g8g7
  3	+2.03	326	0:00.00	h5h6 c6d6 g2g7
  2	+2.03	230	0:00.00	h5h6 c6d6
  1	+1.87	127	0:00.00	h5h6
And only 22M nodes to validate it ! this is very small for a depth 22 opened window search no ?
D Sceviour
Posts: 570
Joined: Mon Jul 20, 2015 5:06 pm

Re: Deep mate question

Post by D Sceviour »

xr_a_y wrote: Wed Mar 20, 2019 5:52 pm And only 22M nodes to validate it ! this is very small for a depth 22 opened window search no ?
What do you mean by small? Every engine is different. Schooner happened to find this particular problem "easy".
RubiChess
Posts: 584
Joined: Fri Mar 30, 2018 7:20 am
Full name: Andreas Matthies

Re: Deep mate question

Post by RubiChess »

Rubi switches to open window if abs(bound) > 1000:

Code: Select all

info depth 1 seldepth 2 multipv 1 time 0 score cp 105  nodes 45 nps 136380 tbhits 0 hashfull 0 pv e3e2 
info depth 2 seldepth 3 multipv 1 time 0 score cp 38  nodes 298 nps 551674 tbhits 0 hashfull 0 pv d6d4 a5a4 
info depth 3 seldepth 5 multipv 1 time 0 score cp 65  nodes 518 nps 549020 tbhits 0 hashfull 0 pv h5h6 g7g6 e3d2 
info depth 4 seldepth 6 multipv 1 time 2 score cp 57  nodes 966 nps 440720 tbhits 0 hashfull 0 pv g1d1 c6d6 d1d6 g7g6 
info depth 5 seldepth 7 multipv 1 time 3 score cp 55  nodes 1443 nps 434872 tbhits 0 hashfull 0 pv h5h6 g7g6 g2d2 c6d6 e5d6 
info depth 6 seldepth 8 multipv 1 time 4 score cp 74  nodes 2480 nps 558320 tbhits 0 hashfull 0 pv h5h6 g7g6 g2d2 g8d8 d6c6 c7c6 
info depth 7 seldepth 9 multipv 1 time 7 score cp 51  nodes 6067 nps 776305 tbhits 0 hashfull 0 pv h5h6 g7g6 g1d1 g8d8 d1d4 c6d6 e5d6 
info depth 8 seldepth 10 multipv 1 time 12 score cp 70  nodes 10648 nps 878280 tbhits 0 hashfull 0 pv d6c6 c7c6 h5h6 g7g6 g2d2 c6c7 g1d1 g8d8 
info depth 9 seldepth 14 multipv 1 time 28 score cp 33  nodes 29401 nps 1023939 tbhits 0 hashfull 0 pv h5h6 g7g6 g1d1 c6d6 d1d6 f7e7 g2g1 g8c8 d6a6 
info depth 10 seldepth 14 multipv 1 time 46 score cp 44  nodes 50450 nps 1079865 tbhits 0 hashfull 0 pv d6c6 d7c6 g1d1 g8a8 d1d6 a5a4 b3a4 a8a4 d6d8 g7g6 
info depth 11 seldepth 15 multipv 1 time 83 score cp 35  nodes 93381 nps 1112898 tbhits 0 hashfull 1 pv h5h6 g7g6 d6c6 c7c6 g2d2 c6c7 g1d1 f7e7 d2d6 g8a8 d6a6 
info depth 12 seldepth 15 multipv 1 time 99 score cp 61  nodes 113067 nps 1137281 tbhits 0 hashfull 1 pv h5h6 g7g6 d6c6 d7c6 g1d1 g8a8 g2d2 f7e7 d2d3 a5a4 d3d6 a4b3 
info depth 13 seldepth 18 multipv 1 time 183 score cp 40  nodes 206108 nps 1124600 tbhits 0 hashfull 2 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 e7f7 d2d6 f7e7 b6a6 
info depth 14 seldepth 18 multipv 1 time 238 score cp 45  nodes 279554 nps 1173747 tbhits 0 hashfull 2 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e8 d6b6 e8e7 d2d6 e7f7 b6a6 a8a6 
info depth 15 seldepth 19 multipv 1 time 312 score cp 33  nodes 380977 nps 1220415 tbhits 0 hashfull 4 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e8 d6b6 c7a7 d2d6 e8e7 d6d4 e7f7 b6d6 
info depth 16 seldepth 22 multipv 1 time 433 score cp 52  nodes 541101 nps 1247467 tbhits 0 hashfull 7 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e8 d6b6 c7a7 d2d6 e8e7 b6b5 a7c7 c4c5 c7c6 
info depth 17 seldepth 22 multipv 1 time 532 score cp 51  nodes 680853 nps 1277786 tbhits 0 hashfull 8 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e8 d6b6 c7a7 d2d6 e8e7 c4c5 a8c8 c5c6 c8c6 b6c6 
info depth 18 seldepth 27 multipv 1 time 724 score cp 45  nodes 933008 nps 1288150 tbhits 0 hashfull 11 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e8 d6b6 c7a7 d2d6 e8e7 c4c5 a8c8 c5c6 c8c6 b6c6 d7c6 
info depth 19 seldepth 30 multipv 1 time 956 score cp 43  nodes 1274847 nps 1332772 tbhits 0 hashfull 13 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e8 d6b6 c7a7 d2d6 e8e7 d6d4 a7c7 d4d2 c7a7 d2d6 a7c7 d6d1 
info depth 20 seldepth 27 multipv 1 time 1192 score cp 43  nodes 1627268 nps 1364409 tbhits 0 hashfull 19 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d3 a8c8 b6b5 e7f7 d3d1 c8a8 e3e2 a7c7 d1d6 f7e7 
info depth 21 seldepth 37 multipv 1 time 1433 score cp 43  nodes 1976897 nps 1379542 tbhits 0 hashfull 21 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d6 a8c8 e3e2 c8a8 d6d4 e7f7 e2e3 f7e7 d4d3 a8c8 b6b5 
info depth 22 seldepth 33 multipv 1 time 2335 score cp 69  nodes 3241801 nps 1388283 tbhits 0 hashfull 41 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d6 e7f7 c4c5 a8c8 c5c6 c8c6 b6c6 d7c6 d6c6 f7e7 e3e2 a5a4 
info depth 23 seldepth 23 multipv 1 time 2548 score cp 69 upperbound nodes 3600016 nps 1412464 tbhits 0 hashfull 44 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d6 e7f7 c4c5 a8c8 c5c6 d7c6 b6c6 c8c6 d6c6 f7e7 e3e2 a5a4 b3a4 
info depth 23 seldepth 28 multipv 1 time 3166 score cp 45  nodes 4462639 nps 1409326 tbhits 0 hashfull 51 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d1 a7c7 d1d4 e7e8 d4d6 e8e7 b6a6 a8a6 d6a6 c7c5 e3d4 e7e8 d4c5 
info depth 24 seldepth 28 multipv 1 time 3399 score cp 61 lowerbound nodes 4848074 nps 1426069 tbhits 0 hashfull 53 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d1 a7c7 d1d4 e7e8 d4d6 e8e7 b6a6 a8a6 d6a6 c7c5 e3d4 e7e8 d4c5 
info depth 24 seldepth 31 multipv 1 time 3837 score cp 73 lowerbound nodes 5439485 nps 1417371 tbhits 0 hashfull 60 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d6 e7f7 c4c5 a8c8 c5c6 d7c6 b6c6 c8c6 d6c6 f7e7 e3d4 e7d7 d4c5 a7c7 
info depth 24 seldepth 43 multipv 1 time 4882 score cp 59  nodes 6928059 nps 1418994 tbhits 0 hashfull 85 pv h5h6 g7g6 g1d1 c6d6 d1d6 c7a7 d6b6 g8c8 g2d2 f7e7 e3d4 e7f7 d2d1 f7f8 d4e3 f8e7 d1d6 c8a8 c4c5 a7c7 c5c6 d7c6 d6c6 c7c6 
info depth 25 seldepth 39 multipv 1 time 5140 score cp 67 lowerbound nodes 7331249 nps 1426138 tbhits 0 hashfull 88 pv h5h6 g7g6 g1d1 c6d6 d1d6 c7a7 d6b6 g8c8 g2d2 f7e7 d2d6 c8a8 c4c5 a7c7 c5c6 d7c6 d6c6 c7c6 b6c6 a8a7 e3d4 a7d7 d4c4 d7a7 c6c5 
info depth 25 seldepth 32 multipv 1 time 5375 score cp 75 lowerbound nodes 7694617 nps 1431404 tbhits 0 hashfull 92 pv h5h6 g7g6 g1d1 c6d6 d1d6 c7a7 g2d2 f7e7 d6b6 g6g5 f4g5 g8g5 b6b8 g5g6 d2h2 e7f7 b8h8 g6g1 h8h7 f7g8 e3f2 g8h7 f2g1 a5a4 b3a4 
info depth 25 seldepth 48 multipv 1 time 7343 score cp 75 upperbound nodes 10169237 nps 1384801 tbhits 0 hashfull 129 pv h5h6 g7g6 g1d1 c6b7 g2d2 g8d8 e3f2 f7e8 f2g2 d8a8 a2a4 
info depth 25 seldepth 38 multipv 1 time 8462 score cp 69 lowerbound nodes 11528176 nps 1362282 tbhits 0 hashfull 152 pv h5h6 g7g6 g1d1 c6b7 g2d2 g8d8 d2d5 b7a7 e3e2 e6d5 d6d5 f7e7 d5d6 e7e8 d6f6 c7c5 f6h8 e8e7 h8h7 e7e8 h7g6 e8f8 
info depth 25 seldepth 41 multipv 1 time 12673 score cp 55  nodes 16757892 nps 1322320 tbhits 0 hashfull 226 pv h5h6 g7g6 g1d1 c6b7 g2d2 g8d8 e3e2 f7e8 a2a4 b7a7 d6d4 a7d4 d2d4 e8e7 e2f2 d8a8 d4d6 c7b7 f2e3 b7a7 d6d4 a8c8 d4d2 a7b7 d2a2 
info depth 26 seldepth 51 multipv 1 time 15500 score cp 63 lowerbound nodes 20263983 nps 1307283 tbhits 0 hashfull 268 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h2 e3f2 c6c5 f2f1 c5d5 c4d5 c7c1 f1f2 c1c2 
info depth 26 seldepth 43 multipv 1 time 15711 score cp 492 lowerbound nodes 20561635 nps 1308658 tbhits 0 hashfull 272 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h2 e3f2 c6c5 f2f1 c5d5 c4d5 c7c1 f1f2 c1c2 
info depth 26 seldepth 45 multipv 1 time 15938 score cp 624 lowerbound nodes 20843846 nps 1307750 tbhits 0 hashfull 278 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h2 e3f2 c6c5 f2f1 c5d5 c4d5 c7c1 f1f2 c1c2 
info depth 26 seldepth 47 multipv 1 time 16674 score cp 791 lowerbound nodes 21732001 nps 1303273 tbhits 0 hashfull 294 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h2 e3f2 c6c5 f2f1 c5d5 c4d5 c7c1 f1f2 c1c2 
info depth 26 seldepth 48 multipv 1 time 18212 score cp 1001 lowerbound nodes 23625838 nps 1297266 tbhits 0 hashfull 322 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h2 e3f2 c6c5 f2f1 c5d5 c4d5 c7c1 f1f2 c1c2 
info depth 26 seldepth 52 multipv 1 time 18523 score mate 15 nodes 23960960 nps 1293552 tbhits 0 hashfull 328 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h4 e3f2 c6c5 f2g2 c5g1 g2g1 c7c8 g8g5 h4h3 
info depth 27 seldepth 40 multipv 1 time 18607 score mate 15 nodes 24099721 nps 1295174 tbhits 0 hashfull 328 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h4 e3f2 c6c5 f2g2 c5g1 g2g1 c7c8 g8g5 h4h3 g5g2 
info depth 28 seldepth 42 multipv 1 time 18730 score mate 15 nodes 24339540 nps 1299488 tbhits 0 hashfull 328 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h4 e3f2 c6c5 f2g2 c5g1 g2g1 c7c8 g8g5 h4h3 g5g2 h3h4 

User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Deep mate question

Post by xr_a_y »

D Sceviour wrote: Wed Mar 20, 2019 6:14 pm
xr_a_y wrote: Wed Mar 20, 2019 5:52 pm And only 22M nodes to validate it ! this is very small for a depth 22 opened window search no ?
What do you mean by small? Every engine is different. Schooner happened to find this particular problem "easy".
There must be some bug in minic on this topic ...
D Sceviour
Posts: 570
Joined: Mon Jul 20, 2015 5:06 pm

Re: Deep mate question

Post by D Sceviour »

xr_a_y wrote: Wed Mar 20, 2019 6:37 pm
D Sceviour wrote: Wed Mar 20, 2019 6:14 pm
xr_a_y wrote: Wed Mar 20, 2019 5:52 pm And only 22M nodes to validate it ! this is very small for a depth 22 opened window search no ?
What do you mean by small? Every engine is different. Schooner happened to find this particular problem "easy".
There must be some bug in minic on this topic ...
I have already posted on this position before. See if these can be of any help to you:

viewtopic.php?f=7&t=57374

viewtopic.php?f=7&t=68810&p=778130#p778038
konsolas
Posts: 182
Joined: Sun Jun 12, 2016 5:44 pm
Location: London
Full name: Vincent

Re: Deep mate question

Post by konsolas »

Topple also takes quite a while to find this one, I wait for the aspiration window to fail all the way to 32768 before searching with a full window:

Code: Select all

info depth 24 seldepth 38 score cp 98 lowerbound time 54988 nodes 192111877 nps 3493000 hashfull 996 tbhits 0 pv g2d2 c6
d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c7
c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 38 score cp 120 lowerbound time 55126 nodes 192680053 nps 3495000 hashfull 996 tbhits 0 pv g2d2 c
6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c
7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 38 score cp 153 lowerbound time 55265 nodes 193230750 nps 3496000 hashfull 997 tbhits 0 pv g2d2 c
6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c
7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 38 score cp 202 lowerbound time 55416 nodes 193845609 nps 3497000 hashfull 997 tbhits 0 pv g2d2 c
6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c
7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 38 score cp 275 lowerbound time 55567 nodes 194439981 nps 3499000 hashfull 997 tbhits 0 pv g2d2 c
6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c
7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 39 score cp 384 lowerbound time 55759 nodes 195171229 nps 3500000 hashfull 997 tbhits 0 pv g2d2 c
6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c
7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 39 score cp 547 lowerbound time 56111 nodes 196664731 nps 3504000 hashfull 997 tbhits 0 pv g2d2 c
6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c
7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 791 lowerbound time 56305 nodes 197616222 nps 3509000 hashfull 997 tbhits 0 pv g2d2 c
6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1 c
7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 1157 lowerbound time 56392 nodes 197974192 nps 3510000 hashfull 997 tbhits 0 pv g2d2
c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 1706 lowerbound time 56477 nodes 198316324 nps 3511000 hashfull 997 tbhits 0 pv g2d2
c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 2529 lowerbound time 56552 nodes 198606266 nps 3511000 hashfull 997 tbhits 0 pv g2d2
c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 3763 lowerbound time 56596 nodes 198725979 nps 3511000 hashfull 997 tbhits 0 pv g2d2
c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 5614 lowerbound time 56618 nodes 198752054 nps 3510000 hashfull 997 tbhits 0 pv g2d2
c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 8390 lowerbound time 56638 nodes 198771666 nps 3509000 hashfull 997 tbhits 0 pv g2d2
c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 12554 lowerbound time 56659 nodes 198793799 nps 3508000 hashfull 997 tbhits 0 pv g2d2
 c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
 c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 18800 lowerbound time 56680 nodes 198811573 nps 3507000 hashfull 997 tbhits 0 pv g2d2
 c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
 c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 41 score cp 28169 lowerbound time 56699 nodes 198828496 nps 3506000 hashfull 997 tbhits 0 pv g2d2
 c6d6 d2d6 g8a8 d6b6 f7f8 e3d4 f8f7 b6b5 f7f8 c4c5 c7a7 g1d1 f8f7 d1a1 f7e8 h5h6 g7g6 b5b6 e8f7 a2a3 b4a3 a1a3 a7c7 a3a1
 c7c8
info currmove g2g7 currmovenumber 1
info depth 24 seldepth 45 score mate 15 time 57701 nodes 203375126 nps 3524000 hashfull 997 tbhits 0 pv g2g7 g8g7 g1g7 f
7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h4 e3f2 c6c5 f2g2 c5g1 g2g1 c7c4 g8g5 h4h3 g5g2 h
3h4 g2h2
Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Deep mate question

Post by Joost Buijs »

Nightmare (10 threads) takes 19 ply and 14 seconds to solve this position with ~270 million nodes.
It uses aspiration window values: 50, 150, 450, 900, and Infinite. These are rule of thumb values, I never optimized them.

Code: Select all


info depth 15 score cp 79 time 180 nodes 1900795 nps 10559972 tbhits 0 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d1 a8f8 d1d6 f8c8 e3e2 c8f8 e2d2
info depth 16 score cp 79 time 228 nodes 2392885 nps 10495109 tbhits 0 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d1 a8f8 d1d6 f8c8 e3e2 c8f8 e2d2 f8c8
info depth 17 score cp 79 time 341 nodes 3979256 nps 11669372 tbhits 0 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d1 a8f8 d1d6 f8c8 e3e2 c8f8 e2d2 f8c8 d2c2
info depth 18 score cp 79 time 703 nodes 8978630 nps 12771877 tbhits 0 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d1 a8f8 d1d6 f8c8 e3e2 c8f8 e2d2 f8c8 d2e2 c8f8
info depth 19 score cp 79 time 2752 nodes 41015623 nps 14903932 tbhits 0 pv h5h6 g7g6 g1d1 c6d6 d1d6 g8a8 g2d2 f7e7 d6b6 c7a7 d2d1 a8f8 d1d6 f8c8 e3e2 c8f8 e2d2 f8c8 d2c2 e7f7 c2b2
info depth 19 score mate 15 time 13898 nodes 270518720 nps 19464579 tbhits 0 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h4 e3f2 c6c5 f2g2

With a single thread it takes 20 ply and 152 seconds with ~503 million nodes. The SMP search finds the mate 1 ply earlier, this is probably due to grafting. In highly tactical positions like this my SMP search doesn't perform well with respect to 'time to depth', in quiet position it usually performs a lot better. Somehow 'time to depth' doesn't say much, in self-tests between 1 core and 10 cores I measure a rating difference of ~178 Elo.

Code: Select all


info depth 15 score cp 80 time 356 nodes 1115659 nps 3133873 tbhits 0 pv h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1d1 f7e7 d6b6 e7f7 e3f2 f7e7 f2g3 e7f7 g3h4 f7e7 h4g5
info depth 16 score cp 80 time 549 nodes 1716293 nps 3126216 tbhits 0 pv h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1d1 f7e7 d6b6 e7f7 e3f2 f7e7 d1d6
info depth 17 score cp 76 time 1078 nodes 3375478 nps 3131241 tbhits 0 pv h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1d1 f7e7 d6b6 c7a7 e3f2 a8c8 f2g2 c8f8 g2h3 f8c8 h3g3 e7f7 g3h4
info depth 18 score cp 76 time 1646 nodes 5117810 nps 3109240 tbhits 0 pv h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1d1 f7e7 d6b6 c7a7 e3f2 a8c8 f2g2 c8f8 g2h3 f8c8 h3g3 e7f7 g3h4 f7e7
info depth 19 score cp 76 time 3925 nodes 11882054 nps 3027274 tbhits 0 pv h5h6 g7g6 g2d2 c6d6 d2d6 g8a8 g1d1 f7e7 d6b6 c7a7 e3f2 a8c8 f2g2 c8f8 g2h3 f8c8 h3g3 e7f7 g3h4 f7e7 h4g5
info depth 20 score cp 57 time 7454 nodes 22953255 nps 3079320 tbhits 0 pv h5h6 g7g6 g2d2 g8d8 g1d1 f7e8 d6d4 c6c5 d4c5 c7c5 d2d6 c5c6
info depth 20 score cp 67 time 20833 nodes 61722236 nps 2962714 tbhits 0 pv g1d1 c6d6 d1d6 c7a7 g2h2 f7e7 d6b6 e7f7 h5h6 f7g6 h6g7 h7h5 c4c5 g8g7 b6b8 a7c7 e3d4 g7h7 b8f8 g6g7 f8a8 h5h4
info depth 20 score mate 15 time 152267 nodes 502841770 nps 3302368 tbhits 0 pv g2g7 g8g7 g1g7 f7g7 d6e7 g7g8 e7e8 g8g7 h5h6 g7h6 e8f8 h6h5 f8f7 h5h4 f7h7 h4g3 h7g8 g3h4 e3f2 c6c5 f2g2 c5g1

I never optimized the engine for finding mates, it uses an ancient search with very little pruning, I assume that it would do a lot better with a more 'up to date' search.
User avatar
xr_a_y
Posts: 1871
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Deep mate question

Post by xr_a_y »

Dennis links are very interesting indeed.

I must have something very wrong in Minic because it takes only 3 sec to find the good move, after that window is opened gradualy, but still quite fast, and only when the engine reach fully semi-opened window to search is slowing down and never finish although g2g7 is at that time the TT move at root ...

I don't get it ...