Is there any project coming to solve chess?

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

Moderators: hgm, Rebel, chrisw

Jouni
Posts: 3296
Joined: Wed Mar 08, 2006 8:15 pm

Is there any project coming to solve chess?

Post by Jouni »

My suggestion: first prove, if 1.g4 loses or not. Then 1/20 of problem solved :) .
Jouni
Uri Blass
Posts: 10345
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Is there any project coming to solve chess?

Post by Uri Blass »

I suggest first to have a solving chess ranking list.

Engines get 10000 random positions from a pgn and need to decide for every position if it is a win for white or a draw or a win for black or they do not know.

The leader in the ranking list is an engine that identify correctly more positions in the list with a result.
Of course the leader may have bugs and if people can find a position that the leader decides wrong about it then it is a good reason to take the leader out of the list.
LucianGVx
Posts: 3
Joined: Wed Jun 01, 2022 9:30 am
Full name: Rene Garza

Re: Is there any project coming to solve chess?

Post by LucianGVx »

Jouni
Posts: 3296
Joined: Wed Mar 08, 2006 8:15 pm

Re: Is there any project coming to solve chess?

Post by Jouni »

Evaluation in chessdb for 1.g4 changes everyday. But just now it's -1,45.
Jouni
Dann Corbit
Posts: 12545
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Is there any project coming to solve chess?

Post by Dann Corbit »

Uri Blass wrote: Mon Nov 06, 2023 11:42 pm I suggest first to have a solving chess ranking list.

Engines get 10000 random positions from a pgn and need to decide for every position if it is a win for white or a draw or a win for black or they do not know.

The leader in the ranking list is an engine that identify correctly more positions in the list with a result.
Of course the leader may have bugs and if people can find a position that the leader decides wrong about it then it is a good reason to take the leader out of the list.
If an engine uses any kind of pruning beyond pure alpha-beta, then the output cannot be a proof of anything. Null move pruning, for instance, is unsound. Of course, it provides heuristic evidence, but that is not a proof.

Tablebase files were used in the proof for checkers. Perhaps with 10 man tablebase files and an internet full of alpha-beta searchers, given the advance of hardware, it might be possible to prove the game theoretical outcome some day.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Werewolf
Posts: 1797
Joined: Thu Sep 18, 2008 10:24 pm

Re: Is there any project coming to solve chess?

Post by Werewolf »

Dann Corbit wrote: Tue Nov 07, 2023 10:25 pm
Uri Blass wrote: Mon Nov 06, 2023 11:42 pm I suggest first to have a solving chess ranking list.

Engines get 10000 random positions from a pgn and need to decide for every position if it is a win for white or a draw or a win for black or they do not know.

The leader in the ranking list is an engine that identify correctly more positions in the list with a result.
Of course the leader may have bugs and if people can find a position that the leader decides wrong about it then it is a good reason to take the leader out of the list.
If an engine uses any kind of pruning beyond pure alpha-beta, then the output cannot be a proof of anything. Null move pruning, for instance, is unsound. Of course, it provides heuristic evidence, but that is not a proof.

Tablebase files were used in the proof for checkers. Perhaps with 10 man tablebase files and an internet full of alpha-beta searchers, given the advance of hardware, it might be possible to prove the game theoretical outcome some day.
Is it correct that alpha-beta reduces the necessary node count by approximately the square root of the nodes searched in mini-max alone?
Dann Corbit
Posts: 12545
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Is there any project coming to solve chess?

Post by Dann Corbit »

Werewolf wrote: Tue Nov 07, 2023 10:29 pm
Dann Corbit wrote: Tue Nov 07, 2023 10:25 pm
Uri Blass wrote: Mon Nov 06, 2023 11:42 pm I suggest first to have a solving chess ranking list.

Engines get 10000 random positions from a pgn and need to decide for every position if it is a win for white or a draw or a win for black or they do not know.

The leader in the ranking list is an engine that identify correctly more positions in the list with a result.
Of course the leader may have bugs and if people can find a position that the leader decides wrong about it then it is a good reason to take the leader out of the list.
If an engine uses any kind of pruning beyond pure alpha-beta, then the output cannot be a proof of anything. Null move pruning, for instance, is unsound. Of course, it provides heuristic evidence, but that is not a proof.

