Sting SF 4.8.4 correction

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

Moderators: hgm, Rebel, chrisw

User avatar
Ozymandias
Posts: 1535
Joined: Sun Oct 25, 2009 2:30 am

Re: Sting SF 4.8.4 Another position to find

Post by Ozymandias »

lech wrote:
fishpov wrote: Here also any engine is not able to find white move to win.
[d]q1N5/b1p5/1pP2k2/pP3Bp1/P1P5/6P1/1K3P2/8 w - - 0 8
I can't find the win here too. Let me watch the solution. :oops:
I'm not sure that modifying an engine, to solve positions which can't be reached in a game, is beneficial.
This problem is entertaining, but there's no legal way of getting the black bishop to a7.
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Sting SF 4.8.4 Another position to find

Post by Vinvin »

Ozymandias wrote:
lech wrote:
fishpov wrote: Here also any engine is not able to find white move to win.
[d]q1N5/b1p5/1pP2k2/pP3Bp1/P1P5/6P1/1K3P2/8 w - - 0 8
I can't find the win here too. Let me watch the solution. :oops:
I'm not sure that modifying an engine, to solve positions which can't be reached in a game, is beneficial.
This problem is entertaining, but there's no legal way of getting the black bishop to a7.
???
I found a legal way in about 3 seconds : a5, Bc5, Ba7, b6
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting SF 4.8.4 Another position to find

Post by lech »

Thank you Herbert for the solution!
This example :roll: is very useful for my new idea. 8-)
I don't know how much beer I need to solve it :lol: but I think that it is the last serious and tough problem before my project. :?
BTW. I will add a code to recognize closed by 16 pawns positions quickly, too. :)
Maybe, I can't be friendly, but let me be useful.
User avatar
Ozymandias
Posts: 1535
Joined: Sun Oct 25, 2009 2:30 am

Re: Sting SF 4.8.4 Another position to find

Post by Ozymandias »

Vinvin wrote: ???
I found a legal way in about 3 seconds : a5, Bc5, Ba7, b6
Duh
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Sting SF 4.8.4 correction

Post by Vinvin »

Marek, here's 4 or 5 more fortress to solve with Sting ;-)
http://www.talkchess.com/forum/viewtopi ... =&start=10
lech wrote:I cleaned code of Sting and removed some doubt pieces (joyful creativity).
It seems to be a good start point for my next ideas, but now I need a longer rest.
I hope this version is finally stable and ready to be tested (ELO) if someone want to do it.

Link: http://www.mediafire.com/download/yvw4w ... sf-484.zip
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting SF 4.8.4 correction

Post by lech »

Vinvin wrote:Marek, here's 4 or 5 more fortress to solve with Sting ;-)
http://www.talkchess.com/forum/viewtopi ... =&start=10
lech wrote:I cleaned code of Sting and removed some doubt pieces (joyful creativity).
It seems to be a good start point for my next ideas, but now I need a longer rest.
I hope this version is finally stable and ready to be tested (ELO) if someone want to do it.

Link: http://www.mediafire.com/download/yvw4w ... sf-484.zip
Thanks Vincent, but now I try to improve the Sting's search. The found Stockfish's 2.1.1 bug at BETA changes my work.
If you can't see a gain between depths it means a possible DRAW. :P
Maybe, I can't be friendly, but let me be useful.
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Sting SF 4.8.4 correction

Post by Vinvin »

I can make comments on most of the following positions but please chose 5 to start ...
lech wrote:I prepared a list of endgame positions. Many of them Sting is able to solve very easly. Some need a strong machine, and some (a few) Sting SF 4.8.4 can't still solve.
If you want to help me, each information about these or other endgame positions difficult for Sting, are welcome.

Code: Select all

