The trojan horse puzzle

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

Moderators: hgm, Rebel, chrisw

peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: The trojan horse puzzle

Post by peter »

Really nice, Arpad!
:)
The most exhilarating point to me is the complete nonchallance about Duals, or am I wrong about that?

Even if theoretically I'could imagine 1.Kb1 one move shorter to mate (my guess: #47) than the other possible King- moves, I wouldn't even be sure about it, not to mention were able to prove it, what does that matter at all, seeing it not as a mate in x- puzzle?

And I wouldn't call the theme cyclic Zugzwang, null move of course matters, but the main poblem is some kind of "lazy Knight"- eval together with better known lazy King, isn't it?
:)
Peter.
User avatar
Eelco de Groot
Posts: 4567
Joined: Sun Mar 12, 2006 2:40 am
Full name:   

Re: The trojan horse puzzle

Post by Eelco de Groot »

Uri Blass wrote:I can add that I was surprised to see it because I expected stockfish not to see it because of null move pruning and I know that stockfish cannot solve some very simple problems that all engines can solve because of null move pruning.

For example the following problem when stockfish suggests Ka2 and may be the only top engine in the world that cannot see that Kc1 is winning in a reasonable time.

[D]8/7p/5P1k/1p5P/8/P1p1p1p1/2P1P1P1/1K2b3 w - - 7 6
The difference is that in the original diagram there are only three pieces that can move, and you can add that kings and knights have limited range, that further limits it. There are many different paths to the same goal and they are all the same because the other pieces -in this case the pawns- do not add to the solution, don't move. So really a lot transposes. (And you only need a few entries in the pawn hash for the pawn formation.)

