Stockfish MateFinder Update

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
jhellis3
Posts: 459
Joined: Fri Aug 16, 2013 10:36 pm

Stockfish MateFinder Update

Post by jhellis3 » Sun Apr 10, 2016 11:51 pm

This is a minor update which attempts to ameliorate the small complaints I have seen from users when using Syzygy TBs: reporting an accurate mate score ASAP, and move preferencing.

Repo:
https://github.com/jhellis3/Stockfish/tree/mate_finder

Zip Package:
https://dl.dropboxusercontent.com/u/114 ... eFinder.7z

Paloma
Posts: 938
Joined: Thu Dec 25, 2008 8:07 pm

Re: Stockfish MateFinder Update

Post by Paloma » Mon Apr 11, 2016 12:33 am

Thanks Joseph

Damir
Posts: 2362
Joined: Mon Feb 11, 2008 2:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Stockfish MateFinder Update

Post by Damir » Mon Apr 11, 2016 9:26 am

Thanks Joseph.

User avatar
Nordlandia
Posts: 2631
Joined: Fri Sep 25, 2015 7:38 pm
Location: Sortland, Norway

Re: Stockfish MateFinder Update

Post by Nordlandia » Mon Apr 11, 2016 3:36 pm

It took matefinder 19 seconds to find #13

[d]6bn/p4p1k/rp3Pp1/rp2BBP1/1p6/pK6/P2P4/8 w - - 0 1

Analysis by Stockfish MateFinder 64 POPCNT:

