change a position's mate score from 19 to 21 #62
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR proposes to raise the
bm
value for the position8/2p5/7p/2pR3r/8/6R1/2P4r/4K2k w - -
from 19 to 21, see also #52. The new entry inmatetrack.epd
readsThe position is well explored on cdb, with also the second best of white's moves along the mating line analysed within cdb to the checkmate leaf node (if it also leads to mate). It seems the puzzle composer simply forgot about the move
16..Rf5+
, with the next best alternative moves leading to mate in 19.I have also done a local backward analysis, using the command
python provepvs.py --epdFile mate21.epd --cdbFile mate21pv.epd --engine stockfish --threads 1 --hash 8192 --depth 200 --time 7200 --depthMin 200 --depthMax 200 --timeFill 3600 >& log.txt &
. The output of which is as below:Output
The output confirms the mate scores along the mating line, to in general very high depths. Combined with the relatively few pieces, the relatively low piece mobility and the rather short mate length, this is a strong indication that the best mate for this position is indeed a mate in 21.
PS: Note also the very deep analysis in #52 (comment).