Scorpio & egbb issue (OSX)

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

Moderators: hgm, Rebel, chrisw

syzygy
Posts: 5566
Joined: Tue Feb 28, 2012 11:56 pm

Re: Scorpio & egbb issue (OSX)

Post by syzygy »

Max wrote:
syzygy wrote:
hgm wrote:
Max wrote:I didn't realize that Scorpio needs some more search time, even with egbbs.
The problem is that WDL info offers zero help in end-games like KBNK, where every position where white does not obviously hang a piece will be won. And knowing that you must not blunder away a piece doesn't help you finding the mate, or any simple 3-ply search without eval would already be able to do it. So KBNK remains exactly as difficult with or without EGBB.
The use of bitbases likely makes it harder to win KBNK. If they are probed during the searched, it is overhead in return for no information. If they are used to prune branches, it is likely the search won't be able to make progress where without pruning it could. When KBNK is on the board, bitbases should be disabled.
Thanks for your explanations!

This applies for Syzygy-bases too, right? Stockfish with Syzygy-bases didn't always choose the shortest way to win here.
If you have the DTZ tables, the engine is guaranteed to deliver mate within the 50-move rule from any won position with 6 pieces or less. There is no guarantee that it will be the shortest mate possible.

If you only have WDL, then SF+TB will try to win KBNK based on SF's regular search and evaluation. With enough time it will manage, but there is no guarantee.
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

syzygy wrote:
hgm wrote:
Max wrote:I didn't realize that Scorpio needs some more search time, even with egbbs.
The problem is that WDL info offers zero help in end-games like KBNK, where every position where white does not obviously hang a piece will be won. And knowing that you must not blunder away a piece doesn't help you finding the mate, or any simple 3-ply search without eval would already be able to do it. So KBNK remains exactly as difficult with or without EGBB.
The use of bitbases likely makes it harder to win KBNK. If they are probed during the searched, it is overhead in return for no information. If they are used to prune branches, it is likely the search won't be able to make progress where without pruning it could. When KBNK is on the board, bitbases should be disabled.
No, speak for your bitbases. My Scorpio bitbases handle them fine. Honestly I don't know how he managed to reproduce an non-winning KBNK game because I can't with any decent time control! I have my theories though :)
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

Nope. Here it wins with 40 moves in 10 seconds. And even more with Stockfish.

[Event "Computer Chess Game"]
[Site "DANIEL-PC"]
[Date "2014.02.02"]
[Round "-"]
[White "Fruit 2.1"]
[Black "Scorpio_09:52:46"]
[Result "0-1"]
[TimeControl "40/10"]
[FEN "8/8/4K2P/7n/3k4/8/8/1b6 w - - 12 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . .
. . . . K . . P
. . . . . . . n
. . . k . . . .
. . . . . . . .
. . . . . . . .
. b . . . . . .
white to play
--------------}
1. Ke7 {-6.45/11} Bh7 {+50.52/16 0.3} 2. Ke6 {-6.53/12 0.3} Ke4
{+51.32/18 0.3} 3. Kd6 {-6.84/12 0.1} Kf4 {+52.12/18 0.3} 4. Ke7
{-6.85/13 0.1} Kg5 {+52.99/18 0.3} 5. Ke6 {-7.18/12 0.2} Kxh6
{+53.79/19 0.1} 6. Kf7 {-7.23/13 0.2} Bf5 {+49.96/15 0.2} 7. Ke7
{-7.31/12 0.2} Kg5 8. Kd6 {-7.35/13 0.3} Nf4 9. Ke5 {-7.32/12 0.3} Ne2
{+49.96/15 0.1} 10. Kd6 {-7.32/12 0.2} Kf6 {+49.96/15 0.3} 11. Kd5
{-7.37/13 0.1} Bc2 {+49.96/15 0.2} 12. Kc4 {-7.38/11 0.2} Ke5
{+49.96/15 0.1} 13. Kc5 {-7.42/12 0.3} Nc3 {+50.06/15 0.2} 14. Kc4
{-7.42/13 0.3} Nd5 {+50.19/15 0.2} 15. Kc5 {-7.42/12 0.3} Bb3
{+50.11/15 0.1} 16. Kc6 {-7.46/12 0.2} Nf4 {+50.09/15 0.2} 17. Kb5
{-7.45/12 0.3} Nd3 {+50.14/15 0.2} 18. Kc6 {-7.53/12 0.1} Ba4+
{+50.16/15 0.2} 19. Kb6 {-7.57/14 0.1} Kd6 {+50.56/14 0.2} 20. Ka5
{-7.64/14 0.1} Bc6 {+50.21/15 0.2} 21. Kb6 {-7.66/14 0.1} Nb2
{+50.16/15 0.3} 22. Ka5 {-7.59/11 0.2} Kc5 {+50.16/15 0.1} 23. Ka6
{-7.64/12 0.1} Bf3 {+50.24/15 0.2} 24. Ka7 {-7.64/12 0.2} Kc6
{+50.24/15 0.1} 25. Kb8 {-99.84/13 0.4} Bg4 {+50.24/15 0.2} 26. Ka7
{-99.86/14 0.1} Nc4 {+99.86/16 0.2} 27. Kb8 {-99.88/16 0.1} Kb6
{+99.88/16 0.2} 28. Ka8 {-99.90/36 0.1} Nd6 {+99.90/17 0.2} 29. Kb8
{-99.92/39 0.1} Bc8 {+99.92/19 0.2} 30. Ka8 {-99.94/4 0.1} Kc7
{+99.94/38 0.1} 31. Ka7 {-99.96/38 0.1} Nb5+ {+99.96/64 0.2} 32. Ka8
{-99.98/37 0.1} Bb7# {+99.98/64 0.1}
{Xboard adjudication: Checkmate} 0-1