8/8/p2k1p2/1p1p3p/1P1P3p/P3NPP1/5K2/1b6 w - - bm Ng2;
1n6/Pp1p1p1p/1P1P1P1P/4K3/2p5/p7/rpp1P3/qkb1R3 w - - bm axb8N;
4N3/B6p/n2p4/rk1P4/p6p/P3Pp1P/3N1P1b/5K2 w - - bm Ke1;
8/p7/qkpN1p2/8/1B1P4/PP3K2/5P2/8 w - - bm Ba5+; 
6k1/7R/6P1/7P/8/6r1/8/K7 w - - bm Ka2;
8/8/8/8/1kB1q3/8/1PRb4/1K6 b - - bm Qh1+;
4kr2/5p1K/3p1Q2/1p4P1/4P3/1PP5/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p/7k/B7/5PP1/K6P/8 w - - bm Ne5;
2r5/prkpR1p1/2p1ppK1/P1p1N1B1/P1P1P3/8/8/8 w - - bm Bf4;
8/1R2k1p1/4P2p/5P1P/2K5/8/8/6r1 b - - bm Ke8;
8/p6p/2k3p1/4Pp2/2K2P1P/6P1/8/8 w - - bm h5;
1b6/3kB3/8/1KpPp2p/4Pp1P/5P2/8/8 w - - bm Bf8;
8/5pk1/r5pp/P7/3R3P/6P1/5PK1/8 w - - bm (Rd5 or Ra4 or both ?);
8/2p1q3/p3P3/2P4p/1PBP2kP/2N3P1/7K/8 w - - bm Be2+;
6K1/2r3Pp/k1P2p1p/8/p7/5P2/2PN4/8 w - - bm Kh8;
6k1/1pp2p2/3p4/p2P1Pp1/2P1n1Pp/4B1nP/PP4B1/4K3 w - - bn Bxe4;
4b3/1p2k3/p1p1p1p1/2P1P2p/1P3P1P/PK1B4/8/8 w - - bm Ka4;
8/8/4kpp1/3p1b2/p6P/2B5/6P1/6K1 b - - bm Bh3;
2k5/p7/Pp1p1b2/1P1P1p2/2P2P1p/3K3P/5B2/8 w - - bm c5;
1b3k2/2p2pp1/1pP1p2p/8/PP6/4P3/6NP/4K3 b - - bm b5;
8/1B6/3r2p1/5p1p/5P1P/4k1P1/8/6K1 b - - bm g5;
8/8/4b1p1/2Bp3p/5P1P/1pK1Pk2/8/8 b - - bm g5;
8/3Pk1p1/1p2P1K1/1P1Bb3/7p/7P/6P1/8 w - - bm g4;
8/6p1/4B2p/8/6P1/p2k1K2/6P1/8 w - - bm g5;
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting SF 4.8.4 correction

Post by lech »

Vinvin wrote:I can make comments on most of the following positions but please chose 5 to start ...
lech wrote:I prepared a list of endgame positions. Many of them Sting is able to solve very easly. Some need a strong machine, and some (a few) Sting SF 4.8.4 can't still solve.
If you want to help me, each information about these or other endgame positions difficult for Sting, are welcome.

Code: Select all

...
6k1/7R/6P1/7P/8/6r1/8/K7 w - - bm Ka2;
..
5th position it is a win after a deep zugzwang.

Sorry for the missing sources, but I believe that it is very easy to find it, :oops:

A pity, but all my work included the version 4.8.4 works with the serious Stockfish's 2.1.1 bug.
Try to solve this position (10x; clear hash before each try!):
[d]8/8/7p/3KNN1k/2p4p/8/3P2p1/8 w - - bm Kc6;
Each try should return the correct solution Kc6 very quickly ( ~~ before 27 depth). It does not happens! :P
Maybe, I can't be friendly, but let me be useful.
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Sting SF 4.8.4 correction

Post by Vinvin »

lech wrote:
Vinvin wrote:I can make comments on most of the following positions but please chose 5 to start ...
lech wrote:I prepared a list of endgame positions. Many of them Sting is able to solve very easly. Some need a strong machine, and some (a few) Sting SF 4.8.4 can't still solve.
If you want to help me, each information about these or other endgame positions difficult for Sting, are welcome.

Code: Select all

...
6k1/7R/6P1/7P/8/6r1/8/K7 w - - bm Ka2;
..
5th position it is a win after a deep zugzwang.

Sorry for the missing sources, but I believe that it is very easy to find it, :oops:

A pity, but all my work included the version 4.8.4 works with the serious Stockfish's 2.1.1 bug.
Try to solve this position (10x; clear hash before each try!):
[d]8/8/7p/3KNN1k/2p4p/8/3P2p1/8 w - - bm Kc6;
Each try should return the correct solution Kc6 very quickly ( ~~ before 27 depth). It does not happens! :P
I remember well this one : I analyzed it deeply 10 (or more) years ago ( http://www.stmintz.com/ccc/index.php?id=481338 ).
http://en.chessbase.com/post/john-nunn- ... y-is-sound
I test it some months ago, but I didn't select it for my Hard2015 because SF solved it easily on my I7-6*4GHz (around 1 minute).
I'll look more closely this evening.
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting SF 4.8.4 correction

Post by lech »

[d]8/8/7p/3KNN1k/2p4p/8/3P2p1/8 w - - bm Kc6; K. K. Behting, Baltische Schachblätter 1908
Vinvin wrote:I remember well this one : I analyzed it deeply 10 (or more) years ago ( http://www.stmintz.com/ccc/index.php?id=481338 ).
http://en.chessbase.com/post/john-nunn- ... y-is-sound
I test it some months ago, but I didn't select it for my Hard2015 because SF solved it easily on my I7-6*4GHz (around 1 minute).
I'll look more closely this evening.
It proves my words that engines can find some tough fortress easly.
Stockfish rejects a hole fortress (described by Jon Nunn in your second link :http://en.chessbase.com/post/john-nunn- ... y-is-sound), and the next correct one, close by score is found quickly. It is very important that engines can return a correct PV line (solution). The score is a question of interpretation always (excluding mate and draw).
Maybe, I can't be friendly, but let me be useful.