2021
DOI: 10.1017/s1471068421000223
|View full text |Cite
|
Sign up to set email alerts
|

On Correctness and Completeness of an n Queens Program

Abstract: Thom Frühwirth presented a short, elegant, and efficient Prolog program for the n queens problem. However, the program may be seen as rather tricky and one may not be convinced about its correctness. This paper explains the program in a declarative way and provides proofs of its correctness and completeness. The specification and the proofs are declarative, that is they abstract from any operational semantics. The specification is approximate, it is unnecessary to describe the program’s semantics exactly. Desp… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2021
2021
2023
2023

Publication Types

Select...
2
1

Relationship

1
2

Authors

Journals

citations
Cited by 3 publications
(1 citation statement)
references
References 11 publications
0
1
0
Order By: Relevance
“…The core fragment of the n queens program [Frü91] will be now used as an example. We call it NQUEENS, see [Dra22] for explanations.…”
Section: Example -A Weakly Occur-check Free Programmentioning
confidence: 99%
“…The core fragment of the n queens program [Frü91] will be now used as an example. We call it NQUEENS, see [Dra22] for explanations.…”
Section: Example -A Weakly Occur-check Free Programmentioning
confidence: 99%