In mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
and
logic
Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the science of deductively valid inferences or of logical truths. It is a formal science investigating how conclusions follow from premises ...
, a higher-order logic is a form of
predicate logic that is distinguished from
first-order logic by additional
quantifiers and, sometimes, stronger
semantics
Semantics (from grc, σημαντικός ''sēmantikós'', "significant") is the study of reference, meaning, or truth. The term can be used to refer to subfields of several distinct disciplines, including philosophy
Philosophy (f ...
. Higher-order logics with their standard semantics are more expressive, but their
model-theoretic
In mathematical logic, model theory is the study of the relationship between formal theories (a collection of sentences in a formal language expressing statements about a mathematical structure), and their models (those structures in which the st ...
properties are less well-behaved than those of first-order logic.
The term "higher-order logic", abbreviated as HOL, is commonly used to mean higher-order simple predicate logic. Here "simple" indicates that the underlying
type theory
In mathematics, logic, and computer science, a type theory is the formal presentation of a specific type system, and in general type theory is the academic study of type systems. Some type theories serve as alternatives to set theory as a foundat ...
is the ''theory of simple types'', also called the ''simple theory of types'' (see
Type theory
In mathematics, logic, and computer science, a type theory is the formal presentation of a specific type system, and in general type theory is the academic study of type systems. Some type theories serve as alternatives to set theory as a foundat ...
).
Leon Chwistek and
Frank P. Ramsey proposed this as a simplification of the complicated and clumsy ''ramified theory of types'' specified in the ''
Principia Mathematica'' by
Alfred North Whitehead
Alfred North Whitehead (15 February 1861 – 30 December 1947) was an English mathematician and philosopher. He is best known as the defining figure of the philosophical school known as process philosophy, which today has found applicat ...
and
Bertrand Russell
Bertrand Arthur William Russell, 3rd Earl Russell, (18 May 1872 – 2 February 1970) was a British mathematician, philosopher, logician, and public intellectual. He had a considerable influence on mathematics, logic, set theory, linguistics, ...
. ''Simple types'' is nowadays sometimes also meant to exclude
polymorphic and
dependent
A dependant is a person who relies on another as a primary source of income. A common-law spouse who is financially supported by their partner may also be included in this definition. In some jurisdictions, supporting a dependant may enabl ...
types.
Quantification scope
First-order logic quantifies only variables that range over individuals; ''
second-order logic'', in addition, also quantifies over sets; ''third-order logic'' also quantifies over sets of sets, and so on.
''Higher-order logic'' is the union of first-, second-, third-, ..., ''n''th-order logic; ''i.e.,'' higher-order logic admits quantification over sets that are nested arbitrarily deeply.
Semantics
There are two possible semantics for higher-order logic.
In the ''standard'' or ''full semantics'', quantifiers over higher-type objects range over ''all'' possible objects of that type. For example, a quantifier over sets of individuals ranges over the entire
powerset
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is postu ...
of the set of individuals. Thus, in standard semantics, once the set of individuals is specified, this is enough to specify all the quantifiers. HOL with standard semantics is more expressive than first-order logic. For example, HOL admits
categorical axiomatizations of the
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 ...
s, and of the
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s, which are impossible with first-order logic. However, by a result of
Kurt Gödel
Kurt Friedrich Gödel ( , ; April 28, 1906 – January 14, 1978) was a logician, mathematician, and philosopher. Considered along with Aristotle and Gottlob Frege to be one of the most significant logicians in history, Gödel had an imme ...
, HOL with standard semantics does not admit an
effective, sound, and
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 ...
proof calculus In mathematical logic, a proof calculus or a proof system is built to prove statements.
Overview
A proof system includes the components:
* Language: The set ''L'' of formulas admitted by the system, for example, propositional logic or first-order ...
. The model-theoretic properties of HOL with standard semantics are also more complex than those of first-order logic. For example, the
Löwenheim number In mathematical logic the Löwenheim number of an abstract logic is the smallest cardinal number for which a weak downward Löwenheim–Skolem theorem holds.Zhang 2002 page 77 They are named after Leopold Löwenheim, who proved that these exist for ...
of
second-order logic is already larger than the first
measurable cardinal, if such a cardinal exists. The Löwenheim number of first-order logic, in contrast, is
ℵ0, the smallest infinite cardinal.
In Henkin semantics, a separate domain is included in each interpretation for each higher-order type. Thus, for example, quantifiers over sets of individuals may range over only a subset of the
powerset
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is postu ...
of the set of individuals. HOL with these semantics is equivalent to
many-sorted 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 ...
, rather than being stronger than first-order logic. In particular, HOL with Henkin semantics has all the model-theoretic properties of first-order logic, and has a complete, sound, effective proof system inherited from first-order logic.
Properties
Higher order logics include the offshoots of
Church
Church may refer to:
Religion
* Church (building), a building for Christian religious activities
* Church (congregation), a local congregation of a Christian denomination
* Church service, a formalized period of Christian communal worship
* Chris ...
's
simple theory of types The type theory was initially created to avoid paradoxes in a variety of formal logics and rewrite systems. Later, type theory referred to a class of formal systems, some of which can serve as alternatives to naive set theory as a foundation for a ...
[ Alonzo Church]
''A formulation of the simple theory of types''
The Journal of Symbolic Logic 5(2):56–68 (1940) and the various forms of
intuitionistic type theory.
Gérard Huet
Gérard Pierre Huet (; born 7 July 1947) is a French computer scientist, linguist and mathematician. He is senior research director at INRIA and mostly known for his major and seminal contributions to type theory, programming language theory and ...
has shown that
unifiability is
undecidable in a
type-theoretic
In mathematics, logic, and computer science, a type theory is the formal presentation of a specific type system, and in general type theory is the academic study of type systems. Some type theories serve as alternatives to set theory as a founda ...
flavor of third-order logic, that is, there can be no algorithm to decide whether an arbitrary equation between third-order (let alone arbitrary higher-order) terms has a solution.
Up to a certain notion of isomorphism, the powerset operation is definable in second-order logic. Using this observation,
Jaakko Hintikka
Kaarlo Jaakko Juhani Hintikka (12 January 1929 – 12 August 2015) was a Finnish philosopher and logician.
Life and career
Hintikka was born in Helsingin maalaiskunta (now Vantaa).
In 1953, he received his doctorate from the University of Helsin ...
established in 1955 that second-order logic can simulate higher-order logics in the sense that for every formula of a higher order-logic, one can find an
equisatisfiable formula for it in second-order logic.
entry on HOL
/ref>
The term "higher-order logic" is assumed in some context to refer to '' classical'' higher-order logic. However, modal higher-order logic has been studied as well. According to several logicians, Gödel's ontological proof
Gödel's ontological proof is a formal argument by the mathematician Kurt Gödel (1906–1978) for the existence of God. The argument is in a line of development that goes back to Anselm of Canterbury (1033–1109). St. Anselm's ontological argum ...
is best studied (from a technical perspective) in such a context.
See also
* Zeroth-order logic
Zeroth-order logic is first-order logic without variables or quantifiers. Some authors use the phrase "zeroth-order logic" as a synonym for the propositional calculus,. but an alternative definition extends propositional logic by adding constants ...
(propositional logic)
* First-order logic
* Second-order logic
* Type theory
In mathematics, logic, and computer science, a type theory is the formal presentation of a specific type system, and in general type theory is the academic study of type systems. Some type theories serve as alternatives to set theory as a foundat ...
* Higher-order grammar
Higher order grammar (HOG) is a grammar theory based on higher-order logic.Hana, JiriCzech Clitics in Higher Order Grammar Diss. The Ohio State University, 2007. It can be viewed simultaneously as generative-enumerative (like categorial grammar and ...
* Higher-order logic programming
Logic programming is a programming paradigm which is largely based on formal logic. Any program written in a logic programming language is a set of sentences in logical form, expressing facts and rules about some problem domain. Major logic prog ...
* HOL (proof assistant)
* Many-sorted logic
Many-sorted logic can reflect formally our intention not to handle the universe as a homogeneous collection of objects, but to partition it in a way that is similar to types in typeful programming. Both functional and assertive "parts of speech" i ...
* Typed lambda calculus
* Modal logic
Modal logic is a collection of formal systems developed to represent statements about necessity and possibility. It plays a major role in philosophy of language, epistemology, metaphysics, and natural language semantics. Modal logics extend other ...
Notes
References
* Andrews, Peter B. (2002). ''An Introduction to Mathematical Logic and Type Theory: To Truth Through Proof'', 2nd ed, Kluwer Academic Publishers,
* Stewart Shapiro, 1991, "Foundations Without Foundationalism: A Case for Second-Order Logic". Oxford University Press.,
* Stewart Shapiro, 2001, "Classical Logic II: Higher Order Logic," in Lou Goble, ed., ''The Blackwell Guide to Philosophical Logic''. Blackwell,
* Lambek, J. and Scott, P. J., 1986. ''Introduction to Higher Order Categorical Logic'', Cambridge University Press,
*
*
External links
* Andrews, Peter B
Church's Type Theory
in Stanford Encyclopedia of Philosophy
The ''Stanford Encyclopedia of Philosophy'' (''SEP'') combines an online encyclopedia of philosophy with peer-reviewed publication of original papers in philosophy, freely accessible to Internet users. It is maintained by Stanford University. Eac ...
.
* Miller, Dale, 1991,
Logic: Higher-order
" ''Encyclopedia of Artificial Intelligence'', 2nd ed.
* Herbert B. Enderton
Second-order and Higher-order Logic
in Stanford Encyclopedia of Philosophy
The ''Stanford Encyclopedia of Philosophy'' (''SEP'') combines an online encyclopedia of philosophy with peer-reviewed publication of original papers in philosophy, freely accessible to Internet users. It is maintained by Stanford University. Eac ...
, published Dec 20, 2007; substantive revision Mar 4, 2009.
{{Mathematical logic
Predicate logic
Systems of formal logic