1.Bc8 Ra4 2.Bd6 R6a5 3.Ba6 Rxa6 4.Bf8 R4a5 5.Bg7 Ra4 6.d4 R4a5 7.d5 Ra4 8.d6 R6a5 9.d7 a6 10.Bxh8 Kxh8 11.d8Q Kh7 12.Qf8 Kh8 13.Qg7#
+- (#13) Depth: 33/26 00:00:19 338MN, tb=626
(11.04.2016)

What happends in case i enable "study" ?

[d]2k5/8/1P1P4/8/7p/p1p1p2P/P1P1P2P/b1K5 w - - 0 1

1.Kd1 Bb2 2.Ke1 Bc1 3.Kf1 Bd2 4.Kg2 Be1 5.Kg1 Bd2 6.Kf1 Bc1 7.Ke1 Bb2 8.Kd1 Ba1 9.Kc1 Bb2+ 10.Kb1 Kd7 11.b7 Kxd6 12.b8Q+ Ke6 13.Qf4 Kd5 14.Qxh4 Ke5 15.Qg5+ Kd6 16.Qf5 Kc7 17.h4 Bc1 18.Kxc1 Kc6 19.h5 Kd6 20.h6 Kc6 21.h7 Kb6 22.h8Q Kb7 23.Qb5+ Kc7 24.Qhb8#
+- (#24) Depth: 48/56 00:01:08 3356MN, tb=427889
(11.04.2016)

i7-5960X 3.9GHz

Impressive, considering the last study is composed by Blathy.

jhellis3
Posts: 459
Joined: Fri Aug 16, 2013 10:36 pm

Re: Stockfish MateFinder Update

Post by jhellis3 » Mon Apr 11, 2016 5:05 pm


User avatar
Nordlandia
Posts: 2631
Joined: Fri Sep 25, 2015 7:38 pm
Location: Sortland, Norway

Re: Stockfish MateFinder Update

Post by Nordlandia » Mon Apr 11, 2016 7:46 pm

What happends if i checkmark "Study" parameter?

Vinvin
Posts: 4652
Joined: Thu Mar 09, 2006 8:40 am
Full name: Vincent Lejeune

Re: Stockfish MateFinder Update

Post by Vinvin » Mon Apr 11, 2016 8:26 pm

No a lot of success with this old position :(
1.Qf6! +-
[d]r2q1r2/1b2bpkp/n3p1p1/2ppP1P1/p6R/1PN1BQR1/NPP2P1P/4K3 w - - 0 1

zullil
Posts: 6207
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Stockfish MateFinder Update

Post by zullil » Mon Apr 11, 2016 8:46 pm

Vinvin wrote:No a lot of success with this old position :(
1.Qf6! +-
[d]r2q1r2/1b2bpkp/n3p1p1/2ppP1P1/p6R/1PN1BQR1/NPP2P1P/4K3 w - - 0 1
Latest (ordinary) Stockfish succeeds:

Code: Select all

info depth 38 seldepth 62 multipv 1 score cp 6 lowerbound nodes 16878069615 nps 23370127 hashfull 999 tbhits 0 time 722207 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 13 lowerbound nodes 16890316630 nps 23371357 hashfull 999 tbhits 0 time 722693 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 24 lowerbound nodes 16905955724 nps 23373204 hashfull 999 tbhits 0 time 723305 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 39 lowerbound nodes 16915805167 nps 23374444 hashfull 999 tbhits 0 time 723688 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 59 lowerbound nodes 16920890247 nps 23375237 hashfull 999 tbhits 0 time 723881 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 86 lowerbound nodes 16976034124 nps 23381389 hashfull 999 tbhits 0 time 726049 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 122 lowerbound nodes 16987545905 nps 23382333 hashfull 999 tbhits 0 time 726512 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 168 lowerbound nodes 17051726026 nps 23385245 hashfull 999 tbhits 0 time 729166 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 228 lowerbound nodes 17400616593 nps 23399877 hashfull 999 tbhits 0 time 743620 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 305 lowerbound nodes 18545484665 nps 23535147 hashfull 999 tbhits 0 time 787991 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 seldepth 62 multipv 1 score cp 403 lowerbound nodes 19573935905 nps 23658477 hashfull 999 tbhits 0 time 827354 pv f3f6
info depth 38 currmove f3f6 currmovenumber 1
info depth 38 currmove b3a4 currmovenumber 2
info depth 38 currmove c3a4 currmovenumber 3
info depth 38 currmove h4a4 currmovenumber 4
info depth 38 currmove g3h3 currmovenumber 5
info depth 38 currmove e3c1 currmovenumber 6
info depth 38 currmove c3e4 currmovenumber 7
info depth 38 currmove c3d1 currmovenumber 8
info depth 38 currmove e3d2 currmovenumber 9
info depth 38 currmove h4h3 currmovenumber 10
info depth 38 currmove e1f1 currmovenumber 11
info depth 38 currmove e3d4 currmovenumber 12
info depth 38 currmove e1d2 currmovenumber 13
info depth 38 currmove e1e2 currmovenumber 14
info depth 38 currmove a2c1 currmovenumber 15
info depth 38 currmove e1d1 currmovenumber 16
info depth 38 currmove f3f4 currmovenumber 17
info depth 38 currmove f3e4 currmovenumber 18
info depth 38 currmove c3b1 currmovenumber 19
info depth 38 currmove f3g2 currmovenumber 20
info depth 38 currmove c3b5 currmovenumber 21
info depth 38 currmove f3d1 currmovenumber 22
info depth 38 currmove f3h5 currmovenumber 23
info depth 38 currmove a2b4 currmovenumber 24
info depth 38 currmove h4g4 currmovenumber 25
info depth 38 currmove g3g4 currmovenumber 26
info depth 38 currmove h4h6 currmovenumber 27
info depth 38 currmove h4f4 currmovenumber 28
info depth 38 currmove b3b4 currmovenumber 29
info depth 38 currmove e3f4 currmovenumber 30
info depth 38 currmove h4h5 currmovenumber 31
info depth 38 currmove g3g2 currmovenumber 32
info depth 38 currmove c3e2 currmovenumber 33
info depth 38 currmove h4c4 currmovenumber 34
info depth 38 currmove h4b4 currmovenumber 35
info depth 38 currmove f3g4 currmovenumber 36
info depth 38 currmove h2h3 currmovenumber 37
info depth 38 currmove f3e2 currmovenumber 38
info depth 38 currmove f3h1 currmovenumber 39
info depth 38 currmove f3f5 currmovenumber 40
info depth 38 currmove h4e4 currmovenumber 41
info depth 38 currmove h4d4 currmovenumber 42
info depth 38 currmove g3g1 currmovenumber 43
info depth 38 currmove e3c5 currmovenumber 44
info depth 38 currmove c3d5 currmovenumber 45
info depth 38 currmove f3d5 currmovenumber 46
info depth 38 currmove h4h7 currmovenumber 47
info depth 38 currmove f3f7 currmovenumber 48
info depth 38 seldepth 63 multipv 1 score cp 486 nodes 21385278930 nps 23807872 hashfull 999 tbhits 0 time 898244 pv f3f6 e7f6 g5f6 d8f6 e3h6 g7g8 e5f6 d5d4 h6g7 h7h5 g3h3 g8h7 c3e2 e6e5 e2g3 b7f3 g7f8 a4b3 c2b3 a8f8 g3e4 f3e4 h4e4 f8e8 f2f4 e8e6 f4e5 e6b6 a2c1 a6c7 e1d2 c7e6 h3g3 g6g5 d2d3 b6b4 d3c2 h7g6 c1d3 b4b6 e4e1 g5g4 e1a1 g6f5

jhellis3
Posts: 459
Joined: Fri Aug 16, 2013 10:36 pm

Re: Stockfish MateFinder Update

Post by jhellis3 » Mon Apr 11, 2016 8:56 pm

Well, you can't really compare when using multiple threads...

zullil
Posts: 6207
Joined: Mon Jan 08, 2007 11:31 pm
Location: PA USA
Full name: Louis Zulli

Re: Stockfish MateFinder Update

Post by zullil » Mon Apr 11, 2016 9:11 pm

jhellis3 wrote:Well, you can't really compare when using multiple threads...
True.

I was simply curious if (ordinary) Stockfish could solve the problem, albeit with powerful hardware.

Post Reply