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.
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.
Similar Readings (5 items)
AI-generated tools can make programming more fun
Lisp (programming language) - simple wikipedia
Computer program - simple wikipedia
Summary: ChatGPT: Everything you need to know about the AI-powered chatbot
Summary: Build Mode starts at the beginning: How Forethought AI found product-market fit
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
Words1
Read CountDetails
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