Initial position - 27 pieces - Mate in 22 moves?

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

Moderators: hgm, Rebel, chrisw

fastgm
Posts: 818
Joined: Mon Aug 19, 2013 6:57 pm

Initial position - 27 pieces - Mate in 22 moves?

Post by fastgm »

I was interested in the following position. The initial position with five pieces less for black. How many moves does white need to checkmate?

[d]2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
To solve the position, I used Stockfish 11. In my experience, the most exact engine when it comes to mate problems.
After 60 hours on a 10-core with 32 GB hash, Stockfish found a checkmate in 22 moves.

Stockfish 11 64 POPCNT:
96/44 60:29:31 4.669.383.221.790 21.441.650 +M22 1.e4 g6 2.Nc3 c6 3.Qe2 h5 4.Qe3 b6 5.Qd4 f6 6.Qa4 a6 7.Qd4 b5 8.Qb6 d6 9.Qxc6+ Bd7 10.Qxa6 Kf7 11.Nd5 Be6 12.Nc7 Bd7 13.Bxb5 Bg4 14.Qa8 h4 15.h3 Bc8 16.Qxc8 f5 17.Qe8+ Kg7 18.Ne6+ Kf6 19.Nxf8 fxe4 20.Qxg6+ Ke5 21.Qg5+ Kd4 22.c3+

and all black moves after 1.e4:
62/31 2:21:16 158.317.142.203 18.676.162 -M15 1. ... f5 2.Qh5+ g6 3.Qxh7 d6 4.Qxg6+ Kd8 5.d4 f4 6.Bxf4 a6 7.Bg5 Bf5 8.Qf7 Bxe4 9.Qxf8+ Kd7 10.Qxe7+ Kc6 11.Qxe4+ Kb6 12.Bd8 a5 13.Qe8 a4 14.Qb5+ Ka7 15.Bxc7 Ka8 16.Qxa4+
62/33 2:21:16 158.317.142.203 18.676.162 -M16 1. ... f6 2.Qh5+ g6 3.Qxh7 d6 4.Qxg6+ Kd7 5.Nc3 c6 6.Nf3 a6 7.Nd4 Bh6 8.Qxh6 f5 9.Qg7 fxe4 10.Nf5 Kc7 11.Qxe7+ Bd7 12.Qxd6+ Kb6 13.Qb8 Bxf5 14.Na4+ Ka5 15.Qd8+ Kxa4 16.b3+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 1. ... h6 2.Qh5 e6 3.Qa5 Kd8 4.Qxa7 Bd6 5.Nc3 c6 6.Qd4 Kc7 7.Qxg7 f6 8.Qxf6 Bb4 9.Nf3 Bc5 10.Qxh6 Be7 11.Qg7 Kd8 12.Qh8+ Kc7 13.Nb5+ cxb5 14.Nd4 d6 15.Qe8 Bf6 16.Nxb5+ Kb8 17.Qf8 Be5 18.Qd8 d5 19.d4 Bd6 20.Qxd6+ Ka8 21.Qa3+ Kb8 22.Qa7+
62/43 2:21:16 158.317.142.203 18.676.162 -M21 1. ... g6 2.Nc3 c6 3.Qe2 h5 4.Qe3 b6 5.Qd4 f6 6.Qa4 a6 7.Qd4 Bh6 8.Qxb6 Bf4 9.Nf3 a5 10.Qxa5 Bb7 11.Qa7 Bc7 12.Qxb7 Bd8 13.Nb5 h4 14.Qc8 Kf7 15.Qxd8 cxb5 16.Bxb5 g5 17.Qxd7 h3 18.Qe8+ Kg7 19.Qxe7+ Kg6 20.Be8+ Kh6 21.Qf7 hxg2 22.Qg6+
62/43 2:21:16 158.317.142.203 18.676.162 -M21 1. ... a6 2.Qh5 h6 3.Qc5 Kd8 4.Bc4 f6 5.Qh5 e6 6.Qf7 Bb4 7.Qg8+ Ke7 8.Qxg7+ Ke8 9.Qg8+ Bf8 10.Be2 d6 11.Bh5+ Kd7 12.Qxf8 c6 13.Qxf6 a5 14.d3 Kc7 15.Qe7+ Bd7 16.Be8 Kb6 17.Qxd7 d5 18.Be3+ Ka6 19.Qc7 d4 20.Bxd4 c5 21.Bxc5 b6 22.Qxb6+

