5 men syzygy tablebase issues ?

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

cc2150dx
Posts: 402
Joined: Sat Nov 30, 2013 9:51 am
Location: Canada
Full name: Jason Coombs

5 men syzygy tablebase issues ?

Post by cc2150dx »

[pgn][Event "Jason, Blitz 5.0min+3.0sec"]
[Site "?"]
[Date "2025.08.27"]
[Round "3"]
[White "Obsidian dev-16.14"]
[Black "Lc0 v0.32.0"]
[Result "1-0"]
[Annotator "0.95;0.73"]
[ECO "E42"]
[WhiteFideId "-1"]
[WhiteFideId "-1"]
[PlyCount "191"]
[GameId "2215507531636774"]
[TimeControl "300+3"]

{AMD Ryzen 5 3600 6-Core Processor 3600 MHz W=33.1 plies; 6,688kN/s; 59,979,534 TBAs B=15.1 plies; 4kN/s; 1,516 TBAs} 1. d4 Nf6 2. c4 e6 3. Nc3 Bb4 4. e3 c5 5. Nge2 cxd4 6. exd4 O-O 7. a3 Be7 8. Nf4 d6 9. Be2 Re8 10. O-O Bf8 11. Be3 g6 {Both last book move} 12. Qd2 {0.95/33 68} d5 {0.73/15 41} 13. c5 {0.92/34 26 (cxd5)} b6 {0.69/17 25} 14. b4 {0.99/32 8 (Nd3)} bxc5 {0.59/17 15} 15. bxc5 {0.86/32 10} Ba6 {0.58/18 7} 16. Bxa6 {0.82/30 8} Nxa6 {0.60/15 4} 17. Nd3 {0.73/31 12} Ne4 {0.60/17 11} 18. Nxe4 {0.88/28 5 (Qc2)} dxe4 {0.59/15 12} 19. Nb4 {0.87/29 12} Nc7 {0.59/14 7} 20. Rac1 {0.83/28 7 (Rfd1)} Rc8 {0.50/13 23 (Nd5)} 21. Nc6 {0.92/29 16} Qd5 {0.49/17 8} 22. Ne5 {0.82/30 9} Bg7 {0.46/19 7 (Na6)} 23. Nc4 {0.94/28 5} Red8 {0.44/17 6} 24. Nd6 {0.98/28 6} Rb8 {0.42/15 12} 25. Bg5 {1.03/28 5 (h4)} Rd7 {0.78/16 15} 26. Rfd1 {1.03/30 5} h5 {0.86/13 19 (Qc6)} 27. Bf4 {1.07/28 6} Qc6 {0.88/16 4 (Rb3)} 28. Qe3 {1.33/26 9} Rbd8 {0.87/14 8} 29. Bg3 {1.36/28 5 (h3)} a6 {1.42/17 23 (a5)} 30. Bh4 {1.58/31 7} Rf8 {1.45/14 4} 31. Nxe4 {1.44/32 10} Qa4 {1.47/18 4} 32. Rd3 {1.37/33 13} Rxd4 {1.67/18 6} 33. Nf6+ {1.62/32 5} Bxf6 {1.68/17 5} 34. Bxf6 {1.63/29 4} Rxd3 {1.63/17 4} 35. Qxd3 {1.68/32 7} Nd5 {1.59/16 12} 36. Be5 {1.68/32 6} Rc8 {1.59/16 12} 37. h3 {1.75/32 14} Qc6 {1.60/16 25 (Qa5)} 38. Qe4 {1.76/33 28 (Qd4)} Qb5 {1.56/18 4} 39. Qh4 {1.75/31 13 (Qd4)} Qd3 {1.99/15 14 (a5)} 40. c6 {2.33/26 4} Qxa3 {2.28/16 8 (Qb5)} 41. Rb1 {2.37/33 7} Qf8 {2.35/18 11} 42. Qc4 {2.25/34 7} f6 {2.41/17 0} 43. Bg3 {2.81/29 3} a5 {2.38/17 5} 44. Rb7 {2.61/34 7} Qe8 {2.53/17 5} 45. c7 {2.55/32 4} Qd7 {2.50/17 6} 46. Rb8 {3.06/29 3} Ne7 {2.56/17 5 (Kg7)} 47. Qc5 {3.50/29 4 (Qa6)} e5 {2.69/19 18 (Kg7)} 48. Qxe7 {3.73/31 4} Qxe7 {2.68/20 1} 49. Rxc8+ {4.03/34 11} Kg7 {2.65/19 15 (Kh7)} 50. Rg8+ {4.35/28 5} Kxg8 {2.56/17 0} 51. c8=Q+ {3.89/30 6} Kg7 {2.49/15 0} 52. f3 {4.25/29 3} a4 {2.99/15 18 (g5)} 53. Bf2 {4.43/31 4} g5 {2.98/15 2} 54. Bc5 {5.17/30 5} Qf7 {3.11/14 1} 55. Qc6 {5.40/33 8 (h4)} Qb3 {2.64/12 7} 56. Qd7+ {5.54/32 6} Kg6 {3.17/13 10 (Qf7)} 57. Qe8+ {5.95/30 8} Kg7 {3.04/13 3} 58. Bf8+ {6.15/28 4 (h4)} Kg8 {3.47/14 6} 59. Be7+ {6.21/30 3} Kh7 {4.02/13 2} 60. Kh2 {6.29/29 4} Qc4 {6.23/13 9 (Qe6)} 61. Qxh5+ {6.36/25 3} Kg7 {6.98/1 0} 62. Qg4 {6.60/26 3} e4 {5.04/10 4 (Qc6)} 63. Bd6 {7.04/24 3} Qd5 {7.55/11 9 (a3)} 64. Qd7+ {8.80/24 3} Kg6 {6.63/11 3} 65. Qe8+ {70.71/22 4} Qf7 {12.04/10 6 (Kg7)} 66. Qxf7+ {132.60/31 3 (Qxe4+)} Kxf7 {12.83/1 0} 67. fxe4 {132.67/33 3} Ke6 {18.23/7 5} 68. Ba3 {132.70/37 4} Ke5 {17.64/7 4} 69. h4 {132.72/39 12 (Bb2+)} gxh4 {11.34/8 2} 70. Bb2+ {132.77/39 18} Ke6 {12.49/7 4 (Kf4)} 71. Kh3 {#21/38 4} a3 {18.15/7 5} 72. Bxa3 {#18/45 3} Kd7 {#137/6 1 (Ke5)} 73. Kxh4 {#16/52 5 (Bb2)} Ke6 {#133/2 0} 74. Kg4 {#15/59 6 (Bb2)} Ke5 {#135/3 0} 75. Bb2+ {#14/63 4} Kd6 {#134/1 0 (Ke6)} 76. Kf5 {#12/66 5 (Bxf6)} Kc7 {#132/2 0} 77. Bxf6 {#11/70 3 (Kxf6)} Kc6 {1/0 0 (Kb6)} 78. g3 {1/0 0} Kc7 {1/0 0} 79. e5 {1/0 0} Kc8 {1/0 0} 80. g4 {1/0 0} Kb7 {1/0 0} 81. g5 {1/0 0} Kc7 {1/0 0} 82. g6 {1/0 0} Kb6 {1/0 0} 83. g7 {1/0 0} Ka5 {1/0 0} 84. e6 {1/0 0} Ka4 {1/0 0} 85. e7 {1/0 0} Ka3 {1/0 0} 86. e8=Q {1/0 0} Kb3 {1/0 0} 87. g8=Q+ {2/0 0} Kb4 {2/0 0} 88. Qc6 {1/0 0} Ka3 {1/0 0} 89. Qa4+ {1/0 0} Kxa4 {2/1 0} 90. Qc4+ {1/1 0} Ka3 {1/0 0} 91. Bb2+ {1/1 0} Kxb2 {5/1 0} 92. Qb4+ {4/0 0} Ka1 {4/0 0} 93. Ke4 {3/0 0} Ka2 {3/1 0} 94. Kd3 {2/0 0} Ka1 {2/1 0} 95. Kc2 {1/0 0} Ka2 {1/1 0} 96. Qa5# {#1/0 0} 1-0

[/pgn][pgn][Event "Jason, Blitz 5.0min+3.0sec"]
[Site "?"]
[Date "2025.08.27"]
[Round "8"]
[White "Lc0 v0.32.0"]
[Black "Obsidian dev-16.14"]
[Result "1-0"]
[Annotator "1.21;0.95"]
[ECO "A47"]
[WhiteFideId "-1"]
[WhiteFideId "-1"]
[PlyCount "165"]
[GameId "2215528098177077"]
[TimeControl "300+3"]

{AMD Ryzen 5 3600 6-Core Processor 3600 MHz W=13.4 plies; 4kN/s; 4,726 TBAs B=30.5 plies; 5,376kN/s; 18,040,946 TBAs} 1. d4 Nf6 2. Nf3 e6 3. Bg5 b6 4. e4 h6 5. Bxf6 Qxf6 6. Bd3 Bb7 7. Nbd2 d6 8. Qe2 a6 9. O-O-O Nd7 10. Kb1 e5 11. c3 Be7 {Both last book move} 12. h4 {1.21/16 54} b5 {0.95/32 44} 13. Nf1 {1.23/18 12} c5 {0.97/30 14} 14. Ne3 {1.23/20 29} Nb6 {1.00/32 29} 15. Bc2 {1.23/24 1 (d5)} exd4 {0.94/33 39 (cxd4)} 16. cxd4 {1.50/20 10} O-O-O {1.10/32 17} 17. a4 {1.61/20 6} Nxa4 {1.02/31 11 (bxa4)} 18. Bxa4 {1.78/17 11} bxa4 {1.30/29 10} 19. d5 {1.83/17 5} Kb8 {1.10/30 12} 20. Kc2 {1.84/21 7 (Nd2)} Qf4 {1.51/30 77 (a3)} 21. Nd2 {2.07/16 12} Bf6 {1.56/27 15} 22. Ra1 {2.12/17 5} Rhe8 {1.97/30 42 (Qe5)} 23. g3 {2.28/22 14} Qe5 {1.87/28 4} 24. Rhb1 {2.25/19 4} Qd4 {1.92/28 4} 25. Qc4 {2.23/18 5} g5 {2.30/32 31 (Qxc4+)} 26. Rxa4 {2.56/17 19} gxh4 {2.48/28 8} 27. b4 {2.78/17 8} hxg3 {2.52/28 9 (Rc8)} 28. bxc5 {2.40/18 13} Qxc5 {2.51/26 3} 29. Kd3 {2.49/17 6} Qxc4+ {2.77/29 5} 30. Ndxc4 {2.43/17 6} Ka7 {2.63/27 2} 31. fxg3 {2.31/17 14} Be5 {2.64/26 3} 32. Rab4 {2.58/16 6} Ba8 {2.66/26 3} 33. Rf1 {2.63/16 9 (g4)} Re7 {2.67/23 4} 34. Nxe5 {2.70/16 10 (Nf5)} dxe5 {3.17/23 4} 35. Rf6 {2.67/14 4 (Nf5)} Rg8 {2.84/25 7 (h5)} 36. g4 {2.74/13 14} Rd7 {3.29/25 7} 37. Rxh6 {2.63/13 16} Re7 {3.53/23 4 (Bb7)} 38. Rf6 {2.83/11 16} Bb7 {3.46/21 1} 39. Kc3 {3.38/12 13 (Nf5)} Rc8+ {3.43/23 4 (a5)} 40. Rc4 {3.45/11 11} Rg8 {3.37/21 1} 41. Kb4 {3.49/11 11 (Nf5)} Rb8 {3.79/23 5 (Bc8)} 42. Ka5 {3.83/11 6 (Kc3)} Rh8 {4.13/22 4} 43. Nf5 {4.11/12 6} Rd7 {4.27/20 1} 44. Nh6 {5.37/12 7} Bxd5 {4.79/21 5 (Rh7)} 45. exd5 {6.72/13 9} Rxd5+ {4.98/19 1} 46. Ka4 {7.18/11 4} Rb5 {5.14/23 5 (Rd1)} 47. g5 {5.76/9 14 (Rxf7+)} Rb1 {6.03/20 3 (e4)} 48. Rxf7+ {8.36/9 9} Kb6 {6.40/20 2 (Ka8)} 49. Rb4+ {10.28/10 6 (Rf6+)} Rxb4+ {5.76/18 1} 50. Kxb4 {8.75/9 3} a5+ {6.57/22 3} 51. Kc4 {6.70/9 15 (Kc3)} a4 {7.62/23 5} 52. Kb4 {7.45/9 6} Kc6 {8.07/23 4} 53. Kxa4 {8.95/8 4} Kd5 {8.22/26 2} 54. Kb3 {10.85/8 5} Kd4 {8.80/23 3 (e4)} 55. Nf5+ {9.39/8 5} Kd5 {8.85/22 1} 56. Rf6 {8.67/9 7 (Kc3)} e4 {9.79/21 3} 57. g6 {11.19/10 1} Rb8+ {11.19/19 2 (Ke5)} 58. Kc2 {14.14/9 9 (Kc3)} Ke5 {132.25/22 4} 59. Rf7 {14.02/8 1} Rc8+ {132.20/26 4 (Rg8)} 60. Kd2 {13.74/8 5} Rd8+ {132.65/27 3 (Ke6)} 61. Ke3 {15.94/7 6 (Ke2)} Rd3+ {132.68/26 1 (Ke6)} 62. Ke2 {20.92/7 3} Rd8 {132.71/28 5 (Ke6)} 63. g7 {20.60/7 3} Ra8 {132.75/27 3 (Rg8)} 64. Rf8 {30.41/6 3} Ra2+ {#13/30 1} 65. Kf1 {29.25/7 3} Ra1+ {#11/36 2} 66. Kg2 {32.66/7 3} Ra2+ {#10/38 2} 67. Kh3 {23.48/7 6} Ra3+ {#9/40 2 (Kf4)} 68. Kh4 {49.62/6 4 (Kg4)} Ra1 {#9/41 2} 69. g8=Q {15.78/7 3} Rh1+ {#8/85 2} 70. Kg4 {22.75/8 2} Rg1+ {#7/111 2} 71. Ng3 {46.67/6 1} Rxg3+ {#6/123 0 (Kd4)} 72. Kxg3 {#113/1 0} Kd6 {2/0 0} 73. Rf6+ {1/0 0} Ke5 {1/0 0} 74. Qd8 {1/0 0} e3 {1/1 0} 75. Kf3 {1/0 0} e2 {1/1 0} 76. Kxe2 {1/1 0} Ke4 {1/1 0} 77. Rf5 {1/0 0} Kxf5 {6/1 0} 78. Qe7 {5/0 0} Kf4 {5/0 0} 79. Kf2 {4/0 0} Kf5 {4/1 0} 80. Kf3 {3/0 0} Kg6 {3/1 0} 81. Kf4 {2/0 0} Kh6 {2/1 0} 82. Kf5 {1/1 0} Kh5 {1/1 0} 83. Qg5# {#1/0 0} 1-0

[/pgn][pgn][Event "Jason, Blitz 5.0min+3.0sec"]
[Site "?"]
[Date "2025.08.27"]
[Round "20"]
[White "Lc0 v0.32.0"]
[Black "Obsidian dev-16.14"]
[Result "0-1"]
[Annotator "1.24;1.10"]
[ECO "E94"]
[WhiteFideId "-1"]
[WhiteFideId "-1"]
[PlyCount "164"]
[GameId "2215575842201695"]
[TimeControl "300+3"]

{AMD Ryzen 5 3600 6-Core Processor 3600 MHz W=14.8 plies; 4kN/s; 3,768 TBAs B=32.7 plies; 6,224kN/s; 41,405,289 TBAs} 1. d4 g6 2. c4 Bg7 3. Nc3 d6 4. e4 Nd7 5. Nf3 e5 6. Be2 c6 {Both last book move} 7. d5 {1.24/14 34} Ngf6 {1.10/29 16} 8. Be3 {1.25/16 11} cxd5 {1.05/31 21 (Qe7)} 9. cxd5 {1.21/15 15} O-O {1.05/30 9} 10. O-O {1.20/15 13} Ne8 {1.07/31 28} 11. Kh1 {1.20/14 9} Kh8 {0.99/28 16} 12. Nd2 {1.32/14 29 (Rc1)} f5 {0.97/26 6} 13. f3 {1.33/12 0} Ndf6 {0.94/26 10 (Bf6)} 14. a4 {1.32/15 15 (Qb3)} f4 {0.72/27 6} 15. Bf2 {1.19/18 6} g5 {0.64/29 8} 16. Nb5 {1.10/16 5} a6 {0.80/32 10} 17. Na3 {1.07/17 4} Rg8 {0.70/29 8} 18. Nac4 {1.02/17 5} Bf8 {0.55/28 7} 19. Nb6 {1.02/16 5} Rb8 {0.72/29 10} 20. Bg1 {1.15/17 18 (a5)} h5 {0.66/30 23 (g4)} 21. Qb3 {1.53/13 13} g4 {0.65/27 7} 22. Nxc8 {1.58/15 4} Qxc8 {0.77/30 10} 23. Rfc1 {1.39/13 14} Qd7 {0.95/30 9} 24. a5 {1.43/13 3} Qg7 {0.96/31 31 (Bh6)} 25. Rc2 {2.15/13 13} gxf3 {0.99/30 19 (g3)} 26. Bxf3 {1.37/13 12} Nc7 {1.02/29 9} 27. Nb1 {1.31/14 6} Ng4 {0.95/28 7 (Qh7)} 28. Na3 {1.30/14 10} Ne8 {0.88/26 4} 29. Qd3 {1.35/14 20 (Rac1)} Be7 {0.88/25 7 (Nef6)} 30. b4 {1.38/9 5 (Rac1)} Rd8 {0.88/30 17 (Bd8)} 31. b5 {1.30/10 7 (Qe2)} axb5 {0.89/28 5} 32. Qxb5 {1.34/11 5} Bh4 {0.86/26 6} 33. Qe2 {1.36/11 13} Rd7 {0.95/30 32} 34. Nc4 {1.12/12 13 (Rc8)} Qf6 {0.85/24 7 (Qg5)} 35. Bb6 {1.37/10 5} Qh6 {0.92/29 12 (Qg7)} 36. Rb1 {1.38/12 7} Qg7 {0.97/30 8 (Nef6)} 37. h3 {1.37/9 12 (Bg1)} Qg5 {0.73/28 3} 38. Nd2 {1.20/12 5 (Bg1)} Nef6 {0.64/26 3} 39. Nf1 {1.17/18 5 (Rb3)} Bg3 {0.35/25 3} 40. Rbc1 {1.19/21 5} Qh4 {0.37/28 11} 41. Kg1 {1.03/17 4 (Rc8)} Nh7 {0.33/30 4} 42. Rc8 {0.52/20 19 (Nxg3)} Rdg7 {0.00/35 3} 43. R1c2 {0.54/19 0 (Rxg8+)} Ng5 {-2.59/26 3 (Ngf6)} 44. hxg4 {-0.92/22 13 (Nxg3)} hxg4 {-3.73/29 6} 45. Rxg8+ {-1.61/26 10 (Bxg4)} Rxg8 {-4.23/27 4} 46. Bxg4 {-1.60/28 0} f3 {-4.41/26 3} 47. gxf3 {-1.57/26 0 (Qxf3)} Nh3+ {-4.48/27 3} 48. Kh1 {-1.56/22 0 (Kg2)} Rxg4 {-4.81/27 3} 49. Nh2 {-1.56/20 0} Bxh2 {-4.97/24 3} 50. fxg4 {-5.67/20 10} Bg3 {-5.14/26 3} 51. Qc4 {-5.43/19 5} Nf2+ {-5.22/27 3} 52. Kg2 {-5.46/1 0} Qh1+ {-5.30/27 3} 53. Kxg3 {-5.86/1 0} Nxe4+ {-5.32/26 3} 54. Qxe4 {-6.14/1 0} Qxe4 {-5.58/25 3} 55. Rc7 {-5.09/14 34 (Rc8+)} Qxd5 {-5.59/22 6} 56. Kh4 {-5.14/11 0 (Rd7)} Kg8 {-5.90/22 2 (e4)} 57. g5 {-3.98/14 17 (Be3)} e4 {-6.28/21 3} 58. Kh5 {-4.52/14 3 (Kg4)} e3 {-7.46/25 3} 59. Bxe3 {-5.02/16 1} Qf3+ {-7.87/27 3} 60. Kg6 {-6.04/15 3} Qe4+ {-8.40/31 3} 61. Kf6 {-7.03/15 6 (Kh6)} Qe5+ {-8.74/31 4} 62. Kg6 {-7.59/1 0} Qe6+ {-9.25/29 4} 63. Kh5 {-8.07/1 0} Qxe3 {-9.99/26 3} 64. Rc8+ {-8.11/13 5} Kf7 {-17.39/24 4} 65. g6+ {-8.49/12 7 (Rc7+)} Kf6 {-132.65/36 5} 66. Rf8+ {-10.05/11 0} Kg7 {-132.67/39 20} 67. Rf7+ {-9.41/10 3} Kg8 {-132.70/35 1} 68. Rc7 {-7.02/9 6} Qe5+ {-132.71/34 4 (Qe8)} 69. Kh6 {-7.76/10 5} Qf4+ {-132.72/34 4} 70. Kh5 {-9.46/1 0} d5 {-132.73/34 4} 71. Rxb7 {-11.54/8 8} d4 {-132.74/34 2} 72. a6 {-14.35/8 4} Qe5+ {-132.75/34 1 (d3)} 73. Kh6 {-14.96/9 3 (Kg4)} d3 {-#13/47 2} 74. Rb1 {-11.67/8 3} Qe3+ {-#12/51 2 (d2)} 75. Kh5 {-18.19/1 0} d2 {-#11/57 4} 76. a7 {-32.28/6 5} Qxa7 {-#10/60 4} 77. Rf1 {-#121/2 1 (g7)} Qc5+ {-#7/64 4 (d1Q+)} 78. Kg4 {-#115/3 0 (Kh6)} Qc4+ {-#6/99 4} 79. Kf5 {-#114/1 0 (Kh3)} Qxf1+ {-#5/123 1} 80. Ke4 {-1/0 0} d1=Q {-1/0 0} 81. Ke5 {-1/0 0} Qf5+ {-1/0 0} 82. Kxf5 {-3/1 0} Kg7 {-2/0 0} 0-1

[/pgn]

Is sacrificing pieces part of the tablebases or a bug ? (and the 3rd game didn't finish the mate. Fritz 20 GUI
User avatar
chrjly2
Posts: 14
Joined: Sat Aug 31, 2024 7:15 pm
Full name: Christophe Jolly

Re: 5 men syzygy tablebase issues ?

Post by chrjly2 »

In the second game, white misses a mate in 2 at move 77: Qa5. Surprising because it is a position of the tablebase.
It's not a sacrifice but a bug.
syzygy
Posts: 5703
Joined: Tue Feb 28, 2012 11:56 pm

Re: 5 men syzygy tablebase issues ?

Post by syzygy »

White seems to be playing DTZ-optimal moves, which isn't very smart.

Once an engine has reached a winning TB position on the board, it should start using the DTZ tables to filter out root moves that throw away the win under the 50-move rule and use its regular search (but now TB-less) to select the best move among the remaining moves. (Only if this somehow leads the engine to repeat the position, which may happen if its regular search does not see how it could make progress, should it switch to strictly DTZ until there is no danger of another repeat.)
syzygy
Posts: 5703
Joined: Tue Feb 28, 2012 11:56 pm

Re: 5 men syzygy tablebase issues ?

Post by syzygy »

chrjly2 wrote: Thu Aug 28, 2025 10:07 am In the second game, white misses a mate in 2 at move 77: Qa5. Surprising because it is a position of the tablebase.
It's not a sacrifice but a bug.
White gave black no other choice but to capture the white rook, thus converting the game more quickly into a winning position with the 50-move counter reset.

If the 50-move counter had been at 49 moves, the only winning moves would have been Rf5! (which it played) or one of Qd4! or Qd5! (both forcing black to take white's queen and reset the 50-move counter).

Of course this is not ideal engine behaviour when there are still plenty of moves left on the 50-move clock.
cc2150dx
Posts: 402
Joined: Sat Nov 30, 2013 9:51 am
Location: Canada
Full name: Jason Coombs

Re: 5 men syzygy tablebase issues ?

Post by cc2150dx »

Thanks, is there some sort of checksum to check if the tablebases are working correctly ?