Surprise ending (from Winge - Toro ICCF)

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

Moderators: hgm, Rebel, chrisw

Jouni
Posts: 3315
Joined: Wed Mar 08, 2006 8:15 pm

Surprise ending (from Winge - Toro ICCF)

Post by Jouni »

[D]r7/8/2K4p/8/1B1k4/P6P/8/1Rb5 b - - 0 93

-Bxa3! = forced draw
Jouni
User avatar
Ajedrecista
Posts: 1977
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Surprise ending (from Winge - Toro, ICCF).

Post by Ajedrecista »

Hello Jouni:
Jouni wrote:[D]r7/8/2K4p/8/1B1k4/P6P/8/1Rb5 b - - 0 93

-Bxa3! = forced draw
Spark does not have problems in this position.

Analysis by Spark 1.0 w32 (using two cores) in an Intel Pentium D930 (3 GHz), with 512 MB of hash, running under Arena 2.0.1 GUI:
FEN: r7/8/2K4p/8/1B1k4/P6P/8/1Rb5 b - - 0 93

Spark-1.0-win32-mp:

1 00:00 32 0 -4,00 h6h5 Bb4c5+ Kd4e4 Rb1xc1
1 00:00 52 0 -3,97 Bc1b2 Rb1xb2
1 00:00 105 0 -2,70 Bc1d2 Bb4xd2 Ra8a6+ Kc6d7 Ra6xa3
1 00:00 117 0 -0,12 Bc1xa3

2/1 00:00 337 0 -0,14 Bc1xa3 Rb1d1+ Kd4e4 Rd1e1+ Ke4d4

3/3 00:00 883 0 -0,10 Bc1xa3 Rb1a1 Ra8c8+ Kc6d7

4/4- 00:00 1.345 0 -0,35 Bc1xa3 Rb1a1 Ra8c8+ Kc6d7
4/6- 00:00 2.759 0 -0,69 Bc1xa3 Rb1a1 Ra8c8+ Kc6d7
4/6 00:00 4.906 0 -0,57 Kd4d3 Kc6d5 Kd3c2 Rb1a1
4/6 00:00 5.831 0 -0,48 Kd4e4 Rb1a1 Bc1b2 Ra1e1+ Ke4d3

5/6- 00:00 7.420 0 -0,73 Kd4e4 Rb1a1 Bc1b2 Ra1e1+ Ke4d3
5/7 00:00 14.897 0 -0,69 Bc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pm

Re: Surprise ending (from Winge - Toro, ICCF).

Post by syzygy »

Ajedrecista wrote:I stopped the analysis after a minute. Spark found ...,Bxa3 with less than 3.3e+6 searched nodes!
Using tablebases?
User avatar
Ajedrecista
Posts: 1977
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Surprise ending (from Winge - Toro, ICCF).

Post by Ajedrecista »

Hello Ronald:
syzygy wrote:
Ajedrecista wrote:I stopped the analysis after a minute. Spark found ...,Bxa3 with less than 3.3e+6 searched nodes!
Using tablebases?
AFAIK, Spark can not use EGTB. I just tried a K + R vs. K position with Spark and it runs into depth instead giving the exact DTM value; furthermore, Arena showed '0 TBHits'.

I have all 3, 4 and 5-man EGTB of both Nalimov and Gaviota formats but Spark can not use them. I also looked into the configuration window of Spark and I did not find a place to type the EGTB path.

Regards from Spain.

Ajedrecista.
syzygy
Posts: 5569
Joined: Tue Feb 28, 2012 11:56 pm

Re: Surprise ending (from Winge - Toro, ICCF).

Post by syzygy »

Ajedrecista wrote:AFAIK, Spark can not use EGTB. I just tried a K + R vs. K position with Spark and it runs into depth instead giving the exact DTM value; furthermore, Arena showed '0 TBHits'.

I have all 3, 4 and 5-man EGTB of both Nalimov and Gaviota formats but Spark can not use them. I also looked into the configuration window of Spark and I did not find a place to type the EGTB path.
Interesting. Using 6-piece tablebases my engine finds Bxa3 immediately and gives it a draw value after 147839 nodes, but without tablebases it prefers other moves. After Bxa3 Ra1 Bxb4 Rxa8 the position is a tablebase draw, but without tablebases most engines will probably not understand this.

Now that I have a better look at Spark's solution: it does not work ;). After Bxa3 Ra1 Kc4 the position is won for white:
[D]r7/8/2K4p/8/1Bk5/b6P/8/R7 w - - 2 3
My engine gives Bxa3 Ra6+ Kc7 Ra5 Bb2 Rh5 Ra3 Rd5 Bc1 h5 Ra6 Rf5 h4 Rf7+ Kd8 Rf8+ Ke7 Rc8 Ra5 Rc7+ Kf6 Rc6+ Kg5 Kb4 Bd2+ Rc3 Bxc3+ after which it is a tablebase win.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Surprise ending (from Winge - Toro, ICCF).

Post by michiguel »

Ajedrecista wrote:Hello Jouni:
Jouni wrote:[D]r7/8/2K4p/8/1B1k4/P6P/8/1Rb5 b - - 0 93

-Bxa3! = forced draw
Spark does not have problems in this position.

Analysis by Spark 1.0 w32 (using two cores) in an Intel Pentium D930 (3 GHz), with 512 MB of hash, running under Arena 2.0.1 GUI:
FEN: r7/8/2K4p/8/1B1k4/P6P/8/1Rb5 b - - 0 93

Spark-1.0-win32-mp:

1 00:00 32 0 -4,00 h6h5 Bb4c5+ Kd4e4 Rb1xc1
1 00:00 52 0 -3,97 Bc1b2 Rb1xb2
1 00:00 105 0 -2,70 Bc1d2 Bb4xd2 Ra8a6+ Kc6d7 Ra6xa3
1 00:00 117 0 -0,12 Bc1xa3

2/1 00:00 337 0 -0,14 Bc1xa3 Rb1d1+ Kd4e4 Rd1e1+ Ke4d4

3/3 00:00 883 0 -0,10 Bc1xa3 Rb1a1 Ra8c8+ Kc6d7

4/4- 00:00 1.345 0 -0,35 Bc1xa3 Rb1a1 Ra8c8+ Kc6d7
4/6- 00:00 2.759 0 -0,69 Bc1xa3 Rb1a1 Ra8c8+ Kc6d7
4/6 00:00 4.906 0 -0,57 Kd4d3 Kc6d5 Kd3c2 Rb1a1
4/6 00:00 5.831 0 -0,48 Kd4e4 Rb1a1 Bc1b2 Ra1e1+ Ke4d3

5/6- 00:00 7.420 0 -0,73 Kd4e4 Rb1a1 Bc1b2 Ra1e1+ Ke4d3
5/7 00:00 14.897 0 -0,69 Bc1f4 Bb4c5+ Kd4d3 Rb1b4 Ra8c8+ Kc6d5 Bf4e5 Rb4b3+ Kd3c2
5/8 00:00 23.821 0 -0,63 Bc1g5 Bb4c5+ Kd4d3 Bc5d6 Ra8a6+ Kc6d5 Ra6a5+ Kd5e6

6/8 00:00 30.299 0 -0,68 Bc1g5 Bb4d6 Ra8a6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