Abstract complexity of Prolog based on WAM

From MaRDI portal





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].











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)