[Event "Computer Chess Game"]
[Site "DANIEL-PC"]
[Date "2014.02.02"]
[Round "-"]
[White "Fruit 2.1"]
[Black "Scorpio_09:52:46"]
[Result "0-1"]
[TimeControl "40/10"]
[FEN "8/8/4K2P/7n/3k4/8/8/1b6 w - - 12 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . .
. . . . K . . P
. . . . . . . n
. . . k . . . .
. . . . . . . .
. . . . . . . .
. b . . . . . .
white to play
--------------}
1. Ke7 {-6.45/11} Bh7 {+50.52/15 0.3} 2. Ke6 {-6.53/12 0.3} Ke4
{+51.32/18 0.4} 3. Kd6 {-6.84/13 0.1} Kf5 {+52.12/18 0.2} 4. Kd5
{-6.97/11 0.3} Kg6 {+52.92/19 0.1} 5. Kc4 {-7.14/12 0.2} Kxh6
{+53.75/19 0.2} 6. Kd5 {-7.23/13 0.1} Ng3 {+49.94/15 0.2} 7. Kd4
{-7.23/11 0.2} Be4 {+49.54/16 0.1} 8. Ke3 {-7.31/12 0.2} Kg5
{+49.54/16 0.2} 9. Kd4 {-7.36/13 0.1} Kf4 {+49.54/15 0.1} 10. Kc4
{-7.39/12 0.3} Nf5 {+49.54/15 0.1} 11. Kb4 {-7.41/12 0.2} Ne3
{+49.96/15 0.2} 12. Kb5 {-7.42/12 0.2} Ke5 {+50.51/14 0.3} 13. Kc5
{-7.46/12 0.1} Bd5 {+50.46/14 0.3} 14. Kb5 {-7.46/13 0.1} Kd4
{+50.51/14 0.3} 15. Kb6 {-7.45/12 0.1} Kc4 {+50.91/13 0.2} 16. Kc7
{-7.45/12 0.3} Nf5 {+50.14/15 0.1} 17. Kd7 {-7.55/13 0.2} Bf7 18. Kc6
{-7.51/11 0.3} Be8+ {+50.19/15 0.2} 19. Kb6 {-7.55/13 0.3} Kd5
{+49.79/16 0.1} 20. Kc7 {-7.59/12 0.2} Ng7 {+49.76/16 0.1} 21. Kd8
{-7.55/13 0.3} Kd6 {+49.76/16 0.3} 22. Kc8 {-7.59/14 0.1} Bb5
{+49.76/16 0.2} 23. Kb7 {-7.64/13 0.2} Bd7 {+49.76/16 0.2} 24. Kb6
{-7.64/13 0.3} Nf5 {+49.76/16 0.3} 25. Kb7 {-7.69/13 0.3} Ne3
{+50.24/15 0.2} 26. Kb6 {-7.72/13 0.1} Nc4+ {+50.24/15 0.3} 27. Kb7
{-99.86/14 0.1} Bh3 {+50.24/15 0.3} 28. Ka6 {-99.88/13 0.2} Kc6
{+99.80/16 0.2} 29. Ka7 {-99.90/29 0.1} Bc8 {+99.90/17 0.2} 30. Kb8
{-99.92/42 0.1} Nd6 {+99.92/22 0.1} 31. Ka7 {-99.94/39 0.1} Kc7
{+99.94/31 0.1} 32. Ka8 {-99.96/36 0.1} Bb7+ {+99.96/64 0.2} 33. Ka7
{-99.98/37 0.1} Nc8# {+99.98/64 0.1}
{Xboard adjudication: Checkmate} 0-1
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

