Solving chess

Solving chess consists of finding an optimal strategy for the game of chess; that is, one by which one of the players (White or Black) can always force a victory, or either can force a draw (see solved game). It is also related to more generally solving chess-like games (i.e. combinatorial games of perfect information) such as Capablanca chess and infinite chess. In a weaker sense, solving chess may refer to proving which one of the three possible outcomes (White wins; Black wins; draw) is the result of two perfect players, without necessarily revealing the optimal strategy itself (see indirect proof).[1]

No complete solution for chess in either of the two senses is known, nor is it expected that chess will be solved in the near future (if ever). Progress to date is extremely limited; there are tablebases of perfect endgame play with a small number of pieces (up to seven), and some chess variants have been solved at least weakly. Calculated estimates of game-tree complexity and state-space complexity of chess exist which provide a bird's eye view of the computational effort that might be required to solve the game.

Partial results

Endgame tablebases

abcdefgh
8
a7 black rook
h7 black knight
c6 white queen
f4 black king
d3 white king
h2 white knight
d1 black bishop
h1 black queen
8
77
66
55
44
33
22
11
abcdefgh
A mate-in-546 position found in the Lomonosov 7-piece tablebase. White to move. (In this example an 8th piece is added with a trivial first-move capture.)

Endgame tablebases are computerized databases that contain precalculated exhaustive analyses of positions with small numbers of pieces remaining on the board. Tablebases have solved chess to a limited degree, determining perfect play in a number of endgames, including all non-trivial endgames with no more than seven pieces or pawns (including the two kings).[2]

One consequence of developing the seven-piece endgame tablebase is that many interesting theoretical chess endings have been found. The longest seven-piece example is a mate-in-549 position discovered in the Lomonosov tablebase by Guy Haworth, ignoring the 50-move rule.[3][4] Such a position is beyond the ability of any human to solve, and no chess engine plays it correctly, either, without access to the tablebase, which initially (in 2014) required 140 TB of storage space and the use of a supercomputer but was later reduced down to 18.4 TB through the Syzygy tablebase. As of January 2023, the longest known forced mating sequence for the eight-piece tablebase (also ignoring the 50-move rule) was 584 moves. This was discovered in mid-2022 by Marc Bourzutschky.[5] The eight-piece tablebase is currently incomplete, though, so it is not guaranteed that this is the absolute limit for the eight-piece tablebase.

Chess variants

A variant first described by Shannon provides an argument about the game-theoretic value of chess: he proposes allowing the move of “pass”. In this variant, it is provable with a strategy stealing argument that the first player has at least a draw thus: if the first player has a winning move in the initial position, let him play it, else pass. The second player now faces the same situation owing to the mirror symmetry of the initial position: if the first player had no winning move in the first instance, the second player has none now. Therefore, the second player can at best draw, and the first player can at least draw, so a perfect game results in the first player winning or drawing.[6]

Some chess variants which are simpler than chess have been solved. A winning strategy for Black in Maharajah and the Sepoys can be easily memorised. The 5×5 Gardner's Minichess variant has been weakly solved as a draw.[7] Although losing chess is played on an 8×8 board, its forced capture rule greatly limits its complexity, and a computational analysis managed to weakly solve this variant as a win for White.[8]

The prospect of solving individual, specific, chess-like games becomes more difficult as the board-size is increased, such as in large chess variants, and infinite chess.[9]

The complexity of chess

Information theorist Claude Shannon in 1950 outlined a theoretical procedure for playing a perfect game (i.e. solving chess):

"With chess it is possible, in principle, to play a perfect game or construct a machine to do so as follows: One considers in a given position all possible moves, then all moves for the opponent, etc., to the end of the game (in each variation). The end must occur, by the rules of the games after a finite number of moves (remembering the 50 move drawing rule). Each of these variations ends in win, loss or draw. By working backward from the end one can determine whether there is a forced win, the position is a draw or is lost."

Shannon then went on to estimate that solving chess according to that procedure would require comparing some 10120 possible game variations, or having a "dictionary" denoting an optimal move for each of the approximately 1043 possible board positions (currently known to be about 5x1044).[6][10] The number of mathematical operations required to solve chess, however, may be significantly different than the number of operations required to produce the entire game-tree of chess. In particular, if White has a forced win, only a subset of the game-tree would require evaluation to confirm that a forced-win exists (i.e. with no refutations from Black). Furthermore, Shannon's calculation for the complexity of chess assumes an average game length of 40 moves, but there is no mathematical basis to say that a forced win by either side would have any relation to this game length. Indeed, some expertly played games (grandmaster-level play) have been as short as 16 moves. For these reasons, mathematicians and game theorists have been reluctant to categorically state that solving chess is an intractable problem.[6][11]

Predictions on when or if chess will be solved

