WAC.002 by evaluation?

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

Moderators: hgm, Rebel, chrisw

metax
Posts: 344
Joined: Wed Sep 23, 2009 5:56 pm
Location: Germany

WAC.002 by evaluation?

Post by metax »

A common chess endgame rule says "two connected passers on the sixth beat a rook". Is there any program that happens to solve WAC.002 by eval?

[D]8/7p/5k2/5p2/p1p2P2/Pr1pPK2/1P1R3P/8 b - -
kgburcham
Posts: 2016
Joined: Sun Feb 17, 2008 4:19 pm

Re: WAC.002 by evaluation?

Post by kgburcham »

[D] 8/7p/5k2/5p2/p1p2P2/Pr1pPK2/1P1R3P/8 b - -

Stockfish 1.7

22.00 0:01 -5.01 1...Rxb2 2.Rxb2 c3 3.Rb6+ Kg7 4.Rb7+ Kh6 5.Rb6+ Kh5 6.Rf6 c2 7.Rxf5+ Kh6 8.Rf6+ Kg7 9.Rd6 c1Q 10.Rd7+ Kf6 11.Rd6+ Kf7 12.Rxd3 Ke6 13.Ke2 Qb2+ 14.Kf3 Qxh2 (17.259.716) 11063
23.01 0:04 -7.55 1...Rxb2 2.Rxb2 c3 3.Rb6+ Ke7 4.Rb7+ Kd6 5.Rb6+ Kc5 6.Rb8 c2 7.Rc8+ Kd6 8.Rd8+ Ke6 9.e4 c1Q 10.exf5+ Kxf5 11.Rd5+ Ke6 12.Rxd3 Qf1+ 13.Ke4 Qh1+ 14.Rf3 Qxh2 (54.881.696) 12258
24.01 0:05 -7.87 1...Rxb2 2.Rxb2 c3 3.Rb6+ Ke7 4.Rb7+ Kd6 5.Rb6+ Kc5 6.Rb8 c2 7.Rc8+ Kd6 8.Rd8+ Ke6 9.e4 c1Q 10.exf5+ Kxf5 11.Rd5+ Ke6 12.Rxd3 Qf1+ 13.Ke4 Qh1+ 14.Rf3 Qxh2 (71.470.176) 12587
25.01 0:06 -8.16 1...Rxb2 2.Rxb2 c3 3.Rb6+ Ke7 4.Rb7+ Kd6 5.Rb6+ Kc5 6.Rb8 c2 7.Rc8+ Kd6 8.Rd8+ Ke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 d2 3.Ke2 c3 4.Rf1 d1Q+ 5.Kxd1 Rb1+ 6.Kc2 Rxf1 7.Kxc3 Rh1 8.h4 Rxh4 9.Kb4 h5 10.Kxa4 Rh1 11.Kb3 h4 12.a4 h3 13.Kb2 Rh2+ 14.Ka3 Re2 (5.723.776.338) 14463
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: WAC.002 by evaluation?

Post by Matthias Gemuh »

kgburcham wrote: 8/7p/5k2/5p2/p1p2P2/Pr1pPK2/1P1R3P/8 b - -

Stockfish 1.7

22.00 0:01 -5.01 1...Rxb2 2.Rxb2 c3 3.Rb6+ Kg7 4.Rb7+ Kh6 5.Rb6+ Kh5 6.Rf6 c2 7.Rxf5+ Kh6 8.Rf6+ Kg7 9.Rd6 c1Q 10.Rd7+ Kf6 11.Rd6+ Kf7 12.Rxd3 Ke6 13.Ke2 Qb2+ 14.Kf3 Qxh2 (17.259.716) 11063
23.01 0:04 -7.55 1...Rxb2 2.Rxb2 c3 3.Rb6+ Ke7 4.Rb7+ Kd6 5.Rb6+ Kc5 6.Rb8 c2 7.Rc8+ Kd6 8.Rd8+ Ke6 9.e4 c1Q 10.exf5+ Kxf5 11.Rd5+ Ke6 12.Rxd3 Qf1+ 13.Ke4 Qh1+ 14.Rf3 Qxh2 (54.881.696) 12258
That seems to be by search, not eval.

Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
metax
Posts: 344
Joined: Wed Sep 23, 2009 5:56 pm
Location: Germany

