On Correctness and Completeness of an n Queens Program

نویسندگان

چکیده

Thom Fr\"uhwirth presented a short, elegant and efficient Prolog program for the n queens problem. However may be seen as rather tricky one not convinced about its correctness. This paper explains in declarative way, provides proofs of correctness completeness. The specification are declarative, i.e. they abstract from any operational semantics. is approximate, it unnecessary to describe program's semantics exactly. Despite works on non-ground terms, this work employs standard semantics, based logical consequence Herbrand interpretations. Another purpose present an example precise reasoning logic program. Under consideration Theory Practice Logic Programming (TPLP).

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

an investigation of the impact of self monitoring on langauge teachers motivational practice and its effect on learners motivation

the central purpose of this study was to conduct a case study about the role of self monitoring in teacher’s use of motivational strategies. furthermore it focused on how these strategies affected students’ motivational behavior. although many studies have been done to investigate teachers’ motivational strategies use (cheng & d?rnyei, 2007; d?rnyei & csizer, 1998; green, 2001, guilloteaux & d?...

Analyzing Completeness and Correctness of Utterances Using an ATMS

Analyzing coverage of a student’s utterance or essay (completeness) and diagnosing errors (correctness) can be treated as a diagnosis problem and solved using a well-known technique for model-based diagnosis: an assumption-based truth maintenance system (ATMS). The function-free first-order predicate logic (FOPL) representation of the essay is matched with nodes of the ATMS that are then analyz...

متن کامل

N Queens on an FPGA : Mathematics , Programming , or Both ?

This paper presents a design methodology for deriving an FPGA implementation directly from a mathematical specification, thus avoiding the switch in semantic perspective as is present in widely applied methods which include an imperative implementation as an intermediate step. The first step in the method presented in this paper is to transform a mathematical specification into a Haskell progra...

متن کامل

Automatic Planning of Fine Motions: Correctness & Completeness

In this paper we explore a method for automatic planning of robot finemotion programs, first described in [Lozano-PCrez, Mason, and Taylor 19831. The primary result is a variation that is shown to be “bounded-conip1ete”the method obtains a solution whenever a solution consisting of a bounded number of motions exists.

متن کامل

lexical decomposition awareness and its effect on delayed receptive and productive recognition and recall of vocabulary knowledge of morphologically complex english words: an iranian efl context

abstract lexical knowledge of complex english words is an important part of language skills and crucial for fluent language use (nation, 2001). the present study, thus, was an attempt to assess the role of morphological decomposition awareness as a vocabulary learning strategy on learners’ productive and receptive recall and recognition of complex english words. so 90 sophomores (female and ma...

15 صفحه اول

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Theory and Practice of Logic Programming

سال: 2021

ISSN: ['1471-0684', '1475-3081']

DOI: https://doi.org/10.1017/s1471068421000223