eprintid: 14498 rev_number: 19 eprint_status: archive userid: 2047 dir: disk0/00/01/44/98 datestamp: 2013-02-15 07:48:50 lastmod: 2023-02-27 12:02:33 status_changed: 2023-02-27 12:02:33 type: conference_item metadata_visibility: show item_issues_count: 0 creators_name: Hermenegildo, Manuel V. creators_name: Rossi, Francesca title: On the correctness and efficiency of independent and-parallelism in logic programs ispublished: pub subjects: informatica abstract: This paper presents and proves some fundamental results for independent and-parallelism (IAP). First, the paper treats the issues of correctness and efficiency: after defining strict and non-strict goal independence, it is proved that if strictly independent goals are executed in parallel the solutions obtained are the same as those produced by standard sequential execution. It is also shown that, in the absence of failure, the parallel proof procedure doesn't genérate any additional work (with respect to standard SLDresolution) while the actual execution time is reduced. The same results hold even if non-strictly independent goals are executed in parallel, provided a trivial rewriting of such goals is performed. In addition, and most importantly, treats the issue of compile-time generation of IAP by proposing conditions, to be written at compile-time, to efficiently check strict and non-strict goal independence at run-time and proving the sufficiency of such conditions. It is also shown how simpler conditions can be constructed if some information regarding the binding context of the goals to be executed in parallel is available to the compiler trough either local or program-level analysis. These results therefore provide a formal basis for the automatic compile-time generation of IAP. As a corollary of such results, the paper also proves that negative goals are always non-strictly independent, and that goals which share a first occurrence of an existential variable are never independent. date: 1989-10 date_type: published publisher: MIT Press full_text_status: public pres_type: paper pages: 1235 event_title: 1989 north american conference in logic programming event_location: Cleveland, Ohio event_dates: October 16-20, 1989 event_type: conference institution: Informatica department: Inteligencia_Artificial refereed: TRUE isbn: 0262620642 book_title: Logic Programming, Proceedings of the North American Conference 1989 rights: by-nc-nd citation: Hermenegildo, Manuel V. and Rossi, Francesca (1989). On the correctness and efficiency of independent and-parallelism in logic programs. In: "1989 north american conference in logic programming", October 16-20, 1989, Cleveland, Ohio. ISBN 0262620642. document_url: https://oa.upm.es/14498/1/HERME_ARC_1989-1.pdf