40 moves in 5 seconds

Post by Daniel Shawul »

And it wins with this too. With lower time controls Fruit hangs before it is about to get mated. So I wonder how I can't reproduce one non-win so far.

[Event "Computer Chess Game"]
[Site "DANIEL-PC"]
[Date "2014.02.02"]
[Round "-"]
[White "Fruit 2.1"]
[Black "Scorpio_09:52:46"]
[Result "0-1"]
[TimeControl "40/5"]
[FEN "8/8/4K2P/7n/3k4/8/8/1b6 w - - 12 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . .
. . . . K . . P
. . . . . . . n
. . . k . . . .
. . . . . . . .
. . . . . . . .
. b . . . . . .
white to play
--------------}
1. Ke7 {-6.22/10} Bh7 {+50.52/13 0.2} 2. Ke6 {-6.33/10 0.1} Ke4
{+51.32/12 0.1} 3. Ke7 {-6.53/11 0.1} Kf5 {+52.14/13 0.1} 4. Kd7
{-6.85/12 0.1} Kg5 {+52.99/13 0.1} 5. Kc7 {-7.05/11 0.2} Kxh6
{+53.90/16 0.1} 6. Kd7 {-7.23/12 0.1} Be4 {+49.96/15 0.1} 7. Kd6
{-7.26/11 0.1} Bg2 {+50.34/14 0.1} 8. Ke5 {-7.28/11 0.1} Kg5
{+49.94/15 0.1} 9. Kd4 {-7.32/12 0.1} Kf4 {+49.94/15 0.1} 10. Kc4
{-7.37/12 0.1} Bb7 {+50.34/14 0.1} 11. Kd4 {-7.37/11 0.1} Ng3
{+49.94/15 0.1} 12. Kc3 {-7.37/10 0.1} Ba8 {+49.94/15 0.1} 13. Kd4
{-7.37/10 0.1} Ne2+ {+50.34/14 0.1} 14. Kd3 {-7.37/11 0.1} Bf3
{+49.96/15 0.1} 15. Kc4 {-7.39/12 0.1} Ke5 {+50.34/14 0.1} 16. Kd3
{-7.40/10 0.1} Nd4 {+50.36/14 0.1} 17. Kd2 {-7.37/10 0.1} Be4
{+50.76/13 0.1} 18. Kc3 {-7.41/10 0.1} Bg6 {+49.96/15 0.1} 19. Kc4
{-7.40/10 0.1} Bf5 {+49.96/15 0.1} 20. Kc5 {-7.41/9 0.1} Nc2
{+50.74/12 0.1} 21. Kc4 {-7.41/10 0.1} Ne1 22. Kb5 {-7.40/10 0.1} Be6
{+50.86/13 0.1} 23. Ka4 {-7.41/11 0.1} Nc2 {+50.94/13 0.1} 24. Kb5
{-7.51/11 0.1} Kd5 {+50.94/13 0.1} 25. Kb6 {-7.50/10 0.1} Bf7
{+50.94/13 0.1} 26. Kc7 {-7.46/10 0.1} Nd4 {+50.96/13 0.1} 27. Kd7
{-7.51/11 0.1} Nc6 {+50.16/15 0.1} 28. Kc7 {-7.55/11 0.1} Ne5
{+50.19/15 0.1} 29. Kb6 {-7.55/10 0.1} Be8 {+50.56/14 0.1} 30. Kc7
{-7.55/9 0.1} Bc6 {+50.99/12 0.1} 31. Kd8 {-7.64/11 0.1} Kd6
{+50.59/14 0.1} 32. Kc8 {-7.69/12 0.1} Nc4 {+50.56/14 0.1} 33. Kd8
{-7.64/9 0.1} Nb2 {+50.59/14 0.1} 34. Kc8 {-7.53/4 0.1} Na4 {+50.24/15 0.1}
35. Kd8 {-6.93/1 0.1} Nc5 {+50.24/15 0.1} 36. Kc8 {-7.43/1 0.1} Bd7+
{+50.24/15 0.1} 37. Kb8 {-7.38/1 0.1} Kc6 {+99.90/16 0.1} 38. Ka7
{-7.13/1 0.1} Kc7 {+99.92/18 0.1} 39. Ka8 {-7.42/1 0.1} Kb6 {+99.94/36 0.2}
40. Kb8 {-7.19/1 0.1} Na6+ {+99.96/64 0.1} 41. Ka8 {-99.98/4 0.1} Bc6#
{+99.98/64 0.1}
{Xboard adjudication: Checkmate} 0-1

