is this a fortress?

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

Moderators: hgm, Rebel, chrisw

zenpawn
Posts: 349
Joined: Sat Aug 06, 2016 8:31 pm
Location: United States

Re: is this a fortress?

Post by zenpawn »

MikeB wrote: Tue Oct 08, 2019 1:12 am I don't see the fortress, it seems to me that back can force a pawn off the board, either a or b pawn or the g4 pawn and once a white pawn comes off , it's over.
Agreed, though it's less about the a-pawn than the g-pawn. Once black installs its own pawn on g4, the standard f3 fortress square is gone, and it turns out the e3 square is not a sufficient alternative (due in large part to zugzwangs that prevent the white king from just shuffling).
Erin Dame
Author of RookieMonster
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: is this a fortress?

Post by jhellis3 »

Not sure what this 'fortress code' does, but it doesn't seem to be much good.
Yikes.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: is this a fortress?

Post by MikeB »

jhellis3 wrote: Tue Oct 08, 2019 5:04 pm
Not sure what this 'fortress code' does, but it doesn't seem to be much good.
Yikes.
Its working great - where there is fortress ...

[d]3r4/3r4/2p1k3/p1pbPp1p/Pp1p1PpP/1P1P2R1/2P4R/2K1Q3 w - - 0 6

Code: Select all

info depth 34 seldepth 102 multipv 1 score cp 8041 nodes 334138924 nps 19157145 hashfull 330 tbhits 0 time 17442 pv h2e2 d8g8 e2f2 d7e7 f2h2 e7e8 h2d2 g8g7 c1b2 g7g6 b2a1 g6g7 e1c1 g7g6 d2d1 e8b8 c1d2 g6g7 d1e1 g7g8 e1g1 b8e8 d2e1 g8g6 e1f1 g6g7 a1a2 e8g8 f1e2 g8e8 g1f1 g7g6 g3g1 g6g7 f1f2 g7g6 e2f1 g6g7 f2e2 e8b8 f1e1 g7g8 a2a1 b8e8 e1c1 e8b8 c1f1 b8e8 c2c4 b4c3 f1c1
info depth 35 currmove h2e2 currmovenumber 1
<snip>
info depth 35 currmove e1b4 currmovenumber 28
info depth 35 currmove g3g4 currmovenumber 29
info depth 35 seldepth 102 multipv 1 score cp 8107 lowerbound nodes 475224698 nps 20229214 hashfull 492 tbhits 0 time 23492 pv g3g4
info depth 34 currmove g3g4 currmovenumber 1
info depth 35 seldepth 102 multipv 1 score cp 8172 lowerbound nodes 484004860 nps 20277550 hashfull 498 tbhits 0 time 23869 pv g3g4
info depth 33 currmove g3g4 currmovenumber 1
info depth 35 seldepth 102 multipv 1 score cp 8261 lowerbound nodes 487817413 nps 20301194 hashfull 501 tbhits 0 time 24029 pv g3g4
info depth 32 currmove g3g4 currmovenumber 1
info depth 35 seldepth 102 multipv 1 score cp 8379 lowerbound nodes 491942345 nps 20329036 hashfull 503 tbhits 0 time 24199 pv g3g4
info depth 31 currmove g3g4 currmovenumber 1
info depth 35 seldepth 102 multipv 1 score cp 8525 lowerbound nodes 496600254 nps 20357475 hashfull 506 tbhits 0 time 24394 pv g3g4
info depth 30 currmove g3g4 currmovenumber 1
info depth 35 seldepth 102 multipv 1 score cp 8702 lowerbound nodes 500302612 nps 20378925 hashfull 510 tbhits 0 time 24550 pv g3g4
info depth 29 currmove g3g4 currmovenumber 1
info depth 35 seldepth 102 multipv 1 score cp 8904 lowerbound nodes 519741529 nps 20492115 hashfull 529 tbhits 0 time 25363 pv g3g4

