Skip to content
ConceptModern European

Heyting arithmetic

In mathematical logic, Heyting arithmetic 𝖧𝖠 is an axiomatization of arithmetic in accordance with the philosophy of intuitionism. It is named after Arend Heyting, who first proposed it.

In mathematical logic, Heyting arithmetic 𝖧𝖠 is an axiomatization of arithmetic in accordance with the philosophy of intuitionism. It is named after Arend Heyting, who first proposed it.

Axiomatization

Heyting arithmetic can be characterized just like the first-order theory of Peano arithmetic 𝖯𝖠, except that it uses the intuitionistic predicate calculus 𝖨𝖰𝖢 for inference. In particular, this means that the double-negation elimination principle, as well as the principle of the excluded middle PEM, do not hold. Note that to say PEM does not hold exactly means that the excluded middle statement is not automatically provable for all propositions—indeed many such statements are still provable in 𝖧𝖠 and the negation of any such disjunction is inconsistent. 𝖯𝖠 is strictly stronger than 𝖧𝖠 in the sense that all 𝖧𝖠-theorems are also 𝖯𝖠-theorems.

Heyting arithmetic comprises the axioms of Peano arithmetic and the intended model is the collection of natural numbers ℕ. The signature includes zero "0" and the successor "S", and the theories characterize addition and multiplication. This impacts the logic: With 1:=S0, it is a metatheorem that ⊥ can be defined as 0=1 and so that ¬P is P→⊥ for every proposition P. The negation of ⊥ is of the form P→P and thus a trivial proposition.

For terms, write s≠t for ¬(s=t).

For a fixed term t, the equality t=t is true by reflexivity and a proposition P is equivalent to (t=t)→P.

It may be shown that P∨Q can then be defined as ∃n.(n=0→P)∧(n≠0→Q). This formal elimination of disjunctions was not possible in the quantifier-free primitive recursive arithmetic 𝖯𝖱𝖠. The theory may be extended with function symbols for any primitive recursive function, making 𝖯𝖱𝖠 also a fragment of this theory. For a total function f, one often considers predicates of the form f(n)=0.

Double negations

With explosion valid in any intuitionistic theory, if ¬¬P is a theorem for some P, then by definition ¬P is provable if and only if the theory is inconsistent. Indeed, in Heyting arithmetic the double-negation explicitly expresses ¬P→0=1. For a predicate Q, a theorem of the form ¬¬∃n.Q(n) expresses that it is inconsistent to rule out that ¬Q(t) could be validated for some t. Constructively, this is weaker than the existence claim of such a t.

A big part of the metatheoretical discussion will concern classically provable existence claims.

A double-negation ¬¬P entails (α→¬P)→(α→0=1). So a theorem of the form ¬¬P also always gives new means to conclusively reject (also positive) statements α.

Proofs of classically equivalent statements

Recall that the implication in 𝖧𝖠⊢α→¬¬α can classically be reversed, and with that so can the one in 𝖧𝖠⊢(∃n.¬ψ(n))→¬∀n.ψ(n). Here the distinction is between existence of numerical counter-examples versus absurd conclusions when assuming validity for all numbers. Inserting double-negations turns 𝖯𝖠-theorems into 𝖧𝖠-theorems. More exactly, for any formula provable in 𝖯𝖠, the classically equivalent Gödel–Gentzen negative translation of that formula is already provable in 𝖧𝖠. In one formulation, the translation procedure includes a rewriting of (∃n.Q(n))N to ¬∀n.¬QN(n). The result means that all Peano arithmetic theorems have a proof that consists of a constructive proof followed by a classical logical rewriting. Roughly, the final step amounts to applications of double-negation elimination.

In particular, with undecidable atomic propositions being absent, for any proposition ψ not including existential quantifications or disjunctions at all, one has 𝖯𝖠⊢ψ⟺𝖧𝖠⊢ψ.

Valid principles and rules

Minimal logic proves double-negation elimination for negated formulas, ¬¬(¬α)↔(¬α). More generally, Heyting arithmetic proves this classical equivalence for any Harrop formula.

And Σ10-results are well behaved as well: Markov's rule at the lowest level of the arithmetical hierarchy is an admissible rule of inference, i.e. for φ with n free,

𝖧𝖠⊢¬¬∃m.φ(n,m)⟺𝖧𝖠⊢∃m.φ(n,m)

Instead of speaking of quantifier-free predicates, one may equivalently formulate this for primitive recursive predicate or Kleene's T predicate, called MRQF, resp. MRPR and MR0.

