Mathematical logic and foundations Definition
Second-order logic
Builds on Predicate logicStructurePower set
Definition
Let be a signature. The formulas of second-order logic over are built like the formulas of first-order logic over , with these additions.
- For each there are relation variables of arity , and is an atomic formula for terms .
- If is a formula and is a relation variable, then and are formulas.
In the standard semantics, a formula is evaluated in an -structure with domain as in first-order logic. An -ary relation variable ranges over the whole power set of .
Remarks
Function variables may be added in the same way; they can be expressed by relation variables. Monadic second-order logic allows only relation variables of arity , that is, variables for subsets of .
Example: the sentence is a second-order sentence over the signature . It says that every subset of the domain that contains and is closed under is the whole domain.
Non-example: a formula with a quantifier over sets of subsets of is not second-order, because no clause provides such variables; it belongs to third-order logic.
With the standard semantics, second-order logic has neither a complete proof system nor the compactness property. With Henkin semantics, in which the relation variables range over a chosen family of relations, both properties return.
Reading path
To understand this page from the ground up, read these 12 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Power set concept
- Proposition concept
- Structure concept
- Conjunction definition
- Disjunction definition
- Implication definition
- Negation definition
- Predicate definition
- Biconditional definition
- Propositional logic concept
- Predicate logic concept
- Second-order logic definition
Further reading
About this page
| Tag | 47XHPD8XE2 |
|---|---|
| URI | m2://47XHPD8XE2 |
| Kind | definition |
| Writing | W0 stub |
| MSC | 03B16, 03C85 |
| Defines | Second-order logic |
| Uses | Predicate logic, Structure, Power set |
| Changed | 2 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.