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
2 answers
109 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/...
user avatar
  • 297
4 votes
1 answer
143 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 ...
user avatar
2 votes
1 answer
94 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 ...
user avatar
1 vote
0 answers
45 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 ...
user avatar
2 votes
1 answer
217 views

What is the longest known 7-piece checkmate?

What is the longest known 7-piece checkmate?
user avatar
2 votes
0 answers
46 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 ...
user avatar
  • 21
2 votes
1 answer
166 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 ...
user avatar
3 votes
1 answer
107 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, ...
user avatar
2 votes
2 answers
159 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 ...
user avatar
4 votes
1 answer
378 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 ...
user avatar
  • 43
3 votes
3 answers
985 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 ...
user avatar
  • 335
0 votes
1 answer
139 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?
user avatar
1 vote
1 answer
280 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 ...
user avatar
2 votes
0 answers
96 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 >> ...
user avatar
1 vote
0 answers
95 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 ...
user avatar
3 votes
1 answer
277 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 ...
user avatar
4 votes
1 answer
661 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 ...
user avatar
14 votes
1 answer
5k 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?
user avatar
10 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"...
user avatar
  • 21.2k
3 votes
1 answer
154 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: +- ...
user avatar
4 votes
1 answer
187 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 ...
user avatar
0 votes
3 answers
156 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 ...
user avatar
  • 19
12 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 ...
user avatar
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 ...
user avatar
  • 2,997
3 votes
1 answer
465 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 DTZ information for a given position. Is it possible to somehow (without access ...
user avatar
5 votes
2 answers
2k 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.
user avatar
6 votes
3 answers
1k 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 ...
user avatar
  • 660
4 votes
2 answers
4k 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). ...
user avatar
2 votes
3 answers
185 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 ...
user avatar
  • 20.3k
8 votes
3 answers
4k views

How far from solving chess are we?

See here: Does there exist an algorithm that would play perfect chess if given infinite processing power? With infinite power, we could trivially recursively check every board state for winnability, ...
user avatar
  • 211
10 votes
1 answer
3k views

Do Stockfish and the tablebase work together or independently?

I use Arena GUI together with stockfish in engine games. I want to download a 6-piece tablebase but that is just a lot of work (and perhaps unnecessary). If I download the tablebase (syzygy), does ...
user avatar
  • 2,997
7 votes
2 answers
518 views

Does the Lomonosov Tablebase (and others) include extra material positions such as KQQvKQQQ?

Lomonosov Endgame Tablebase says it includes all endgames with 7 pieces. But does that include things like KQQ v KQQQ? At every possible position? Such things seem highly unlikely, but theoretically ...
user avatar
  • 731
4 votes
1 answer
782 views

How to use ending evaluation in UCI interaction with Stockfish

Playing around with the Stockfish 8 UCI from the terminal, I've managed to make it compute moves, and set the position and load Syzygy tables. But how I can know if an endgame, one that corresponds ...
user avatar
  • 143
2 votes
4 answers
399 views

Public higher-order endgame tablebases for *common* positions?

It's easy for me to locate 6-piece tablebases online for free (e.g. lichess), and I know 7-piece tablebases exist (cf. Lomonosov tablebase), but I don't know of any easy way to access them. However, ...
user avatar
  • 525
4 votes
2 answers
805 views

6 man syzygy tablebase and ramdisk

I have downloaded a copy of the 6 man Syzygy tablebase and configured it on my Fritz 15 GUI. Due to obvious memory constraints, the full 6 man Syzygy tablebase cannot be loaded into memory (ie. ...
user avatar
  • 131
3 votes
1 answer
246 views

Fathom syzygy browsing tool

I'm trying to make syzygy browsing tool fathom.exe work. If you have experience with this, please let me know. I tried million of combinations of tokens to format the position command and the program ...
user avatar
  • 3,256
4 votes
1 answer
658 views

Generate Simple Mate In 1 From Tablebases (for kids)

I was trying to find a kid's app for chess that has some incredibly simple problems. However, all the apps I found had rather tricky problems. So I thought I would download 3 piece table bases and use ...
user avatar
  • 65
1 vote
3 answers
238 views

Are all KQvK positions winnable if it's not stalemate and Black can't capture on current move?

Are all KQvK positions winnable if the position isn't in itself a stalemate and Black cannot capture on the current move?
user avatar
1 vote
1 answer
218 views

Is there any UCI engine that presents DTZ information from syzygy in analyse mode?

Many UCI engines that can read syzygy database put same score for every winning move (#1000 in komodo, +123.53 in stockfish, ...) and you have no idea how to make real progress when analysing root ...
user avatar
  • 3,256
13 votes
2 answers
4k views

How is it possible that the Lomonosov-endgame-tablebase from 2012 still is the most powerful tablebase?

Due to Wikipedia: Endgame tablebase the Lomonosov endgame tablebase is still the biggest tablebase (with a size of 140TB). Now this tablebase was computed in the year 2012 with the Lomonosov 1 (Top500-...
user avatar
  • 389
5 votes
3 answers
374 views

KRPP vs KRP - maximum depth to conversion?

I am trying to learn single rook endgames with two pawns against one, with added stipulation that the two pawns of the attacking side are on neighboring files with the pawn of the defending side also ...
user avatar
5 votes
2 answers
704 views

What is the longest current tablebase mate with a unique optimal line?

Having been inspired by an article on ChessBase.com, what is the longest current tablebase mate with a unique optimal line? By unique, I mean for each of the winning side's plies, there is only one ...
user avatar
1 vote
2 answers
152 views

Are there any other endgame analysis tool than Wilhelm?

Are there any other endgame analysis tool than Wilhelm?
user avatar
  • 11
5 votes
2 answers
291 views

Chess endgame database+50-move rule=potential error?

Are there any examples of positions where usage of the endgame tablebase gives an incorrect evaluation, due to the ignoring of the 50-move rule? At the moment I am not sure if endgame tablebases ...
user avatar
  • 285
14 votes
1 answer
10k views

What is Syzygy tablebases?

I just want to know in simple language exactly, What the Syzygy tablebases are, Why they are used, What are their advantages, disadvantages?
user avatar
  • 645
4 votes
2 answers
259 views

What are the dates each of the endgame tablebases were completed?

I'm curious to get a rough sense for when chess could be solved if Moore's law, and algorithm improvements continue, and I thought a good way to get a rough idea would be to extrapolate based on when ...
user avatar
2 votes
3 answers
381 views

Why are tablebase files so large?

What is the reason that table base files are so large? I can't think of any other way to phrase that question - but the question alone is rejected by stackoverflow's gateway bot, hence this paragraph ...
user avatar
  • 29
4 votes
2 answers
1k views

Syzygy tablebases in xboard

I'm trying to set up the five-men syzygy tablebases for use in xboard 4.8. Stockfish 6 and Komodo 9 are both supposed to support Syzygy, but in Xboard, their SyzygyPath option is missing from the UCI ...
user avatar
6 votes
2 answers
406 views

What is the maximum DTM with K+J vs K?

What is the maximum DTM in the endgame king + janus vs king on a 10x8-board ? The janus can move like a bishop or like a knight. Since both sides have two additional pieces, the board has 10 columns ...
user avatar
  • 3,236
3 votes
1 answer
209 views

Have endgame tablebases ever been compiled for smaller variants of chess?

I am interested in compiling endgame tablebases for a few miniature chess variants, such as Chess Attack (5x6) and Los Alamos Chess (6x6). Have these ever been created before, and if so, are they ...
user avatar