Automated reasoning about retrograde chess ... - Semantic Scholar
The position two moves before the given position. 8. 7. 6. 5. 4. 3. 2. 1 a b c d e. f g h. Retrograde chess analysis is a matter of deductive reasoning ...
Automated reasoning about retrograde chess problems using Coq Marko Malikovid, Ph.D. The Faculty of Humanities and Social Sciences University of Rijeka, CROATIA
Retrograde chess analysis Method that determine which moves:
1. have to be
2. could be
played leading up to a given chess position
What did Black just play? What was white's move before that? 8 7 6 5 4 3 2 1 a
b
c
d
e
f
g
h
Black did move his King (his only piece) from a7 (only possible square)!
What did Black just play? What was white's move before that? 8 7 6 5 4 3 2 1 a
b
c
d
e
f
g
h
Black king was in check by white bishop! How white made the last checking move? Bishop is blocked => Some white piece must have moved to discover the check!
What did Black just play? What was white's move before that? 8 7 6 5 4 3 2 1 a
b
c
d
e
f
g
h
White had some piece on a8 which black king captured by last move!
What did Black just play? What was white's move before that? 8 7 6 5 4 3 2 1 a
b
c
d
e
f
g
h
Only white piece which can discover the check is white knight!
The position two moves before the given position 8 7 6 5 4 3 2 1 a
b
c
d
e
f
g
h
Retrograde chess analysis is a matter of deductive reasoning
Retrograde chess move • Definition: "If in accordance with the laws of chess, position Pn+1 arises from position Pn due to the move m of piece p, then the retrograde chess move m1 of move m is the movement of piece p due to the position Pn arising from position Pn+1"
Different types of retrograde chess moves can have very different properties
Retrograde promotion with capturing
Basic formal system in Coq M. Malikovid. A formal system for automated reasoning about retrograde chess problems using Coq. Proceedings of 19th Central European Conference on Information and Intelligent Systems, 2008, pp. 465-475. Varaždin, Croatia
• Chess pieces as enumerated inductive type: Inductive pieces : Set := P | B | R | Q | N | K | p | b | r | q | n | k | O | v.
Position Parameter position : nat -> list (list pieces). Hypothesis H_position : position on = (v :: nil) :: (v :: k :: O :: K :: O :: O :: O :: O :: O :: nil) :: (v :: O :: O :: O :: O :: Q :: O :: O :: O :: nil) :: (v :: O :: O :: O :: O :: O :: O :: O :: O :: nil) :: (v :: O :: O :: B :: O :: P :: O :: O :: O :: nil) :: (v :: O :: O :: O :: P :: O :: O :: O :: O :: nil) :: (v :: O :: O :: O :: O :: O :: O :: O :: P :: nil) :: (v :: O :: O :: O :: O :: O :: O :: O :: O :: nil) :: (v :: O :: O :: O :: O :: O :: O :: O :: B :: nil) :: nil.
Functions for computing check positions • Recursive for the bishop, rook and queen • Non-recursive for knights and pawns
Recursive functions check the content of squares, starting from the closest square of the king in all eight directions
Functions for computing check positions
Square is empty -> Check next square!
Functions for computing check positions
Square is empty -> Check next square!
Functions for computing check positions
Square is engaged with opponent’s bishop => King is in check in direction left-up
Example in Coq: Function for direction left-up Fixpoint check_lu_k (xkb ykb : nat) (pos : list (list pieces)) {struct xkb} : Prop := match xkb with S xkb' => match ykb with S ykb' => match nth ykb' (nth xkb' pos nil) v with O => check_lu_k xkb' ykb' pos | Q => True | B => True
Dec 4, 1989 - The notion that goals or motives affect reasoning has a long and controversial history in social psychology. .... But inasmuch as subjects were explicitly provided with lists of strategies to choose from and with details ...... a histor
ments and dedicated data structures to reason over large-scale data [8, 11, 17]. ... MapReduce is a framework for parallel and distributed processing of batch.
Mar 14, 2006 - Then, for example, a learning rule using back propagation of error often works well in practice. We will not try to explain this further here. Instead we turn to a different response to the XOR problem. 4.4 Support Vector Machines. Sup
Feb 12, 2008 - in explaining well known fallacies and a new fallacy that arose in a recent major murder trial. ... detail in [23]) and the 1894 Dreyfus case (described in detail in [62]). ... proposal to use Bayesian networks for legal reasoning and
bution and the difficulty in partitioning Semantic Web data. ... ing over a large amount of data (billions of statements). ... ing is mainly a data intensive task.
Jun 9, 2006 - Three out of four measures (Precision, Recall, FMeasure) exceed 0.85 (best value is. 1) while Overall, which is the most pessimistic measure, is round about 0.75. These results are obviously what we were hoping for. It is difficult to o
OpenCL is a vendor-agnostic programming model and API for parallel ..... All experiments were run using AMD APP SDK version 2.7 and timings were deter-.
The extensive investigation of the role of teachers in student performance .... We focus our discussion on test measurement and the empirical methods used to.
Abstract. OWL 2 RL was standardized as a less expressive but scalable subset of OWL 2 that allows a forward-chaining implementation. However, building.