On Correctness and Completeness of an n Queens Program. Issue 1 (14th January 2022)
- Record Type:
- Journal Article
- Title:
- On Correctness and Completeness of an n Queens Program. Issue 1 (14th January 2022)
- Main Title:
- On Correctness and Completeness of an n Queens Program
- Authors:
- DRABENT, WŁODZIMIERZ
- Abstract:
- 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. Despite the program works on non-ground terms, this work employs the standard semantics, based on logical consequence and Herbrand interpretations. Another purpose of the paper is to present an example of precise declarative reasoning about the semantics of a logic program.
- Is Part Of:
- Theory and practice of logic programming. Volume 22:Issue 1(2022)
- Journal:
- Theory and practice of logic programming
- Issue:
- Volume 22:Issue 1(2022)
- Issue Display:
- Volume 22, Issue 1 (2022)
- Year:
- 2022
- Volume:
- 22
- Issue:
- 1
- Issue Sort Value:
- 2022-0022-0001-0000
- Page Start:
- 37
- Page End:
- 50
- Publication Date:
- 2022-01-14
- Subjects:
- logic programming -- declarative programming -- program completeness -- program correctness -- specification -- nonground answers
Logic programming -- Periodicals
Artificial intelligence -- Computer programs -- Periodicals
Constraint programming (Computer science) -- Periodicals
005.115 - Journal URLs:
- https://www.cambridge.org/core/journals/theory-and-practice-of-logic-programming ↗
- DOI:
- 10.1017/S1471068421000223 ↗
- Languages:
- English
- ISSNs:
- 1471-0684
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 21755.xml