Long analysis of some opening positions

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

Moderators: hgm, Rebel, chrisw

User avatar
Ajedrecista
Posts: 1971
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Long analysis of some opening positions.

Post by Ajedrecista »

Hello:

Both predicted score and centipawns evaluation can be calculated from the Lc0 formula:

Technical Explanation of Leela Chess Zero

Code: Select all

cp = 111.714640912 * tan(1.5620688421 * Q)
score = (Q + 1)/2  // 0 =< score =< 1
Q = 2*score - 1  // -1 =< Q =< 1

pawns = cp/100 = 1.11714640912 * tan(1.5620688421 * Q)
pawns = 1.11714640912 * tan(1.5620688421 * (2*score - 1))

score = 0.5 + (0.5/1.5620688421)*atan(pawns/1.11714640912)
Computing Taylor series of pawns around score = 0.5 and the same for score around pawns = 0:

Code: Select all

pawns ~ 1.745059597*(2*score - 1) // When score is close to 50%
score ~ 0.5 + 0.2865231655*pawns // When pawns are close to 0
In other words, a rate of change of circa 3.49 cp for each 1% in score (~ 7 Elo) when score is close to 50%; and a rate of change of circa 0.2865% in score (~ 2 Elo) for each cp when cp are close to 0.

------------------------

Once said that, I am curious about Zaitsev (9. ... Bb7), Chigorin (9. ... Na5) and Breyer (9. ... Nb8) variations of the Spanish Opening:

1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3

Current analysis of chessdb.cn Chess Cloud Database Query Interface returns the following evals:

Code: Select all

   Move      Evals from white POV
9. ... Bb7          +14 cp
9. ... Na5          +16 cp
9. ... Re8          +16 cp
9. ... h6           +23 cp
9. ... Bd7          +27 cp
9. ... a5           +34 cp
9. ... Nb8          +36 cp
9. ... Be6          +38 cp
9. ... Nd7          +38 cp
Though I think that those are SF evals, which might be different from Lc0 evals.

Regards from Spain.

Ajedrecista.
OneTrickPony
Posts: 157
Joined: Tue Apr 30, 2013 1:29 am

Re: Long analysis of some opening positions

Post by OneTrickPony »

Move Evals from white POV
9. ... Bb7 +14 cp
9. ... Na5 +16 cp
9. ... Re8 +16 cp
9. ... h6 +23 cp
9. ... Bd7 +27 cp
9. ... a5 +34 cp
9. ... Nb8 +36 cp
9. ... Be6 +38 cp
9. ... Nd7 +38 cp
Interesting, 9...Na5 has a reputation of being by far the worst out of the 3 major lines (with Bb7/Re8 being the best).
I will run some of those. It will take a while as I usually let it run overnight when there is nothing else to run connected to my business.
OneTrickPony
Posts: 157
Joined: Tue Apr 30, 2013 1:29 am

Re: Long analysis of some opening positions

Post by OneTrickPony »

Zaitsev variation:

[pgn]1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4 Nf6 5.O-O Be7 6.Re1 b5 7.Bb3 d6 8.c3 O-O 9.h3 Bb7 10.d4 Re8 11.Nbd2 Bf8[/pgn]

1. 37 [+54.01] 12.a3 h6 13.Bc2 Nb8 14.b3 Nbd7 15.Bb2 Rb8 16.Rb1 g6 17.b4 Nh5 18.c4 Nf4 19.cxb5 axb5 20.Nb3 Ba8 21.Qd2 h5 22.dxe5 Bh6 23.Kf1 Nxe5 24.Nxe5 dxe5 25.Qxd8 Rbxd8 26.Red1 f6 27.Nc5 Bf8 28.Nd7 Be7 29.Rbc1 Kf7 30.Bb3+ Kg7 31.g3 Nxh3 32.Rxc7 Ng5 33.f4 Nxe4 34.fxe5 fxe5 35.Bxe5+ Kh6 36.Bf7 Rf8 37.Nxf8 Rxd1+ 38.Ke2 Rd2+ 39.Ke1 Bd6 40.Bf4+ Bxf4 41.gxf4 Rd8 42.Nxg6 Nf6 43.Nh4 Be4 44.Rc5 Rd3 45.Rxb5 Rxa3 46.Be6 Ra6 47.Re5 Ra4 48.b5 Bh7 49.Ng2 Rb4 50.Ke2 Ne4 51.Ke3
2. 37 [+54.00] 12.Bc2 g6 13.d5 Nb8 14.b3 c6 15.c4 Nbd7 16.Nf1 a5 17.Ne3 cxd5 18.Nxd5 Ba6 19.Bg5 h6 20.cxb5 Bxb5 21.Bd3 Rb8 22.Nxf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2 Rd3 33.Be1 Ke6 34.b5
6. 37 [+52.82] 12.Re2 h6 13.Bc2 Nb8 14.a4 Nbd7 15.Re1 Rb8 16.b4 Ba8 17.Bb2 Qc8 18.axb5 axb5 19.Ra5 c6 20.Qa1 Bb7 21.c4

275M nodes, 90GB of RAM, JHortos J96-28 net (also 6max Syzygy but that search managed to get one TB hit).

Not surprisingly 12.a3 is the main move. I think 12.a4 is more or less analyzed down to draw. I am surprised to see 12.d5 being as close eval wise. I always considered 12.a3 to be a better move. I am surprised we don't see more of Zaitsev at the top level chess btw. It results in interesting complex positions and doesn't seem to be worse than Berlin/Marshall/Open.