In
mathematical logic
Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, a sentence (or closed formula)
[Edgar Morscher, "Logical Truth and Logical Form", ''Grazer Philosophische Studien'' 82(1), pp. 77–90.] of a
predicate logic
First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables ove ...
is a
Boolean-valued
well-formed formula
In mathematical logic, propositional logic and predicate logic, a well-formed formula, abbreviated WFF or wff, often simply formula, is a finite sequence of symbols from a given alphabet that is part of a formal language.
The abbreviation wf ...
with no
free variables. A sentence can be viewed as expressing a
proposition
A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
, something that ''must'' be true or false. The restriction of having no free variables is needed to make sure that sentences can have concrete, fixed
truth value
In logic and mathematics, a truth value, sometimes called a logical value, is a value indicating the relation of a proposition to truth, which in classical logic has only two possible values ('' true'' or '' false''). Truth values are used in ...
s: as the free variables of a (general) formula can range over several values, the truth value of such a formula may vary.
Sentences without any
logical connectives or
quantifiers in them are known as
atomic sentences; by analogy to
atomic formula. Sentences are then built up out of atomic sentences by applying connectives and quantifiers.
A set of sentences is called a
theory
A theory is a systematic and rational form of abstract thinking about a phenomenon, or the conclusions derived from such thinking. It involves contemplative and logical reasoning, often supported by processes such as observation, experimentation, ...
; thus, individual sentences may be called
theorem
In mathematics and formal logic, a theorem is a statement (logic), statement that has been Mathematical proof, proven, or can be proven. The ''proof'' of a theorem is a logical argument that uses the inference rules of a deductive system to esta ...
s. To properly evaluate the truth (or falsehood) of a sentence, one must make reference to an
interpretation of the theory. For first-order theories, interpretations are commonly called
structures. Given a structure or interpretation, a sentence will have a fixed truth value. A theory is
satisfiable when it is possible to present an interpretation in which all of its sentences are true. The study of algorithms to automatically discover interpretations of theories that render all sentences as being true is known as the
satisfiability modulo theories problem.
Example
For the interpretation of formulas, consider these structures: the
positive real numbers, the
real numbers
In mathematics, a real number is a number that can be used to measurement, measure a continuous variable, continuous one-dimensional quantity such as a time, duration or temperature. Here, ''continuous'' means that pairs of values can have arbi ...
, and
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s. The following example in
first-order logic
:
a sentence. This sentence means that for every y, there is an x such that
This sentence is true for positive real numbers, false for real numbers, and true for complex numbers.
However, the formula
:
is a sentence because of the presence of the
free variable ''y''. For real numbers, this formula is true if we substitute (arbitrarily)
but is false if
It is the presence of a free variable, rather than the inconstant truth value, that is important; for example, even for complex numbers, where the formula is always true, it is still not considered a sentence. Such a formula may be called a
predicate instead.
See also
*
Ground expression
*
Open formula
*
Statement (logic)
In logic and semantics, the term statement is variously understood to mean either:
#a meaningful sentence (linguistics)#By_function_or_speech_act, declarative sentence that is Truth, true or false (logic), false, or
#a proposition. Which is the ...
*
Proposition
A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
References
*
* .
{{logic-stub
Predicate logic
Propositions
fr:Proposition (logique mathématique)