Even after hours of forward- and backward analysis, I haven't been able to find a faster mate.
Is there a faster mate? Especially after the probably strongest continuation 1.e4 g6?
Maybe with the maneuver h4 and Rh3 or a4 and Ra3?
Jouni
Posts: 3425
Joined: Wed Mar 08, 2006 8:15 pm

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by Jouni »

Crystal is definitely better mate finder than SF11. Try it with NNUE disabled.
Jouni
fastgm
Posts: 818
Joined: Mon Aug 19, 2013 6:57 pm

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by fastgm »

In my experience, Stockfish 11 is better than Crystal on longer checkmates.
But I will try the new version Crystal 3.1 with NNUE disabled.
Jouni
Posts: 3425
Joined: Wed Mar 08, 2006 8:15 pm

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by Jouni »

Forget Crystal. It's not good in these kind of positions! It's depth is as average 7 plies below normal SF and it always wants to open with 1.e3 :( .
Jouni
duncan
Posts: 12038
Joined: Mon Jul 07, 2008 10:50 pm

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by duncan »

fastgm wrote: Mon Jan 25, 2021 4:58 pm I was interested in the following position. The initial position with five pieces less for black. How many moves does white need to checkmate?

[d]2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
To solve the position, I used Stockfish 11. In my experience, the most exact engine when it comes to mate problems.
After 60 hours on a 10-core with 32 GB hash, Stockfish found a checkmate in 22 moves.

Stockfish 11 64 POPCNT:
96/44 60:29:31 4.669.383.221.790 21.441.650 +M22 1.e4 g6 2.Nc3 c6 3.Qe2 h5 4.Qe3 b6 5.Qd4 f6 6.Qa4 a6 7.Qd4 b5 8.Qb6 d6 9.Qxc6+ Bd7 10.Qxa6 Kf7 11.Nd5 Be6 12.Nc7 Bd7 13.Bxb5 Bg4 14.Qa8 h4 15.h3 Bc8 16.Qxc8 f5 17.Qe8+ Kg7 18.Ne6+ Kf6 19.Nxf8 fxe4 20.Qxg6+ Ke5 21.Qg5+ Kd4 22.c3+

and all black moves after 1.e4:
62/31 2:21:16 158.317.142.203 18.676.162 -M15 1. ... f5 2.Qh5+ g6 3.Qxh7 d6 4.Qxg6+ Kd8 5.d4 f4 6.Bxf4 a6 7.Bg5 Bf5 8.Qf7 Bxe4 9.Qxf8+ Kd7 10.Qxe7+ Kc6 11.Qxe4+ Kb6 12.Bd8 a5 13.Qe8 a4 14.Qb5+ Ka7 15.Bxc7 Ka8 16.Qxa4+
62/33 2:21:16 158.317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.
Is there a faster mate? Especially after the probably strongest continuation 1.e4 g6?
Maybe with the maneuver h4 and Rh3 or a4 and Ra3?
I am weak at chess and gave stockfish 3 sec /move, used stockfish help and was mate in 16. I assume it did not play very well.


[pgn]
[Event "Computer chess game"]
[Site "PC"]
[Date "2021.01.26"]
[Round "?"]
[White "user"]
[Black "Stockfish_20092110_x64_avx2"]
[Result "1-0"]
[BlackElo "1000"]
[Time "22:03:27"]
[WhiteElo "2400"]
[TimeControl "0+3"]
[SetUp "1"]
[FEN "2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1"]
[Termination "normal"]
[PlyCount "31"]
[WhiteType "human"]
[BlackType "program"]

1. e4 a6 {(a7-a6 Qd1-h5) -29.18/26 3} 2. Nc3 e6 {(e7-e6 Qd1-g4) -28.99/24
3} 3. Nf3 g6 {(g7-g6 Qd1-e2) -28.69/23 3} 4. d4 d6 {(d7-d6 Qd1-d3)
-28.79/21 3} 5. d5 Bg7 {(Bf8-g7) -28.52/22 3} 6. dxe6 Bxe6 {(Bc8xe6 Nc3-d5)
-28.49/20 3} 7. e5 Bg4 {(Be6-g4 Nc3-d5 Bg7xe5 Nd5xc7+ Ke8-d8 Nf3xe5 Bg4xd1
Ne5xf7+ Kd8xc7 Ke1xd1 b7-b5 Bf1-d3 Kc7-c6 Nf7-g5 h7-h6 Ng5-f7 h6-h5 Bc1-g5
a6-a5 Bd3-e4+ d6-d5 Be4xg6) -29.63/18 3} 8. exd6 cxd6 {(c7xd6 Nc3-e4)
-33.75/17 3} 9. h3 Bxf3 {(Bg4xf3 Qd1xf3) -29.77/17 3} 10. Qxf3 f5 {(f7-f5
Nc3-e2) -31.40/16 1} 11. Qxb7 Bf6 {(Bg7-f6 Bc1-h6 Bf6-e7 Bf1-c4 d6-d5
Bc4xd5 Be7-h4 Bd5-c6+ Ke8-d8 Qb7-d7+) -M5/63 3} 12. Bh6 f4 {(f5-f4 Nc3-d5
Bf6-h4 O-O-O Ke8-d8 Nd5-b6 Bh4xf2 Qb7-d7+) -M5/63} 13. Nd5 Bh4 {(Bf6-h4
O-O-O Ke8-d8 Nd5-b6 Bh4xf2 Qb7-d7+) -M5/63} 14. O-O-O f3 {(f4-f3 Rd1-e1+
Ke8-d8 Qb7-c7+) -M5/63} 15. Re1+ Be7 {(Bh4-e7 Qb7xe7+) -M5/63} 16. Qxe7#
1-0
[/pgn]
Uri Blass
Posts: 10460
Joined: Thu Mar 09, 2006 12:37 am
Location: Tel-Aviv Israel

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by Uri Blass »

I know that stockfish is designed to see wrong things because of hash collisions so I would like to know if it can see wrong mates(mates that are shorter than the shortest possible mate or see mates when there is no possible mate because of hash collisions).

I am not expert in stockfish's code and I would like to know if hash collisions can in thoery generate this situation or not.
Does somebody has a proof that it can generate this situation or alternatively a proof that it is in theory impossible?
Dann Corbit
Posts: 12662
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by Dann Corbit »

There does seem to be some problem with the given pv. I would say that it is not trustworthy.
Here is analysis of the pv positions, from the position before mate, backwards to the 4th move:

Code: Select all

4k3/1Q2b2p/p2p2pB/3N4/8/5p1P/PPP2PP1/2K1RB1R w - - acd 999; acs 0; bm Qxe7#; ce 32766; c3 "Qxe7#"; dm 1; pm Qxe7#; pv Qxe7#; 
4k3/1Q5p/p2p2pB/3N4/7b/5p1P/PPP2PP1/2K1RB1R b - - acd 999; acs 0; bm Kd8; ce -32765; c3 "Be7"; dm -1; pm Kd8; pv Kd8 Qc7#; 
4k3/1Q5p/p2p2pB/3N4/7b/5p1P/PPP2PP1/2KR1B1R w - - acd 999; acs 0; bm Re1+; ce 32764; c3 "Re1+"; dm 2; pm Re1+; pv Re1+ Be7 Qxe7#; 
4k3/1Q5p/p2p2pB/3N4/5p1b/7P/PPP2PP1/2KR1B1R b - - acd 51; acs 0; bm Kd8; ce -32763; c3 "f3"; dm -2; pm f3; pv K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 Ka6 Bc7 a4 Nc5+; 
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.
fastgm
Posts: 818
Joined: Mon Aug 19, 2013 6:57 pm

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by fastgm »

[d]2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
This is currently the critical variant that should be analyzed:

1. e4 g6 2. Nc3 c6 3. Qe2 h5 4. Qe3 b6 5. Qd4 f6 6. Qa4 a6 7. Qd4 Bh6 8. Qxb6 Bf4 9. Nf3 a5 10. Qxa5 Bb7 11. Qa7 Bc8 12. Qa8 Kd8 13. Ba6 e6 14. Qxc8+ Ke7 15. d4 Bxc1 16. Rxc1 e5 17. dxe5 fxe5 18. Nxe5 Kf6 19. Qxd7 Kg5 20. Qxc6 h4 21. Qxg6+ Kf4 22. Qf6#
peter
Posts: 3252
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by peter »

fastgm wrote: Wed Feb 03, 2021 7:07 am [d]2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
This is currently the critical variant that should be analyzed:

1. e4 g6 2. Nc3 c6 3. Qe2 h5 4. Qe3 b6 5. Qd4 f6 6. Qa4 a6 7. Qd4 Bh6 8. Qxb6 Bf4 9. Nf3 a5 10. Qxa5 Bb7 11. Qa7 Bc8 12. Qa8 Kd8 13. Ba6 e6 14. Qxc8+ Ke7 15. d4 Bxc1 16. Rxc1 e5 17. dxe5 fxe5 18. Nxe5 Kf6 19. Qxd7 Kg5 20. Qxc6 h4 21. Qxg6+ Kf4 22. Qf6#
As told here

https://forum.computerschach.de/cgi-bin ... #pid139302

I'd say, it's rather this one:

2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1

1. e4 g6 2. Qe2 d6 3. e5 e6 4. Nf3 Be7 5. Qc4 Kd7 6. d4 a6 7. Ng5 b5 8. Qb3 h6
9. Nc3 hxg5 10. Nxb5 axb5 11. Qf3 d5 12. Qxf7 Kd8 13. h4 gxh4 14. Bxb5 c6 15.
Bxc6 Kc7 16. Qxe7+ Kxc6 17. Rxh4 Bd7 18. Qc5+ Kb7 19. Rh7 Kb8 20. Rxd7 g5 21. Qf8#

Can't prove it by output back to the (rather strange, at the edge to be reached by legal play) given starting position, my old hardware didn't make it further than to the position after first 3 moves of the line above

2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1

1. e4 g6 2. Qe2 d6 3. e5 e6

2b1kb2/ppp2p1p/3pp1p1/4P3/8/8/PPPPQPPP/RNB1KBNR w KQ - 0 1

Analysis by Cfish 110720 64 POPCNT NUMA:

4.Sf3 h6 5.Dc4 Kd7 6.Df4 f5 7.exf6 a6 8.Da4+ Kd8 9.De4 Kd7 10.Dxg6 e5 11.Df7+ Kc6 12.Dxf8 Le6 13.De8+ Ld7 14.Sxe5+ dxe5 15.Dxe5 b5 16.d4 Kb6 17.Lf4 a5 18.Dxc7+ Ka6 19.Dxd7 Kb6 20.Dxb5+ Ka7 21.Da6#
+- (#18) Tiefe: 65/35 00:02:20 3789MN

Sorry for the german abbrevations, didn't want to stop the running process for changing.

BTW, I don't think my Xeon X5670 will make it to get the #21 into output at starting position, too little hash, too many sidelines to be corrected, if engine on it's own doesn't find the very shortest line on its own.

But one thing you're right about, Andreas, SF since NNUE has lost a little of it's mate- search- speed due to NNUE- code, even without usage of net.
That's why I took one of the latest Cfish compiles before NNUE- came up.

Good candidates for analysing this aberrant mate are SlowChess 2.5 (very good specialised mate search), HekaStockfish with find mate and Xiphos, the latest one very thorough as for cutting detours on its own, just a little too litlle time to depth for this one "problem").

Somebody else with better hardware may "prove" this DTM, maybe I yet wouldn let any longer then 21 get to be surely proven by output only as for my perosnal pov, could well be even shorter, 20 seems as probable to me as 21.

Just don't think output at the starting position conclusive at all to be got with the current software- hardware combinations regards
Peter.
fastgm
Posts: 818
Joined: Mon Aug 19, 2013 6:57 pm

Re: Initial position - 27 pieces - Mate in 22 moves?

Post by fastgm »

fastgm wrote: Wed Feb 03, 2021 7:07 am [d]2b1kb2/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
This is currently the critical variant that should be analyzed:

1. e4 g6 2. Nc3 c6 3. Qe2 h5 4. Qe3 b6 5. Qd4 f6 6. Qa4 a6 7. Qd4 Bh6 8. Qxb6 Bf4 9. Nf3 a5 10. Qxa5 Bb7 11. Qa7 Bc8 12. Qa8 Kd8 13. Ba6 e6 14. Qxc8+ Ke7 15. d4 Bxc1 16. Rxc1 e5 17. dxe5 fxe5 18. Nxe5 Kf6 19. Qxd7 Kg5 20. Qxc6 h4 21. Qxg6+ Kf4 22. Qf6#
With 11.d4! it is one move shorter, so currently mate in 21 moves. Maybe there are still improvements for black before move 10.

1. e4 g6 2. Nc3 c6 3. Qe2 h5 4. Qe3 b6 5. Qd4 f6 6. Qa4 a6 7. Qd4 Bh6 8. Qxb6 Bf4 9. Nf3 a5 10. Qxa5 Bb7 11. d4 g5 12. Bxf4 gxf4 13. Qc7 e6 14. Qxb7 Ke7 15. Ne5 fxe5 16. dxe5 Ke8 17. O-O-O Kf7 18. Rxd7+ Kg6 19. Qc8 h4 20. Qg8+ Kh6 21. Rh7#