info depth 35 seldepth 102 multipv 1 score cp 8804 nodes 574309454 nps 20742179 hashfull 580 tbhits 0 time 27688 pv g3g4 h5g4 h4h5 d8h8 e1h4 d7f7 h4g5 e6d7 g5g6 d7c7 h5h6 c7b6 h6h7 f7a7 h2h6 a7c7 c1d2 g4g3 d2e1 c7e7 e1f1 g3g2 f1g1 e7c7 g6h5 c7e7 h5h3 e7g7 h3f5 g7f7 f5h5 h8h7 h6h7 f7f4 h5d1 f4f1 d1f1 g2f1r g1f1 d5g8 h7h6 c5c4 d3c4 d4d3
info depth 36 currmove g3g4 currmovenumber 1

info depth 36 seldepth 102 multipv 1 score cp 8804 nodes 614643276 nps 20956843 hashfull 612 tbhits 0 time 29329 pv g3g4 h5g4 h4h5 d8h8 e1h4 d7f7 h4g5 e6d7 g5g6 d7c7 h5h6 c7b6 h6h7 f7a7 h2h6 a7c7 c1d2 g4g3 d2e1 c7e7 e1f1 g3g2 f1g1 e7c7 g6h5 c7e7 h5h3 e7g7 h3f5 g7f7 f5h5 h8h7 h6h7 f7f4 h5d1 f4f1 d1f1 g2f1r g1f1 d5g8 h7h6 c5c4 d3c4 d4d3
bestmove g3g4 ponder h5g4
Image
peter
Posts: 3185
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: is this a fortress?

Post by peter »