Tablebase files were used in the proof for checkers. Perhaps with 10 man tablebase files and an internet full of alpha-beta searchers, given the advance of hardware, it might be possible to prove the game theoretical outcome some day.
Is it correct that alpha-beta reduces the necessary node count by approximately the square root of the nodes searched in mini-max alone?
It assumes that move ordering is perfect, and in that case it is true. You examine something proportional to the square root of the nodes in the tree and get a perfect answer, the same as if you had done a pure mini-max. For this reason, alpha-beta is sound pruning. Today, engines have really good move ordering, so most of the time it is very close to a perfect alpha-beta search.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
syzygy
Posts: 5569
Joined: Tue Feb 28, 2012 11:56 pm

Re: Is there any project coming to solve chess?

Post by syzygy »

Dann Corbit wrote: Tue Nov 07, 2023 10:25 pm
Uri Blass wrote: Mon Nov 06, 2023 11:42 pm I suggest first to have a solving chess ranking list.

Engines get 10000 random positions from a pgn and need to decide for every position if it is a win for white or a draw or a win for black or they do not know.

The leader in the ranking list is an engine that identify correctly more positions in the list with a result.
Of course the leader may have bugs and if people can find a position that the leader decides wrong about it then it is a good reason to take the leader out of the list.
If an engine uses any kind of pruning beyond pure alpha-beta, then the output cannot be a proof of anything. Null move pruning, for instance, is unsound. Of course, it provides heuristic evidence, but that is not a proof.

Tablebase files were used in the proof for checkers. Perhaps with 10 man tablebase files and an internet full of alpha-beta searchers, given the advance of hardware, it might be possible to prove the game theoretical outcome some day.
I fully agree that the output of an unsound searcher proves nothing, but the output can still be used to cross out unpromising lines. I remember from reading about the construction of the checkers proof that Chinook was used to "prove" certain positions to be a win or loss, e.g. if they evaluated to >+4 or <-4.

So with chess one could first try to build a "book" starting from a particular root position. If the root position then evaluates to, say, +2, it might be possible to look at the main lines and prove them one by one as winning with the help of tablebases and proof number search.

Doing for this for the starting position is hopeless, though, and I don't see improvements in hardware change this (unless there is a fundamental breakthrough in computing technology -- I don't think even quantum computers will make much of a difference here).
syzygy
Posts: 5569
Joined: Tue Feb 28, 2012 11:56 pm

Re: Is there any project coming to solve chess?

Post by syzygy »

syzygy wrote: Tue Nov 07, 2023 11:25 pmI fully agree that the output of an unsound searcher proves nothing, but the output can still be used to cross out unpromising lines. I remember from reading about the construction of the checkers proof that Chinook was used to "prove" certain positions to be a win or loss, e.g. if they evaluated to >+4 or <-4.
Might have been this paper: https://icga.org/icga/journal/contents/ ... -01-08.pdf
4.2 Proof Solver (back end)

Pseudo-code for the back-end prover is shown in Figure 4. It is a novel combination of a traditional heuristic alpha-beta search and a proof search.
The (cheap) heuristic search value is used to determine whether the current position is relevant to the current proof threshold. The (expensive) proof search attempts to formally prove the result of the current position. The latter is only done if the former indicates it is needed.

Each back-end position is first searched by an alpha-beta searcher using a heuristic evaluation function and the endgame databases. The search is limited to 25 seconds, reaching a depth of 17 to 23 ply plus search extensions. The heuristic value returned is compared to the search threshold. Values outside the threshold range are considered as likely wins/losses by the proof tree manager. If the heuristic value is more than twice the size of the threshold, then no further processing is done; the formal proof search is postponed until later in the proof when we will have more confidence that we really need this result.
Dann Corbit
Posts: 12545
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Is there any project coming to solve chess?

Post by Dann Corbit »

It sounds to me like they search it anyway, but wait until it has to be searched, so a sort of delay queue.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.