That everything transposes is also a problem, you get horizon effects because the knight does not know where to go if all the squares around him get the same high value. (I think it's something like this: if the knight or king can't make progress, -horizon effect- they may lose the information that got these squares to such high scores. In a next iteration they don't find the path, or take a longer than necessary path so the horizon shifts. Like those early computer chess games where every move seemed to win so the program never actually forced mate. I forgot what program.)

Like here where Ancalagon even loses the solution:

[pgn]
[Event "?"]
[Site "?"]
[Date "2017.09.15"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "3k4/8/7p/2p1p1pP/1pPpPpP1/1P1P1P2/N7/2K5 w - -"]

1. K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c1 Kc6 25.Kd2 Kd6 26.Ke2 Kc6 27.Kf2 Kd6 (27.435.987.574) 25325
48 18:03 +M18 14...Kf7 15.Nd6+ Kg7 16.Nf5+ Kh7 17.Kb1 Kg8 18.Nxh6+ Kg7 19.Nf5+ Kf7 20.Nd6+ Ke7 21.Nb7 Kf7 22.Nxc5 Ke7 23.Na6 Ke6 24.c5 Kf6 25.c6 Ke6 26.c7 Kd7 27.h6 Kc6 (27.435.987.574) 25325
48 18:03 +M18 14...Kf6 15.Nd6 Kg7 16.Nf5+ Kh7 17.Kb1 Kg8 18.Nxh6+ Kg7 19.Nf5+ Kf7 20.Nd6+ Kg7 21.Nb7 Kf7 22.Nxc5 Kf6 23.Na6 Kg7 24.c5 Kf6 25.c6 Ke6 26.c7 Kd7 27.h6 Kc6 (27.435.987.574) 25325
-----

Here Stockfish does not lose it and sees #30
[pgn]
[Event "?"]
[Site "?"]
[Date "2017.09.15"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "3k4/8/7p/2p1p1pP/1pPpPpP1/1P1P1P2/N7/2K5 w - -"]

1. Kd2 Kd7 2. Nc1 Kc6 3. Ne2 Kd7 4. Ng1 Ke7 5. Nh3 Ke6
6. Nf2 Kd6 7. Nd1 Kd7 8. Nb2 Kc6 9. Na4 Kd6 10. Nb6 Ke6
11. Kc2 Ke7 12. Nd5+ Kf7 13. Nc7 Ke7 14. Nb5 Kd7 (14... Ke6
15. Na3{diagram}) 15. Kb2 *[/pgn]

[D]8/8/4k2p/2p1p1pP/1pPpPpP1/NP1P1P2/2K5/8 b - -

Engine: Kaissa HT (512 MB)
by T. Romstad, M. Costalba, J. Kiiski, G. Linscott

101 440:53 +M30 15...Ke7 16.Kd1 Kd8 17.Nc2 Kc7
18.Ke2 Kd7 19.Kf2 Kc7 20.Ne1 Kd8
21.Kg2 Kd7 22.Kh3 Kd6 23.Ng2 Ke6
24.Nh4 gxh4 25.Kxh4 Kf6 26.g5+ hxg5+
27.Kg4 Kf7 28.Kxg5 Kg7 (619.081.078.790) 23402

101 440:53 +M30 15...Kf6 16.Kd1 Ke7 17.Nc2 Kd6
18.Ke1 Kd7 19.Kf2 Kc7 20.Ne1 Kd8
21.Kg2 Kd7 22.Kh3 Kd6 23.Ng2 Ke6
24.Nh4 gxh4 25.Kxh4 Kf6 26.g5+ hxg5+
27.Kg4 Kf7 28.Kxg5 Kg7 (619.081.078.790) 23402

100 440:53 +M30 15...Kd7 16.Kd1 Kc6 17.Nc2 Kc7
18.Ke2 Kd7 19.Kf2 Kc7 20.Ne1 Kd8
21.Kg2 Kd7 22.Kh3 Kd6 23.Ng2 Ke6
24.Nh4 gxh4 25.Kxh4 Kf6 26.g5+ hxg5+
27.Kg4 Kf7 28.Kxg5 Kg7 (619.081.078.790) 23402

best move: Ke6-e7 time: 440:53.250 min n/s: 23.402.830 nodes: 619.081.078.790
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
Arpad Rusz
Posts: 273
Joined: Sat Apr 17, 2010 2:34 pm
Location: Budapest

Re: The trojan horse puzzle

Post by Arpad Rusz »

It seems that both 1.Kd2 and 1.Kb1 are equally good keys so I have corrected the study by modifying the position a bit:

http://ruszchessstudies.blogspot.hu/201 ... ess-3.html
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: The trojan horse puzzle

Post by MikeB »

latest dev-SF-McB

[d]8/7p/5P1k/1p5P/8/P1p1p1p1/2P1P1P1/1K2b3 w - - 7 1

Code: Select all

dep	score	nodes	time	(not shown:  tbhits	knps	seldep)
 51	  #18 	3.14G	1:14.14	Kc1 Bf2 Kd1 Bg1 Ke1 Bf2+ Kf1 Kxh5 f7 Kg5 f8=Q h5 Qc5+ Kg6 Qxb5 h4 Qd7 h3 Qxh3 Be1 a4 Bd2 a5 Bc1 a6 Kf7 Qf5+ Kg7 a7 Ba3 a8=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15 	2993    	0:00.00	Kc1 Bf2 
  1	+7.35 	1538    	0:00.00	f7 Bd2 
  0	# 
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: The trojan horse puzzle

Post by peter »

Arpad Rusz wrote:It seems that both 1.Kd2 and 1.Kb1 are equally good keys so I have corrected the study by modifying the position a bit:

http://ruszchessstudies.blogspot.hu/201 ... ess-3.html
Very well, Árpád, but what about 1.Ke1 now?
Here:
[d]7k/8/7p/2p1p1pP/1pPpPpP1/1P1P1P2/4K3/2N5 w - - 0 1

1. Ke1 Kg7 2. Ne2 Kf6 3. Ng1 Kf7 4. Nh3 Kf8 5. Nf2 Kf7 6. Nd1 Ke8 7. Nb2 Kd7 8. Na4 Kc6 9. Kd1 Kd6 10. Nb6 Ke7 11. Nd5+ Kf7 12. Nc7 Ke7 13. Nb5 Kd7 14. Na3 Kd615. Nc2 Kd7 16. Ne1 Ke8 17. Ng2 Kf7 18. Nh4

, I could spare one move to get to h4 with the Knight, the aim you reached at 19th in your .pgn. (Of course, the black King is on an other square)

Komodo 11.2.2 (NM switched off!) could have missed one more chance to force another triangle of the white King to get to b6 with the Knight, (even if I don't think so) or could have then a way to mate from 18th onward longer for one move or another one (again I don't think so), but even if so, that would make it just (about) the same Major Dual again, wouldn't it?
(I get #44 with 1.Ke1 and 45 with Kd2, but I can't prove this for sure.)

And then again, one move more or less in the one or the other one first move- solution wouldn't mean an thing anyhow in an non- mate- in- x- study, would it?

Nevermind, the Piece ist great anyhow, really would like to know the author
Peter.
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: The trojan horse puzzle

Post by peter »

peter wrote:...or could have then a way to mate from 18th onward longer for one move or another one (again I don't think so)
Maybe I have to stand corrected about that.
18.Kh4 already in my way after 1.Ke1 seems yet to cost even three moves later on to mate.
Moving the White King further to King's side before Nh4 makes the way to mate shorter for what you lose before seemingly, so I'm still at #44 with 1.Ke1 and #45 with 1.Kd2 till now., but I'm even less sure about that than before.

Anyhow, I'll go on trying to discriminate these two first moves of your version, Árpád, only if you think it matters for one (or two) moves longer or shorter to mate.
:)
Peter.
peter
Posts: 3186
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: The trojan horse puzzle

Post by peter »

peter wrote: [d]7k/8/7p/2p1p1pP/1pPpPpP1/1P1P1P2/4K3/2N5 w - - 0 1

1. Ke1 Kg7 2. Ne2 Kf6 3. Ng1 Kf7 4. Nh3 Kf8 5. Nf2 Kf7 6. Nd1 Ke8 7. Nb2 Kd7 8. Na4 Kc6 9. Kd1 Kd6 10. Nb6 Ke7 11. Nd5+ Kf7
:?:
Forget about that too, 11...Ke6 instead forces White's King to go to c1 before Na3 works.

Considering that 1.Ke1 yet seems to take just as long as 1.Kd2, 45 moves both, if I'm not wrong again this time.
:)
Peter.
zenpawn
Posts: 349
Joined: Sat Aug 06, 2016 8:31 pm
Location: United States

Re: The trojan horse puzzle

Post by zenpawn »

Arpad Rusz wrote:[D]3k4/8/7p/2p1p1pP/1pPpPpP1/1P1P1P2/N7/2K5 w - - 0 1
GM Simon Williams recently made a video describing his thought process for solving this puzzle: https://www.youtube.com/watch?v=BSrsWJLRLgc
Paloma
Posts: 1167
Joined: Thu Dec 25, 2008 9:07 pm
Full name: Herbert L

Re: The trojan horse puzzle

Post by Paloma »

Thanks, great Video :!:
Paloma
Posts: 1167
Joined: Thu Dec 25, 2008 9:07 pm
Full name: Herbert L

Re: The trojan horse puzzle

Post by Paloma »

[pgn][Event "?"]
[Site "?"]
[Date "2017.09.26"]
[Round "?"]
[White "Trojan horse puzzle"]
[Black "Arpad Rusz"]
[Result "1-0"]
[Annotator "?"]
[SetUp "1"]
[FEN "3k4/8/7p/2p1p1pP/1pPpPpP1/1P1P1P2/N7/2K5 w - - 0 1"]
[PlyCount "52"]

1. Kb2 Kc8 2. Nc1 Kb7 3. Ne2 Kc7 4. Ng1 Kd7
5. Nh3 Ke7 6. Nf2 Kd6 7. Nd1 Kc6 8. Ka2 Kb6 9. Nb2 $2 {39#} (9. Nf2 $1 {25#}
Kc6 10. Nh3 Kd7 11. Nxg5 $1 Ke7 12. Nh3 Kf6 13. Kb1 {21#} Ke6 14. Nxf4+ exf4
15. Kc1 Kf6 16. Kd2 Kg7 17. e5 {17#}) 9... Kc6 10. Na4 {38#} Kd6 11. Nb6 Ke6
12. Nd5 {36#} Kf7 (12... Kd6 $2 13. Nf6 Ke6 14. Ng8) 13. Nc7 Ke7 14. Nb5 {34#}
Kd7 15. Na3 Kd6 (15... bxa3 16. Kxa3 {21#} Kc6 17. b4 cxb4+ 18. Kxb4 Kb6 19.
c5+ Kc6 20. Kc4 Kc7 21. Kd5) 16. Nc2 {32#} Ke6 17. Ne1 {32#} (17. Kb2 {31#})
17... Kf6 18. Ng2 Ke6 19. Kb2 Kf6 20. Kc2 Ke6 21. Kd2 Kf6 22. Ke2 Ke6 23. Kf2 {
26#} Kf6 24. Kg1 Ke6 25. Kh2 Kf7 26. Kh3 {23#} Kf6 (26... Ke6 27. Nh4 gxh4 (
27... Kf6 $2 28. Nf5 {16#}) 28. Kxh4 {21#} Kf6 29. g5+ hxg5+ 30. Kg4 Kf7 (30...
Kg7 31. Kxg5 {17#} Kh7 32. h6 {16#}) 31. Kxg5 {18#} Kg7 32. Kf5 Kh6 33. Kxe5
Kxh5 34. Kxf4 {15#}) 1-0

[/pgn]