statistics about mates from tablebases

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Uri Blass
Posts: 8367
Joined: Wed Mar 08, 2006 11:37 pm
Location: Tel-Aviv Israel

statistics about mates from tablebases

Post by Uri Blass » Wed Mar 13, 2019 9:38 pm



The following position is double mate in 1 (side that begin has a single solution for mate in 1.

same for the following position



I wonder what is the number of double mate positions in different tablebases

Arpad Rusz
Posts: 270
Joined: Sat Apr 17, 2010 12:34 pm
Location: Budapest

Re: statistics about mates from tablebases

Post by Arpad Rusz » Thu Mar 14, 2019 12:46 am

I can find the double mates with the help of SEE but only if both moves are the only winning moves. So your KQvKQ example is missing from this list (176 positions) because of the dual win 1.Kb3+.

8/8/8/8/q7/k7/5Q2/K7 w - - 0 1
8/8/1Q6/8/8/8/8/K1kq4 w - - 0 1
8/8/8/8/q7/k7/5Q2/1K6 w - - 0 1
8/8/8/8/q7/k7/6Q1/1K6 w - - 0 1
8/8/8/8/q7/k7/7Q/1K6 w - - 0 1
8/8/8/4Q3/q7/k7/8/1K6 w - - 0 1
8/8/1Q6/8/q7/k7/8/1K6 w - - 0 1
8/8/5Q2/8/q7/k7/8/1K6 w - - 0 1
8/1Q6/8/8/q7/k7/8/1K6 w - - 0 1
8/6Q1/8/8/q7/k7/8/1K6 w - - 0 1
1Q6/8/8/8/q7/k7/8/1K6 w - - 0 1
7Q/8/8/8/q7/k7/8/1K6 w - - 0 1
8/8/1q6/8/8/8/8/k1KQ4 w - - 0 1
8/8/8/8/8/8/k4q2/2KQ4 w - - 0 1
8/8/8/8/8/8/k5q1/2KQ4 w - - 0 1
8/8/8/8/8/8/k6q/2KQ4 w - - 0 1
8/8/8/4q3/8/8/k7/2KQ4 w - - 0 1
8/8/1q6/8/8/8/k7/2KQ4 w - - 0 1
8/8/5q2/8/8/8/k7/2KQ4 w - - 0 1
8/1q6/8/8/8/8/k7/2KQ4 w - - 0 1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- - 0 1
4QK2/7k/8/8/8/8/8/6q1 w - - 0 1
4QK2/7k/8/8/8/8/1q6/8 w - - 0 1
4QK2/7k/8/8/8/8/6q1/8 w - - 0 1
4QK2/7k/8/8/8/2q5/8/8 w - - 0 1
4QK2/7k/8/8/8/6q1/8/8 w - - 0 1
4QK2/7k/8/8/3q4/8/8/8 w - - 0 1
4QK2/q6k/8/8/8/8/8/8 w - - 0 1
4QK2/1q5k/8/8/8/8/8/8 w - - 0 1
4QK2/2q4k/8/8/8/8/8/8 w - - 0 1
4QK1k/8/8/8/8/6q1/8/8 w - - 0 1
6K1/8/7k/7q/8/8/8/Q7 w - - 0 1
6K1/8/7k/7q/8/8/8/6Q1 w - - 0 1
6K1/8/7k/7q/8/8/1Q6/8 w - - 0 1
6K1/8/7k/7q/8/8/6Q1/8 w - - 0 1
6K1/8/7k/7q/8/2Q5/8/8 w - - 0 1
6K1/8/7k/7q/8/6Q1/8/8 w - - 0 1
6K1/8/7k/7q/3Q4/8/8/8 w - - 0 1
6K1/Q7/7k/7q/8/8/8/8 w - - 0 1
6K1/1Q6/7k/7q/8/8/8/8 w - - 0 1
6K1/2Q5/7k/7q/8/8/8/8 w - - 0 1
4qk1K/8/8/8/8/6Q1/8/8 w - - 0 1
7K/2Q5/7k/7q/8/8/8/8 w - - 0 1

Dann Corbit
Posts: 9506
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: statistics about mates from tablebases

Post by Dann Corbit » Thu Mar 14, 2019 7:40 pm

17,633 exactly reversible mates (IOW, if the side to move changes, it is mate for the other side in the exact same number of moves):

https://drive.google.com/open?id=1FIEo2 ... 9W6bV4suk-

I was going to attach it, but the forum software said it was too big.

Most of these are not tablebase mates.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

Dann Corbit
Posts: 9506
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: statistics about mates from tablebases

Post by Dann Corbit » Thu Mar 14, 2019 7:46 pm

This is how I found them:

Code: Select all

select * from Epd a, Epd b 
where  a.Epd LIKE '% w %' 
AND b.Epd LIKE '% b %' 
AND LEFT(a.Epd, CHARINDEX(' w ', a.Epd) - 1) = LEFT(b.Epd, CHARINDEX(' b ', b.Epd) - 1) 
and a.dm = b.dm
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

Post Reply