Difference between revisions of "First-order logic"
Karl Jones (Talk | contribs) (→See also) |
Karl Jones (Talk | contribs) (→External links) |
||
Line 63: | Line 63: | ||
* [https://en.wikipedia.org/wiki/First-order_logic First-order logic] @ Wikipedia | * [https://en.wikipedia.org/wiki/First-order_logic First-order logic] @ Wikipedia | ||
+ | |||
+ | [[Category:Logic]] |
Revision as of 04:59, 12 April 2016
First-order logic is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science.
It is also known as first-order predicate calculus, the lower predicate calculus, quantification theory, and predicate logic.
Description
First-order logic uses quantified variables over (non-logical) objects.
It allows the use of sentences that contain variables, so that rather than propositions such as Socrates is a man one can have expressions in the form X is a man where X is a variable.
This distinguishes it from propositional logic, which does not use quantifiers.
A theory about a topic is usually a first-order logic together with a specified domain of discourse over which the quantified variables range, finitely many functions from that domain to itself, finitely many predicates defined on that domain, and a set of axioms believed to hold for those things. Sometimes "theory" is understood in a more formal sense, which is just a set of sentences in first-order logic.
The adjective "first-order" distinguishes first-order logic from higher-order logic in which there are predicates having predicates or functions as arguments, or in which one or both of predicate quantifiers or function quantifiers are permitted.
In first-order theories, predicates are often associated with sets. In interpreted higher-order theories, predicates may be interpreted as sets of sets.
There are many deductive systems for first-order logic which are both sound (all provable statements are true in all models) and complete (all statements which are true in all models are provable).
Although the logical consequence relation is only semidecidable, much progress has been made in automated theorem proving in first-order logic.
First-order logic also satisfies several metalogical theorems that make it amenable to analysis in proof theory, such as the Löwenheim–Skolem theorem and the compactness theorem.
First-order logic is the standard for the formalization of mathematics into axioms and is studied in the foundations of mathematics.
Peano arithmetic and Zermelo–Fraenkel set theory are axiomatizations of number theory and set theory, respectively, into first-order logic.
No first-order theory, however, has the strength to uniquely describe a structure with an infinite domain, such as the natural numbers or the real line.
Axioms systems that do fully describe these two structures (that is, categorical axiom systems) can be obtained in stronger logics such as second-order logic.
See also
- ACL2 - computational logic for Applicative Common Lisp
- Computer science
- Equiconsistency
- Extension by definitions
- Formal system
- Foundations of mathematics
- Herbrandization
- Higher-order logic
- List of logic symbols
- Logic
- Löwenheim number
- Mathematics
- Number theory
- Peano arithmetic
- Philosophy
- Prenex normal form
- Prolog
- Relational algebra
- Relational model
- Second-order logic
- Set theory
- Skolem normal form
- Tarski's World
- Truth table
- Type (model theory)
- Zermelo–Fraenkel set theory
External links
- First-order logic @ Wikipedia