December 2021
Beginner
840 pages
47h 29m
English
In declarative programming, the programmer specifies what they want to compute, not how to compute it.
In logic programming, the programmer specifies a knowledge base of known propositions—axioms declared to be true—from which the system infers new propositions using a deductive apparatus:
Propositions in a logic program are purely syntactic, so they have no intrinsic semantics—they can mean whatever the programmer wants them to mean.
In Prolog, the programmer specifies a knowledge base of facts and rules as a set of Horn clauses—a canonical representation for propositions—and the system uses resolution to determine ...
Read now
Unlock full access