MikeB wrote: Mon Oct 07, 2019 4:26 pm 11 Cores each with pondering on, 8192M hash , game 5 min with 5 sec inc.
Lc0 scoring - 70% is under two pawns, 100% is two queens advantage. nice queen sac at the end to secure the win
[pgn][Event "Mac Pro x5690 3.46 Ghz "] [Site "Mac-Pro.local"] [Date "2019.10.07"] [Round "-"] [White "Honey 100719"] [Black "Honey 100719"] [Result "0-1"] [TimeControl "300+5"] [FEN "3k4/2p3pp/5p2/8/2N3P1/PP3RP1/2q3PK/8 b - - 0 1"] [SetUp "1"] 1... Kc8 {+70.18/29 +280} 2. a4 {+30.34/31 +283} Qd1 {+67.86/32 +266} 3. Nb2 {+32.65/32 +278} Qd4 {+68.46/33 +271} 4. Nd3 {+32.22/31 +272} Qxg4 {+71.40/33 +276} 5. Nf2 {+32.43/28 +271} Qh5+ {+67.35/38 +235} 6. Kg1 {+32.61/34 +262} f5 {+73.60/33 +229} 7. Nd3 {+23.56/33 +219} Qh6 {+78.59/36 +216} 8. Nf4 {+24.96/33 +192} g5 {+79.57/32 +202} 9. Ne2 {+20.17/33 +190} Qd6 {+79.75/31 +206} 10. Kf1 {+23.95/31 +170} Qd5 {+81.62/33 +202} 11. Rc3 {+23.51/29 +173} Qd6 {+80.97/34 +183} 12. Ke1 {+15.90/33 +163} Kb7 {+82.04/35 +177} 13. Rc4 {+23.06/29 +156} c5 {+82.14/32 +176} 14. Kf2 {+15.40/32 +130} Kb6 {+84.53/33 +181} 15. Rc3 {+13.98/39 +101} h5 {+86.39/33 +172} 16. Re3 {+12.67/32 +90} g4 {+88.08/29 +171} 17. Ke1 {+10.35/35 +43} Qd5 {+91.85/33 +158} 18. Kf2 {+8.52/31 +36} Ka5 {+92.45/27 +162} 19. Rc3 {+9.23/29 +34} Kb4 {+92.69/29 +167} 20. Re3 {+6.95/28 +24} Qd2 {+93.48/28 +168} 21. Re5 {+9.05/25 +27} f4 {+93.75/26 +169} 22. Re4+ {+6.18/27 +11} Kxb3 {+95.48/26 +161} 23. Rxf4 {+4.88/27 +16} c4 {+96.32/25 +160} 24. Re4 {+2.97/26 +17} Qa5 {+96.95/26 +161} 25. Ke3 {+3.17/25 +7} c3 {+99.01/25 +158} 26. Nd4+ {+1.61/25 +5} Kb2 {+99.98/28 +120} 27. Kd3 {+0.01/31 +10} Qa6+ {+100.00/24 +118} 28. Nb5 {+0.00/29 +11} c2 {+100.00/32 +112} 29. Rb4+ {+0.00/32 +16} Kc1 {+100.00/32 +107} 30. Rc4 {+0.00/29 +21} Kd1 {+100.00/31 +103} 31. Nc3+ {+0.83/29 +21} Ke1 {+100.00/34 +107} 32. Na2 {+0.00/37 +15} Kf2 {+100.00/35 +112} 33. Kc3 {+0.00/41 +13} Kxg3 {+100.00/39 +113} 34. Kb3 {+0.00/23 +5} Qxc4+ {+100.00/37 +94} 35. Kxc4 {+0.00/39 +5} h4 {+100.00/39 +97} 36. Nc1 {+0.00/36 +6} h3 {+100.00/42 +92} 37. gxh3 {+0.00/39 +11} gxh3 {+1000.22/40 +89} 38. Kb3 {+0.00/33 +13} h2 {+1000.20/39 +22} 39. Kxc2 {-1000.25/17 +18} h1=Q {+1000.19/40 +27} 40. Nb3 {-1000.19/21 +23} Kf4 {+1000.18/32 +32} 41. Kc3 {-1000.18/20 +28} Ke3 {+1000.17/36 +37} 42. Kc4 {-1000.16/31 +33} Qe4+ {+1000.16/35 +19} 43. Kb5 {-1000.15/27 +38} Qb1 {+1000.14/24 +23} 44. Kb4 {-1000.13/29 +42} Kd3 {+1000.13/29 +28} 45. a5 {-1000.12/28 +47} Qb2 {+1000.12/27 +33} 46. a6 {-1000.11/26 +51} Qc3+ {+1000.11/27 +38} 47. Kb5 {-1000.10/25 +56} Qxb3+ {+1000.10/27 +42} 48. Kc6 {-1000.09/26 +61} Kd4 {+1000.09/23 +47} 49. a7 {-1000.07/26 +66} Qd5+ {+1000.07/28 +52} 50. Kc7 {-1000.06/32 +71} Kc5 {+1000.06/35 +57} 51. a8=Q {-1000.05/54 +76} Qxa8 {+1000.05/48 +62} 52. Kd7 {-1000.04/1 +81} Qe4 {+1000.04/24 +67} 53. Kc7 {-1000.03/245 +86} Qh7+ {+1000.03/245 +72} 54. Kd8 {-1000.02/245 +91} Kd6 {+1000.02/245 +77} 55. Ke8 {-1000.01/245 +96} Qe7# {+1000.01/245 +82} {Black mates} 0-1[/pgn]
I don't see how Black has any more progress, if White gives up the a-pawn only, keeping the g-pawn.
Here I had another game for Crystal- Honey with Black but this time against Cfish.
12 threads of a 12x3GHz CPU, 8Gb hash each, ponder on:

[pgn] [Event "Lang 90m+30s"] [Site "Dort"] [Date "2019.10.08"] [Round "1"] [White "CfishR 270919 x64 POP N"] [Black "Crystal-Honey X5j"] [Result "*"] [SetUp "1"] [FEN "3k4/2p3pp/5p2/8/2N3P1/PP3RP1/2q3PK/8 b - - 0 34"] [PlyCount "54"] [TimeControl "5400+30"] 34... Kc8 35. Kg1 Qg6 {[%eval -154,41] [%emt 0:04:59]} 36. Ne3 {[%eval -258,50] [%emt 0:03:55] (Kh2)} Qb1+ {[%eval -174,40] [%emt 0:04:38]} 37. Nf1 {[%eval -302,50] [%emt 0:00:00]} Qb2 {[%eval -173,39] [%emt 0:02:07]} 38. b4 {[%eval -302,51] [%emt 0:08:07]} Qd4+ {[%eval -171,41] [%emt 0:00:00]} 39. Ne3 {[%eval -302,49] [%emt 0:00:58]} Qa1+ {[%eval -171,25] [%emt 0:00:38] (Kb7)} 40. Nf1 { [%eval -308,47] [%emt 0:01:29]} Qd4+ {[%eval -171,40] [%emt 0:00:27]} 41. Ne3 { [%eval -313,48] [%emt 0:01:02]} Qa7 {[%eval -171,42] [%emt 0:00:28] (Kb7)} 42. Kf2 {[%eval -247,51] [%emt 0:01:13]} Qxa3 {[%eval -171,45] [%emt 0:00:07]} 43. Rf4 {[%eval -247,55] [%emt 0:03:30]} Qd3 {[%eval -171,46] [%emt 0:00:00] (Db2+) } 44. Rc4 {[%eval -247,57] [%emt 0:01:07]} Qd2+ {[%eval -171,26] [%emt 0:17:05] } 45. Kf3 {[%eval -247,68] [%emt 0:00:00]} Qd3 {[%eval -178,47] [%emt 0:09:42] (h6)} 46. Rc5 {[%eval -247,56] [%emt 0:01:19] (Tc2)} h6 {[%eval -178,46] [%emt 0:02:39]} 47. Kf2 {[%eval -247,63] [%emt 0:00:00] (Tc2)} Qd2+ {[%eval -178,45] [%emt 0:01:11]} 48. Kf3 {[%eval -247,60] [%emt 0:01:56]} Qd3 {[%eval -178,46] [%emt 0:03:38] (Dd4)} 49. b5 {[%eval -247,62] [%emt 0:03:56] (Tc2)} Qd4 { [%eval -162,33] [%emt 0:13:59]} 50. Rd5 {[%eval -247,71] [%emt 0:00:00]} Qc3 { [%eval -155,40] [%emt 0:03:26] (Db2)} 51. Kf2 {[%eval -247,63] [%emt 0:02:39] (Ke2)} Qb3 {[%eval -148,34] [%emt 0:01:39] (g6)} 52. Kf3 {[%eval -247,62] [%emt 0:01:37]} Kb7 {[%eval -148,46] [%emt 0:00:00]} 53. Rd7 {[%eval -247,63] [%emt 0:01:40] (Tc5)} Qg8 {[%eval -148,45] [%emt 0:01:39]} 54. Nd5 {[%eval -248,55] [%emt 0:00:00] (Kf2)} Kb8 {[%eval -147,43] [%emt 0:01:38]} 55. Kf2 { [%eval -248,57] [%emt 0:00:11] (Se3)} Qe6 {[%eval -147,42] [%emt 0:01:06]} 56. Rd8+ {[%eval -248,60] [%emt 0:01:36]} Ka7 {[%eval -147,44] [%emt 0:00:00] (Kb7) } 57. Ne3 {[%eval -248,61] [%emt 0:03:39]} Kb7 {[%eval -147,42] [%emt 0:05:18] (Kb6)} 58. Rd2 {[%eval -248,61] [%emt 0:02:07] (Td5)} Kb6 {[%eval -147,32] [%emt 0:10:50] (Ka7)} 59. Rd5 {[%eval -248,58] [%emt 0:01:46]} g6 {[%eval -147, 35] [%emt 0:00:00] (De4)} 60. Kf3 {[%eval -248,63] [%emt 0:02:21]} Qf7 {[%eval -147,45] [%emt 0:00:16] (De7)} 61. Nc4+ {[%eval -248,64] [%emt 0:03:06] (Ke2)} *[/pgn]
Peter.
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: is this a fortress?

Post by jhellis3 »

While I don't know the correct result of the position, in my own analysis with the latest revision of Crystal, I found it (and the SF mod with FD) deviates from the line posted above at move 37, preferring ...Kb7 instead (or a transposition to the same position).

My own human intuition tells me the position should likely be a draw with the establishment of a g-pawn & rook fortress vs queen.