In 1950, Shannon calculated, based on a game tree complexity of 10120 and a computer operating at one megahertz (a big stretch at that time: the UNIVAC 1 introduced in 1951 could perform ~2000 operations per second or 2 kilohertz) that could evaluate a terminal node in 1 microsecond would take 1090 years to make its first move. Even allowing for technological advances, solving chess within a practical time frame would therefore seem beyond any conceivable technology.

Hans-Joachim Bremermann, a professor of mathematics and biophysics at the University of California at Berkeley, further argued in a 1965 paper that the "speed, memory, and processing capacity of any possible future computer equipment are limited by specific physical barriers: the light barrier, the quantum barrier, and the thermodynamical barrier. These limitations imply, for example, that no computer, however constructed, will ever be able to examine the entire tree of possible move sequences of the game of chess." Nonetheless, Bremermann did not foreclose the possibility that a computer would someday be able to solve chess. He wrote, "In order to have a computer play a perfect or nearly perfect game, it will be necessary either to analyze the game completely ... or to analyze the game in an approximate way and combine this with a limited amount of tree searching. ... A theoretical understanding of such heuristic programming, however, is still very much wanting."[12]

Recent scientific advances have not significantly changed these assessments. The game of checkers was (weakly) solved in 2007,[13] but it has roughly the square root of the number of positions in chess. Jonathan Schaeffer, the scientist who led the effort, said a breakthrough such as quantum computing would be needed before solving chess could even be attempted, but he does not rule out the possibility, saying that the one thing he learned from his 16-year effort of solving checkers "is to never underestimate the advances in technology".[14]

See also

References

  1. ^ Allis, V. (1994). "PhD thesis: Searching for Solutions in Games and Artificial Intelligence" (PDF). Department of Computer Science. University of Limburg. Retrieved 2012-07-14.
  2. ^ "ChessOK: Lomonosov Tablebases". Retrieved 2023-12-30.
  3. ^ "What is the longest known 7-piece checkmate?". Chess Stack Exchange. Retrieved 2023-06-14.
  4. ^ "Probe". tb7.chessok.com. Retrieved 2023-06-14.
  5. ^ Silver, Albert (2022-05-11). "8-piece endgame tablebases - first findings and interview!". chessbase.com. Chess News. Retrieved 2023-01-26.
  6. ^ a b c Shannon, C. (March 1950). "Programming a Computer for Playing Chess" (PDF). Philosophical Magazine. 7. 41 (314). Archived (PDF) from the original on 2010-07-06. Retrieved 2008-06-27.
  7. ^ Mhalla, Mehdi; Prost, Frederic (2013-07-26). "Gardner's Minichess Variant is solved". arXiv:1307.7118 [cs.GT].
  8. ^ Watkins, Mark. "Losing Chess: 1. e3 wins for White" (PDF).
  9. ^ Aviezri Fraenkel; D. Lichtenstein (1981), "Computing a perfect strategy for n×n chess requires time exponential in n", J. Combin. Theory Ser. A, 31 (2): 199–214, doi:10.1016/0097-3165(81)90016-9
  10. ^ John Tromp (2021). "Chess Position Ranking". GitHub.
  11. ^ http://www.chessgames.com Magnus Carlsen vs Viswanathlan Anand, King's Indian Attack: Double Fianchetto (A07), 1/2-1/2, 16 moves.
  12. ^ Bremermann, H.J. (1965). "Quantum Noise and Information". Proc. 5th Berkeley Symp. Math. Statistics and Probability. Archived from the original on 2001-05-27.
  13. ^ Schaeffer, Jonathan; Burch, Neil; Björnsson, Yngvi; et al. (14 September 2007). "Checkers Is Solved". Science. 317 (5844): 1518–1522. Bibcode:2007Sci...317.1518S. doi:10.1126/science.1144079. PMID 17641166. S2CID 10274228.(subscription required)
  14. ^ Sreedhar, Suhas. "Checkers, Solved!". Spectrum.ieee.org. Archived from the original on 2009-03-25. Retrieved 2009-03-21.

External links

Read other articles:

Bahawalpur بہاولپور Templat:Pa iconCityCountryPakistanRegionPunjabDistrictBahawalpur DistrictTehsilBahawalpur TehsilUnion councils36Pemerintahan • Nazim----------------Luas • City2.372 km2 (916 sq mi)Ketinggian461 m (1.512 ft)Populasi (2011)[1] • City855.509 • Kepadatan838/km2 (2,170/sq mi) • Perkotaan545.103Zona waktuUTC+5 (PST) • Musim panas (DST)UTC+6 (PDT)Postal code typ…

