Page 1 of 1

Arena, Houdini 3 Pro and Gaviota tablebases weird behaviour

Posted: Fri Jan 25, 2013 9:32 pm
by peter64
Hi all,

I need some help, I hope someone can shed some light on this. I have Arena 3.0, with Houdini 3 Pro x64 and 3, 4 and 5 chessmen tablebases installed and working fine. The engine is configured to use the tablebases and so it does, when I give it a 5 chessmen position and click on ¨analyze¨, it tells the corresponding mate or draw without calculatnig anything. Then I go for something more complex, I give it the following position:
4k3/4pp2/8/8/8/8/4NB2/4K3 w - - 0 1
and click on ¨analyze¨. Within seconds the engine gives an advantage of +6 and the best line shown in the variation board ends with the following position:
8/8/8/2B3N1/4K3/8/6k1/8 w - - 0 1
ot a similar one. Strangely the program doesn't announce mate already.
It continues to work for a long time, even hours, giving better lines
little by little. Shouldn't the program announce mate already? I can't guess what I am doing wrong.

Re: Arena, Houdini 3 Pro and Gaviota tablebases weird behavi

Posted: Sat Jan 26, 2013 3:43 am
by User923005
If you install 6 man Nalimov files it would solve it instantly.
You can verify instantly that Kd2 is the best move and wins in 34 here:
http://www.k4it.de/index.php?topic=egtb&lang=en

The real problem is that as long as black can shuffle his chessmen to avoid losing a pawn, there is no way to prove the mate until you have searched 68 plies (and that without pruning). The moves towards the tail of the pv tend to be speculative.

I don't think you are doing anything wrong. If you want to analyze 6 man endgame positions effectively, it would be a good idea to get the full 7TB Nalimov 6 man set.
I understand that ChessOK has completed a 7 man tablebase file set, and there may be some way to access that data online. Probably ChessAssistant and maybe Aquarium will be able to do it? Just speculation.
You could always ask here:
https://plus.google.com/100454521496393505718/posts

As you can see here, with 6 man files hidden, both Rybka and Houdini fare the same on this position:

Analysis of Q:\Kd2.epd
1/25/2013 6:25:55 PM Level: 180 Seconds
Analyzing engine: Houdini_3_AQ_x64 3:t
  • 1
    Searching move:
    Best move (Houdini_3_AQ_x64 3:t): Ke1-d2
    Not found in: 03:00
    4/8 00:00 264 12,000 +4.08 Kd2 Kd7 Kd3 e5
    5/10 00:00 596 27,000 +4.06 Kd2 Kd7 Kd3 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8 Bf4 Kd8 Nd4 Ke7 Be5 Kd8 Bc7+ Ke7
    1/25/2013 6:28:58 PM, Time for this analysis: 00:03:00, Rated time: 03:00

    0 of 1 matching moves
    1/25/2013 6:28:59 PM, Total time: 12:03:03 AM
    Rated time: 03:00 = 180 Seconds

    --------------------------------------------------------------------------------

    Analysis of Q:\Kd2.epd
    1/25/2013 6:25:55 PM Level: Blitz 5/5
    Analyzing engine: Deep Rybka 4.1 SSE42 x64 {3T}

    1
    Searching move:
    Best move (Deep Rybka 4.1 SSE42 x64 {3T}): Bf2-c5
    Not found in: 03:00
    2 00:00 52 331 +4.29 Nc3 Kd7 Ke2
    2 00:00 59 375 +4.34 Nf4 Kd7 Ke2
    3 00:00 125 796 +4.28 Nf4 Kd7 Ke2 Kd6 Nd3 Ke6
    3+ 00:00 185 1,178 +4.46 Kd2 Kd7 Ke3
    3 00:00 227 1,445 +4.43 Kd2 Kd7 Ke3 Ke6 Ke4
    4 00:00 404 2,573 +4.42 Kd2 Kd7 Kd3 e5 Ng3 Ke6 Ke4
    4 00:00 525 3,343 +4.46 Bg3 e6 Nd4 Ke7 Ke2 f6 Ke3
    4 00:00 591 3,764 +4.51 Nd4 Kd7 Bg3 f6 Ke2 e5 Nf5
    5 00:00 1,031 6,566 +4.40 Kd2 Kd7 Kd3 e5 Ng3 Ke6 Ke4 f6
    6+ 00:00 1,720 9,942 +4.52 Kd2 Kd7 Kd3 e5 Ng3 Ke6 Ke4 f6
    6+ 00:00 1,842 10,647 +4.67 Kd2 Kd7 Kd3 e5 Ng3 Ke6 Ke4 f6
    6 00:00 3,113 17,994 +4.73 Kd2 f6 Kd3 e6 Ke4 Ke7 Bc5+ Kf7 Nc3
    7 00:00 7,426 39,291 +4.81 Kd2 e6 Kd3 Ke7 Ke4 f6 Bc5+ Kd7 Nd4 e5
    8 00:00 15,527 70,577 +4.82 Kd2 Kf8 Bc5 Ke8 Kd3 Kd7 Ke4 Ke6 Nf4+
    9 00:00 29,422 117,219 +4.83 K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6 Ka4 Nxf7 Kb3 Bf6 Kc2 Bd4
    26 02:54 99,944,864 573,607 +7.00 Bc5 Kd7 Kf2 e6 Ke3 Kc6 Kd4 Kd7 Nc3 Kc6 Be7 Kd7 Bb4 Kc6 Ba3 f6 Be7 f5 Ke5 Kd7 Bf6 Kc6 Kxe6 Kc5 Kxf5 Kb4 Ke4 Kc5 Nd5 Kc4 Be5
    1/25/2013 6:38:19 PM, Time for this analysis: 00:03:00, Rated time: 03:00

    0 of 1 matching moves
    1/25/2013 6:38:20 PM, Total time: 12:12:24 AM
    Rated time: 03:00 = 180 Seconds

Re: Arena, Houdini 3 Pro and Gaviota tablebases weird behavi

Posted: Sun Jan 27, 2013 10:46 pm
by peter64
Well, my point is that as soon as the analysis changes from a 6 pieces position to a five pieces position the engine should check and see the result without more calculation needed to announce mate, which it doesn't. Of course more calculation may be needed to give a shorter or shortest mate but the mate should be announced already.