Publication | Open Access
An abstract machine for tabled execution of fixed-order stratified logic programs
121
Citations
21
References
1998
Year
Tabled Slg CodeEngineeringVerificationComputer ArchitectureWell-founded SemanticsSoftware AnalysisSlg-wam BringsFormal VerificationLogic ProgrammingDeductive DatabaseAbstract MachineAbstract InterpretationComputer EngineeringSlg ResolutionComputer ScienceLogic SynthesisDeclarative ProgrammingProgram AnalysisAutomated ReasoningDynamic LogicFormal MethodsTabled ExecutionParallel ProgrammingSymbolic Execution
SLG resolution uses tabling to evaluate nonfloundering normal logic pr ograms according to the well-founded semantics. The SLG-WAM, which forms the engine of the XSB system, can compute in-memory recursive queries an order of magnitute faster than current deductive databases. At the same time, the SLG-WAM tightly intergrates Prolog code with tabled SLG code, and executes Prolog code with minimal overhead compared to the WAM. As a result, the SLG-WAM brings to logic programming important termination and complexity properties of deductive databases. This article describes the architecture of the SLG-WAM for a powerful class of programs, the class of fixed-order dynamically stratified programs . We offer a detailed description of the algorithms, data structures, and instructions that the SLG-WAM adds to the WAM, and a performance analysis of engine overhead due to the extensions.
| Year | Citations | |
|---|---|---|
Page 1
Page 1