Harrop Formula
   HOME

TheInfoList



OR:

In
intuitionistic logic Intuitionistic logic, sometimes more generally called constructive logic, refers to systems of symbolic logic that differ from the systems used for classical logic by more closely mirroring the notion of constructive proof. In particular, systems ...
, the Harrop formulae, named after
Ronald Harrop Ronald is a masculine given name derived from the Old Norse ''Rögnvaldr'', Hanks; Hardcastle; Hodges (2006) p. 234; Hanks; Hodges (2003) § Ronald. or possibly from Old English '' Regenweald''. In some cases ''Ronald'' is an Anglicised form o ...
, 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 Harrop for any well-formed formula F; * F \rightarrow A is Harrop provided A is, and F is any well-formed formula; * \forall x. A is Harrop provided A is. By excluding disjunction and existential quantification (except in the antecedent of implication),
non-constructive 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 ...
predicates are avoided, which has benefits for computer implementation. From a constructivist point of view, Harrop formulae are "well-behaved." For example, 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 ...
, Harrop formulae satisfy a classical equivalence not usually satisfied in constructive logic: : A \leftrightarrow \neg \neg A. Harrop formulae were introduced around 1956 by Ronald Harrop and independently by
Helena Rasiowa Helena Rasiowa (20 June 1917 – 9 August 1994) was a Polish mathematician. She worked in the foundations of mathematics and algebraic logic. Early years Rasiowa was born in Vienna on 20 June 1917 to Polish parents. As soon as Poland regained ...
. Variations of the fundamental concept are used in different branches of
constructive mathematics In the philosophy of mathematics, constructivism asserts that it is necessary to find (or "construct") a specific example of a mathematical object in order to prove that an example exists. Contrastingly, in classical mathematics, one can prove th ...
and
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 ...
.


Hereditary Harrop formulae and logic programming

A more complex definition of hereditary Harrop formulae is used in
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 ...
as a generalisation of
Horn clause In mathematical logic and logic programming, a Horn clause is a logical formula of a particular rule-like form which gives it useful properties for use in logic programming, formal specification, and model theory. Horn clauses are named for the log ...
s, and forms the basis for the language
λProlog λProlog, also written lambda Prolog, is a logic programming language featuring polymorphic typing, modular programming, and higher-order programming. These extensions to Prolog are derived from the higher-order hereditary Harrop formulas used ...
. Hereditary Harrop formulae are defined in terms of two (sometimes three) recursive sets of formulae. In one formulation:Dov M. Gabbay, Christopher John Hogger, John Alan Robinson, ''Handbook of Logic in Artificial Intelligence and Logic Programming: Logic programming'',
Oxford University Press Oxford University Press (OUP) is the university press of the University of Oxford. It is the largest university press in the world, and its printing history dates back to the 1480s. Having been officially granted the legal right to print books ...
, 1998, p 575,
* Rigid atomic formulae, i.e. constants r or formulae r(t_1,...,t_n), are hereditary Harrop; * A \wedge B is hereditary Harrop provided A and B are; * \forall x. A is hereditary Harrop provided A is; * G \rightarrow A is hereditary Harrop provided A is rigidly atomic, and G is a ''G''-formula. ''G''-formulae are defined as follows: * Atomic formulae are ''G''-formulae, including truth(⊤); * A \wedge B is a ''G''-formula provided A and B are; * A \vee B is a ''G''-formula provided A and B are; * \forall x. A is a ''G''-formula provided A is; * \exists x. A is a ''G''-formula provided A is; * H \rightarrow A is a ''G''-formula provided A is, and H is hereditary Harrop.


See also

*
Realizability 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 t ...


References

{{reflist Constructivism (mathematics) Intuitionism