Skip to main content

Questions tagged [tablebases]

Tablebases are databases that contain complete, exhaustively calculated moves and variations for a given collection of chess positions. E.g. the Nalimov tablebases contain full solutions for all endgames involving 6 pieces or less.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Training endgames with "royal non-king" pieces

For endgame training with kids, I often let them chase a knight with a queen until "mate". (The poor is thought to be royal.) The same could be done for almost any material constellation, e....
Hauke Reddmann's user avatar
3 votes
0 answers
66 views

Distance-to-safe-win metric

Assume you have an endgame position which can be won in exactly three ways: DTM 51...only OTB it isn't won because of the 50 move rule DTZ 30, the resulting position won in 40 moves DTZ 40, the ...
Hauke Reddmann's user avatar
3 votes
0 answers
36 views

How do I get a text response from 4kit Nalimov endgame tablebase

I am trying to get a simple text response from 4kit Nalimov endgame tablebase, using an URL and asking for the answer to a FEN string.
Michael Brown's user avatar
5 votes
1 answer
398 views

Table bases: an endgame challenge

From where can I download this "data/syzygy/regular" file so that the code below becomes functional ? import chess import chess.syzygy with chess.syzygy.open_tablebase("data/syzygy/...
user2925716's user avatar
2 votes
2 answers
110 views

Do endgame tablebases only handle legal positions?

The title is my question for now. I also wonder if similar legality concerns may reduce the number of input FENs as checkmates used as input to the retrograde proofing or construction process. In ...
dbdb's user avatar
  • 172
1 vote
2 answers
207 views

Why hasn't any new endgame theory been developed from the endgame tablebases?

With all 7-man endgame tablebases completed years ago, and the 8-mean endgame tablebases in the works now, why have we not seen new strategies outlined for, say, how to win with rook and two knights ...
prestokeys's user avatar
-1 votes
1 answer
151 views

The state of chess when it becomes solved (or nearly solved) [closed]

Let's take a hypothetical middlegame position, where there is one move that leads to checkmate for white and every other move is a draw. Let's say that grandmasters examining the position, but not ...
prestokeys's user avatar
3 votes
0 answers
123 views

Can previous and continuing research on N-piece tablebases be used toward human theory of chess?

This follows another questions here: What is the status for EIGHT piece endgame tablebases? My answer there was appropriately removed as being question in reaction to that question, well in light of ...
dbdb's user avatar
  • 172
0 votes
0 answers
130 views

A six piece position

L Black to move, it is a White win in 95 moves according to Shredder tablebases. Syzygy tablebases confirm the win. What do DTR (distance to rule) tablebases, that take account of the 50 move rule at ...
user35987's user avatar
3 votes
1 answer
120 views

Problem with tablebases

I hope this is the right forum for my question. So, I have all 5 men files on my HDD and the two files KRPPvKR.rtbz KRPPvKR.rtbw In the position here (8/2K2k2/3R3P/5P2/8/8/8/r7 w - - 0 10) everything ...
newbie's user avatar
  • 63
24 votes
2 answers
6k views

What is the status for EIGHT piece endgame tablebases?

An earlier question here asked in 2012 about the status of 7-piece tablebases. Today complete 7-piece tables are widely available. So today, what is the status of 8-piece endgame tablebases? How ...
Laska's user avatar
  • 13.1k
3 votes
0 answers
139 views

Analysis of positions with only one king on the board?

Endgame positions with just one king on the board may be very rich. Has any analysis of simple positions done? Maybe even tablebases for small numbers of pieces? There are some existing problems with ...
Laska's user avatar
  • 13.1k
5 votes
1 answer
460 views

Are Nalimov tables still being built?

The Nalimov/Syzygy, etc tablebases are, as far as I know, computer databases that store all the possible possitions in the board, with the best moves and the outcome of the game, assumming both ...
Carabes's user avatar
  • 225
1 vote
1 answer
174 views

Playing against a tablebase online

I'm looking for a website where I can play endgames against a 6-man or 7-man tablebase. These tablebases are too large for me to install locally. I'm aware that Lichess allows users to view tablebase ...
user avatar
2 votes
2 answers
132 views

How would I detect dead position in a tablebase?

I am programming a tablebase for fairy chess, and would like to conclude the game if mate cannot be reached in any way. I guess this has to be detected when the evaluation (win in... / loss in... / ...
Ferazhu's user avatar
  • 192
3 votes
1 answer
366 views

How do I create endgame tablebases?

What software can I use to create and verify endgame databases? I want to create my own tablebases from scratch on my PC - I'm specifically looking for open-source software that I can modify to ...
Someone211's user avatar
2 votes
0 answers
96 views

KBN vs K tablebase for 10x10 board

Where can I get the tablebase for king + bishop + knight versus king mate on 10x10 board?
max's user avatar
  • 21
4 votes
1 answer
365 views

Are endgame tablebases included with Stockfish?

I just downloaded Stockfish as a .exe file for use with SCID vs PC. Are tablebases included with the executable? If not, how can I make Stockfish use them while analysing a game with SCID vs PC? I ...
Anna's user avatar
  • 216
6 votes
3 answers
4k views

How can I download Syzygy tablebases efficiently?

How can I download Syzygy tablebases (5-man or 6-man) as quickly as possible without clicking hundreds of links at a mirror? Is there a verified torrent available that will probably download faster ...
qwr's user avatar
  • 3,962
3 votes
3 answers
705 views

Estimation of "God's Elo"

Assume a 32-piece tablebase would exist. It would be a Chess God. Surely there have been estimations of its ELO? According to the very related question, two problems arise: a) At any point the ...
Hauke Reddmann's user avatar
0 votes
1 answer
279 views

Is there a spreadsheet of all 5 or fewer men endgame tablebase continuations/results? How could one be made?

I am looking for a spreadsheet such as the one here: https://data.world/uci/chess-king-rook-vs-king, except that it covers all 5 or less men endgames. Ideally it would also have PGNs of the ideal ...
user32700's user avatar
0 votes
2 answers
208 views

What is the DTM for White is this 7 piece position?

I know that is winning for White because of the Syzygy tablebases. But Stockfish 14.1 NNUE, without tablebases, returns an evaluation of only +3.23 at depth =72(!). What is White's DTM? [FEN "8/...
Stefano's user avatar
  • 379
5 votes
3 answers
386 views

Finding all critical endgames

A winning position is called critical, if all moves - except one - draw or lose (assuming the opponent plays perfectly). Similarly, a drawn chess position is called critical, if all moves - except one ...
Wilfred Montoya's user avatar
3 votes
2 answers
205 views

Has Explainable AI been applied to the endgame tablebases?

There's an ongoing trend towards building 'Explainable' AI so that not just the results of a decision process are generated, but also some form of human-readable explanation for it. The Wikipedia ...
Steven Stadnicki's user avatar
1 vote
0 answers
66 views

Long tablebase wins in tournament praxis

I very much assume that KBB/KN endgames already occurred often enough in OTB play, and I also bet the B side always played on for a win (regardless whether this was after the computer proved it was a ...
Hauke Reddmann's user avatar
4 votes
1 answer
826 views

What is the longest known 7-piece checkmate?

What is the longest known 7-piece checkmate?
minseong's user avatar
  • 908
6 votes
1 answer
106 views

How can I query an endgame tablebase for multiple positions using loops/conditional statements?

In textbooks you find diagrams about key squares and similar concepts. For example, white can promote a pawn if white's king can control three particular squares infront of the pawn. I would like to ...
Carsten's user avatar
  • 61
1 vote
1 answer
590 views

Finding every longest endgame for each material configuration

I can find statistics on the number of moves until checkmate in the Syzygy endgame table for each material configuration. Let's say I am interested in "KQQvK" endgames. The statistics show ...
Wilfred Montoya's user avatar
3 votes
1 answer
306 views

Free tablebase generator software?

I'd like to play a bit with fairy tablebases (Vaclav Kotesovec published quite a few) and am far too lazy to program them anew, especially as I wouldn't wonder if there is free code floating around, ...
Hauke Reddmann's user avatar
3 votes
2 answers
225 views

How do endgame tablebases calculate checkmates to do retrograde analysis on?

I understand that once endgame tablebases get checkmates, they do retrograde analysis and are able to calculate forced wins. However, how do they calculate the checkmate in the first place? Do they ...
Shravan S's user avatar
4 votes
1 answer
731 views

Obtaining the correct move from syzygy tablebases (Python)

I have created a chess engine in Python and now want to start using the endgame tables in syzygy. I have downloaded all the relevant files and is now ready to start. I have found how to access the ...
Eli's user avatar
  • 43
3 votes
3 answers
1k views

Tablebases say this position is drawn, but Stockfish disagrees-What does that mean?

Today I found myself in the below position as black (me to play). My gut told me it should be a draw, but as my opponent and I are both fairly weak there was a significant chance one of us would ...
Darren H's user avatar
  • 375
1 vote
1 answer
155 views

What is the fifth position in the KN vs. KR endgame with the knight mating?

I can come up with 8 positions where the knight would deliver checkmate to a rook and king. However, on endgame tablebases, there are only 5 positions where a King knight wins against King rook. Why?
Yash Jain's user avatar
  • 535
1 vote
1 answer
422 views

What percentage of the time does White win in the Lomonosov tablebase?

Studies show a slight advantage for White for having the first move. In the tablebase of trillions of 7-piece endgames, with White to move, how many of those endgames end up as wins, how many as ...
Witness Protection ID 44583292's user avatar
2 votes
0 answers
187 views

Stockfish Transposition Table: 16 bit key equals 0 even if the key is found? [closed]

In Stockfish 11, they use the high 16 bits as key inside the cluster: const uint16_t key16 = key >> 48; // Use the high 16 bits as key inside the cluster This renders problem when key >> ...
ChessLover's user avatar
1 vote
0 answers
117 views

Using Freeware AI and Dynamically Generated Endgame Tablebases [closed]

The purpose of this query is to discuss a topic that I am totally ignorant of, rather than pose one specific question. Although such a query does invite opinions based on intuition, I am also ...
user2661923's user avatar
3 votes
2 answers
448 views

Looking for special chess freeware

I am looking for chess freeware that ideally has the following facilities, and I am wondering what compromises I'll need to accept. I am also requesting the results of your experiences. List Of Needs ...
user2661923's user avatar
5 votes
1 answer
1k views

What is the longest tablebase win that includes draw rules?

It has been asked the longest mate that includes draw rules is, and it is known what the longest tablebase mate is. However, what is the longest tablebase mate, i.e. 7 pieces or less, that accounts ...
Rewan Demontay's user avatar
16 votes
1 answer
9k views

What do DTM, DTZ, DTC, DTR, DTZ50, and DTZR mean?

I need help clarifying the abbreviations and acronyms used in endgame tablebases. Just what do DTM, DTZ, DTC, DTR, DTZ50, DTZR mean?
edwina oliver's user avatar
12 votes
3 answers
4k views

Are there attempts at creating practical endgame tablebases?

As I understand it, 8-piece endgame tablebases have been in development for many years. The big issue is the sheer number of positions that are possible. Are there any attempts at making a "practical"...
Allure's user avatar
  • 28.1k
3 votes
1 answer
326 views

ChessBase Nalimov tablebases

I'm using Nalimov tablebases with Fritz14 and it basically works. Just one strange problems occurs: The engine doesn't mate because the final mating move isn't sorted correctly. It look like this: +- ...
thomas H.'s user avatar
4 votes
1 answer
235 views

Tablebases for variant where stalemate is a win?

Since time immemorial, some people have suggested that stalemate be declared a loss for the player who is unable to move. This proposal is sometimes called "abolishing the stalemate rule" although I ...
Timothy Chow's user avatar
  • 1,017
0 votes
3 answers
171 views

On the feasibility of a KBN-K mate within 50 moves using a particular method

Prove that it is possible, from any starting KBN-K position, to accomplish the mate by manoeuvering to arrive at key positions from a well-known method or strategy whilst the losing king actively ...
candor's user avatar
  • 19
17 votes
1 answer
2k views

How does Syzygy store its information?

From reading everything I've found so far, I know that Syzygy uses both win/draw/loss files and distance-to-zero files, but I haven't found any information on the internal file format that these files ...
Oscar Smith's user avatar
  • 1,118
0 votes
2 answers
2k views

Where can I download and how do I set up a 5-man tablebase in Arena GUI?

So, I want to download a 5-man tablebase (I have no disk space for a 6-man one) and set it up so that it works with Stockfish in Arena GUI. Where can I download the tablebase, and how do I install it ...
Wais Kamal's user avatar
  • 3,070
5 votes
2 answers
743 views

Is it possible to get DTM of a position from sygyzy tables?

This is a programming question related to chess endgame tables. As far as I know syzygy tables allow me to get WDL and Depth to Zeroing (DTZ) information for a given position. Is it possible to ...
Salvador Dali's user avatar
5 votes
2 answers
3k views

Where can I download gaviota endgame tables?

I am looking for a link to download all 5 pieces gaviota endgame tables (which can give me DTM values). A few links from google search (like this) lead me to the site which does not exist.
Salvador Dali's user avatar
6 votes
4 answers
2k views

Syzygy 6 man Tablebase Files Question

Is anyone familiar with the .wdl and .dtz formats for the 6 man tablebase that are available? I already confirmed that both aren't needed, however they both store different information. Goal is to ...
hangejj's user avatar
  • 729
4 votes
2 answers
5k views

Where to download a 6 man Nalimov endgame tablebase?

Can anyone tell me whereabouts I can download a 6 man Nalimov endgame tablebase? I've seen some websites with 6 man Nalimov (case in point: http://contentdb.emule-project.net/view.php?pid=1630). ...
Tomthorp's user avatar
  • 171
2 votes
3 answers
200 views

Complexity of critical positions

I understand that chess is pretty complex regarding the game tree complexity (Shannon number) or number of possible positions. If we were trying to solve chess (whuch I know is impossible for ...
user1583209's user avatar
  • 20.8k