However, through analysis, I was able to achieve the following positions:

[d]8/2p3pp/2k2p2/8/1P3RP1/P5P1/6P1/q4NK1 w - - 7 44

[d]8/2p3pp/2k2p2/8/1P1q2P1/P4RP1/6P1/5NK1 w - - 9 45

[d]8/2p3pp/5p2/1k6/1P1R2P1/4NKP1/q5P1/8 b - - 5 49

[d]8/8/4kp2/6p1/6P1/2pqN1P1/5KP1/4R3 w - - 0 49

[d]8/8/5p2/6p1/2q5/1kp3P1/4R1P1/4NK2 b - - 0 1

The final position being Mate in 25 (or maybe less).

Obviously, the ending position being lost is certain. And I am fairly confident that black can win both the queenside pawns (though not 100% certain). I'm less confident of the positions between that and the final one though.
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: is this a fortress?

Post by jhellis3 »

I'm now quite confident that the penultimate position is also won, and that it is quite achievable from the antecedent position. Therefore, the main question comes down to whether white can hold on to the b pawn from here:
[d]8/2p3pp/5p2/1k6/1P1R2P1/4NKP1/q5P1/8 b - - 5 49

If White can't hold the b pawn, I suspect it likely doomed.
peter
Posts: 3185
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: is this a fortress?

Post by peter »

jhellis3 wrote: Wed Oct 09, 2019 11:42 pm If White can't hold the b pawn, I suspect it likely doomed.
I think you're wrong, Joseph.

Here I have another playout down to a drawn 7 men position. Even without White's a and b- pawn the fortress did not fall:

[pgn] [FEN "3k4/2p3pp/5p2/8/2N3P1/PP3RP1/2q3PK/8 b - - 0 34"] 34... Kc8 35. Kg1 Qe4 36. Ne3 Qb1+ 37. Nf1 Qe4 38. Ne3 Qb1+ 39. Nf1 Qe1 40. b4 Qc1 41. Kh2 Kb8 42. Kh1 Kb7 43. Kg1 Qc4 44. Ne3 Qd4 45. Kh2 Kb6 46. Kg1 Ka6 47. Kh2 Kb5 48. Kh1 Ka4 49. Kh2 Qd3 50. Kg1 Qxa3 51. Nf5 Qc1+ 52. Rf1 Qd2 53. Nxg7 Kxb4 54. Rf4+ Kb5 55. Nh5 c5 56. Nxf6 c4 57. Kh2 Qd6 58. g5 Qd3 59. Ne4 c3 60. Rf5+ Kc6 61. Rf6+ Kb5 62. Rf5+ Kc4 63. Rc5+ Kd4 64. Rxc3 Qxe4 65. Rc1 Qf5 66. Rc7 Ke3 67. Kg1 Qb1+ 68. Kh2 Qg6 69. Kg1 Kd3 70. Rd7+ Ke4 71. Rb7 Kd5 72. g4 Qc2 73. Kh2 Ke6 74. Ra7 Ke5 75. Rf7 Qg6 76. Rf6 Qc2 77. Rf7 Qb1 78. Kg3 Qe1+ 79. Kh2 Qh4+ 80. Kg1 Qe1+ 81. Rf1 Qh4 82. Rd1 Ke4 83. Rd7 Kf4 84. Rf7+ Kxg4 85. Re7 * [/pgn]
Position after 84...Kxg4 is Losomosov draw.

Started with 90'+30" again, lowering then to 75'+15" from 50th onwards, 8G hash, 24 threads of 12x3GHz.
Peter.
jhellis3
Posts: 546
Joined: Sat Aug 17, 2013 12:36 am

Re: is this a fortress?

Post by jhellis3 »

Of course, one is free to think whatever he or she chooses; I'm just interested in the objectively correct outcome of the position.

And I have no idea what engines someone else is using, but I strongly suspect that black giving up two pawns for no apparent compensation is far from optimal play.....

One can grab the latest Crystal source at https://github.com/jhellis3/Stockfish/tree/crystal