On applying or-parallelism and tabling to logic programs. Logic programming languages, such as Prolog, provide a high-level, declarative approach to programming. Logic Programming offers great potential for implicit parallelism, thus allowing parallel systems to often reduce a program’s execution time without programmer intervention. We believe that for complex applications that take several hours, if not days, to return an answer, even limited speedups from parallel execution can directly translate to very significant productivity gains. It has been argued that Prolog’s evaluation strategy -- SLD resolution -- often limits the potential of the logic programming paradigm. The past years have therefore seen widening efforts at increasing Prolog’s declarativeness and expressiveness. Tabling has proved to be a viable technique to efficiently overcome SLD’s susceptibility to infinite loops and redundant subcomputations. Our research demonstrates that implicit or-parallelism is a natural fit for logic programs with tabling. To substantiate this belief, we have designed and implemented an or-parallel tabling engine -- OPTYap -- and we used a shared-memory parallel machine to evaluate its performance. To the best of our knowledge, OPTYap is the first implementation of a parallel tabling engine for logic programming systems. OPTYap builds on Yap’s efficient sequential Prolog engine. Its execution model is based on the SLG-WAM for tabling, and on the environment copying for or-parallelism. Preliminary results indicate that the mechanisms proposed to parallelize search in the context of SLD resolution can indeed be effectively and naturally generalized to parallelize tabled computations, and that the resulting systems can achieve good performance on shared-memory parallel machines. More importantly, it emphasizes our belief that through applying or-parallelism and tabling to logic programs the range of applications for Logic Programming can be increased.
Keywords for this software
References in zbMATH (referenced in 12 articles , 1 standard article )
Showing results 1 to 12 of 12.
- Sato, Taisuke; Meyer, Philipp: Infinite probability computation by cyclic explanation graphs (2014)
- Areias, Miguel; Rocha, Ricardo: Towards multi-threaded local tabling using a common table space (2012)
- Swift, Terrance; Warren, David S.: XSB: extending Prolog with tabled logic programming (2012)
- Cruz, Flávio; Rocha, Ricardo: Retroactive subsumption-based tabled evaluation of logic programs (2010)
- Marques, Rui; Swift, Terrance: Concurrent and local evaluation of normal programs (2008)
- Simon, Luke; Bansal, Ajay; Mallya, Ajay; Gupta, Gopal: Co-logic programming: Extending logic programming with coinduction (2007)
- Rocha, Ricardo; Lopes, Ricardo; Silva, Fernando; Santos Costa, Vítor: IMPACT: Innovative models for Prolog with advanced control and tabling (2005)
- Rocha, Ricardo; Silva, Fernando; Costa, Vítor Santos: On applying or-parallelism and tabling to logic programs (2005)
- Rocha, Ricardo; Silva, Fernando; Santos Costa, Vítor: Speculative computations in or-parallel tabled logic programs (2004)
- Rocha, Ricardo; Silva, Fernando; Santos Costa, Vítor: Concurrent table accesses in parallel tabled logic programs (2004)
- Rocha, Ricardo; Silva, Fernando M.A.; Costa, Vítor Santos: On applying or-parallelism and tabling to logic programs (2003)
- Rocha, Ricardo; Silva, Fernando; Costa, Vítor Santos: On a tabling engine that can exploit or-parallelism (2001)