[Event "Computer Chess Game"]
[Site "DANIEL-PC"]
[Date "2014.02.02"]
[Round "-"]
[White "Fruit 2.1"]
[Black "Scorpio_09:52:46"]
[Result "0-1"]
[TimeControl "40/5"]
[FEN "8/8/4K2P/7n/3k4/8/8/1b6 w - - 12 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . .
. . . . K . . P
. . . . . . . n
. . . k . . . .
. . . . . . . .
. . . . . . . .
. b . . . . . .
white to play
--------------}
1. Ke7 {-6.22/10} Bh7 {+50.52/12 0.1} 2. Ke6 {-6.33/11 0.2} Ke4
{+51.32/13 0.1} 3. Ke7 {-6.47/11 0.1} Kf4 {+52.14/13 0.1} 4. Kd6
{-6.84/11 0.1} Kg5 {+52.94/15 0.2} 5. Kd5 {-6.97/11 0.1} Kxh6
{+53.77/13 0.1} 6. Kd4 {-7.21/12 0.1} Kg5 7. Ke5 {-7.28/12 0.1} Nf4
{+50.34/14 0.1} 8. Kd4 {-7.32/12 0.1} Kf5 {+50.34/14 0.1} 9. Kc4
{-7.37/10 0.1} Nh5 {+50.36/14 0.1} 10. Kd4 {-7.32/11 0.1} Ng7
{+49.54/16 0.1} 11. Kd5 {-7.36/11 0.1} Bg8+ {+49.56/16 0.1} 12. Kd6
{-7.37/12 0.1} Ke4 {+50.84/12 0.1} 13. Ke7 {-7.43/11 0.1} Nf5+
{+50.84/13 0.1} 14. Kf6 {-7.46/11 0.2} Kf4 {+50.86/13 0.1} 15. Kg6
{-7.49/12 0.1} Ke5 {+50.46/14 0.1} 16. Kh5 {-7.51/10 0.1} Bf7+ 17. Kg4
{-7.52/11 0.1} Ne7 {+50.84/13 0.1} 18. Kf3 {-7.37/9 0.1} Bg6
{+50.86/13 0.1} 19. Kf2 {-7.39/10 0.1} Be4 {+50.89/12 0.1} 20. Ke2
{-7.41/11 0.1} Kd4 {+50.09/15 0.1} 21. Kf2 {-7.46/12 0.1} Nd5
{+51.29/11 0.1} 22. Kg3 {-7.45/10 0.1} Nf6 {+50.94/12 0.1} 23. Kf4
{-7.42/10 0.1} Ng8 {+50.89/12 0.1} 24. Kg5 {-7.46/11 0.1} Ke5
{+50.54/14 0.1} 25. Kg4 {-7.46/11 0.1} Nh6+ {+50.46/14 0.1} 26. Kg3
{-7.48/12 0.1} Nf5+ 27. Kf2 {-7.48/11 0.1} Kd4 {+50.89/12 0.1} 28. Ke2
{-7.48/13 0.1} Kc3 {+50.94/13 0.1} 29. Ke1 {-7.48/11 0.1} Bf3
{+50.94/12 0.1} 30. Kf2 {-7.48/9 0.1} Bd1 {+50.16/15 0.1} 31. Kg2
{-7.45/9 0.1} Kd2 {+51.36/11 0.1} 32. Kf2 {-7.55/10 0.1} Be2
{+50.57/14 0.1} 33. Kg1 {-7.57/12 0.1} Ke3 {+52.91/6 0.1} 34. Kg2
{-7.55/12 0.1} Bb5 {+50.59/14 0.2} 35. Kg1 {-7.55/9 0.1} Kf3
{+50.59/14 0.2} 36. Kh2 {-99.90/25 0.1} Bf1 {+99.90/15 0.1} 37. Kg1
{-99.92/41 0.1} Ne3 {+99.92/19 0.1} 38. Kh2 {-99.94/39 0.1} Kf2
{+99.94/19 0.2} 39. Kh1 {-99.96/38 0.1} Bg2+ {+99.96/18 0.1} 40. Kh2
{-99.98/36 0.1} Nf1# {+99.98/64 0.1}
{Xboard adjudication: Checkmate} 0-1
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: Scorpio & egbb issue (OSX)

Post by Max »

Daniel Shawul wrote:Honestly I don't know how he managed to reproduce an non-winning KBNK game because I can't with any decent time control! I have my theories though :)
Try it against an engine who knows about the right corner! 8-)

An example against Arasan 16.3 with Gaviotabases at 30 moves in 60 seconds.

Code: Select all

[Event "Computer Chess Game"]
[Site "Home"]
[Date "2014.02.02"]
[Round "-"]
[White "Arasan 16.3 (Gaviota)"]
[Black "Scorpio 2014"]
[Result "1/2-1/2"]
[TimeControl "30/60"]
[FEN "8/7b/7n/4k3/2K5/8/8/8 w - - 0 1"]
[SetUp "1"]

{--------------
. . . . . . . .
. . . . . . . b
. . . . . . . n
. . . . k . . .
. . K . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
white to play
--------------}
1. Kc3 {-99,48/3} Ng4 {+46,41/20 4} 2. Kc4 {-99,50/3 0,3} Bg8+
{+47,14/19 1,8} 3. Kd3 {-99,48/3 0,2} Bf7 {+46,56/20 1,8} 4. Kc3
{-99,50/3 0,3} Nf6 {+47,14/19 1,8} 5. Kc2 {-99,50/3 0,3} Kd4
{+47,01/19 1,8} 6. Kb2 {-99,52/3 0,2} Kd3 {+46,99/19 1,8} 7. Kb1
{-99,54/3 0,2} Nd7 {+46,97/19 1,7} 8. Kb2 {-99,54/3 0,3} Nc5
{+47,01/19 1,5} 9. Ka3 {-99,56/3 0,3} Be8 {+47,09/19 1,7} 10. Kb4
{-99,54/3 0,3} Kd4 {+46,59/20 1,6} 11. Ka3 {-99,56/3 0,2} Kc3
{+46,71/20 1,9} 12. Ka2 {-6,62/2 0,3} Ne6 {+46,56/20 1,9} 13. Ka1
{-99,58/3 0,3} Nf4 {+46,71/20 1,7} 14. Kb1 {-99,56/3 0,3} Bb5
{+46,56/20 1,7} 15. Ka1 {-99,56/3 0,3} Bc4 {+46,14/21 1,9} 16. Kb1
{-6,70/2 0,3} Ne6 {+46,19/21 1,9} 17. Ka1 {-99,60/3 0,3} Bd3
{+45,96/21 1,9} 18. Ka2 {-6,66/2 0,3} Nd8 {+46,62/21 1,9} 19. Ka1
{-99,56/3 0,3} Be4 {+45,84/23 2,0} 20. Ka2 {-6,38/2 0,3} Nc6
{+45,87/22 1,9} 21. Ka1 {-99,60/3 0,3} Ne5 {+46,90/21 1,7} 22. Ka2
{-6,70/2 0,3} Nc4 {+46,19/21 1,7} 23. Ka1 {-6,62/2 0,3} Ne3 {+46,18/21 2,1}
24. Ka2 {-6,74/2 0,3} Kd3 {+46,14/20 2,1} 25. Kb2 {-99,56/3 0,2} Bd5
{+46,15/20 2,1} 26. Kb1 {-99,58/3 0,3} Ke4 {+46,13/20 2,0} 27. Ka1
{-99,56/3 0,2} Nc2+ {+46,60/20 1,7} 28. Kb1 {-99,58/3 0,2} Nb4
{+45,80/21 1,9} 29. Ka1 {-99,56/3 0,3} Nd3 {+46,06/22 2,5} 30. Kb1
{-6,70/2 0,3} Nc5 {+46,01/21 2,8} 31. Kc2 {-99,54/3 0,2} Na4
{+46,13/20 1,9} 32. Kc1 {-99,54/3 0,3} Kd3 {+46,41/20 1,6} 33. Kb1
{-99,56/3 0,3} Nc5 {+45,71/21 1,9} 34. Ka1 {-99,58/3 0,3} Ne4
{+45,92/21 1,9} 35. Kb1 {-99,56/3 0,3} Kd4 {+45,79/21 1,9} 36. Kb2
{-99,54/3 0,2} Ng5 {+46,13/20 1,9} 37. Kc2 {-99,52/3 0,3} Ke5
{+46,13/20 1,7} 38. Kb1 {-99,50/3 0,2} Be6 {+46,18/20 2,0} 39. Ka1
{-99,50/3 0,3} Kf6 {+46,76/20 2,0} 40. Kb1 {-99,48/3 0,3} Bf5+
{+46,11/20 2,0} 41. Ka1 {-99,48/3 0,2} Nf3 {+46,66/19 1,6} 42. Kb2
{-99,48/3 0,3} Ne1 {+46,08/18 2,0} 43. Kb3 {-99,48/3 0,3} Ke6
{+45,31/18 2,0} 44. Ka2 {-99,50/3 0,2} Nf3 {+45,32/19 2,0} 45. Kb2
{-99,50/3 0,3} Be4 {+44,58/20 2,0} 46. Ka3 {-99,50/3 0,3} Kd5
{-0,02/26 1,6} 47. Kb4 {-99,52/3 0,2} Nh4 {-0,02/64 0,6} 48. Kb3
{-99,50/3 0,2} Nf3 {-0,02/64 0,1} 49. Kb4 {-99,52/3 0,2} Nh4 {-0,02/64 0,2}
50. Kb3 {+0,00/3 0,2} Nf3 {-0,02/64 0,2}
{Draw claim: 50-move rule} 1/2-1/2
-Max
syzygy
Posts: 5566
Joined: Tue Feb 28, 2012 11:56 pm

