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 ...
, realizability is a collection of methods in
proof theory
Proof theory is a major branchAccording to Wang (1981), pp. 3–4, proof theory is one of four domains mathematical logic, together with model theory, axiomatic set theory, and recursion theory. Jon Barwise, Barwise (1978) consists of four correspo ...
used to study
constructive proof
In mathematics, a constructive proof is a method of mathematical proof, proof that demonstrates the existence of a mathematical object by creating or providing a method for creating the object. This is in contrast to a non-constructive proof (also ...
s and extract additional information from them. Formulas from a formal theory are "realized" by objects, known as "realizers", in a way that knowledge of the realizer gives knowledge about the truth of the formula. There are many variations of realizability; exactly which class of formulas is studied and which objects are realizers differ from one variation to another.
Realizability can be seen as a formalization of the
BHK interpretation BHK is a three-letter abbreviation that may refer to:
* BHK interpretation of intuitionistic predicate logic
* Baby hamster kidney cells used in molecular biology
* Bachelor of Human Kinetics (BHk) degree.
* Baltische Historische Kommission, organi ...
of intuitionistic logic; in realizability the notion of "proof" (which is left undefined in the BHK interpretation) is replaced with a formal notion of "realizer". Most variants of realizability begin with a theorem that any statement that is provable in the formal system being studied is realizable. The realizer, however, usually gives more information about the formula than a formal proof would directly provide.
Beyond giving insight into intuitionistic provability, realizability can be applied to prove the
disjunction and existence properties
In mathematical logic, the disjunction and existence properties are the "hallmarks" of constructive theories such as Heyting arithmetic and constructive set theories (Rathjen 2005).
Disjunction property
The disjunction property is satisfi ...
for intuitionistic theories and to extract programs from proofs, as in
proof mining In proof theory, a branch of mathematical logic, proof mining (or proof unwinding) is a research program that studies or analyzes formalized proofs, especially in analysis, to obtain explicit bounds, ranges
In the Hebrew Bible and in the Old Test ...
. It is also related to
topos theory
In mathematics, a topos (, ; plural topoi or , or toposes) is a category that behaves like the category of sheaves of sets on a topological space (or more generally: on a site). Topoi behave much like the category of sets and possess a notion ...
via the
realizability topos In mathematical logic, realizability is a collection of methods in proof theory used to study constructive proofs and extract additional information from them. Formulas from a formal theory are "realized" by objects, known as "realizers", in a way ...
.
Example: Kleene's 1945-realizability
Kleene
Stephen Cole Kleene ( ; January 5, 1909 – January 25, 1994) was an American mathematician. One of the students of Alonzo Church, Kleene, along with Rózsa Péter, Alan Turing, Emil Post, and others, is best known as a founder of the branch of ...
's original version of realizability uses natural numbers as realizers for formulas in
Heyting arithmetic In mathematical logic, Heyting arithmetic is an axiomatization of arithmetic in accordance with the philosophy of intuitionism.Troelstra 1973:18 It is named after Arend Heyting, who first proposed it.
Axiomatization
As with first-order Peano a ...
. A few pieces of notation are required: first, an ordered pair (''n'',''m'') is treated as a single number using a fixed
primitive recursive
In computability theory, a primitive recursive function is roughly speaking a function that can be computed by a computer program whose loops are all "for" loops (that is, an upper bound of the number of iterations of every loop can be determined ...
pairing function
In mathematics, a pairing function is a process to uniquely encode two natural numbers into a single natural number.
Any pairing function can be used in set theory to prove that integers and rational numbers have the same cardinality as natural ...
; second, for each natural number ''n'', φ
''n'' is the
computable function
Computable functions are the basic objects of study in computability theory. Computable functions are the formalized analogue of the intuitive notion of algorithms, in the sense that a function is computable if there exists an algorithm that can do ...
with index ''n''. The following clauses are used to define a relation "''n'' realizes ''A''" between natural numbers ''n'' and formulas ''A'' in the language of Heyting arithmetic, known as Kleene's 1945-realizability relation:
* A number ''n'' realizes an atomic formula ''s''=''t'' if and only if ''s''=''t'' is true. Thus every number realizes a true equation, and no number realizes a false equation.
* A pair (''n'',''m'') realizes a formula ''A''∧''B'' if and only if ''n'' realizes ''A'' and ''m'' realizes ''B''. Thus a realizer for a conjunction is a pair of realizers for the conjuncts.
* A pair (''n'',''m'') realizes a formula ''A''∨''B'' if and only if the following hold: ''n'' is 0 or 1; and if ''n'' is 0 then ''m'' realizes ''A''; and if ''n'' is 1 then ''m'' realizes ''B''. Thus a realizer for a disjunction explicitly picks one of the disjuncts (with ''n'') and provides a realizer for it (with ''m'').
* A number ''n'' realizes a formula ''A''→''B'' if and only if, for every ''m'' that realizes ''A'', φ
''n''(''m'') realizes ''B''. Thus a realizer for an implication is a computable function that takes a realizer for the hypothesis and produces a realizer for the conclusion.
* A pair (''n'',''m'') realizes a formula (∃ ''x'')''A''(''x'') if and only if ''m'' is a realizer for ''A''(''n''). Thus a realizer for an existential formula produces an explicit witness for the quantifier along with a realizer for the formula instantiated with that witness.
* A number ''n'' realizes a formula (∀ ''x'')''A''(''x'') if and only if, for all ''m'', φ
''n''(''m'') is defined and realizes ''A''(''m''). Thus a realizer for a universal statement is a computable function that produces, for each ''m'', a realizer for the formula instantiated with ''m''.
With this definition, the following theorem is obtained:
:Let ''A'' be a sentence of Heyting arithmetic (HA). If HA proves ''A'' then there is an ''n'' such that ''n'' realizes ''A''.
On the other hand, there are formulas that are realized but which are not provable in HA, a fact first established by Rose.
Further analysis of the method can be used to prove that HA has the "
disjunction and existence properties
In mathematical logic, the disjunction and existence properties are the "hallmarks" of constructive theories such as Heyting arithmetic and constructive set theories (Rathjen 2005).
Disjunction property
The disjunction property is satisfi ...
":
* If HA proves a sentence (∃ ''x'')''A''(''x''), then there is an ''n'' such that HA proves ''A''(''n'')
* If HA proves a sentence ''A''∨''B'', then HA proves ''A'' or HA proves ''B''.
Later developments
Kreisel introduced modified realizability, which uses
typed lambda calculus
A typed lambda calculus is a typed formalism that uses the lambda-symbol (\lambda) to denote anonymous function abstraction. In this context, types are usually objects of a syntactic nature that are assigned to lambda terms; the exact nature of a ...
as the language of realizers. Modified realizability is one way to show that
Markov's principle
Markov's principle, named after Andrey Markov Jr, is a conditional existence statement for which there are many equivalent formulations, as discussed below.
The principle is logically valid classically, but not in intuitionistic constructive m ...
is not derivable in intuitionistic logic. On the contrary, it allows to constructively justify the principle of independence of premise:
:
.
Relative realizability
[Birkedal 2000] is an intuitionist analysis of recursive or recursively enumerable elements of data structures that are not necessarily computable, such as computable operations on all real numbers when reals can be only approximated on digital computer systems.
Applications
Realizability is one of the methods used in
proof mining In proof theory, a branch of mathematical logic, proof mining (or proof unwinding) is a research program that studies or analyzes formalized proofs, especially in analysis, to obtain explicit bounds, ranges
In the Hebrew Bible and in the Old Test ...
to extract concrete "programs" from seemingly nonconstructive mathematical proofs. Program extraction using realizability is implemented in some
proof assistant
In computer science and mathematical logic, a proof assistant or interactive theorem prover is a software tool to assist with the development of formal proofs by human-machine collaboration. This involves some sort of interactive proof editor ...
s such as
Coq
Coq is an interactive theorem prover first released in 1989. It allows for expressing mathematical assertions, mechanically checks proofs of these assertions, helps find formal proofs, and extracts a certified program from the constructive proof ...
.
See also
*
Curry–Howard correspondence
In programming language theory and proof theory, the Curry–Howard correspondence (also known as the Curry–Howard isomorphism or equivalence, or the proofs-as-programs and propositions- or formulae-as-types interpretation) is the direct relati ...
*
Dialectica interpretation In proof theory, the Dialectica interpretation is a proof interpretation of intuitionistic arithmetic (Heyting arithmetic) into a finite type extension of primitive recursive arithmetic, the so-called System T. It was developed by Kurt Gödel to pr ...
*
Harrop formula In intuitionistic logic, the Harrop formulae, named after Ronald Harrop, are the class of formulae inductively defined as follows:
* Atomic formulae are Harrop, including falsity (⊥);
* A \wedge B is Harrop provided A and B are;
* \neg F is Harr ...
Notes
References
*
* Kreisel G. (1959). "Interpretation of Analysis by Means of Constructive Functionals of Finite Types", in: Constructivity in Mathematics, edited by A. Heyting, North-Holland, pp. 101–128.
*
* Kleene, S. C. (1973). "Realizability: a retrospective survey" from , pp. 95–112.
*
* {{cite journal , last = Rose , first = G. F. , year = 1953 , title = Propositional calculus and realizability , jstor = 1990776 , journal = Transactions of the American Mathematical Society , volume = 75 , issue = 1 , pages = 1–19 , doi = 10.2307/1990776, doi-access = free
External links
RealizabilityCollection of links to recent papers on realizability and related topics.
Proof theory
Constructivism (mathematics)