smirobth wrote:Here is a position that fixes the problem of multiple moves winning:
[D]k7/P6R/2K5/8/7P/1r6/8/8 w - - 0 1
Now only Rh8 wins, but programs without access to the R+P vs R tablebase don't play it.
Analysis by Toga II 3.1.2SE (no bitbases, no Nalimovs):
1.h5 Rb6+ 2.Kd5 Rd6+ 3.Ke4 Rd4+ 4.Kf5 Rd7 5.Kg6 Rxh7 6.Kxh7 Kxa7
+- (3.87) Depth: 3/8 00:00:00
+- (1.95) Depth: 5/16 00:00:00
(...)
1.Rh8+ Kxa7 2.h5 Rc3+ 3.Kb5 Rb3+ 4.Kc5 Rh3 5.h6 Kb7 6.Rh7+ Ka6 7.Kd4 Rh4+ 8.Ke5 Kb5 9.Rh8 Rh5+ 10.Ke6 Kc4
+- (2.11) Depth: 8/22 00:00:00 151kN
+- (2.02) Depth: 11/26 00:00:00 435kN
1.h5 Rb6+ 2.Kd5 Rd6+ 3.Ke5 Re6+ 4.Kf4 Rf6+ 5.Ke4 Re6+ 6.Kd3 Rd6+ 7.Kc2 Rc6+ 8.Kd2 Rd6+ 9.Ke3 Re6+ 10.Kf3 Rf6+ 11.Ke2 Re6+ 12.Kd1 Re1+ 13.Kd2 Re7 14.Rh8+ Kxa7 15.h6 Kb6
+- (2.08) Depth: 11/30 00:00:00 498kN
+- (2.00) Depth: 15/34 00:00:02 2027kN
1.Rh8+ Kxa7 2.h5 Rc3+ 3.Kd6 Kb7 4.h6 Rc1 5.Ke5 Rc6 6.Kf4 Rc4+ 7.Kf5 Rc5+ 8.Ke6 Rc6+ 9.Kd5 Rg6 10.Kd4 Rg4+ 11.Ke5 Rg6 12.Rh7+ Kb6 13.Kf4 Ka6 14.Kf5 Rc6 15.Kg4 Rc4+ 16.Kg3 Rc6
+- (2.02) Depth: 15/34 00:00:03 3379kN
+- (
2.03) Depth:
23/46 00:01:14 86604kN
Even here, the first move in itself is not a 100% reliable proof that endgame tables are accessed. Toga was quickly switching between various first moves during the first 3 seconds (only) though, but anyway, it means it is possible that another engine could immediatly choose Rh8+ without any tables, too... Maybe the "diagnosis" needs to take the evaluation into account.