Even the related rule MRDec is admissible, in which the tractability aspect of φ is not e.g. based on a syntactic condition but where the left hand side also requires ⊢∀m.φ(n,m)∨¬φ(n,m).

Beware that in classifying a proposition based on its syntactic form, one ought not mistakenly assign a lower complexity based on some only classical valid equivalence.

Excluded middle

As with other theories over intuitionistic logic, various instances of PEM can be proven in this constructive arithmetic. By disjunction introduction, whenever either the proposition P or ¬P is proven, then P∨¬P is proven as well. So for example, equipped with 0=0 and ∀n.Sn≠0 from the axioms, one may validate the premise for induction of excluded middle for the predicate n=0. One then says equality to zero is decidable. Indeed, 𝖧𝖠 proves equality "=" decidable for all numbers, i.e. ∀n.∀m.(n=m∨n≠m). Stronger yet, as equality is the only predicate symbol in Heyting arithmetic, it then follows that, for any quantifier-free formula ϕ, where n,…,m are the free variables, the theory is closed under the rule

𝖧𝖠⊢∀n.⋯∀m.ϕ(n,…,m)∨¬ϕ(n,…,m)

Any theory over minimal logic proves ¬¬(P∨¬P) for all propositions. So if the theory is consistent, it never proves the negation of an excluded middle statement.

Practically speaking, in rather conservative constructive frameworks such as 𝖧𝖠, when it is understood what type of statements are algorithmically decidable, then an unprovability result of an excluded middle disjunction expresses the algorithmic undecidability of P.

Conservativity

For simple statements, the theory does not just validate such classically valid binary dichotomies ϕ(n,…)∨¬ϕ(n,…). The Friedman translation can be used to establish that 𝖯𝖠's Π20-theorems are all proven by 𝖧𝖠: For any n and quantifier-free φ,

𝖯𝖠⊢∃m.φ(n,m)⟺𝖧𝖠⊢∃m.φ(n,m)

This result may of course also be expressed with explicit universal closures ∀n. Roughly, simple statements about computable relations provable classically are already provable constructively. Although in halting problems, not just quantifier-free propositions but also Π10-propositions play an important role, and as will be argued these can be even classically independent. Similarly, already unique existence ∃!n.Q(n) in an infinite domain, i.e. ∃n.∀w.(n=w↔Q(w)), is formally not particularly simple.

So 𝖯𝖠 is Π20-conservative over 𝖧𝖠. This can be contrasted with the situation for Robinson arithmetic 𝖰, which is a weaker theory in that it lacks Induction. First off, classical 𝖰 proves all Σ10-𝖯𝖠-theorems, but some simple Π10-𝖯𝖠-theorems are already independent of it. Induction can be seen to play a crucial role in Friedman's result, as the more workable theory obtained by strengthening 𝖰 with axioms about ordering, and optionally decidable equality, does prove more Π20-statements than its intuitionistic counterpart.

The discussion here is by no means exhaustive. There are various results for when a classical theorem is already entailed by the constructive theory. Also note that it can be relevant what logic was used to obtain metalogical results. For example, many results on realizability were indeed obtained in a constructive metalogic. But when no specific context is given, stated results need to be assumed to be classical.

Unprovable statements

Independence results concern propositions such that neither they, nor their negations can be proven in a theory. If the classical theory is consistent (i.e. does not prove ⊥) and the constructive counterpart does not prove one of its classical theorems P, then that P is independent of the latter. Given some independent propositions, it is easy to define more from them, especially in a constructive framework.

Heyting arithmetic has the disjunction property DP: For all propositions α and β,

𝖧𝖠⊢α∨β⟺𝖧𝖠⊢α or 𝖧𝖠⊢β

Indeed, this and its numerical generalization are also exhibited by constructive second-order arithmetic and common set theories such as 𝖢𝖹𝖥 and 𝖨𝖹𝖥. It is a common desideratum for the informal notion of a constructive theory.

Now in a theory with DP, if a proposition P is independent, then the classically trivial P∨¬P is another independent proposition, and vice versa. A schema is not valid if there is at least one instance that cannot be proven, which is how PEM comes to fail. One may break DP by adopting an excluded middle statement axiomatically without validating either of the disjuncts, as is the case in 𝖯𝖠.

Continue reading the full article on Wikipedia

Adapted from the Wikipedia article Heyting arithmetic, available under CC BY-SA 4.0.

Connections

You might also explore