Winning after Qf6+!

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

Moderators: hgm, Rebel, chrisw

zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Winning after Qf6+!

Post by zullil »

A much discussed position:

[d]1r3r2/4bpkp/1qb1p1p1/3pP1P1/p1pP1Q2/PpP2N1R/1Pn1B2P/3RB2K w - - bm Qf6
Here we see Lc0 finding Qf6+ instantly. And the claim is made that its line is correct. But is it? The line given starts with Qf6+ Bxf6 gxf6+ Kg8 Ng5.

Here Stockfish seems to show that Bd2 (rather than Ng5) is indeed winning. But how does White win after Ng5 Nxa3?
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: Winning after Qf6+!

Post by jp »

And could someone with the necessary GPU power please post what Lc0 says after it calculates for as long as possible? Does it stick to that line and evaluation, or does one or both of them change?
Zenmastur
Posts: 919
Joined: Sat May 31, 2014 8:28 am

Re: Winning after Qf6+!

Post by Zenmastur »

I actually solved this once. The I accidently destroyed the data base the analysis was in along with the solutions to about 100 other such positions. I still have the DB but can't read it and haven't had time to try to repair it so it can be read :( :( :(

In the mean time I do remember that the line Lc0 gave has an error in it. Anyway I will solve it again when I have had a little more time. 8-) 8-) 8-)

Regards,

Zenmastur
Only 2 defining forces have ever offered to die for you.....Jesus Christ and the American Soldier. One died for your soul, the other for your freedom.
peter
Posts: 3185
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Winning after Qf6+!

Post by peter »

zullil wrote: Sat Oct 12, 2019 11:46 am But how does White win after Ng5 Nxa3?
24.Ng5 only draws.

After that and Forward Backward of some according lines I had in my database already:

[d]1r3rk1/5p1p/1qb1pPp1/3pP1N1/p1pP4/PpP4R/1Pn1B2P/3RB2K b - - 0 1

Analysis by asmFishWCP_2019-10-11_popcnt:

24...Nxa3 25.Bf2 Nb1 26.Rxh7 Nxc3 27.Rg7+ Kh8 28.bxc3 b2 29.Kg2 a3 30.Rg1 a2 31.Kh3 b1B 32.Rh7+ Kg8 33.Be3 Bf5+ 34.Bg4 Rb7 35.Bxf5 exf5 36.Rg7+ Kh8 37.Rf1 a1Q 38.Rf4 Qf1+ 39.Rxf1 Ba4 40.Rf4 Bd1 41.Kg3 Qb1 42.Rh7+ Kg8 43.Rfh4 Bh5 44.Rg7+ Kh8 45.Rxh5+ gxh5 46.Rh7+ Kg8 47.Rg7+
= (0.00) Depth: 53/47 00:20:16 31415MN

Yet after 21...Kg7(?) with full hash from a slow Forward Backward:

[d]1r3r2/4bpkp/1qb1p1p1/3pP1P1/p1pP1Q2/PpP2N1R/1Pn1B2P/3RB2K w - - 0 1

Analysis by asmFishWCP_2019-10-11_popcnt:

22.Qf6+ Bxf6 23.gxf6+ Kg8 24.Bd2 Qa5 25.Bh6 Qxc3 26.bxc3 b2 27.Bxf8 Rxf8 28.Rb1 Rb8 29.Ng5 h6 30.Rxh6 Nxa3 31.Rh7 Be8 32.Rxb2 Rxb2 33.Bg4 Nc2 34.Rg7+ Kh8 35.Bxe6 fxe6 36.Ra7 Rb8 37.Nxe6 Ne1 38.h4 Nf3 39.Kg2 Nxh4+ 40.Kh3 Nf3 41.Kg3 Nd2 42.Ng5 Ne4+ 43.Nxe4 dxe4 44.d5 g5 45.e6 Bg6 46.d6 Bf5 47.e7 Kg8 48.e8Q+ Rxe8 49.f7+ Kf8 50.fxe8Q+ Kxe8 51.Rxa4 Kd7 52.Ra5 Be6 53.Rxg5 Kxd6 54.Kf4 Bh3 55.Kxe4 Bf1 56.Kd4 Kc6 57.Ra5 Kb6 58.Rc5 Be2 59.Re5 Bf1 60.Re6+ Kb5 61.Rf6 Bd3 62.Kd5 Ka4 63.Rb6
+- (2.70) Depth: 47/86 00:14:37 23997MN
Peter.
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: Winning after Qf6+!

Post by jp »

peter wrote: Sat Oct 12, 2019 11:08 pm
zullil wrote: Sat Oct 12, 2019 11:46 am But how does White win after Ng5 Nxa3?
24.Ng5 only draws.
And what happens if Black replies to the apparently bad Ng5 with the apparently also bad h5?
Is White then winning again with Bxh5, and what is the main line?
Old SF can only find a draw at depth 46.