Caihuying (Hanzi sederhana: 菜户营; Hanzi tradisional: 菜戶營; Pinyin: Càihùyíng) adalah kompleks jalan layang di barat daya perkotaan Beijing. Bangunan utamanya adalah Jembatan layang Caihuying (Hanzi sederhana: 菜户营桥; Hanzi tradisional: 菜戶營橋; Pinyin: Càihùyíng Qiáo). Jalan layang yang berada dan menjadi tepi barat daya Jalan lingkar ke-2 ini, merupakan penghubung ke rute lain di barat yaitu ke Jalan lingkar ke-3 dan Jalan Raya Nasional utama …

Galilée face au tribunal de l'Inquisition (tableau de Joseph-Nicolas Robert-Fleury, XIXe siècle). Le procès d'Oscar Wilde (The Illustrated Police News, 1895). Pour les articles homonymes, voir Procès (homonymie). En droit, un procès est une étape d'une instance en justice où les parties soumettent leur litige devant le tribunal. À l'issue du procès, un jugement est rendu. Par pays France Article détaillé : Procès en droit français. Dans le droit français, et plus largemen…

RampiTo RampiMasyarakat Rampi memakai pakaian adat.Daerah dengan populasi signifikanKecamatan Rampi±8.000BahasaRampiAgamaKristen Protestan[1]Kelompok etnik terkaitSeko  • Bugis  • Pamona Suku Rampi (bahasa Rampi: To Rampi) adalah sebuah kelompok etnis yang mendiami daerah pegunungan di Kecamatan Rampi, Kabupaten Luwu Utara, Sulawesi Selatan. Daerah yang didiami oleh suku Rampi merupakan daerah terisolir yakni di Pegunungan Luwu Utara yang terletak di bagian utara dari Sula…

Painting by Jusepe de Ribera Penitent Magdalene is a 1618-1623 oil on canvas painting by Jusepe de Ribera, now in the Museo nazionale di Capodimonte in Naples. Its commissioner is unknown, but it was in Angelo Costa's collection in Genoa until 1961 before shifting to the Colnaghi stores in London, where it stayed until 1972, when it was sold to a private collector in Florence, from whom it passed to its present owner.[1] References ^ (in Italian) N. Spinosa, Ribera. L'opera completa, Nap…

Alida ValliValli pada tahun 1947LahirAlida Maria Laura, Freiin Altenburger von Marckenstein-Frauenberg(1921-05-31)31 Mei 1921Pola, ItalyMeninggal22 April 2006(2006-04-22) (umur 84)Rome, ItalyNama lainValliPekerjaanActress, SingerTahun aktif1936–2002Suami/istriOscar de Mejo ​ ​(m. 1944; c. 1952)​Giancarlo Zagni (m. 196?; div. 1970)Anak2, termasuk Carlo De MejoTanda tangan Alida Valli (31 Mei 1921-22 April 2006) merupakan seorang akt…

Charles IX Charles IX dari Prancis (27 Juni 1550 – 30 Mei 1574) ialah Raja Prancis dan anggota Dinasti Valois. Charles Menjadi Raja Setelah kematian kakaknya François II dari Prancis yang meninggal tanpa anak laki-laki Kelahiran Charles dilahirkan di Saint-Germain-en-Laye, Prancis, pada 27 Juni 1550. Orang tuanya ialah Henri II dan Catherine de' Medici. Pernikahan Charles menikah dengan Elisabeth dari Austria pada 26 November 1570. Mereka memiliki seorang putri, Mary Elizabeth d…

إستونية الاسم الذاتي eesti keel   الناطقون 1.1 مليون الدول إستونيا المنطقة أوروبا الشمالية الرتبة غير موجودة في أول 100 الكتابة أبجدية لاتينية النسب أورالية لغات أوراليةلغات فينية أوغريةلغات فينية بيرميةفينو فولجيكفينو ساميتشلغات فينية بلطيقيةالإستونية ترسيم رسمية في  إست…

Public park in Ipswich, England Christchurch ParkRolling lawns of Christchurch ParkTypePublic parkLocationIpswichSuffolkUnited KingdomCoordinates52°03′48″N 1°09′22″E / 52.06333°N 1.15611°E / 52.06333; 1.15611Area82 acres (33 ha)Operated byIpswich Borough CouncilStatusOpen year roundWebsitewww.ipswich.gov.uk/services/christchurch-park Christchurch Park is a historical area of rolling lawns, wooded areas, and delicately created arboreta close to the to…

Village in Al Rayyan, QatarJariyan Al Batnah جريان الباطنةVillageJariyan Al BatnahCoordinates: 25°06′26″N 51°09′15″E / 25.107241°N 51.154251°E / 25.107241; 51.154251Country QatarMunicipalityAl RayyanZoneZone 83District no.521Area[1] • Total4.4 km2 (1.7 sq mi) Jariyan Al Batnah (Arabic: جريان الباطنة, romanized: Jarayān al Baţnah; also spelled Jariyan Al Butna) is a village and former municipalit…

