jdart wrote: ↑Sat Dec 01, 2018 3:04 am
I have looked recently at merging the CFish version of tbprobe.c into my fork of Fathom, but there a lot of diffs, so that it is kind of a tall order. And I don't have 7-man bases to test it with.
WDL for N pieces requires WDL for (N-1) pieces and below.
Got it, thanks.
What is not needed for WDL are the tables that can be reached through promotions.
So if you are only interested in KRPPvKRP and only need WDL, then you must download just KRPPvKRP and all 6-piece WDL TBs (or at least those that can be reached through captures, but you're not going to gain much by being selective with 6-piece tables if you are downloading the much bigger 7-piece tables). You don't need all KRXYvKRZ if you are only interested in adjudicating KRPPvKRP positions or in analysing positions for which KRPPvKRP is important.
(But if you want to play out KRPPvKRP positions to mate reliably, you need all the tables that can be reached through promotion and the corresponding DTZ tables.)
The total size of 6 men WDL is less than 1% the size of 7 men WDL, so cherrypicking those tables is rather excessive. Nonetheless, the explanation helps better understanding the inner workings of syzygy.
One of the issues re Fathom and the CFish 7-man code is that the latter assumes you have a full legal move generator available - of course CFish has that, but it is GPL and I'd like to keep Fathom more permissively licensed, plus not all engines have/need/want a Stockfish-style movegen. So that implies a pluggable movegen and a fallback implementation as was done for other areas of Fathom. That is doable but not so easy.
jdart wrote: ↑Tue Mar 19, 2019 4:17 amOne of the issues re Fathom and the CFish 7-man code is that the latter assumes you have a full legal move generator available - of course CFish has that, but it is GPL and I'd like to keep Fathom more permissively licensed, plus not all engines have/need/want a Stockfish-style movegen. So that implies a pluggable movegen and a fallback implementation as was done for other areas of Fathom. That is doable but not so easy.
But there is no difference between 6 men and 7 men in this respect.
I guess the bigger problem is that the Cfish code was rewritten/cleaned up, so it is not trivial to see what really has changed.