Abstract complexity of Prolog based on WAM
The time and space complexity (in regard with length of stacks) are investigated for four subsets of standard Prolog: kernel Prolog \((KP)\) with lists and cut operator only; kernel dynamic Prolog \((KDP)\) is \(KP\) with assert and retract predicates; flat Prolog \((FP)\) and flat dynamic Prolog \((FDP)\) is \(KP\) and respectively \(KDP\) without lists. The solution existence problem is undecidable in \(FDP\) (even without cut). It is decidable in \(FP\) and requires nondeterministic exponential time. For each functional program on \(KP\) there is an equivalent deterministic program on \(KP\). For each program in \(KDP\) there is a equivalent iterative program in \(KDP\). For the entire collection see [Zbl 0875.00110].
- On computational complexity of Prolog programs
- Biography of Alexandre Dikovsky
- scientific article; zbMATH DE number 4130365 (Why is no real title available?)
- scientific article; zbMATH DE number 4178773 (Why is no real title available?)
- Weighted graphs: A tool for studying the halting problem and time complexity in term rewriting systems and logic programming
This page was built for publication: Abstract complexity of Prolog based on WAM
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4281612)