Cet article est une ébauche concernant le Nord. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Pays de Pévèle Subdivision administrative Hauts-de-France Subdivision administrative Nord Villes principales Orchies, Saint-Amand-les-Eaux, Templeuve, Cysoing Coordonnées 50° 32′ 00″ nord, 3° 10′ 00″ est Communes 55 communes Régions naturellesvoisines Gohelle, Weppes,Plaine de …

Pour les articles homonymes, voir Chrétien (homonymie). Pourcentage de chrétiens par pays (chiffres du Pew Research Center). Un chrétien est une personne qui adhère à la religion issue de Jésus de Nazareth, le christianisme, et suit son enseignement rapporté par les Évangiles. Il peut se former auprès d'une autorité religieuse (une Église) et/ou en étudiant l'Évangile seul ou avec d'autres personnes. Le mot « chrétien » provient du mot « Christ » qui est la …

This is the chronological list of horror films produced in Malayalam cinema. Bhargavi Nilayam, released in December 1964, is considered as the first true horror film in the language. The film was scripted by writer Vaikom Muhammed Basheer based on his own short story Neelavelicham. It was produced by T. K. Pareekutty under the banner Chandrathara Films. The film, which is now considered as a classic in Malayalam cinema, celebrated its Golden Jubilee in 2014.[1] Films Year Title Director …

Boeing 767Un Boeing 767-300F di FedEx Express.DescrizioneTipoAereo di lineaAereo cargo Equipaggio2 piloti +gli assistenti di volo Progettista Boeing Costruttore Boeing Data primo volo26 settembre 1981 Anni di produzione1981-presente Data entrata in servizio8 settembre 1982 con United Airlines Utilizzatori principali (Gennaio 2024) FedEx Express136 esemplari UPS Airlines88 esemplari United States Air Force81 esemplari Esemplari1 304[1] Costo unitario 767-300ER: 217,9 m…

Daerah Istimewa YogyakartaDaerah pemilihanuntuk Dewan Perwakilan RakyatRepublik IndonesiaWilayah Daftar Kabupaten : Bantul Gunungkidul Kulon Progo Sleman Kota : Yogyakarta ProvinsiDI YogyakartaPopulasi3.677.522 (2023)[1]Elektorat2.870.974 (2024)[2]Daerah pemilihan saat iniDibentuk1971Kursi7 (1971—77, 1987—92, 1997—99)6 (1977—87, 1992—97, 1999—2004)8 (2004—sekarang)Anggota  Sukamto (PKB)  Andika Pandu Puragabaya (Gerindra)  MY Esti Wijayati (…

Meteorit-meteorit HED: NWA 2698 (howardit), Millbillillie (eukrit) dan Bilanga (diogenit). Meteorit HED adalah sebuah klan atau subkelompok meteorit akondrit. HED merupakan singkatan dari howardit-eukrit-diogenit. Akondrit-akondrit ini berasal dari tubuh induk terdiferensiasi, dan telah mengalami proses-proses beku (igneous) ekstensif yang tak jauh berbeda dengan proses yang dialami batuan beku di Bumi. Oleh karena itu, mereka mirip batuan beku terestrial.[1] Referensi ^ All about Meteor…

Untuk kegunaan lain, lihat Schindler dan Schindler. Schindler's ListPoster film Schindler's ListSutradaraSteven SpielbergProduserSteven SpielbergBranko LustigGerald R. MolenSkenarioSteven ZaillianBerdasarkanSchindler's Arkoleh Thomas KeneallyPemeranLiam NeesonRalph FiennesBen KingsleyCaroline GoodallJonathan SagallEmbeth DavidtzAnna MuchaPenata musikJohn WilliamsSinematograferJanusz KamińskiPenyuntingMichael KahnPerusahaanproduksiAmblin EntertainmentDistributorUniversal PicturesTanggal ri…

Rex selkirk Asal  Amerika Serikat Standar ras WCF standar Kucing domestik (Felis catus) Rex selkirk adalah salah satu ras kucing yang berasal dari Montana, Amerika Serikat. Rex selkirk merupakan kucing yang berbeda dari semua kucing jenis Rex lainnya. Kucing ras ini terbentuk karena mutasi genetik yang alami. Kucing jenis memiliki tubuh yang besar dan kokoh menyerupai kucing bulu pendek britania raya.[1] Sejarah Pada tahun 1987, seekor anak kucing lahir dari seekor kucing yang disel…

Европейская сардина Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеГруппа:Костные рыбыКласс:Лучепёрые рыбыПодкласс:Новопёрые …

† Человек прямоходящий Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:СинапсидыКл…

Kembali kehalaman sebelumnya