Re: WAC.002 by evaluation?

Post by metax »

By search (almost) every engine can find it... The question is if there is a program that has good knowledge about connected passed pawns and can find it by eval.
zamar
Posts: 613
Joined: Sun Jan 18, 2009 7:03 am

Re: WAC.002 by evaluation?

Post by zamar »

metax wrote:A common chess endgame rule says "two connected passers on the sixth beat a rook".
This is one of those rules which are expressed "in human terms", but which are strictly not true.

Some exceptions:

a) rook can immediately capture one pawn.
b) rook can fork pawn and king with check
c) defending king can get in front of the pawns (with the aid of discovered check for example)

So it's a search issue anyway.
Joona Kiiski
metax
Posts: 344
Joined: Wed Sep 23, 2009 5:56 pm
Location: Germany

Re: WAC.002 by evaluation?

Post by metax »

zamar wrote:
metax wrote:A common chess endgame rule says "two connected passers on the sixth beat a rook".
This is one of those rules which are expressed "in human terms", but which are strictly not true.

Some exceptions:

a) rook can immediately capture one pawn.
b) rook can fork pawn and king with check
c) defending king can get in front of the pawns (with the aid of discovered check for example)

So it's a search issue anyway.
So you think an engine that would implement this rule in its evaluation would give a gross misevaluation in many positions where connected passed pawns play an important role?
zamar
Posts: 613
Joined: Sun Jan 18, 2009 7:03 am

Re: WAC.002 by evaluation?

Post by zamar »

metax wrote: So you think an engine that would implement this rule in its evaluation would give a gross misevaluation in many positions where connected passed pawns play an important role?
I'd say that exact version of that rule is so complicated that implementing it, is not worth it.
Joona Kiiski
Uri Blass
Posts: 10282
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: WAC.002 by evaluation?

Post by Uri Blass »

metax wrote:A common chess endgame rule says "two connected passers on the sixth beat a rook". Is there any program that happens to solve WAC.002 by eval?

[D]8/7p/5k2/5p2/p1p2P2/Pr1pPK2/1P1R3P/8 b - -
The rule is simply wrong and the program that solve WAC.002 by evaluation will also play Rxb2 in the following position after search of 3 plies Rxb2 Rxb2 c3 because 2 connected passers on the 6th beat a rook.

[D]8/7p/5k2/5p2/p1p2P2/Pr1p1KP1/1P1R3P/8 b - - 0 1

Uri
metax
Posts: 344
Joined: Wed Sep 23, 2009 5:56 pm
Location: Germany

Re: WAC.002 by evaluation?

Post by metax »

Uri Blass wrote:
metax wrote:A common chess endgame rule says "two connected passers on the sixth beat a rook". Is there any program that happens to solve WAC.002 by eval?

[D]8/7p/5k2/5p2/p1p2P2/Pr1pPK2/1P1R3P/8 b - -
The rule is simply wrong and the program that solve WAC.002 by evaluation will also play Rxb2 in the following position after search of 3 plies Rxb2 Rxb2 c3 because 2 connected passers on the 6th beat a rook.

[D]8/7p/5k2/5p2/p1p2P2/Pr1p1KP1/1P1R3P/8 b - - 0 1

Uri
No, because it will see by search that the two connected passers get lost. ;)
Uri Blass
Posts: 10282
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: WAC.002 by evaluation?

Post by Uri Blass »

metax wrote:
Uri Blass wrote:
metax wrote:A common chess endgame rule says "two connected passers on the sixth beat a rook". Is there any program that happens to solve WAC.002 by eval?

[D]8/7p/5k2/5p2/p1p2P2/Pr1pPK2/1P1R3P/8 b - -
The rule is simply wrong and the program that solve WAC.002 by evaluation will also play Rxb2 in the following position after search of 3 plies Rxb2 Rxb2 c3 because 2 connected passers on the 6th beat a rook.

[D]8/7p/5k2/5p2/p1p2P2/Pr1p1KP1/1P1R3P/8 b - - 0 1

Uri
No, because it will see by search that the two connected passers get lost. ;)
It is not going to see it by search if the remaining depth is too small
and if you do not care about cases when the remaining depth is too small then I do not see why do you need to see it by evaluation.

Uri