i think i am out of the jungle.Sven Schüle wrote:
It seems our misunderstanding was only caused by my assumption that you were looking at positions *after* a knight move like 4.Nb1, while you now seem to look at positions *prior* to such a move. If you reread your postings then you may get the same impression like I that it did really look like that ...
I think we can agree upon the fact that in a position *after* a knight move the ep target square is never set, so there is no point in thinking about repetitions of such a position.
Maybe you were thinking of the point in a game where a draw by repetition would actually be *claimed*, but that is clearly a separate issue since the first goal would be to correctly *detect* the repetition itself. (In fact you still would not claim the draw *after* making the next move, so there is still no point in seeing any draw *after* a knight move!)
Furthermore, I can agree on most everything else you have written now.
Sven

based on the assumption 4a+4b, it is clear now
why only putting the ept into the key by dblPwnPush, we will miss
some repetitions.
The only dblPwnPush strategy would detect the position 2 plies too late, but still keeps the rules and is a valid approach.
The other way around we may get a repetition 2 plies too early,but
that doesnt matter anyway, because most of us hack the repetition
detection with a repetitionCounter==1 condition already.
So, for functionality it doesnt play a role which approach someone uses.
From the view of effectiveness the 4a plus 4b approach should be considered.
@HGM : your refreshing ideas are always welcome.
@Sven: thx for your patience
Thx, Michael