Some engines shows weird pv in this position

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

tttony
Posts: 268
Joined: Sun Apr 24, 2011 12:33 am

Some engines shows weird pv in this position

Post by tttony »

My "engine" is showing a weird pv with this position, in the first depths it's showing somes -M1 -M2 -M3, the position is -M7

[d] r5r1/3q1np1/2b1pb1p/1p1p4/1N1P3P/2P2pB1/1K6/3R1Bk1 b - - 3 8

The pv output is in this image http://i.imgur.com/VZc9Ha7.png

I've tested others engines and also are suffering of this weird pv like Maverick 0.51 x64, here is the pv image http://i.imgur.com/ln1WNOa.png

Also Chesser 1.9 x64 the pv image http://i.imgur.com/JHRqhUK.png

And CPW 1.1, image http://i.imgur.com/aiAHhDA.png

What is wrong? I've tested others mate in X positions and this is the only position where the engine becomes weird

Now I'm debugging in VS to see where is the problem
pkumar
Posts: 100
Joined: Tue Oct 15, 2013 5:45 pm

Re: Some engines shows weird pv in this position

Post by pkumar »

It may be a case of peek-a-boo at horizon.

Output of my engine (under development)

Code: Select all

10	-99.86	578991	0:00.65	a8a1 d1a1 g8a8 a1b1 a8a1 b2a1 d7a7 a1b2 a7a2 b4a2 f3f2  11#1[#OK]
  9	-99.86	284291	0:00.32	a8a1 d1a1 g8a8 a1b1 a8a1 b2a1 d7a7 a1b2 a7a2 b4a2 f3f2 f1h3 f2f1q b1f1  13$1[#OK]
  9	-3.77	133268	0:00.17	a8a1?
  8	-2.77	123351	0:00.15	a8a1 d1a1 g8a8 a1d1 a8a1 d1a1 d7a7 a1a7  8#0[#OK]
  7	-2.77	96623	0:00.12	a8a1 d1a1 g8a8 a1d1 a8a1 d1a1 d7a7 a1a7 g1f1 b4c6  7$3[#OK]
  7	+6.42	66255	0:00.09	a8a1?
  6	+8.42	39929	0:00.06	a8a1 d1a1 g8a8 a1d1 a8a1 b2a1 d7a7 a1b2  6$2[#OK]
  6	+10.35	16737	0:00.03	a8a1?
  5	+12.35	9724	0:00.01	a8a1 d1a1 g8a8 b4a2 a8a2 b2a2 d7a7 a2b2  6$2[#OK]
  5	+12.94	6470	0:00.01	a8a1?
  4	+13.94	3766	0:00.01	a8a1 b2a1 d7a7 a1b2 a7a4  5$0[#OK]
  3	+13.95	2016	0:00.01	a8a1 d1a1 g8a8 a1a8 c6a8  3$2[#OK]
  3	+13.48	1503	0:00.01	a8a1!
  3	-99.94	1200	0:00.01	a8a2 b4a2 f3f2 f1h3 f2f1q d1f1  5$1[#OK]
  3	+11.93	735	0:00.01	a8a2?
  2	+14.03	418	0:00.01	a8a2 b4a2  2$0[#OK]
  2	+13.48	408	0:00.01	a8a2!

Joost Buijs
Posts: 1563
Joined: Thu Jul 16, 2009 10:47 am
Location: Almere, The Netherlands

Re: Some engines shows weird pv in this position

Post by Joost Buijs »

My engine does not show this behavior.

I guess the problem has something to do with the handling of mate values in the quiescence search.
It can also be a problem with the transposition table, very difficult to tell by just looking at the output.

Code: Select all

FEN: r5r1/3q1np1/2b1pb1p/1p1p4/1N1P3P/2P2pB1/1K6/3R1Bk1 b - - 3 8

 1	00:00	 511	511	+19.76	e6-e5
 2	00:00	 781	781	+19.61	Ra8-a2+ Kb2xa2 f3-f2
 3	00:00	 4k	2,223k	+19.46	Ra8-a1 Kb2xa1
 4	00:00	 7k	1,801k	+15.17	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-e1 f3-f2
 5	00:00	 74k	9,233k	+14.47	Ra8-a1 Kb2xa1 Qd7-a7+ Ka1-b1 Qa7-a4 Kb1-c1
 6	00:00	 94k	9,411k	+14.45	Ra8-a1 Kb2xa1 Qd7-a7+ Ka1-b1 Qa7-a4 Kb1-c1 Qa4-a3+ Kc1-c2
 7	00:00	 114k	9,535k	+10.13	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-d1 Ra8-a1 Rd1xa1 Nf7-d6
 8	00:00	 145k	9,696k	+9.76	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-d1 Ra8-a2+ Kb2xa2 Qd7-a7+ Ka2-b1 Qa7-a4 Kb1-c1
 9	00:00	 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tue Oct 15, 2013 5:45 pm

Re: Some engines shows weird pv in this position

Post by pkumar »

Some strong engines show strange PV.

Code: Select all

FEN: r5r1/3q1np1/2b1pb1p/1p1p4/1N1P3P/2P2pB1/1K6/3R1Bk1 b - - 3 1 

Fruit_21:
  1/7	00:00	          11	0	-M1	Kg1-h1 Bf1-h3+
  1/9	00:00	         146	0	-M2	f3-f2 Bf1-h3+ f2-f1Q Rd1xf1+
  1/12	00:00	         269	0	+18.56	e6-e5 Bf1-d3+ Kg1-g2
  2/12	00:00	       1,267	0	-M1	e6-e5 Bf1-h3+
  2/12	00:00	       1,565	0	+13.79	Ra8-a2+ Kb2xa2 Rg8-a8+ Ka2-b2
  3/19	00:00	       3,356	0	-M3	Ra8-a2+ Nb4xa2 f3-f2 Bf1-h3+ f2-f1Q Rd1xf1+
  3/19	00:00	       4,356	0	+13.34	Ra8-a1 Rd1xa1 Rg8-a8 Ra1xa8 Bc6xa8
  4/19	00:00	       6,748	0	+13.34	Ra8-a1 Rd1xa1 Rg8-a8 Ra1xa8 Bc6xa8
  5/19	00:00	      12,696	0	+13.04	Ra8-a1 Rd1xa1 Rg8-a8 Ra1xa8 Bc6xa8 Bf1-d3
  6/20	00:00	      35,186	0	+8.70	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-b1 Ra8-a2+ Kb2xa2 Qd7-a7+ Ka2-b2
  7/22	00:00	      89,267	0	+8.30	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-b1 Ra8-a1 Rb1xa1 e6-e5 Bf1-d3+ Kg1-g2
  8/22	00:00	     202,279	0	-1.88	Ra8-a1 Rd1xa1 Qd7-a7 Ra1-b1 Qa7-a3+ Kb2xa3 Rg8-a8+ Ka3-b3 Ra8-a1 Rb1xa1
  9/22	00:00	     276,430	0	-5.66	Ra8-a1 Rd1xa1 Qd7-a7 Ra1-b1 Qa7-a3+ Kb2xa3 Rg8-a8+ Ka3-b3 Ra8-a1 Rb1xa1 Nf7-g5 Nb4xc6
 10/22	00:00	   1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32	00:00	     228,873	860,424	-0.56	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-d1 Ra8-a1 Rd1xa1 Qd7-a7 Ra1xa7 Kg1xf1 Nb4xc6 Kf1-g2 Bg3-e1 Kg2-f1 Ra7xf7 Kf1xe1 Nc6-e5 Bf6xe5 Rf7xf3 Ke1-e2
 14/32	00:00	     251,950	893,439	-0.48	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-d1 Ra8-a1 Rd1xa1 Qd7-a7 Ra1xa7 Kg1xf1 Nb4xc6 Kf1-g2 Bg3-e1 Kg2-f1 Ra7xf7 Kf1xe1 Nc6-e5 Bf6xe5 Rf7xf3 Ke1-e2 Rf3-f7 Be5-f6 Rf7-b7 g7-g6
 15/32	00:00	     531,760	1,360,000	-M7	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-d1 Ra8-a1 Rd1xa1 Qd7-a7 Ra1-b1 Qa7-a3+ Kb2xa3 Bf6-g5 Bf1-h3+ Bg5-c1+ Rb1xc1+
 16/32	00:00	     630,322	1,493,654	-M7	Ra8-a1 Rd1xa1 Rg8-a8 Ra1-d1 Ra8-a1 Rd1xa1 Qd7-a7 Ra1-b1 Qa7-a3+ Kb2xa3 Bf6-g5 Bf1-h3+ Bg5-c1+ Rb1xc1+
I have chosen these two engines whose source code is available with the hope that some expert will point out the cause.
Stan Arts
Posts: 179
Joined: Fri Feb 14, 2014 10:53 pm
Location: the Netherlands

Re: Some engines shows weird pv in this position

Post by Stan Arts »

They simply seem to resolve the then best move to a mate on the next iteration? So they find some move on depth 1, turns out to be a mate in 1 on depth 2. Then find another move, which might turn out mate in 2, 3 etc. till they settle on Ra1 which is mate in 7.

Seems mostly ok though your engine's output is not. It resolves to a mate in 1 on depth 3 still? It then carries on to depth 4 without even finding another move? Same behaviour at depth 4 and 5.
Could be a number of things but I'd look at things I do at the root that could prevent it from finding a real score/better move first. Do you do aspiration?

Nemeton runs into some shallow mates as well till settling for Ra1. (and some aspiration fishyness but this is all "ok" ahem..)

Code: Select all

2   -29996 0       3417       f2 Bh3+ f1=Q Rxf1+ M2#
2   1320   0       3483       Ra2+ Kxa2 Ra8+ 
3   -29994 1       5111       Ra2+ Nxa2 f2 Bh3+ f1=Q Rxf1+ M3#
3   1304   1       5891       Ra1 Rxa1 Ra8 Bd3+ 
4   1304   1       6898       Ra1 Rxa1 Ra8 Bd3+ Rxa1 
5   796    6       31568      Ra1 Rxa1 Ra8 Rb1 Ra1 Kxa1 
6   801    7       39911      Ra1 Rxa1 Ra8 Rb1 Ra2+ Kxa2 Qa7+ 
7   769    7       46518      Ra1 <--> 
7   569    9       55853      Ra1 <--> 
7   297    12      78237      Ra1 Rxa1 Qa7 Rxa7 Kxf1 Nxc6 Rc8 Ra1+ 
8   329    14      96862      Ra1 <++> 
8   328    14      99380      Ra1 <--> 
8   -69    17      123382     Ra1 Rxa1 Ra8 Rb1 Ra1 Rxa1 Qa7 Rxa7 Kxf1 
9   -101   18      126816     Ra1 <--> 
9   -230   21      163128     Ra1 Rxa1 Qa7 Rb1 Qa1+ Kxa1 Ra8+ Kb2 Ra2+ Kxa2 
10  -265   23      169114     Ra1 <--> 
10  -465   25      182120     Ra1 <--> 
10  -865   26      201332     Ra1 <--> 
10  -29986 28      206280     Ra1 <--> 
10  -29985 34      262590     Ra1 <++> 
10  -29986 34      262959     Ra1 Rxa1 Qa7 Rb1 Qa1+ Kxa1 Ra8+ Kb2 Ra2+ Kxa2 f2 Bh3+ f1=Q Rxf1+ M7#
11  -29954 45      372040     Ra1 <++> 
11  -29986 46      375501     Ra1 <--> 
11  -29986 46      375722     Ra1 Rxa1 Qa7 Rb1 Qa1+ Kxa1 Ra8+ Na2 Rxa2+ Kxa2 f2 Bh3+ f1=Q Rxf1+ M7#
12  -29986 60      501653     Ra1 Rxa1 Qa7 Rb1 Qa1+ Kxa1 Ra8+ Na2 Rxa2+ Kxa2 f2 Bh3+ f1=Q Rxf1+ M7#
13  -29986 84      707467     Ra1 Rxa1 Qa7 Rb1 Qa1+ Kxa1 Ra8+ Na2 Rxa2+ Kxa2 f2 Bh3+ f1=Q Rxf1+ M7#
14  -29986 134     1164736    Ra1 Rxa1 Qa7 Rb1 Qa1+ Kxa1 Ra8+ Na2 Rxa2+ Kxa2 f2 Bh3+ f1=Q Rxf1+ M7# 
op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Some engines shows weird pv in this position

Post by op12no2 »

Mine shows -M1 at depth 3 after a alpha fail in ID (shown in the PV) - live link:-

http://op12no2.me/toys/lozzadev/fen.htm ... 08&act=ana

It then takes 200 seconds (on my laptop) to find -M7 at depth 13. Ouch :) Great position, thank you, I will use it to try and improve things a bit.
xmas79
Posts: 286
Joined: Mon Jun 03, 2013 7:05 pm
Location: Italy

Re: Some engines shows weird pv in this position

Post by xmas79 »

The depth 4 stop with a king in check is pretty suspicious. Some escapes are getting pruned? Other engines output are ok. Mine is ok too:

Code: Select all

--------------------------------------------------------------------------------
     time      depth    move        nps     score        line
--------------------------------------------------------------------------------
 00&#58;00&#58;00.005    1     Bf6*h4       3.0K   +16.29        9. ...       Bf6*h4
                                                        10. Bg3*h4
 00&#58;00&#58;00.006    1     g7-g6        3.7K   +18.19        9. ...       g7-g6
                                                        10. Nb4*c6    Qd7*c6
 00&#58;00&#58;00.007    1     e6-e5       15.0K   +18.39        9. ...       e6-e5
                                                        10. Nb4*c6    Qd7*c6
 00&#58;00&#58;00.008    1     f3-f2       13.8K   +18.42        9. ...       f3-f2
                                                        10. Nb4*c6    Qd7*c6
--------------------------------------------------------------------------------
 00&#58;00&#58;00.012    1     f3-f2       14.0K   +18.42        9. ...       f3-f2
                                                        10. Nb4*c6    Qd7*c6
--------------------------------------------------------------------------------
 00&#58;00&#58;00.013    2     ------      19.0K   +16.69  1 ?
 00&#58;00&#58;00.014    2     ------      19.2K   -MATE2  2 ?
 00&#58;00&#58;00.015    2     f3-f2??     23.6K   -MATE2        9. ...       f3-f2
                                                        10. Bf1-h3+   f2-f1=Q
                                                        11. Rd1*f1#
 00&#58;00&#58;00.018    2     Ra8-a1      30.2K   +12.96        9. ...       Ra8-a1
                                                        10. Kb2*a1
 00&#58;00&#58;00.018    2     Ra8-a2      52.1K   +13.27        9. ...       Ra8-a2+
                                                        10. Kb2*a2    f3-f2
                                                        11. Nb4*c6    Qd7*c6
--------------------------------------------------------------------------------
 00&#58;00&#58;00.022    2     Ra8-a2      45.3K   +13.27        9. ...       Ra8-a2+
                                                        10. Kb2*a2    f3-f2
                                                        11. Nb4*c6    Qd7*c6
--------------------------------------------------------------------------------
 00&#58;00&#58;00.023    3     ------      59.0K   +11.02  1 ?
 00&#58;00&#58;00.024    3     ------      58.7K    +8.52  2 ?
 00&#58;00&#58;00.024    3     ------      60.9K   -MATE3  3 ?
 00&#58;00&#58;00.024    3     Ra8-a2??    76.5K   -MATE3        9. ...       Ra8-a2+
                                                        10. Nb4*a2    f3-f2
                                                        11. Bf1-h3+   f2-f1=Q
                                                        12. Rd1*f1#
 00&#58;00&#58;00.027    3     Ra8-a1      99.0K   +13.08        9. ...       Ra8-a1
                                                        10. Kb2*a1    Rg8-a8+
                                                        11. Ka1-b1
--------------------------------------------------------------------------------
 00&#58;00&#58;00.030    3     Ra8-a1      97.3K   +13.08        9. ...       Ra8-a1
                                                        10. Kb2*a1    Rg8-a8+
                                                        11. Ka1-b1
--------------------------------------------------------------------------------
 00&#58;00&#58;00.031    4     Ra8-a1     136.0K   +13.04        9. ...       Ra8-a1
                                                        10. Rd1*a1    Rg8-a8
                                                        11. Nb4*c6    Ra8*a1
                                                        12. Kb2*a1    Qd7*c6
--------------------------------------------------------------------------------
 00&#58;00&#58;00.036    4     Ra8-a1     120.9K   +13.04        9. ...       Ra8-a1
                                                        10. Rd1*a1    Rg8-a8
                                                        11. Nb4*c6    Ra8*a1
                                                        12. Kb2*a1    Qd7*c6
--------------------------------------------------------------------------------
 00&#58;00&#58;00.040    5     Ra8-a1     227.8K   +12.78        9. ...       Ra8-a1
                                                        10. Kb2*a1    Qd7-a7+
                                                        11. Ka1-b1    Qa7-a4
                                                        12. Bf1-e2+   Kg1-g2
--------------------------------------------------------------------------------
 00&#58;00&#58;00.045    5     Ra8-a1     205.8K   +12.78        9. ...       Ra8-a1
                                                        10. Kb2*a1    Qd7-a7+
                                                        11. Ka1-b1    Qa7-a4
                                                        12. Bf1-e2+   Kg1-g2
--------------------------------------------------------------------------------
 00&#58;00&#58;00.050    6     Ra8-a1     344.0K   +11.42        9. ...       Ra8-a1
                                                        10. Rd1*a1    Rg8-a8
                                                        11. Nb4-a2    Ra8*a2+
                                                        12. Kb2*a2    b5-b4
--------------------------------------------------------------------------------
 00&#58;00&#58;00.055    6     Ra8-a1     318.9K   +11.42        9. ...       Ra8-a1
                                                        10. Rd1*a1    Rg8-a8
                                                        11. Nb4-a2    Ra8*a2+
                                                        12. Kb2*a2    b5-b4
--------------------------------------------------------------------------------
 00&#58;00&#58;00.061    7     Ra8-a1     540.8K   +10.68        9. ...       Ra8-a1
                                                        10. Rd1*a1    Rg8-a8
                                                        11. Nb4-a2    Ra8*a2+
                                                        12. Kb2*a2    Qd7-a7+
                                                        13. Ka2-b1
--------------------------------------------------------------------------------
 00&#58;00&#58;00.067    7     Ra8-a1     503.0K   +10.68        9. ...       Ra8-a1
                                                        10. Rd1*a1    Rg8-a8
                                                        11. Nb4-a2    Ra8*a2+
                                                        12. Kb2*a2    Qd7-a7+
                                                        13. Ka2-b1
--------------------------------------------------------------------------------
 00&#58;00&#58;00.072    8     ------     551.9K    +9.23  1 ?
 00&#58;00&#58;00.074    8     ------     586.9K    +6.73  2 ?
 00&#58;00&#58;00.075    8     ------     610.7K    +4.23  3 ?
 00&#58;00&#58;00.085    8     Ra8-a1     887.0K    +3.40        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1*a7    Kg1*f1
                                                        12. Nb4*c6    Rg8-c8
                                                        13. h4-h5     Rc8*c6
                                                        14. Ra7*f7
--------------------------------------------------------------------------------
 00&#58;00&#58;00.092    8     Ra8-a1     857.0K    +3.40        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1*a7    Kg1*f1
                                                        12. Nb4*c6    Rg8-c8
                                                        13. h4-h5     Rc8*c6
                                                        14. Ra7*f7
--------------------------------------------------------------------------------
 00&#58;00&#58;00.116    9     Ra8-a1       1.4M    +3.44        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1*a7    Kg1*f1
                                                        12. Nb4*c6    Rg8-c8
                                                        13. h4-h5     f3-f2
--------------------------------------------------------------------------------
 00&#58;00&#58;00.126    9     Ra8-a1       1.4M    +3.44        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1*a7    Kg1*f1
                                                        12. Nb4*c6    Rg8-c8
                                                        13. h4-h5     f3-f2
--------------------------------------------------------------------------------
 00&#58;00&#58;00.167   10     Ra8-a1       1.9M    +3.46        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1*a7    Kg1*f1
                                                        12. Nb4*c6    Rg8-c8
                                                        13. h4-h5     f3-f2
                                                        14. Bg3-c7
--------------------------------------------------------------------------------
 00&#58;00&#58;00.180   10     Ra8-a1       1.9M    +3.46        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1*a7    Kg1*f1
                                                        12. Nb4*c6    Rg8-c8
                                                        13. h4-h5     f3-f2
                                                        14. Bg3-c7
--------------------------------------------------------------------------------
 00&#58;00&#58;00.219   11     ------       2.1M    +1.65  1 ?
 00&#58;00&#58;00.221   11     ------       2.1M    -0.85  2 ?
 00&#58;00&#58;00.233   11     ------       2.2M    -3.37  3 ?
 00&#58;00&#58;00.292   11     Ra8-a1       2.7M    -4.78        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-c1    Qa7-a3+
                                                        12. Kb2*a3    Bf6-g5
                                                        13. h4*g5     Rg8-a8+
                                                        14. Ka3-b3    Ra8-a1
                                                        15. Rc1*a1
--------------------------------------------------------------------------------
 00&#58;00&#58;00.318   11     Ra8-a1       2.7M    -4.78        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-c1    Qa7-a3+
                                                        12. Kb2*a3    Bf6-g5
                                                        13. h4*g5     Rg8-a8+
                                                        14. Ka3-b3    Ra8-a1
                                                        15. Rc1*a1
--------------------------------------------------------------------------------
 00&#58;00&#58;00.351   12     ------       2.8M   -MATE9  1 ?
 00&#58;00&#58;00.589   12     Ra8-a1??     3.3M   -MATE7        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-b1    Qa7-a3+
                                                        12. Kb2*a3    Rg8-a8+
                                                        13. Ka3-b3    Ra8-a1
                                                        14. Rb1*a1    Bf6-g5
                                                        15. Bf1-h3+   Bg5-c1
                                                        16. Ra1*c1#
--------------------------------------------------------------------------------
 00&#58;00&#58;00.634   12     Ra8-a1??     3.3M   -MATE7        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-b1    Qa7-a3+
                                                        12. Kb2*a3    Rg8-a8+
                                                        13. Ka3-b3    Ra8-a1
                                                        14. Rb1*a1    Bf6-g5
                                                        15. Bf1-h3+   Bg5-c1
                                                        16. Ra1*c1#
--------------------------------------------------------------------------------
 00&#58;00&#58;01.006   13     Ra8-a1??     3.8M   -MATE7        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-b1    Qa7-a3+
                                                        12. Kb2*a3    Rg8-a8+
                                                        13. Ka3-b3    Ra8-a1
                                                        14. Rb1*a1    Bf6-g5
                                                        15. Bf1-h3+   Bg5-c1
                                                        16. Ra1*c1#
--------------------------------------------------------------------------------
 00&#58;00&#58;01.128   13     Ra8-a1??     3.9M   -MATE7        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-b1    Qa7-a3+
                                                        12. Kb2*a3    Rg8-a8+
                                                        13. Ka3-b3    Ra8-a1
                                                        14. Rb1*a1    Bf6-g5
                                                        15. Bf1-h3+   Bg5-c1
                                                        16. Ra1*c1#
--------------------------------------------------------------------------------
 00&#58;00&#58;01.882   14     Ra8-a1??     3.9M   -MATE7        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-b1    Qa7-a3+
                                                        12. Kb2*a3    Rg8-a8+
                                                        13. Ka3-b3    Ra8-a1
                                                        14. Rb1*a1    Bf6-g5
                                                        15. Bf1-h3+   Bg5-c1
                                                        16. Ra1*c1#
--------------------------------------------------------------------------------
 00&#58;00&#58;02.114   14     Ra8-a1??     3.9M   -MATE7        9. ...       Ra8-a1
                                                        10. Rd1*a1    Qd7-a7
                                                        11. Ra1-b1    Qa7-a3+
                                                        12. Kb2*a3    Rg8-a8+
                                                        13. Ka3-b3    Ra8-a1
                                                        14. Rb1*a1    Bf6-g5
                                                        15. Bf1-h3+   Bg5-c1
                                                        16. Ra1*c1#
User avatar
hgm
Posts: 27792
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Some engines shows weird pv in this position

Post by hgm »

Fairy-Max:

Code: Select all

dep	score	nodes   time	&#40;not shown&#58;  tbhits	knps	seldep&#41;
 15	-79.93  14.6M     0&#58;17.42	a8a1 d1a1 d7a7 a1b1 a7a3 b2a3 g8a8 a3b3 a8a1 b1a1 f3f2 f1h3 f2f1 a1f1
 14	-79.93  7.68M     0&#58;09.31	a8a1 d1a1 g8a8 a1b1 a8a1 b2a1 d7a7 a1b2 a7a3 b2a3 f6g5 f1h3 g5c1 b1c1
 13	-79.93  4.49M     0&#58;05.54	a8a1 d1a1 g8a8 a1b1 a8a1 b2a1 d7a7 a1b2 a7a3 b2a3 f6g5 f1h3 g5c1 b1c1
 12	-79.93  2.92M     0&#58;03.67	a8a1 d1a1 g8a8 a1b1 a8a1 b2a1 d7a7 a1b2
 11	-79.93  1.82M     0&#58;02.34	a8a1 d1a1 g8a8 a1b1 a8a1 b2a1 d7a7 a1b2
 10	 -1.74  1.07M     0&#58;01.39	a8a1 d1a1 g8a8 a1d1 a8a1 d1a1 d7a7 a1a7 g1f1 b4c6
  9	 +8.59  351138    0&#58;00.46	a8a1 b2a1 d7a7 a1b2 a7a4 d1e1 f3f2 e1a1 a4a1 b2a1 g8a8
  8	 +8.60  228342    0&#58;00.31	a8a1 b2a1 d7a7 a1b2 a7a4 d1a1 a4a1 b2a1 g8a8 a1b2 f3f2 b4c6 g1f1
  7	 +8.09  186207    0&#58;00.26	a8a1 b2a1 d7a7 a1b2 a7a4 d1a1 a4a1 b2a1 g8a8
  6	 +9.41  133891    0&#58;00.18	a8a1 b2a1 g8a8 a1b1 f3f2 f1b5 f2f1 d1f1
  5	+10.63  61319     0&#58;00.09	a8a1 d1a1 g8a8 a1b1 f3f2 b4c6 d7c6 f1b5
  5	 +9.92  54069     0&#58;00.07	a8a2 b4a2 f3f2 f1h3 f2f1 d1f1
  4	+11.39  39326     0&#58;00.06	a8a2 b4a2 f3f2 f1b5
  4	-79.98  35321     0&#58;00.04	f3f2 f1h3 f2f1 d1f1
  3	+13.48  2341      0&#58;00.00	f3f2 f1b5 f2f1 d1f1
  2	+15.16  614       0&#58;00.00	f3f2 b4c6
  1	+15.16  610       0&#58;00.00	f3f2 b4c6 d7c6 f1b5
op12no2
Posts: 490
Joined: Tue Feb 04, 2014 12:25 pm
Full name: Colin Jenkins

Re: Some engines shows weird pv in this position

Post by op12no2 »

Bloody hell!

I was massively over predicating reductions, pruning and null move etc in the presence of abs(score) mate values. Relaxed it all and the 200 seconds from depth 12 to 13 itself reduced to a very nice 0.

Code: Select all

0.63 13 (-7mate&#41; Ra1 Rxa1 Ra8 Rb1 Ra1 Kxa1 Qa7 Kb2 Qa1 Rxa1 f2 Bh3 f1q Rxf1 
ALPHA 13 -922 >= -922 < 524
0.63 12 (-199cp&#41; Ra1 Rxa1 Ra8 Rd1 Ra1 Rxa1 Qa7 Rxa7 Kxf1 Nxc6 Kg2 Bb8 
0.12 11 &#40;383cp&#41; Ra1 Rxa1 Qa7 Rxa7 Kxf1 Nxc6 Kg2 Rxf7 Kxg3 h5 Ra8 
0.12 10 &#40;529cp&#41; Ra1 Rxa1 Ra8 Rd1 Ra1 Rxa1 f2 Bxb5 f1q Rxf1 
0.12 9 &#40;703cp&#41; Ra1 Rxa1 Ra8 Rd1 Ra2 Nxa2 f2 Bh3 f1q Rxf1 
0.12 8 &#40;1094cp&#41; Ra1 Rxa1 Ra8 Rd1 f2 Bxb5 f1q Rxf1 
0.12 7 &#40;1094cp&#41; Ra1 Rxa1 Ra8 Rd1 f2 Bxb5 f1q 
0.12 6 &#40;1266cp&#41; Ra1 Rxa1 Ra8 Rd1 Nd6 Nxc6 
0.12 5 &#40;1266cp&#41; Ra1 Kxa1 Ra8 Kb2 Nd6 
0.12 5 &#40;1237cp&#41; Ra2 Nxa2 f2 Bh3 f1q Rxf1 
0.12 4 &#40;1623cp&#41; f2 Bxb5 f1q Rxf1 
0 3 &#40;1623cp&#41; f2 Bxb5 f1q 
0 3 &#40;1322cp&#41; Ra2 Nxa2 Nd6 
0 3 (-1mate&#41; Nd6 Bh3 
ALPHA 3 1720 >= 1720 < 1864
0 2 &#40;1792cp&#41; Nd6 Nxc6 
0 1 &#40;1792cp&#41; Nd6 
0 1 &#40;1693cp&#41; Bxh4 
0 1 &#40;1685cp&#41; Bxd4 
Lozza version 1.13 build 6734 is alive
Probably something in-between called for, but I'm very happy to discover this. Thank you Tony for the post :)
User avatar
SMIRF
Posts: 91
Joined: Wed Mar 26, 2014 4:29 pm
Location: Buettelborn/Hessen/Germany

Re: Some engines shows weird pv in this position

Post by SMIRF »

Old Smirf shows:

Code: Select all

00&#58;01.0 End of thinking &#40;unavoidable&#41;
00&#58;00.8 &#40;09.00-) -16.75 8...Ta1 (=/=) 9.Txa1 Ta8 10.Te1 Ta1 11.Kxa1 f2 12.Tb1 Da7+ 13.Sa2
00&#58;00.8 &#40;09.00-) -6.090 8...Ta1 (=/=) 9.Txa1 Ta8 10.Te1 Ta1 11.Kxa1 f2 12.Tb1 Da7+ 13.Sa2
00&#58;00.7 &#40;09.00-) +3.156 8...Ta1 (=/=) 9.Txa1 Ta8 10.Te1 Ta1 11.Kxa1 f2 12.Tc1 Da7+ 13.Kb1 Ld7 14.Lh3+
00&#58;00.3 &#40;08.01+) -24.81 8...Ta1 (=/=) 9.Txa1 Ta8 10.Td1 Ta1 11.Txa1 Da7 12.Tb1 Da2+ 13.Sxa2 f2 14.Lh3+ f1=D 15.Txf1+
00&#58;00.2 &#40;08.00-) -24.83 8...Ta1 (=/=) 9.Txa1 Ta8 10.Td1 Ta1 11.Txa1 Da7 12.Tb1 Da2+ 13.Sxa2 f2 14.Lh3+
00&#58;00.1 &#40;07.00-) -0.266 8...Ta1 (=/=) 9.Txa1 Ta8 10.Td1 Ta2+ 11.Sxa2 f2 12.Lh3+
00&#58;00.0 &#40;06.00-) +6.941 8...Ta1 (=/=) 9.Kxa1 Da7+ 10.Kb2 Da4 11.Sc2