Okay. I don’t want to hijack this thread and turn it into an endgame or engine lab, but I was using a modified Shredder 2.x on an Intel Centrino duocore processor. The program plays simple endgames with remarkable accuracy even when the tablebase engine isn’t installed.
I don’t know how to put up diagrams here, so…
Here’s the FEN string for one of the positions I was looking at.
8/6k1/8/ppp5/5PPP/8/1K6/8 w - - 0 1
In this example, Shredder thinks white to move will lose with accurate play. Adjust the K positions, but keep it symmetrical, and you can reverse the fortunes.
It’s through the development of the endgame tables that I think is how chess will finally be “solved”. Or at least that will be one way of doing it.
Although we have a long way to go before we will have a storage system that is large enough to hold all the permutations. Up to 5 man positions most computers today that people own have the room but the 6 man position requires 1.7 terabyte of space. That is for the Nalimov tables though. There may be a development that will reduce the size. Each additional piece that is added will create an exponentially larger table.
Somebody on this forum (I don’t remember who) showed me one way to do it: http://www.jinchess.com/chessboard/composer/ , then copy and paste the resulting URL into your forum message, surrounding it with an [img] tag.
Interesting, although this position has 180-degree rotational symmetry, rather than vertical symmetry as does the starting position. (So it’s not quite what we were talking about, I guess.)
When I was in high school, a friend and I played 6-dimensional (3x3x3x3x3x3) tic-tac-toe, on paper or on a blackboard. We drew a huge tic-tac-toe board, then put a smaller tic-tac-toe board in each of the nine squares, and finally a much smaller tic-tac-toe board in each of the resulting 81 squares.
Since n-dimensional (3x…x3) tic-tac-toe is a forced win for the first player if n>2, we just kept playing until all the squares were filled in, then we counted the total number of 3-in-a-rows each of us had. (Invariably, the first player would still win, just by starting in the center square.)
I’ve set this position up in Fritz 10 using Rybka 2.3.2a for the engine. In a matter of seconds Rybka shows that Black has an advantage nearly equal to a rook. I’ll leave the analysis on and come back later and let everyone know what it’s produced.
Maybe we’ve swerved into something here. It’s not just symmetry, but what kind of symmetry that might make the difference. If I set up this position, (switch K + Q for White) we have 180 degree symmetry. Shredder thinks that Black’s better!
On the previous problem, kpppKPPP, Rybka failed to find a mating solution on my system after about 12 hrs of analysis. It maintained that Black was better with White to move with the equivalent of a R & P advantage though.
This is an 8 piece position, that will eventually find it’s way into the endgame tables. But when? Anybody’s guess.
I’d never thought about just a simple switch like that, Q opposing K, at the setup. That would certainly create an entirely new set of openings though.
Isn’t all this talk about wether chess will be solved a little pointless. I don’t play in the hopes that I will be able to memorize every posible variation of every possible move so that I can Dominate any other player in the worl forever. I enjoy the competition and I enjoy the comraderie. If some computer “solves chess” what ever that means, so what. I will still play chess with my friends and kids. There will still be tournaments, and there will still be people who enjoy the game.
I think that as computers become more easily able to beat human players, people will still take pleasure in traditional Chess (and there is always 960). Also, computers may teach us about strategical possibilities. Sometimes I read in a book that one side will win, and yet the computer illustrates a draw and makes quite different moves from those indicated in the book. Also, part of playing chess is indeed the human element. One is playing a person, who has a certain imagination, proclivity, knowledge base, temperament, and mood at the time.
I used to worry about this, and Larry Evans’s stupid comments in CHESS LIFE(along the lines of, “Oh well, the computers will be solving this anyway.”) did nothing to enhance my desire to get better.
But then Bobby came along and invented Fischerandom. And I realized that even if a car could move faster than me, there was no reason for humans to give up walking or running.
To be sure, those chessplayers who worked with computer geeks to improve their products did no service to the game. Because of them, high-level chess games really begin only in the middlegame and the likelihood of the chess world being enthralled by a Tal becomes more and more remote. If Caissa has her traitors, these would surely be among them. For rather than adhering to the kind of code that magicians have, they sold their expertise for money and assisted the geeks in creating the machines that would render the game more and more the product of silicone than human imagination.
Chess will be solved via what is now known as the endgame table base.
Currently 6 piece endings are solved and eventually 7 and then one day 32. So chess will end when it begins. This will happen since chess is finite. The astronomical number of positions makes this seem impossible. I try to imagine what computing power will be 100 years from now. Thirty years ago when I worked on mainframe computers, 16 meg of storage took up the size of my kitchen. And now 16 gig is in a postage size memory card. Home PC’s are more powerful than those mainframes. In the mean time, computers will get stronger via brute force as they increase their horizon in the number of moves they can see forward. But the the game will not truly be solved until all possible moves are mapped and the shortest path from the 1st to last move that leads to a win or draw for white is determined.
And when chess is solved, humans will still continue to play for the fun,social, and competitive nature of the game. As in chess, we will continue to prefer watching humans compete on Jeopardy, even though a computer could be sitting in one or all three seats with all the knowledge in the world stored in them.
We might call that the “shortest path” argument. But how do we know that there is a shortest path from start to finish? What if there are multiple paths? Perhaps it is not possible to assign a mathematical certainty to each of a set of patterns. Still, I think you are right about the tablebase comparison.
Since chess is finite, it should always be possible, at least in theory, to assign certainty to each pattern.
Consider the following thought experiment. (Like most thought experiments, it would take centuries to actually perform, but the thought process proves a point.)
Each square on the chessboard can be in any one of 13 states: white KQBNRP, black KQBNRP, or empty. Thus, 13 to the 64th power is an upper bound for the total number of possible arrangements of chess pieces on the board.
To these 64 squares add six more “squares”, or flags:
WCCK (white can castle kingside), true or false (2 possibilities)
WCCQ (white can castle queenside), true or false (2 possibilities)
BCCK (black can castle kingside), true or false (2 possibilities)
BCCQ (black can castle queenside), true or false (2 possibilities)
WM (whose move is it), white or black (2 possibilities)
EP (which pawn has just moved 2 squares), a-h or none (9 possibilities)
This multiplies the number of piece arrangements by 2 to the 5th power, and then by 9, to obtain an upper bound for the number of possible positions.
Step 1. List all the positions. (They could, for example, be listed in alphabetical order according to their Forsythe notations.)
Step 2. Go through the list and eliminate all positions having certain obvious “illegal” properties, such as multiple kings, no king, pawns on the 1st or 8th, player not on the move being in check, more than 16 pieces of either color, more than 8 pawns, WCCK flag turned on even though the king is not on e1, etc. Eliminating such “positions” will avoid rules arguments, such as can the king be captured, etc. One could go even farther, by eliminating positions which cannot be attained, such as one with three white pawns on a2, a3, b2, but such refinements aren’t necessary.
Step 3. Go through the list, labeling each position as a “forced loss in zero” if the player on the move is already checkmated.
Step 4. Go through the list again, labeling each previously unlabeled position as a “forced win in 1” if there exists a move which transforms the position into a forced loss in zero.
Step 5. Go through the list again, labeling each previously unlabeled position as a “forced loss in 1” if all legal moves transform it into a forced win in 1.
Step 6. Same, labeling each previously unlabeled position as a “forced win in 2” if there exists a move which transforms it into a forced loss in 1.
Step 7. Same, labeling each previously unlabeled position as a “forced loss in 2” if all legal moves transform it into a forced win in 2 (or fewer).
… (etc) …
Step 2N+2. Same, labeling each previously unlabeled position as a “forced win in N” if there exists a move which transforms it into a forced loss in N-1.
Step 2N+3. Same, labeling each previously unlabeled position as a “forced loss in N” if all legal moves transform it into a forced win in N (or fewer).
… (etc) …
Eventually, one of these steps will result in no new positions being labeled. (How do we know this? Because the number of positions is finite, and each position has at most one label, so we can’t keep labeling forever.)
At this point, we can stop, because if there are no forced losses in N, there can be no forced wins in N+1, and if there are no forced wins in N+1, there can be no forced losses in N+1, etc.
We now have a complete list. Each position either has been labeled a forced win in N or a forced loss in N, or has not been labeled.
So, is chess a forced win for white, or a forced win for black, or a forced draw? To find the answer, just look through the list until you find the starting position, and look at its label. Either it’s a forced win in N, a forced loss in N, or neither. Accordingly, chess is either a forced win for white, a forced win for black, or a forced draw, respectively.
Even though chess will be solved by the computer due to exponential increases in storage capacity and processing power, the real question arises about the human endeavor. Our brain(processor) and memory(storage) continues to decline. I think someone said it begins to go downhill around the age of 25.
We also acquire/carry baggage from life in general that it hinders us. And this can’t be easily programmed out of us.
How can we stem the tide against us and continue to get better at chess? Eventually baggage will tell us we can’t !
And that is why I am not really interested in when/if? computers will solve the game. Chess means so many things to so many people but to a computer, chess is just another program.
I’ve been reading about neuroplasticity. Apparently various scientists are more enthusiastic than ever before that into old age, the brain continues to form connections according to the use made of it. So, I don’t know that we must write off everyone past the age of 25.
A famous painter in his 70s was asked, ‘Master, why do you keep working?’ He replied, “I am making progress.”