Sorry if changing the order of my quotes misrepresented your argument; I added the second reaction as an afterthought after addressing what I considered the most important poiint I wanted to address.syzygy wrote: ↑Thu Jan 22, 2026 2:41 am I believe in the past and perhaps also now you have proposed two different things:
1. Make assumptions like "underpromotions are not necessary", "two queens are not necessary". This results in incorrect tablebases, but one can of course decide to accept rare mistakes.
2. Generate only "sensical" tables but only for those pawn slices which are "provably" correct. I suspect this is not going to be a very effective method basically for the reason that there will always be positions in any pawn slice of a sensical table whose WDL value, somewhere down the line, relies on the WDL value of some position in a nonsensical table. Since you did not generate the latter, you cannot generate the former.
Now and in the past I have always argued from the perspective of P-slices; from a theoretical point of view what you call 'tablebases' (presumably meaning all positions with a given material composition) has no special significance; it is just a collection of subsets of positions connected by reversible moves (the P-slices, which need to be solved all at once) connected by irreversible moves to define an order relation between them that allows sequential generation. Just like some material compositions will occur more frequently than others (e.g. KRPPkrpp a lot, KQQQkqqq never). So as far as I am concerned the relevant thing is to generate P-slices that are useful in practice, and that KRPPkrpp also has a small fraction of P-slices that virtually never occur, and cannot be solved should not discourage one from solving those that you can.
I do not propose to acceptany mistakes. You can easily detect which P-slices are incorrect. Assumptions about what is not necessary are used to ignore conversions to them during the building, which is equivalent to assuming converting to them is a loss for the strong side. You can then solve again under the assumption that is a win for that side, to see if any of the positions in the P-slice would change its WDL. If not, the P-slice was solved fully correct WDL-wise, and can be used as successor in a DTZ build of P-slices convering to it without even affecting the DTZ values in them. If some positions change WDL you can simply add the P-slice to the set that you could not do.
Note that most P-slices have no promotions at all, because there are no Pawns on 7th rank. In fact most P-slices have the most advanced Pawns quite far from 8th rank, and retrograde solving must pass through many P-slices closer to promotion. Each such step tend to cleanse positions affected by the promotion assumptions from the EGT, because the retrograde propagation tends to find alternative winning conversions, so that they get the same WDL even though they have different DTZ, and DTZ errors do not propagate through predecessors if the WDL is correct. So I think you are way to pessimistic when assuming reasonable promotion assumptions (whether they are about underpromotion or the number of allowed surviving promotion pieces) would spoil the majority of P-slices.
E.g. in the position
[d]8/5P1k/5K2/8/8/8/8/8 w
1. f8=Q would spoil the win by checkmating, and would not have DTZ=1 ply that promotion to Rook would give it. But since white can play 1. Ke7 the position is still easily won, except that it now gets DTZ=3 ply. If the white King would have been at h5 it is more serious: 1. f8=R would be a win, but any other move will draw because 1... Kg7 will lose you the Pawn. But what was black's previous move here? (Which the generation will now try to make retrogradely.) The only case where he was not already next to Pawn or King (and then would avoid losing by capture that) is h8, and from there Kg7 would have drawn even with when considering underpromotion. So the damage remains limited to a single U position in the entire P-slice.
This makes it impossible for the P-slice with Pf6 to use 1. f6-f7 as a winning conversion, but it can play 1. Kg5 instead (1... Kg8 2. Kg6 Kf8 3. f7 or 2... Kh8 3. Kf7 Kh7 4. Ke7) to win that position in an alternative way, not suffering any WDL damage.
