E-Tools

Prolog - simple wikipedia

Prolog is a programming language that uses first order logic. It is the most used logic programming language. It is a declarative programming language. Alain Cormerauer, a French computer scientist created Prolog in the early 1970s.

Prolog is rather different from other programming languages. It uses facts and rules. Given the facts, the rules can be used to figure out new facts.

Prolog uses a paradigm called negation as failure, which means that {\displaystyle \mathrm {not} ~p}{\displaystyle \mathrm {not} ~p} is assumed if {\displaystyle p}{\displaystyle p} cannot be derived. This is different from true logical negation. While negation is failure has its benefits, it often confuses people starting to learn Prolog, as they expect true logical negation.

Prolog also uses Horn clauses. It is a turing-complete programming language.

Summary
Prolog is a logic programming language, created by Alain Colmerauer in the early 1970s. It uses facts and rules to deduce new information and employs a unique paradigm called negation as failure. This paradigm assumes not-p when p cannot be derived, differing from true logical negation. Prolog
Reading History
Date Name Words Time WPM
2022/01/06 20:11 Anonymous 130 - -
Statistics

128

Words

1

Read Count
Details

ID: 61d6ce57-454c-42b1-928d-022435ed5dbd

Category ID:

URL: https://simple.m.wikipedia.org/wiki/Prolog

Created: 2022/01/06 20:11

Updated: 2025/12/09 18:20

Last Read: 2022/01/06 20:11

Actions