In
mathematical logic
Mathematical logic is the study of logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory. Research in mathematical logic commonly addresses the mathematical properties of for ...
the theory of pure equality is a
first-order theory
First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantif ...
. It has a
signature
A signature (; from la, signare, "to sign") is a handwritten (and often stylized) depiction of someone's name, nickname, or even a simple "X" or other mark that a person writes on documents as a proof of identity and intent. The writer of a ...
consisting of only the equality relation symbol, and includes no non-logical axioms at all.
This theory is
consistent
In classical deductive logic, a consistent theory is one that does not lead to a logical contradiction. The lack of contradiction can be defined in either semantic or syntactic terms. The semantic definition states that a theory is consistent i ...
but incomplete, as a non-empty
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
with the usual equality relation provides an interpretation making certain sentences true. It is an example of a
decidable theory and is a fragment of more expressive decidable theories, including monadic class of first-order logic (which also admits unary predicates and is, via
Skolem normal form
In mathematical logic, a formula of first-order logic is in Skolem normal form if it is in prenex normal form with only universal first-order quantifiers.
Every first-order formula may be converted into Skolem normal form while not changing i ...
, related to
set constraint
In mathematics and theoretical computer science, a set constraint is an equation or an inequation between sets of terms.
Similar to systems of ( in)equations between numbers, methods are studied for solving systems of set constraints.
Different a ...
s in
program analysis
In computer science, program analysis is the process of automatically analyzing the behavior of computer programs regarding a property such as correctness, robustness, safety and liveness.
Program analysis focuses on two major areas: program op ...
) and
monadic second-order theory of a pure set (which additionally permits quantification over predicates and whose signature extends to monadic second-order logic of ''k'' successors).
Historical significance
The theory of pure equality was proven to be
decidable by
Leopold Löwenheim
Leopold Löwenheim ˆle:o:pÉ”lÌ©d ˈlø:vÉ›nhaɪm(26 June 1878 in Krefeld – 5 May 1957 in Berlin) was a German mathematician doing work in mathematical logic. The Nazi regime forced him to retire because under the Nuremberg Laws he was considere ...
in 1915.
If an additional axiom is added saying that there are exactly ''m'' objects for a fixed
natural number
In mathematics, the natural numbers are those numbers used for counting (as in "there are ''six'' coins on the table") and ordering (as in "this is the ''third'' largest city in the country").
Numbers used for counting are called ''Cardinal n ...
''m'', or an axiom scheme is added saying that there are infinitely many objects, then the resulting theory is
complete
Complete may refer to:
Logic
* Completeness (logic)
* Completeness of a theory, the property of a theory that every formula in the theory's language or its negation is provable
Mathematics
* The completeness of the real numbers, which implies t ...
.
Definition as FOL theory
The pure theory of equality contains formulas of
first-order logic
First-order logic—also known as predicate logic, quantificational logic, and first-order predicate calculus—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantifie ...
with equality, where the only predicate symbol is equality itself and there are no function symbols.
Consequently, the only form of an atomic formula is
where
are (possibly identical) variables. Syntactically more complex formulas can be built as usual in first-order logic using propositional connectives such as
and quantifiers
.
A
first-order structure with equality interpreting such formulas is just a set with the equality relation on its elements. Isomorphic structures with such signature are thus sets of the same
cardinality
In mathematics, the cardinality of a set is a measure of the number of elements of the set. For example, the set A = \ contains 3 elements, and therefore A has a cardinality of 3. Beginning in the late 19th century, this concept was generalized ...
. Cardinality thus uniquely determines whether a sentence is true in the structure.
Example
The following formula:
:
is true when the set interpreting the formula has at most two elements.
Expressive power
This theory can express the fact that the domain of interpretation has at least
elements for a constant
using the formula that we will denote
for a constant
:
:
Using negation, it can then express that the domain has more than
elements. More generally, it can constrain the domain to have a given finite set of finite cardinalities.
Definition of the theory
In terms of models, pure theory of equality can be defined as set of those first-order sentences that are true for all (non-empty) sets, regardless of their cardinality. For example, the following is a valid formula in the pure theory of equality:
:
By completeness of first-order logic, all valid formulas are provable using axioms of first-order logic and the
equality axioms (see also
equational logic First-order equational logic consists of quantifier-free terms of ordinary first-order logic, with equality as the only predicate symbol. The model theory of this logic was developed into universal algebra by Birkhoff, Grätzer, and Cohn. It was l ...
).
Decidability
Decidability can be shown by establishing that every sentence can be shown equivalent to a propositional combination of formulas about the cardinality of the domain.
To obtain
quantifier elimination Quantifier elimination is a concept of simplification used in mathematical logic, model theory, and theoretical computer science. Informally, a quantified statement "\exists x such that \ldots" can be viewed as a question "When is there an x such t ...
, one can expand the signature of the language while preserving the definable relations (a technique that works more generally for monadic second-order formulas). Another approach to establish decidability is to use
Ehrenfeucht–Fraïssé game In the mathematical discipline of model theory, the Ehrenfeucht–Fraïssé game (also called back-and-forth games)
is a technique based on game semantics for determining whether two structures
are elementarily equivalent. The main application of E ...
s.
See also
*
List of first-order theories
In first-order logic, a first-order theory is given by a set of axioms in some
language. This entry lists some of the more common examples used in model theory and some of their properties.
Preliminaries
For every natural mathematical structure ...
*
Equational logic First-order equational logic consists of quantifier-free terms of ordinary first-order logic, with equality as the only predicate symbol. The model theory of this logic was developed into universal algebra by Birkhoff, Grätzer, and Cohn. It was l ...
*
Free theory
Free may refer to:
Concept
* Freedom, having the ability to do something, without having to obey anyone/anything
* Freethought, a position that beliefs should be formed only on the basis of logic, reason, and empiricism
* Emancipate, to procure ...
References
Formal theories
{{mathlogic-stub