Article · Wikipedia archive · Last revised Aug 5, 2026

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 (⊥); is Harrop provided and are; is Harrop for any well-formed formula ; is Harrop provided is, and is any well-formed formula; is Harrop provided is.

Last revised
Aug 5, 2026
Read time
≈ 3 min
Length
725 w
Citations
7
Source

In intuitionistic logic, the Harrop formulae, named after Ronald Harrop, are the class of formulae inductively defined as follows:123

  • Atomic formulae are Harrop, including falsity (⊥);
  • A B {\displaystyle A\wedge B} is Harrop provided A {\displaystyle A} and B {\displaystyle B} are;
  • ¬ F {\displaystyle \neg F} is Harrop for any well-formed formula F {\displaystyle F} ;
  • F A {\displaystyle F\rightarrow A} is Harrop provided A {\displaystyle A} is, and F {\displaystyle F} is any well-formed formula;
  • x . A {\displaystyle \forall x.A} is Harrop provided A {\displaystyle A} is.

By excluding disjunction and existential quantification (except in the antecedent of implication), non-constructive predicates are avoided, which has benefits for computer implementation.

Discussion

Harrop formulae are more "well-behaved" also in a constructive context. For example, in Heyting arithmetic H A {\displaystyle {\mathsf {HA}}} , Harrop formulae satisfy a classical equivalence not generally satisfied in constructive logic:1

¬ ¬ A A . {\displaystyle \neg \neg A\leftrightarrow A.}

But there are still Π 1 {\displaystyle \Pi _{1}} -statements that are P A {\displaystyle {\mathsf {PA}}} -independent, meaning these are Harrop formulae x . A {\displaystyle \forall x.A} for which excluded middle is however not H A {\displaystyle {\mathsf {HA}}} -provable. The standard example is the arithmetized consistency of P A {\displaystyle {\mathsf {PA}}} (or H A {\displaystyle {\mathsf {HA}}} -equivalently that of H A {\displaystyle {\mathsf {HA}}} ). So

H A ¬ ¬ C o n ( H A ) C o n ( H A ) {\displaystyle {\mathsf {HA}}\vdash \neg \neg {\mathrm {Con} }({\mathsf {HA}})\leftrightarrow {\mathrm {Con} }({\mathsf {HA}})}

but

H A C o n ( H A ) ¬ C o n ( H A ) . {\displaystyle {\mathsf {HA}}\nvdash {\mathrm {Con} }({\mathsf {HA}})\lor \neg {\mathrm {Con} }({\mathsf {HA}}).}

And a plain disjunction is never Harrop itself, in the syntactic sense. So the above is compatible with the fact that intuitionistic logic itself already proves ¬ ¬ ( P ¬ P ) {\displaystyle \neg \neg (P\lor \neg P)} indeed for any P {\displaystyle P} .

Note that Harrop formulea in the syntactic sense are equivalent to non-Harrop formulas, for example through explosion as A ( A ) {\displaystyle A\leftrightarrow (A\lor \bot )} .

Hereditary Harrop formulae and logic programming

A more complex definition of hereditary Harrop formulae is used in logic programming as a generalisation of Horn clauses, and forms the basis for the language λProlog. Hereditary Harrop formulae are defined in terms of two (sometimes three) recursive sets of formulae. In one formulation:4

  • Rigid atomic formulae, i.e. constants r {\displaystyle r} or formulae r ( t 1 , . . . , t n ) {\displaystyle r(t_{1},...,t_{n})} , are hereditary Harrop;
  • A B {\displaystyle A\wedge B} is hereditary Harrop provided A {\displaystyle A} and B {\displaystyle B} are;
  • x . A {\displaystyle \forall x.A} is hereditary Harrop provided A {\displaystyle A} is;
  • G A {\displaystyle G\rightarrow A} is hereditary Harrop provided A {\displaystyle A} is rigidly atomic, and G {\displaystyle G} is a G-formula.

G-formulae are defined as follows:4

  • Atomic formulae are G-formulae, including truth(⊤);
  • A B {\displaystyle A\wedge B} is a G-formula provided A {\displaystyle A} and B {\displaystyle B} are;
  • A B {\displaystyle A\vee B} is a G-formula provided A {\displaystyle A} and B {\displaystyle B} are;
  • x . A {\displaystyle \forall x.A} is a G-formula provided A {\displaystyle A} is;
  • x . A {\displaystyle \exists x.A} is a G-formula provided A {\displaystyle A} is;
  • H A {\displaystyle H\rightarrow A} is a G-formula provided A {\displaystyle A} is, and H {\displaystyle H} is hereditary Harrop.

History

Harrop formulae were introduced around 1956 by Ronald Harrop and independently by Helena Rasiowa.2 Variations of the fundamental concept are used in different branches of constructive mathematics and logic programming.

See also

See also

References

References

  1. Dummett, Michael (2000). Elements of Intuitionism (2nd ed.). Oxford University Press. p. 227. ISBN 0-19-850524-8.
  2. A. S. Troelstra; H. Schwichtenberg (27 July 2000). Basic proof theory. Cambridge University Press. ISBN 0-521-77911-1.
  3. Ronald Harrop (1956). "On disjunctions and existential statements in intuitionistic systems of logic". Mathematische Annalen. 132 (4): 347–361. doi:10.1007/BF01360048. S2CID 120620003.
  4. Dov M. Gabbay, Christopher John Hogger, John Alan Robinson, Handbook of Logic in Artificial Intelligence and Logic Programming: Logic programming, Oxford University Press, 1998, p 575, ISBN 0-19-853792-1