1r3rk1/5p2/1qb1pPp1/3pP1NB/p1pP4/PpP4R/1Pn4P/3RB2K b - -
peter
Posts: 3185
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Winning after Qf6+!

Post by peter »

jp wrote: Sun Oct 13, 2019 1:56 am And what happens if Black replies to the apparently bad Ng5 with the apparently also bad h5?
Is White then winning again with Bxh5, and what is the main line?
22. Qf6+ Bxf6 23.gxf6+ Kg8

24. Ng5 (?) h5 (?) 25. Bxh5 Rb7 (25...Nxa3 (?!) 26. Bd2 Nb5 27. Rg1 +-) 26. Bf2 Nb4 27. Rf1 Nd3 28. Bg3 Bb5 29. Be2 Qxd4 30. cxd4 c3 31. bxc3 Nf4 +-

A line like this should be long enough and not too long to keep the +- eval in hash at backwarding, if hash is big enough and Backward has enough hardware- time.
Still you'll have to give the Fish some pondering- time after coming back to the dia- position to try alternative moves after 25.Bxh5 and maybe it will spare hardware- time there again to go into and out of the one or the other one side lide instead of stand alone computing, but the output should become a winning one sooner or later.

[d]1r3rk1/5p2/1qb1pPp1/3pP1NB/p1pP4/PpP4R/1Pn4P/3RB2K b - - 0 1

Analysis by asmFishWCP_2019-10-11_popcnt:

25...Tb7 26.Lf2 Sb4 27.Tf1 Sd3 28.Lg3 Dxd4 29.cxd4 c3 30.Le2 Lb5 31.bxc3 b2 32.Tb1 Sf2+ 33.Lxf2 Lxe2 34.Kg1 Lg4 35.Th7 Lf5 36.Tg7+ Kh8 37.Sxf7+ Tbxf7 38.Txf7 Txf7 39.Txb2 g5 40.Le3 Kh7 41.Lxg5 Kg6 42.Ld2 Kh5 43.Kf2 Kg4 44.Tb8 Lg6 45.Tg8 Kf5 46.Th8 Ke4 47.h4 Kd3 48.Le1 Kc2 49.h5 Lf5 50.Tg8 Kb3 51.h6 Kxa3 52.Tg7 Tf8 53.Tb7 Ka2 54.h7 a3 55.Ke3
+- (4.37) Tiefe: 40/72 00:14:15 22768MN

Which one's the main line with both sides blundering is difficult to say, but after 24.Ng5(?) h5(?) White's winning still, yet only because of Black's blunder 24...h5(?).
24.Ng5(?) Nxa3 is drawing.
Peter.
peter
Posts: 3185
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Winning after Qf6+!

Post by peter »

jp wrote: Sat Oct 12, 2019 12:09 pm And could someone with the necessary GPU power please post what Lc0 says after it calculates for as long as possible? Does it stick to that line and evaluation, or does one or both of them change?
I borrowed a 2xRTX2080ti- installation using net 49921 and 8 x i9 CPU with 64 G hash here.

After 2 minutes output changes from 24.Ng5 (?) to 24.Bd2 (!), that's impressive:

[d]1r3r2/4bpkp/1qb1p1p1/3pP1P1/p1pP1Q2/PpP2N1R/1Pn1B2P/3RB2K w - - 0 1
Analysis by Lc0 v0.22.0 2x RTX2080 Ti syzygy:

Code: Select all

22.Df6+ Lxf6 23.gxf6+ Kg8 24.Sg5 Se3 25.Txh7 Sxd1 26.Tg7+ Kh8 27.Th7+ Kg8 28.Lxd1 Tb7 29.Tg7+ Kh8 30.Th7+ Kg8 31.Kg2 Tc8 32.Ld2 Dd8 
  +/-  (1.29)   Tiefe: 9/22   00:00:00
22.Df6+ Lxf6 23.gxf6+ Kg8 24.Sg5 Se3 25.Txh7 Sxd1 26.Tg7+ Kh8 27.Lxd1 Tb7 28.Ld2 Da7 29.Kg2 Le8 
  +/-  (1.34)   Tiefe: 10/22   00:00:01  3kN
22.Df6+ Lxf6 23.gxf6+ Kg8 24.Sg5 h6 25.Txh6 Se3 26.Td2 Tfc8 27.Th3 Sf5 28.Lg4 Le8 29.Th7 Tb7 30.Lxf5 
  +/-  (1.36)   Tiefe: 11/22   00:00:01  7kN
...
22.Df6+ Lxf6 23.gxf6+ Kg8 24.Sg5 Sxa3 25.Txh7 Sb5 26.Tg7+ Kh8 27.Th7+ Kg8 28.Tg7+ Kh8 29.Kg2 a3 30.Th7+ Kg8 31.h4 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 Dd8 33.Tf4 a3 34.Le3 axb2 35.Tfh4 Dxf6 36.exf6 b1D+
+- (2.04) Tiefe: 17/40 00:00:07 204kN
...
22.Df6+ Lxf6 23.gxf6+ Kg8 24.Sg5 Sxa3 25.Txh7 Sb5 26.Tg7+ Kh8 27.h4 Sd6 28.Kg2 Dd8 29.Lg3 a3 30.h5 Se4 31.Tf1 axb2 32.Th7+ Kg8 33.hxg6 Sxf6 34.exf6 b1D 35.Tg7+ Kh8 36.Tf4 Dxf6 37.Th7+ Kg8 38.Txf6 Dc2 39.gxf7+ Txf7 40.Tfxf7 Dxe2+ 41.Kh3 Tb7 42.Thg7+ Kh8 43.Le5 De3+ 44.Kh2 De2+ 45.Kg3 De3+ 46.Kg4 De2+ 47.Kg3 De1+ 48.Kg4 De2+ 49.Kh4 De1+ 50.Kh5 Dd1+ 51.Kg6 Db1+ 52.Kh5 Dh1+ 53.Kg4 Dg1+ 54.Kh5 Dh1+ 55.Kg4 Dg1+ 56.Kh4 De1+ 57.Kh3 Dh1+ 58.Kg3 Dg1+ 59.Kh4
+/- (1.21) Tiefe: 41/86 00:10:29 21130kN, tb=166

27.h4 is still drawn, but 27...Nd6 (?) (...Nxd4 instead holds) loses, yet not as soon as after 28..Qd8( ?) (better 28...Ne8).
Peter.
jp
Posts: 1470
Joined: Mon Apr 23, 2018 7:54 am

Re: Winning after Qf6+!

Post by jp »

peter wrote: Sun Oct 13, 2019 7:34 am
Thank you, Peter! I'll put some of those lines in pgn so we can view them easily. Here is your asmFishWCP_2019-10-11_popcnt PV:

[pgn][FEN "1r3r2/4bpkp/1qb1p1p1/3pP1P1/p1pP1Q2/PpP2N1R/1Pn1B2P/3RB2K w - - 0 22"] 22.Qf6+ Bxf6 23.gxf6+ Kg8 24.Bd2 Qa5 25.Bh6 Qxc3 26.bxc3 b2 27.Bxf8 Rxf8 28.Rb1 Rb8 29.Ng5 h6 30.Rxh6 Nxa3 31.Rh7 Be8 32.Rxb2 Rxb2 33.Bg4 Nc2 34.Rg7+ Kh8 35.Bxe6 fxe6 36.Ra7 Rb8 37.Nxe6 Ne1 38.h4 Nf3 39.Kg2 Nxh4+ 40.Kh3 Nf3 41.Kg3 Nd2 42.Ng5 Ne4+ 43.Nxe4 dxe4 44.d5 g5 45.e6 Bg6 46.d6 Bf5 47.e7 Kg8 48.e8Q+ Rxe8 49.f7+ Kf8 50.fxe8Q+ Kxe8 51.Rxa4 Kd7 52.Ra5 Be6 53.Rxg5 Kxd6 54.Kf4 Bh3 55.Kxe4 Bf1 56.Kd4 Kc6 57.Ra5 Kb6 58.Rc5 Be2 59.Re5 Bf1 60.Re6+ Kb5 61.Rf6 Bd3 62.Kd5 Ka4 63.Rb6[/pgn]
peter
Posts: 3185
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Winning after Qf6+!

Post by peter »

jp wrote: Sun Oct 13, 2019 8:41 am Thank you, Peter! I'll put some of those lines in pgn so we can view them easily.
You're welcome.
I have a rather big .pgn of my own stored since 2014 when this game was played between Lyudmil and Louis' SF of that time. Over the years lots of lines came in addition, now there's one more output- line from LC0 added. Even if no new insight within the first decisive moves are included, it's just for historical interest.
:)
Obviously it's a typical position where NN- engines with big enough net and hardware succeed faster and better than SF, even if you have to consider, that Lyudmil did choose this special one rather selectively to show a certain weakness of SF's that way.
Peter.
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Winning after Qf6+!

Post by zullil »

peter wrote: Sun Oct 13, 2019 7:34 am
27.h4 is still drawn, but 27...Nd6 (?) (...Nxd4 instead holds) loses, yet not as soon as after 28..Qd8( ?) (better 28...Ne8).
Hi Peter,

Are you saying that White wins here?

[d]1r3rk1/5p1R/1qbnpPp1/3pP1N1/p1pP3P/1pP5/1P2B3/3RB2K w - - 1 6

Stockfish-dev isn't seeing it.