Syzygy and draw by repetition

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Michel
Posts: 2272
Joined: Mon Sep 29, 2008 1:50 am

Re: Syzygy and draw by repetition

Post by Michel »

kbhearn wrote:Because you've had a repetition at all, it's indicative the engine has no clue how to progress by the 'natural' evaluation. You may as well just follow strict DTZ til the counter resets.
I guess agree with this principle. It does not seem to lead to bad DTZ behaviour (silly sacrifices).
Ideas=science. Simplification=engineering.
Without ideas there is nothing to simplify.
jwes
Posts: 778
Joined: Sat Jul 01, 2006 7:11 am

Re: Syzygy and draw by repetition

Post by jwes »

If I understand correctly, using just DTZ for KRPk would typically result in:

Promote pawn to queen.
Sacrifice queen.
Mate with rook.
kbhearn
Posts: 411
Joined: Thu Dec 30, 2010 4:48 am

Re: Syzygy and draw by repetition

Post by kbhearn »

jwes wrote:If I understand correctly, using just DTZ for KRPk would typically result in:

Promote pawn to queen.
Sacrifice queen.
Mate with rook.
It could. But why is there a repetition since last progress move in the history of a KRPk ending? (and note that after the pawn was pushed once it'd go back to assuming the engine's eval could guide it to a win unless the 50 move rule was encroaching or the engine repeated positions again).

Mostly you'd expect to see repetitions come up in endings like KQkrp where you have to make a sequence of zugzwangs to maneuvre the attacking king behind the pawn and the eval may not understand what progress is.
Dirt
Posts: 2851
Joined: Wed Mar 08, 2006 10:01 pm
Location: Irvine, CA, USA

Re: Syzygy and draw by repetition

Post by Dirt »

jwes wrote:If I understand correctly, using just DTZ for KRPk would typically result in:

Promote pawn to queen.
Sacrifice queen.
Mate with rook.
Probably not. To guarantee the strange play it has to be able to force the acceptance of the queen sacrifice, and that has to be faster than the mate. A queen sacrifice is much more likely in a KQBNk ending.
Deasil is the right way to go.