Hostname: page-component-6766d58669-zlvph Total loading time: 0 Render date: 2026-05-22T03:36:23.987Z Has data issue: false hasContentIssue false

Integrating Logic Rules with Everything Else, Seamlessly

Published online by Cambridge University Press:  06 July 2023

YANHONG A. LIU
Affiliation:
Stony Brook University, Stony Brook, NY 11794, USA (e-mails: liu@cs.stonybrook.edu, stoller@cs.stonybrook.edu, yittong@cs.stonybrook.edu, bolin@cs.stonybrook.edu)
SCOTT D. STOLLER
Affiliation:
Stony Brook University, Stony Brook, NY 11794, USA (e-mails: liu@cs.stonybrook.edu, stoller@cs.stonybrook.edu, yittong@cs.stonybrook.edu, bolin@cs.stonybrook.edu)
YI TONG
Affiliation:
Stony Brook University, Stony Brook, NY 11794, USA (e-mails: liu@cs.stonybrook.edu, stoller@cs.stonybrook.edu, yittong@cs.stonybrook.edu, bolin@cs.stonybrook.edu)
BO LIN
Affiliation:
Stony Brook University, Stony Brook, NY 11794, USA (e-mails: liu@cs.stonybrook.edu, stoller@cs.stonybrook.edu, yittong@cs.stonybrook.edu, bolin@cs.stonybrook.edu)

Abstract

This paper presents a language, Alda, that supports all of logic rules, sets, functions, updates, and objects as seamlessly integrated built-ins. The key idea is to support predicates in rules as set-valued variables that can be used and updated in any scope, and support queries using rules as either explicit or implicit automatic calls to an inference function. We have defined a formal semantics of the language, implemented a prototype compiler that builds on an object-oriented language that supports concurrent and distributed programming and on an efficient logic rule system, and successfully used the language and implementation on benchmarks and problems from a wide variety of application domains. We describe the compilation method and results of experimental evaluation.

Information

Type
Original Article
Copyright
© The Author(s), 2023. Published by Cambridge University Press

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable