Declarativelogic
Declarativelogic is a programming paradigm and theoretical framework in which programs consist of logical specifications that declare what is to be computed rather than how to compute it. In this view, computation arises from applying logical rules to facts and constraints, with results obtained through automatic inference.
Historically, declarativelogic is closely tied to logic programming and deductive databases. Prolog, Datalog, and Answer Set
Programs consist of facts, rules, and sometimes constraints. A rule has the form head :- body, meaning
Common applications include knowledge representation, AI planning, data querying and integration, configuration, and formal verification. Compared