Can white survive?

General discussion about computer chess...
Post Reply
User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Can white survive?

Post by User923005 » Thu Dec 06, 2012 3:04 am

In this post:
http://rybkaforum.net/cgi-bin/rybkaforu ... ?tid=26179
there seems to be the suggestion or implication that white should be able to at least draw the given position:
4r1k1/3n1p2/p4rp1/2pP3p/1qP5/RP2BBbP/3Q2P1/R5K1 w - -
It appears to me that white is in an inferior position. Does any analysis by other engines tend to prove otherwise?

Code: Select all

Analysis of Q:\hur.epd   
12/5/2012 5:37:35 PM Level: 1200 Seconds
Analyzing engine: Stockfish-231z-ub

 1                      
    Avoid move: 
    Best move (Stockfish-231z-ub): Qd2-c1
    Not found in: 20:00
     2/2	00:00	         798	159,600	+1.65	Qxb4 cxb4
     3/3	00:00	       1,850	308,333	+1.65	Bg5 Qxd2 Bxd2
     4/4	00:00	       3,062	437,428	+1.53	Rxa6 Rxa6 Rxa6 Qxb3
     5/5	00:00	       9,551	1,061,222	+1.41	Bg5 Qxd2 Bxd2 Ne5 Be2 Bf2+ Kh1
     6/7	00:00	      10,663	1,066,300	+1.29	Bg5 Qxd2 Bxd2 Be5 Re1 Bd4+ Kh2
     7/12	00:00	      14,741	1,052,928	+1.37	Bg5 Qxd2 Bxd2 Be5 Re1 Bd4+ Kf1 Ne5
     8/14	00:00	      21,046	1,169,222	+1.33	Bg5 Qxd2 Bxd2 Be5 Re1 Bd4+ Kf1 Rxe1+ Kxe1 Rb6 g3
     9/15	00:00	      96,558	1,788,111	+1.09	R1a2 Ne5 Be2 Nd7 Bd1 Qb7 Bc2 Qc8 Ra5 Ne5 Bxc5
    10/17	00:00	     221,068	1,842,233	+0.76	Qc1 Ne5 Be2 Nd7 Bd3 Be5 Bd2 Bd4+ Kh1 Qb7 R1a2 Ne5
    11/17	00:00	     235,258	1,867,126	+0.76	Qc1 Ne5 Be2 Nd7 Bd3 Be5 Bd2 Bd4+ Kh1 Qb7 R1a2 Ne5
    12/20	00:00	     426,207	2,029,557	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	-1.01	Qc1 Be5 Rb1 Bd4 Bxd4 cxd4 Ra2 d3 Kh1 Nc5 Rab2 a5 Kg1 Rb6 Kh2 h4 Qf4 Qc3 Rf2 Rf6 Qd2 Qd4 Qb2 Nxb3 Qxd4 Nxd4 Rd1 Rc8 Rxd3 Rxc4 Ra2 a4 Bd1 Rd6 Rxa4 Rxa4 Bxa4 Rxd5
    33/63+	16:48	2,908,446,975	2,883,510	-0.92	Qc1 Be5 Rb1 Bd4 Bxd4 cxd4 Ra2 d3 Kh1 Nc5 Qd2
    33/63+	17:00	2,942,445,647	2,882,585	-0.84	Qc1 Be5 Rb1 Bd4 Bxd4 cxd4 Ra2 d3 Kh1 Nc5 Qd2
   12/5/2012 5:57:38 PM, Time for this analysis: 00:20:00, Rated time: 20:00

0 of 1 matching moves
12/5/2012 5:57:39 PM, Total time: 12:20:03 AM
Rated time: 20:00 = 1200 Seconds
In case you were wondering on the engine, the z designator is because I added a constructor to zero out some class/struct members for SplitPoint:

Code: Select all

	SplitPoint()
	{
		pos = 0;
		master = 0;
		mp = 0;
		parent = 0;
		memset(activePositions, 0, sizeof activePositions);
	}
I was getting asserts fired because activePositions is uninitialized {which explains the letter z in the name}.
The ub stands for unitbuf. I added this code to main:
std::cout.setf(std::ios::unitbuf); // without this, communication is unreliable
std::cin.setf(std::ios::unitbuf); // without this, communication is unreliable
because the standard stockfish occasionally becomes disconnected from the GUI.
Hence, the designator -ub

The constructor change does not seem to affect the speed much, and the new version is fairing well in my current test:

Code: Select all

   Program                          Elo    +   -   Games   Score   Av.Op.  Draws
 1 Stockfish-231z-ub              : 2858   85  47    21    59.5 %   2791   81.0 %
 2 Stockfish 121204Qi x64         : 2815   72  68    22    52.3 %   2799   77.3 %
 3 Stockfish 121204Q x64 SSE4.2   : 2811   91  90    23    52.2 %   2796   60.9 %
 4 Stockfish-231x-ub              : 2789   68  72    22    47.7 %   2805   77.3 %
 5 Stockfish 121204Q x64          : 2787   79  81    23    47.8 %   2802   69.6 %
 6 Stockfish-231y-ub              : 2784   51  62    21    47.6 %   2800   85.7 %
 7 Stockfish 121204Qi x64 SSE4.2  : 2758   79  86    22    43.2 %   2806   68.2 %

User923005
Posts: 616
Joined: Thu May 19, 2011 1:35 am

Re: Can white survive?

Post by User923005 » Thu Dec 06, 2012 1:07 pm

After a few more games, it appears that the change is neutral:

Code: Select all

  Program                          Elo    +   -   Games   Score   Av.Op.  Draws

1 Stockfish 121204Qi x64         : 2811   31  30   105    51.9 %   2798   79.0 %
2 Stockfish-231y-ub              : 2809   30  30   104    51.4 %   2798   79.8 %
3 Stockfish-231z-ub              : 2806   35  35   104    51.0 %   2799   73.1 %
4 Stockfish 121204Q x64 SSE4.2   : 2803   38  38   104    50.5 %   2799   68.3 %
5 Stockfish 121204Qi x64 SSE4.2  : 2794   36  36   105    49.0 %   2801   71.4 %
6 Stockfish 121204Q x64          : 2794   35  35   104    49.0 %   2801   73.1 %
7 Stockfish-231x-ub              : 2783   33  34   104    47.1 %   2803   75.0 %
versions y & z are the same except for the zeroing of the structure members. Probably, the event is rare, or the speed loss from zero fill offsets any improvement due to correctness.

Post Reply