Re: Scorpio & egbb issue (OSX)

Post by syzygy »

Daniel Shawul wrote:
syzygy wrote:
hgm wrote:
Max wrote:I didn't realize that Scorpio needs some more search time, even with egbbs.
The problem is that WDL info offers zero help in end-games like KBNK, where every position where white does not obviously hang a piece will be won. And knowing that you must not blunder away a piece doesn't help you finding the mate, or any simple 3-ply search without eval would already be able to do it. So KBNK remains exactly as difficult with or without EGBB.
The use of bitbases likely makes it harder to win KBNK. If they are probed during the searched, it is overhead in return for no information. If they are used to prune branches, it is likely the search won't be able to make progress where without pruning it could. When KBNK is on the board, bitbases should be disabled.
No, speak for your bitbases. My Scorpio bitbases handle them fine. Honestly I don't know how he managed to reproduce an non-winning KBNK game because I can't with any decent time control! I have my theories though :)
So how do Scorpio bitbases help with KBNK where all positions are won?

I guess your answer will be that your dll returns heuristic values that are supposed to help. My reply is that the engine is likely to be better at searching and evaluating the position than your dll. In any event, there is no way that the bitbase data ("everything wins") can help.
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

So how do Scorpio bitbases help with KBNK where all positions are won?

I guess your answer will be that your dll returns heuristic values that are supposed to help. My reply is that the engine is likely to be better at searching and evaluating the position than your dll. In any event, there is no way that the bitbase data ("everything wins") can help.
Confused much? My dll doesn't search for the engine, the engine does it but it replaces its eval pure KBNK mate table. How can that be worse than an engine could implement?? Yeah I know you an 100Gb solution for it but stop spreading lies about my EGBBs.
syzygy
Posts: 5566
Joined: Tue Feb 28, 2012 11:56 pm

