Mate in 4 test...

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.
Post Reply
rightrook
Posts: 1452
Joined: Wed Mar 08, 2006 7:45 pm

Mate in 4 test...

Post by rightrook » Sat Apr 26, 2008 12:20 am

[D]8/3KpkPp/7B/8/8/8/8/8 w - - 0 1

Some of my programs (such as Junior 5) set at infinite mode have trouble with this mate in 4....!

regards

Robert

User avatar
michiguel
Posts: 6389
Joined: Thu Mar 09, 2006 7:30 pm
Location: Chicago, Illinois, USA
Contact:

Re: Mate in 4 test...

Post by michiguel » Sat Apr 26, 2008 5:21 am

rightrook wrote:[D]8/3KpkPp/7B/8/8/8/8/8 w - - 0 1

Some of my programs (such as Junior 5) set at infinite mode have trouble with this mate in 4....!

regards

Robert
Gaviota (AMD X2 +4600) sees it quickly.

Miguel

Code: Select all

setboard 8/3KpkPp/7B/8/8/8/8/8 w - - 0 1
d
+-----------------+
| . . . . . . . . |
| . . . K p k P p |
| . . . . . . . B |
| . . . . . . . . |    Castling: 
| . . . . . . . . |    ep: -
| . . . . . . . . |
| . . . . . . . . |
| . . . . . . . . | [White]
+-----------------+

analyze
        32   1:      0.0    +1.55  Kd7-d8   
       269   2:      0.0    +1.74  Kd7-c7   e7-e5    Kc7-d6   
       815   3:      0.0    +1.92  Kd7-c6   e7-e6    Kc6-d6   
      3501   4:      0.0    +1.78  Kd7-c6   Kf7-g8   Kc6-d5   Kg8-f7   
      8758   5       0.0      :-)  g7-g8=Q  
      8805   5       0.0      :-)  g7-g8=Q  
      8853   5       0.0      :-)  g7-g8=Q  
     33394   5       0.2      :-)  g7-g8=Q  
     34737   5:      0.2   +Mat_4  g7-g8=Q  Kf7xg8   Kd7-e6   Kg8-h8   
                                   Ke6-f7   e7-e5    Bh6-g7   
     36712   6&#58;      0.2   +Mat_4  g7-g8=Q  Kf7xg8   Kd7-e6   <-transp 
     40706   7&#58;      0.2   +Mat_4  g7-g8=Q  Kf7xg8   Kd7-e6   <-transp 


User avatar
Graham Banks
Posts: 33245
Joined: Sun Feb 26, 2006 9:52 am
Location: Auckland, NZ

Re: Mate in 4 test...

Post by Graham Banks » Sat Apr 26, 2008 5:22 am

Hi Miguel,

any chance of a new Gaviota?

Regards, Graham.
My email addresses:
gbanksnz at gmail.com
gbanksnz at yahoo.co.nz

User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 6:43 pm

Re: Mate in 4 test...

Post by sje » Sat Apr 26, 2008 5:29 am

Symbolic, 50 milliseconds and without tablebases:

Code: Select all

