↑ arvau

Wikipedia / 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 (⊥);

  • are;

  • ;

  • is any well-formed formula;

  • 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, Harrop formulae satisfy a classical equivalence not generally satisfied in constructive logic:

But there are still \Pi_1-statements). So

but

.

Note that Harrop formulea in the syntactic sense are equivalent to non-Harrop formulas, for example through explosion.

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:

  • , are hereditary Harrop;

  • are;

  • is;

  • is a G-formula.

G-formulae are defined as follows:

  • Atomic formulae are G-formulae, including truth(⊤);

  • is a G are;

  • is a G are;

  • is a G is;

  • is a G is;

  • is a G is hereditary Harrop.

History

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

See also

References