Re: Scorpio & egbb issue (OSX)

Post by syzygy »

Daniel Shawul wrote:
So how do Scorpio bitbases help with KBNK where all positions are won?

I guess your answer will be that your dll returns heuristic values that are supposed to help. My reply is that the engine is likely to be better at searching and evaluating the position than your dll. In any event, there is no way that the bitbase data ("everything wins") can help.
Confused much? My dll doesn't search for the engine, the engine does it but it replaces its eval pure KBNK mate table.
Is that any different from what I wrote ("your dll returns heuristic values that are supposed to help")?
How can that be worse than an engine could implement??
Again, the bitbase information for KBNK ("everything wins") can't possibly help. You can of course attempt to replace the engine's evaluation for specific endgames, thinking you can do a better job at it than the engine's author can, but is that the purpose of bitbases?
Daniel Shawul
Posts: 4185
Joined: Tue Mar 14, 2006 11:34 am
Location: Ethiopia

Re: Scorpio & egbb issue (OSX)

Post by Daniel Shawul »

syzygy wrote:
Daniel Shawul wrote:
So how do Scorpio bitbases help with KBNK where all positions are won?

I guess your answer will be that your dll returns heuristic values that are supposed to help. My reply is that the engine is likely to be better at searching and evaluating the position than your dll. In any event, there is no way that the bitbase data ("everything wins") can help.
Confused much? My dll doesn't search for the engine, the engine does it but it replaces its eval pure KBNK mate table.
Is that any different that what I wrote ("your dll returns heuristic values that are supposed to help")?
How can that be worse than an engine could implement??
Again, the bitbase information for KBNK ("everything wins") can't possibly help. You can of course attempt to replace the engine's evaluation for specific endgames, thinking you can do a better job at it than the engine's author can, but is that the purpose of bitbases?
Now you are getting philospophical. You said the engine searches better than the dll, which I pointed out that dll produces evaluations only. For KBNK mating you only need one table and nothing else. Infact mobility and other irrelevant evals could elongate finiding the mate. The dll provides you just that so it CAN'T be any worse. Whatever else the engine does, like prunings/reductions is upto the engines. HG in the other thread clamined he can do it in 3 plies, but I know my scorpio's pruning and reductions probably won't allow that. So your statement is simply wrong, you can do as well using search-dll_eval than a native search-eval combo. The 'philosophical argument' you raised is moot, as one can get WDL scores from >0, <0, =0. No one who uses Scorpio bitbases does that however, because it doesn't make sense to go backwards.
User avatar
hgm
Posts: 27809
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Scorpio & egbb issue (OSX)

Post by hgm »

Note the 3-ply estimate was only for not blundering away material. With two ply you can unwittingly place B and N such that the bare King can step in between to fork them.

[d]8/8/8/3N4/5B2/3k4/8/3K4 b
Ply 2: Ke4! Ply 3: stand pat.

So a 3-ply search tells you exactly the same as what a WDL bitbase for KBNK could tell you. I have no idea if a heuristic recognized could be made that is good enough to always win at 3 ply. (Without using large tables. With a DTM table you obviously only need a 1-ply search to play perfectly.)