Skip to Main content Skip to Navigation
Conference papers

Magically Constraining the Inverse Method Using Dynamic Polarity Assignment

Kaustuv Chaudhuri 1 
1 PARSIFAL - Proof search and reasoning with logic specifications
LIX - Laboratoire d'informatique de l'École polytechnique [Palaiseau], Inria Saclay - Ile de France
Abstract : Given a logic program that is terminating and mode-correct in an idealized Prolog interpreter (i.e., in a top-down logic programming engine), a bottom-up logic programming engine can be used to compute exactly the same set of answers as the top-down engine for a given mode-correct query by rewriting the program and the query using the Magic Sets Transformation (MST). In previous work, we have shown that focusing can logically characterize the standard notion of bottom-up logic programming if atomic formulas are statically given a certain polarity assignment. In an analogous manner, dynamically assigning polarities can characterize the effect of MST without needing to transform the program or the query. This gives us a new proof of the completeness of MST in purely logical terms, by using the general completeness theorem for focusing. As the dynamic assignment is done in a general logic, the essence of MST can potentially be generalized to larger fragments of logic.
Document type :
Conference papers
Complete list of metadata

Cited literature [18 references]  Display  Hide  Download

https://hal.inria.fr/inria-00535948
Contributor : Kaustuv Chaudhuri Connect in order to contact the contributor
Submitted on : Sunday, November 14, 2010 - 2:36:49 PM
Last modification on : Thursday, January 20, 2022 - 5:30:48 PM
Long-term archiving on: : Tuesday, February 15, 2011 - 2:37:36 AM

Files

magassign.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Kaustuv Chaudhuri. Magically Constraining the Inverse Method Using Dynamic Polarity Assignment. Logic for Programming, Artificial Intelligence, and Reasoning (LPAR), Oct 2010, Yogyakarta, Indonesia. pp.202--216, ⟨10.1007/978-3-642-16242-8_15⟩. ⟨inria-00535948⟩

Share

Metrics

Record views

160

Files downloads

228