&#91;SI&#93; &#40;01&#41; Starting the first iteration
&#91;SI&#93; &#40;01&#41; ASRW Centroid&#58; +3.972   Window&#58; &#91;+3.638 +4.305&#93;   A/B Adj&#58; 0/0
&#91;PV&#93; 1. Kd8 e5   Score&#58; +3.905
&#91;PV&#93; 1. Kc6 e5   Score&#58; +3.929
&#91;SI&#93; &#40;01&#41; Nodes&#58; 167   Total&#58; 202
&#91;SI&#93; &#40;01&#41; Times&#58; &#91;C&#58; 00.00  U&#58; 00.00&#93;   Total&#58; &#91;C&#58; 00.01  U&#58; 00.01&#93;
&#91;SI&#93; &#40;01&#41; F/P&#58; 23.0918 KHz/43.3054 us   Mean&#58; 13.547 KHz/73.8168 us
&#91;SI&#93; &#40;01&#41; Utilization rate&#58; 1   Mean&#58; 1
&#91;SI&#93; &#40;01&#41; Finished iteration one
&#91;SI&#93; &#40;02&#41; Starting the second iteration
&#91;SI&#93; &#40;02&#41; ASRW Centroid&#58; +3.929   Window&#58; &#91;+3.595 +4.262&#93;   A/B Adj&#58; 0/0
&#91;PV&#93; 1. Kc6 e6 2. Kd6   Score&#58; +3.932
&#91;PV&#93; 1. Kc7 e5 2. Kd6 e4   Score&#58; +3.932
&#91;SI&#93; &#40;02&#41; Nodes&#58; 413   Total&#58; 615
&#91;SI&#93; &#40;02&#41; Times&#58; &#91;C&#58; 00.00  U&#58; 00.00&#93;   Total&#58; &#91;C&#58; 00.01  U&#58; 00.01&#93;
&#91;SI&#93; &#40;02&#41; F/P&#58; 87.4259 KHz/11.4383 us   Mean&#58; 30.8101 KHz/32.4569 us
&#91;SI&#93; &#40;02&#41; Utilization rate&#58; 1   Mean&#58; 1
&#91;SI&#93; &#40;02&#41; Finished iteration two
&#91;SI&#93; &#40;03&#41; Starting the third iteration
&#91;SI&#93; &#40;03&#41; ASRW Centroid&#58; +3.932   Window&#58; &#91;+3.598 +4.265&#93;   A/B Adj&#58; 0/0
&#91;PV&#93; 1. Kc7 Kg8 2. Kc6 e5   Score&#58; +3.751
&#91;PV&#93; 1. Kc6 Kg8 2. Kd5 Kf7   Score&#58; +4.160
&#91;PV&#93; 1. g8=Q+ Kxg8 2. Ke6 Kh8 3. Kf7 e5   Score&#58; +4.265
&#91;SI&#93; &#40;03&#41; Fail high; restarting the third iteration
&#91;SI&#93; &#40;03&#41; ASRW Centroid&#58; +3.932   Window&#58; &#91;+3.598 +5.265&#93;   A/B Adj&#58; 0/1
&#91;PV&#93; 1. g8=Q+ Kxg8 2. Ke6 Kh8 3. Kf7 e5   Score&#58; +5.265
&#91;SI&#93; &#40;03&#41; Fail high; restarting the third iteration
&#91;SI&#93; &#40;03&#41; ASRW Centroid&#58; +3.932   Window&#58; &#91;+3.598 +6.598&#93;   A/B Adj&#58; 0/2
&#91;PV&#93; 1. g8=Q+ Kxg8 2. Ke6 Kh8 3. Kf7 e5   Score&#58; +6.598
&#91;SI&#93; &#40;03&#41; Fail high; restarting the third iteration
&#91;SI&#93; &#40;03&#41; ASRW Centroid&#58; +3.932   Window&#58; &#91;+3.598 PosInf&#93;   A/B Adj&#58; 0/3
&#91;PV&#93; 1. g8=Q+ Kxg8 2. Ke6 Kh8 3. Kf7 e5 4. Bg7#   Score&#58; MateIn4
&#91;SI&#93; &#40;03&#41; Nodes&#58; 5,272   Total&#58; 5,887
&#91;SI&#93; &#40;03&#41; Times&#58; &#91;C&#58; 00.02  U&#58; 00.02&#93;   Total&#58; &#91;C&#58; 00.04  U&#58; 00.04&#93;
&#91;SI&#93; &#40;03&#41; F/P&#58; 214.737 KHz/4.65687 us   Mean&#58; 131.245 KHz/7.61933 us
&#91;SI&#93; &#40;03&#41; Utilization rate&#58; 1   Mean&#58; 1
&#91;SI&#93; &#40;03&#41; Finished iteration three
&#91;SI&#93; &#40;04&#41; Starting the fourth iteration
&#91;SI&#93; &#40;04&#41; ASRW Centroid&#58; MateIn4   Window&#58; &#91;MateIn5 PosInf&#93;   A/B Adj&#58; 0/0
&#91;PV&#93; 1. g8=Q+ Kxg8 2. Ke6 Kh8 3. Kf7 e5 4. Bg7#   Score&#58; MateIn4
&#91;SI&#93; &#40;04&#41; Nodes&#58; 1,400   Total&#58; 7,287
&#91;SI&#93; &#40;04&#41; Times&#58; &#91;C&#58; 00.00  U&#58; 00.00&#93;   Total&#58; &#91;C&#58; 00.04  U&#58; 00.04&#93;
&#91;SI&#93; &#40;04&#41; F/P&#58; 399.315 KHz/2.50429 us   Mean&#58; 149.84 KHz/6.6738 us
&#91;SI&#93; &#40;04&#41; Utilization rate&#58; 1   Mean&#58; 1
&#91;SI&#93; &#40;04&#41; Finished iteration four
&#91;SI&#93; &#40;05&#41; Starting the fifth iteration
&#91;SI&#93; &#40;05&#41; ASRW Centroid&#58; MateIn4   Window&#58; &#91;MateIn5 PosInf&#93;   A/B Adj&#58; 0/0
&#91;PV&#93; 1. g8=Q+ Kxg8 2. Ke6 Kh8 3. Kf7 e5 4. Bg7#   Score&#58; MateIn4
&#91;SI&#93; &#40;05&#41; Nodes&#58; 2,816   Total&#58; 10,103
&#91;SI&#93; &#40;05&#41; Times&#58; &#91;C&#58; 00.00  U&#58; 00.00&#93;   Total&#58; &#91;C&#58; 00.05  U&#58; 00.05&#93;
&#91;SI&#93; &#40;05&#41; F/P&#58; 723.535 KHz/1.3821 us   Mean&#58; 191.399 KHz/5.22469 us
&#91;SI&#93; &#40;05&#41; Utilization rate&#58; 0.976173   Mean&#58; 1
&#91;SI&#93; &#40;05&#41; Finished iteration five
&#91;TT&#93; Eval&#58;  P&#58;3,029 M&#58;1,231 R&#58;0.406405 S&#58;1,798 U&#58;0.000857353
&#91;TT&#93; Hint&#58;  P&#58;48 M&#58;0 R&#58;0 S&#58;48 U&#58;0.00585938
&#91;TT&#93; Main&#58;  P&#58;6,181 M&#58;3,265 R&#58;0.528232 S&#58;4,383 U&#58;0.00269794
&#91;TT&#93; Pawn&#58;  P&#58;1,798 M&#58;1,764 R&#58;0.98109 S&#58;34 U&#58;0.0001297
&#91;TT&#93; TBPr&#58;  P&#58;236 M&#58;0 R&#58;0 S&#58;0 U&#58;0
&#91;ST&#93; Nodes&#58; 10,103   Times&#58; &#91;C&#58; 00.05  U&#58; 00.05&#93;
&#91;TB&#93; Tablebase probe count&#58; 0
&#91;ST&#93; F/P&#58; 188.39 KHz/5.30813 us
&#91;ST&#93; Utilization rate&#58; 1
&#91;ST&#93; PV&#58; 1. g8=Q+ Kxg8 2. Ke6 Kh8 3. Kf7 e5 4. Bg7#   Score&#58; MateIn4
&#91;ST&#93; Depth&#58; 6   Maximum ply&#58; 9   Termination&#58; EarlyMate

User avatar
michiguel
Posts: 6389
Joined: Thu Mar 09, 2006 7:30 pm
Location: Chicago, Illinois, USA
Contact:

Re: Mate in 4 test...

Post by michiguel » Sat Apr 26, 2008 3:32 pm

Graham Banks wrote:Hi Miguel,

any chance of a new Gaviota?

Regards, Graham.
Yes, I am working on it. I do not know when, but whenever I have a version worth releasing, I will do it.

Miguel

User avatar
Roman Hartmann
Posts: 295
Joined: Wed Mar 08, 2006 7:29 pm
Contact:

Re: Mate in 4 test...

Post by Roman Hartmann » Sat Apr 26, 2008 5:37 pm

Thanks for posting this position. Programs without a verification-search after a null-move will fail here. Disabling null-move in positions like that will solve the problem as well.

I was just able to fix a flaw in my verification-search because of that position :D

best regards
Roman

rightrook
Posts: 1452
Joined: Wed Mar 08, 2006 7:45 pm

Re: Mate in 4 test...

Post by rightrook » Mon Apr 28, 2008 1:17 pm

Thank you Roman...

I just thought it might be helpful to someone out there....:-)

:D

regards

Robert

Post Reply