Heyting algebra

From HandWiki

In mathematics, a Heyting algebra (also known as pseudo-Boolean algebra[1]) is a bounded lattice (with join and meet operations written ∨ and ∧ and with least element 0 and greatest element 1) equipped with a binary operation ab of implication such that (ca) ≤ b is equivalent to c ≤ (ab). From a logical standpoint, AB is by this definition the weakest proposition for which modus ponens, the inference rule AB, AB, is sound. Like Boolean algebras, Heyting algebras form a variety axiomatizable with finitely many equations. Heyting algebras were introduced by Arend Heyting (1930) to formalize intuitionistic logic. As lattices, Heyting algebras are distributive. Every Boolean algebra is a Heyting algebra when ab is defined as ¬ab, as is every complete distributive lattice satisfying a one-sided infinite distributive law when ab is taken to be the supremum of the set of all c for which cab. In the finite case, every nonempty distributive lattice, in particular every nonempty finite chain, is automatically complete and completely distributive, and hence a Heyting algebra.

It follows from the definition that 1 ≤ 0 → a, corresponding to the intuition that any proposition a is implied by a contradiction 0. Although the negation operation ¬a is not part of the definition, it is definable as a → 0. The intuitive content of ¬a is the proposition that to assume a would lead to a contradiction. The definition implies that a ∧ ¬a = 0. It can further be shown that a ≤ ¬¬a, although the converse, ¬¬aa, is not true in general, that is, double negation elimination does not hold in general in a Heyting algebra.

Heyting algebras generalize Boolean algebras in the sense that Boolean algebras are precisely the Heyting algebras satisfying a ∨ ¬a = 1 (excluded middle), equivalently ¬¬a = a. Those elements of a Heyting algebra H of the form ¬a comprise a Boolean lattice, but in general this is not a subalgebra of H (see below).

Heyting algebras serve as the algebraic models of propositional intuitionistic logic in the same way Boolean algebras model propositional classical logic. The internal logic of an elementary topos is based on the Heyting algebra of subobjects of the terminal object 1 ordered by inclusion, equivalently the morphisms from 1 to the subobject classifier Ω.

The open sets of any topological space form a complete Heyting algebra. Complete Heyting algebras thus become a central object of study in pointless topology.

Every Heyting algebra whose set of non-greatest elements has a greatest element (and forms another Heyting algebra) is subdirectly irreducible, whence every Heyting algebra can be made subdirectly irreducible by adjoining a new greatest element. It follows that even among the finite Heyting algebras there exist infinitely many that are subdirectly irreducible, no two of which have the same equational theory. Hence no finite set of finite Heyting algebras can supply all the counterexamples to non-laws of Heyting algebra. This is in sharp contrast to Boolean algebras, whose only subdirectly irreducible one is the two-element one, which on its own therefore suffices for all counterexamples to non-laws of Boolean algebra, the basis for the simple truth table decision method. Nevertheless, it is decidable whether an equation holds of all Heyting algebras.[2]

Heyting algebras are less often called pseudo-Boolean algebras,[3] or even Brouwer lattices,[4] although the latter term may denote the dual definition,[5] or have a slightly more general meaning.[6]

Formal definition

A Heyting algebra H is a bounded lattice such that for all a and b in H there is a greatest element x of H such that

[math]\displaystyle{ a \wedge x \le b. }[/math]

This element is the relative pseudo-complement of a with respect to b, and is denoted ab. We write 1 and 0 for the largest and the smallest element of H, respectively.

In any Heyting algebra, one defines the pseudo-complement ¬a of any element a by setting ¬a = (a→0). By definition, [math]\displaystyle{ a\wedge \lnot a = 0 }[/math], and ¬a is the largest element having this property. However, it is not in general true that [math]\displaystyle{ a\vee\lnot a=1 }[/math], thus ¬ is only a pseudo-complement, not a true complement, as would be the case in a Boolean algebra.

A complete Heyting algebra is a Heyting algebra that is a complete lattice.

A subalgebra of a Heyting algebra H is a subset H1 of H containing 0 and 1 and closed under the operations ∧, ∨ and →. It follows that it is also closed under ¬. A subalgebra is made into a Heyting algebra by the induced operations.

Alternative definitions

Category-theoretic definition

A Heyting algebra [math]\displaystyle{ H }[/math] is a bounded lattice that has all exponential objects.

The lattice [math]\displaystyle{ H }[/math] is regarded as a category where meet, [math]\displaystyle{ \wedge }[/math], is the product. The exponential condition means that for any objects [math]\displaystyle{ Y }[/math] and [math]\displaystyle{ Z }[/math] in [math]\displaystyle{ H }[/math] an exponential [math]\displaystyle{ Z^Y }[/math] uniquely exists as an object in [math]\displaystyle{ H }[/math].

A Heyting implication (often written using [math]\displaystyle{ \Rightarrow }[/math] or [math]\displaystyle{ \multimap }[/math] to avoid confusions such as the use of [math]\displaystyle{ \to }[/math] to indicate a functor) is just an exponential: [math]\displaystyle{ Y \Rightarrow Z }[/math] is an alternative notation for [math]\displaystyle{ Z^Y }[/math]. From the definition of exponentials we have that implication ([math]\displaystyle{ \Rightarrow : H \times H \to H }[/math]) is right adjoint to meet ([math]\displaystyle{ \wedge : H \times H \to H }[/math]). This adjunction can be written as [math]\displaystyle{ (- \wedge Y) \dashv (Y \Rightarrow -) }[/math] or more fully as: [math]\displaystyle{ (- \wedge Y): H \stackrel {\longrightarrow} {\underset {\longleftarrow}{\top}} H: (Y \Rightarrow -) }[/math]

Lattice-theoretic definitions

An equivalent definition of Heyting algebras can be given by considering the mappings:

[math]\displaystyle{ \begin{cases} f_a \colon H \to H \\ f_a(x)=a\wedge x \end{cases} }[/math]

for some fixed a in H. A bounded lattice H is a Heyting algebra if and only if every mapping fa is the lower adjoint of a monotone Galois connection. In this case the respective upper adjoint ga is given by ga(x) = ax, where → is defined as above.

Yet another definition is as a residuated lattice whose monoid operation is ∧. The monoid unit must then be the top element 1. Commutativity of this monoid implies that the two residuals coincide as ab.

Bounded lattice with an implication operation

Given a bounded lattice A with largest and smallest elements 1 and 0, and a binary operation →, these together form a Heyting algebra if and only if the following hold:

  1. [math]\displaystyle{ a\to a = 1 }[/math]
  2. [math]\displaystyle{ a\wedge(a\to b)=a\wedge b }[/math]
  3. [math]\displaystyle{ b\wedge(a\to b)= b }[/math]
  4. [math]\displaystyle{ a\to (b\wedge c)= (a\to b)\wedge (a\to c) }[/math]

where equation 4 is the distributive law for →.

Characterization using the axioms of intuitionistic logic

This characterization of Heyting algebras makes the proof of the basic facts concerning the relationship between intuitionist propositional calculus and Heyting algebras immediate. (For these facts, see the sections "Provable identities" and "Universal constructions".) One should think of the element [math]\displaystyle{ \top }[/math] as meaning, intuitively, "provably true." Compare with the axioms at Intuitionistic logic ).

Given a set A with three binary operations →, ∧ and ∨, and two distinguished elements [math]\displaystyle{ \bot }[/math] and [math]\displaystyle{ \top }[/math], then A is a Heyting algebra for these operations (and the relation ≤ defined by the condition that [math]\displaystyle{ a \le b }[/math] when ab = [math]\displaystyle{ \top }[/math]) if and only if the following conditions hold for any elements x, y and z of A:

  1. [math]\displaystyle{ \mbox{If } x \le y \mbox{ and } y \le x \mbox{ then } x = y , }[/math]
  2. [math]\displaystyle{ \mbox{If } \top \le y , \mbox{ then } y = \top , }[/math]
  3. [math]\displaystyle{ x \le y \to x , }[/math]
  4. [math]\displaystyle{ x \to (y \to z) \le (x \to y) \to (x \to z) , }[/math]
  5. [math]\displaystyle{ x \land y \le x , }[/math]
  6. [math]\displaystyle{ x \land y \le y , }[/math]
  7. [math]\displaystyle{ x \le y \to (x \land y) , }[/math]
  8. [math]\displaystyle{ x \le x \lor y , }[/math]
  9. [math]\displaystyle{ y \le x \lor y , }[/math]
  10. [math]\displaystyle{ x \to z \le (y \to z) \to (x \lor y \to z) , }[/math]
  11. [math]\displaystyle{ \bot \le x . }[/math]

Finally, we define ¬x to be x[math]\displaystyle{ \bot }[/math].

Condition 1 says that equivalent formulas should be identified. Condition 2 says that provably true formulas are closed under modus ponens. Conditions 3 and 4 are then conditions. Conditions 5, 6 and 7 are and conditions. Conditions 8, 9 and 10 are or conditions. Condition 11 is a false condition.

Of course, if a different set of axioms were chosen for logic, we could modify ours accordingly.

Examples

The free Heyting algebra over one generator (aka Rieger–Nishimura lattice)
  • Every Boolean algebra is a Heyting algebra, with pq given by ¬pq.
  • Every totally ordered set that has a least element 0 and a greatest element 1 is a Heyting algebra (if viewed as a lattice). In this case pq equals to 1 when p≤q, and q otherwise.
  • The simplest Heyting algebra that is not already a Boolean algebra is the totally ordered set {0, 1/2, 1} (viewed as a lattice), yielding the operations:
    [math]\displaystyle{ a \land b }[/math]
    b
    a
    0 1/2 1
    0 0 0 0
    1/2 0 1/2 1/2
    1 0 1/2 1
     
    [math]\displaystyle{ a \lor b }[/math]
    b
    a
    0 1/2 1
    0 0 1/2 1
    1/2 1/2 1/2 1
    1 1 1 1
     
    ab
    b
    a
    0 1/2 1
    0 1 1 1
    1/2 0 1 1
    1 0 1/2 1
     
    a ¬a
    0 1
    1/2 0
    1 0

    In this example, that 1/2∨¬1/2 = 1/2∨(1/2 → 0) = 1/2∨0 = 1/2 falsifies the law of excluded middle.

  • Every topology provides a complete Heyting algebra in the form of its open set lattice. In this case, the element AB is the interior of the union of Ac and B, where Ac denotes the complement of the open set A. Not all complete Heyting algebras are of this form. These issues are studied in pointless topology, where complete Heyting algebras are also called frames or locales.
  • Every interior algebra provides a Heyting algebra in the form of its lattice of open elements. Every Heyting algebra is of this form as a Heyting algebra can be completed to a Boolean algebra by taking its free Boolean extension as a bounded distributive lattice and then treating it as a generalized topology in this Boolean algebra.
  • The Lindenbaum algebra of propositional intuitionistic logic is a Heyting algebra.
  • The global elements of the subobject classifier Ω of an elementary topos form a Heyting algebra; it is the Heyting algebra of truth values of the intuitionistic higher-order logic induced by the topos. More generally, the set of subobjects of any object X in a topos forms a Heyting algebra.
  • Łukasiewicz–Moisil algebras (LMn) are also Heyting algebras for any n[7] (but they are not MV-algebras for n ≥ 5[8]).

Properties

General properties

The ordering [math]\displaystyle{ \le }[/math] on a Heyting algebra H can be recovered from the operation → as follows: for any elements a, b of H, [math]\displaystyle{ a \le b }[/math] if and only if ab = 1.

In contrast to some many-valued logics, Heyting algebras share the following property with Boolean algebras: if negation has a fixed point (i.e. ¬a = a for some a), then the Heyting algebra is the trivial one-element Heyting algebra.

Provable identities

Given a formula [math]\displaystyle{ F(A_1, A_2,\ldots, A_n) }[/math] of propositional calculus (using, in addition to the variables, the connectives [math]\displaystyle{ \land, \lor, \lnot, \to }[/math], and the constants 0 and 1), it is a fact, proved early on in any study of Heyting algebras, that the following two conditions are equivalent:

  1. The formula F is provably true in intuitionist propositional calculus.
  2. The identity [math]\displaystyle{ F(a_1, a_2,\ldots, a_n) = 1 }[/math] is true for any Heyting algebra H and any elements [math]\displaystyle{ a_1, a_2,\ldots, a_n \in H }[/math].

The metaimplication 1 ⇒ 2 is extremely useful and is the principal practical method for proving identities in Heyting algebras. In practice, one frequently uses the deduction theorem in such proofs.

Since for any a and b in a Heyting algebra H we have [math]\displaystyle{ a \le b }[/math] if and only if ab = 1, it follows from 1 ⇒ 2 that whenever a formula FG is provably true, we have [math]\displaystyle{ F(a_1, a_2,\ldots, a_n) \le G(a_1, a_2,\ldots, a_n) }[/math] for any Heyting algebra H, and any elements [math]\displaystyle{ a_1, a_2,\ldots, a_n \in H }[/math]. (It follows from the deduction theorem that FG is provable (unconditionally) if and only if G is provable from F, that is, if G is a provable consequence of F.) In particular, if F and G are provably equivalent, then [math]\displaystyle{ F(a_1, a_2,\ldots, a_n) = G(a_1, a_2,\ldots, a_n) }[/math], since ≤ is an order relation.

1 ⇒ 2 can be proved by examining the logical axioms of the system of proof and verifying that their value is 1 in any Heyting algebra, and then verifying that the application of the rules of inference to expressions with value 1 in a Heyting algebra results in expressions with value 1. For example, let us choose the system of proof having modus ponens as its sole rule of inference, and whose axioms are the Hilbert-style ones given at Intuitionistic logic. Then the facts to be verified follow immediately from the axiom-like definition of Heyting algebras given above.

1 ⇒ 2 also provides a method for proving that certain propositional formulas, though tautologies in classical logic, cannot be proved in intuitionist propositional logic. In order to prove that some formula [math]\displaystyle{ F(A_1, A_2,\ldots, A_n) }[/math] is not provable, it is enough to exhibit a Heyting algebra H and elements [math]\displaystyle{ a_1, a_2,\ldots, a_n \in H }[/math] such that [math]\displaystyle{ F(a_1, a_2,\ldots, a_n) \ne 1 }[/math].

If one wishes to avoid mention of logic, then in practice it becomes necessary to prove as a lemma a version of the deduction theorem valid for Heyting algebras: for any elements a, b and c of a Heyting algebra H, we have [math]\displaystyle{ (a \land b) \to c = a \to (b \to c) }[/math].

For more on the metaimplication 2 ⇒ 1, see the section "Universal constructions" below.

Distributivity

Heyting algebras are always distributive. Specifically, we always have the identities

  1. [math]\displaystyle{ a \wedge (b \vee c) = (a \wedge b) \vee (a \wedge c) }[/math]
  2. [math]\displaystyle{ a \vee (b \wedge c) = (a \vee b) \wedge (a \vee c) }[/math]

The distributive law is sometimes stated as an axiom, but in fact it follows from the existence of relative pseudo-complements. The reason is that, being the lower adjoint of a Galois connection, [math]\displaystyle{ \wedge }[/math] preserves all existing suprema. Distributivity in turn is just the preservation of binary suprema by [math]\displaystyle{ \wedge }[/math].

By a similar argument, the following infinite distributive law holds in any complete Heyting algebra:

[math]\displaystyle{ x\wedge\bigvee Y = \bigvee \{x\wedge y \mid y \in Y\} }[/math]

for any element x in H and any subset Y of H. Conversely, any complete lattice satisfying the above infinite distributive law is a complete Heyting algebra, with

[math]\displaystyle{ a\to b=\bigvee\{c\mid a\land c\le b\} }[/math]

being its relative pseudo-complement operation.

Regular and complemented elements

An element x of a Heyting algebra H is called regular if either of the following equivalent conditions hold:

  1. x = ¬¬x.
  2. x = ¬y for some y in H.

The equivalence of these conditions can be restated simply as the identity ¬¬¬x = ¬x, valid for all x in H.

Elements x and y of a Heyting algebra H are called complements to each other if xy = 0 and xy = 1. If it exists, any such y is unique and must in fact be equal to ¬x. We call an element x complemented if it admits a complement. It is true that if x is complemented, then so is ¬x, and then x and ¬x are complements to each other. However, confusingly, even if x is not complemented, ¬x may nonetheless have a complement (not equal to x). In any Heyting algebra, the elements 0 and 1 are complements to each other. For instance, it is possible that ¬x is 0 for every x different from 0, and 1 if x = 0, in which case 0 and 1 are the only regular elements.

Any complemented element of a Heyting algebra is regular, though the converse is not true in general. In particular, 0 and 1 are always regular.

For any Heyting algebra H, the following conditions are equivalent:

  1. H is a Boolean algebra;
  2. every x in H is regular;[9]
  3. every x in H is complemented.[10]

In this case, the element ab is equal to ¬ab.

The regular (respectively complemented) elements of any Heyting algebra H constitute a Boolean algebra Hreg (respectively Hcomp), in which the operations ∧, ¬ and →, as well as the constants 0 and 1, coincide with those of H. In the case of Hcomp, the operation ∨ is also the same, hence Hcomp is a subalgebra of H. In general however, Hreg will not be a subalgebra of H, because its join operation ∨reg may be differ from ∨. For x, yHreg, we have xreg y = ¬(¬x ∧ ¬y). See below for necessary and sufficient conditions in order for ∨reg to coincide with ∨.

The De Morgan laws in a Heyting algebra

One of the two De Morgan laws is satisfied in every Heyting algebra, namely

[math]\displaystyle{ \forall x,y \in H: \qquad \lnot(x \vee y)=\lnot x \wedge \lnot y. }[/math]

However, the other De Morgan law does not always hold. We have instead a weak de Morgan law:

[math]\displaystyle{ \forall x,y \in H: \qquad \lnot(x \wedge y)= \lnot \lnot (\lnot x \vee \lnot y). }[/math]

The following statements are equivalent for all Heyting algebras H:

  1. H satisfies both De Morgan laws,
  2. [math]\displaystyle{ \lnot(x \wedge y)=\lnot x \vee \lnot y \mbox{ for all } x, y \in H, }[/math]
  3. [math]\displaystyle{ \lnot(x \wedge y)=\lnot x \vee \lnot y \mbox{ for all regular } x, y \in H, }[/math]
  4. [math]\displaystyle{ \lnot\lnot (x \vee y) = \lnot\lnot x \vee \lnot\lnot y \mbox{ for all } x, y \in H, }[/math]
  5. [math]\displaystyle{ \lnot\lnot (x \vee y) = x \vee y \mbox{ for all regular } x, y \in H, }[/math]
  6. [math]\displaystyle{ \lnot(\lnot x \wedge \lnot y) = x \vee y \mbox{ for all regular } x, y \in H, }[/math]
  7. [math]\displaystyle{ \lnot x \vee \lnot\lnot x = 1 \mbox{ for all } x \in H. }[/math]

Condition 2 is the other De Morgan law. Condition 6 says that the join operation ∨reg on the Boolean algebra Hreg of regular elements of H coincides with the operation ∨ of H. Condition 7 states that every regular element is complemented, i.e., Hreg = Hcomp.

We prove the equivalence. Clearly the metaimplications 1 ⇒ 2, 2 ⇒ 3 and 4 ⇒ 5 are trivial. Furthermore, 3 ⇔ 4 and 5 ⇔ 6 result simply from the first De Morgan law and the definition of regular elements. We show that 6 ⇒ 7 by taking ¬x and ¬¬x in place of x and y in 6 and using the identity a ∧ ¬a = 0. Notice that 2 ⇒ 1 follows from the first De Morgan law, and 7 ⇒ 6 results from the fact that the join operation ∨ on the subalgebra Hcomp is just the restriction of ∨ to Hcomp, taking into account the characterizations we have given of conditions 6 and 7. The metaimplication 5 ⇒ 2 is a trivial consequence of the weak De Morgan law, taking ¬x and ¬y in place of x and y in 5.

Heyting algebras satisfying the above properties are related to De Morgan logic in the same way Heyting algebras in general are related to intuitionist logic.

Heyting algebra morphisms

Definition

Given two Heyting algebras H1 and H2 and a mapping f : H1H2, we say that ƒ is a morphism of Heyting algebras if, for any elements x and y in H1, we have:

  1. [math]\displaystyle{ f(0) = 0, }[/math]
  2. [math]\displaystyle{ f(x \land y) = f(x) \land f(y), }[/math]
  3. [math]\displaystyle{ f(x \lor y) = f(x) \lor f(y), }[/math]
  4. [math]\displaystyle{ f(x \to y) = f(x) \to f(y), }[/math]

It follows from any of the last three conditions (2, 3, or 4) that f is an increasing function, that is, that f(x) ≤ f(y) whenever xy.

Assume H1 and H2 are structures with operations →, ∧, ∨ (and possibly ¬) and constants 0 and 1, and f is a surjective mapping from H1 to H2 with properties 1 through 4 above. Then if H1 is a Heyting algebra, so too is H2. This follows from the characterization of Heyting algebras as bounded lattices (thought of as algebraic structures rather than partially ordered sets) with an operation → satisfying certain identities.

Properties

The identity map f(x) = x from any Heyting algebra to itself is a morphism, and the composite gf of any two morphisms f and g is a morphism. Hence Heyting algebras form a category.

Examples

Given a Heyting algebra H and any subalgebra H1, the inclusion mapping i : H1H is a morphism.

For any Heyting algebra H, the map x ↦ ¬¬x defines a morphism from H onto the Boolean algebra of its regular elements Hreg. This is not in general a morphism from H to itself, since the join operation of Hreg may be different from that of H.

Quotients

Let H be a Heyting algebra, and let FH. We call F a filter on H if it satisfies the following properties:

  1. [math]\displaystyle{ 1 \in F, }[/math]
  2. [math]\displaystyle{ \mbox{If } x,y \in F \mbox{ then } x \land y \in F, }[/math]
  3. [math]\displaystyle{ \mbox{If } x \in F, \ y \in H, \ \mbox{and } x \le y \mbox{ then } y \in F. }[/math]

The intersection of any set of filters on H is again a filter. Therefore, given any subset S of H there is a smallest filter containing S. We call it the filter generated by S. If S is empty, F = {1}. Otherwise, F is equal to the set of x in H such that there exist y1, y2, ..., ynS with y1y2 ∧ ... ∧ ynx.

If H is a Heyting algebra and F is a filter on H, we define a relation ∼ on H as follows: we write xy whenever xy and yx both belong to F. Then ∼ is an equivalence relation; we write H/F for the quotient set. There is a unique Heyting algebra structure on H/F such that the canonical surjection pF : HH/F becomes a Heyting algebra morphism. We call the Heyting algebra H/F the quotient of H by F.

Let S be a subset of a Heyting algebra H and let F be the filter generated by S. Then H/F satisfies the following universal property:

Given any morphism of Heyting algebras f : HH′ satisfying f(y) = 1 for every yS, f factors uniquely through the canonical surjection pF : HH/F. That is, there is a unique morphism f′ : H/FH′ satisfying f′pF = f. The morphism f′ is said to be induced by f.

Let f : H1H2 be a morphism of Heyting algebras. The kernel of f, written ker f, is the set f−1[{1}]. It is a filter on H1. (Care should be taken because this definition, if applied to a morphism of Boolean algebras, is dual to what would be called the kernel of the morphism viewed as a morphism of rings.) By the foregoing, f induces a morphism f′ : H1/(ker f) → H2. It is an isomorphism of H1/(ker f) onto the subalgebra f[H1] of H2.

Universal constructions

Heyting algebra of propositional formulas in n variables up to intuitionist equivalence

The metaimplication 2 ⇒ 1 in the section "Provable identities" is proved by showing that the result of the following construction is itself a Heyting algebra:

  1. Consider the set L of propositional formulas in the variables A1, A2,..., An.
  2. Endow L with a preorder ≼ by defining FG if G is an (intuitionist) logical consequence of F, that is, if G is provable from F. It is immediate that ≼ is a preorder.
  3. Consider the equivalence relation FG induced by the preorder F≼G. (It is defined by FG if and only if FG and GF. In fact, ∼ is the relation of (intuitionist) logical equivalence.)
  4. Let H0 be the quotient set L/∼. This will be the desired Heyting algebra.
  5. We write [F] for the equivalence class of a formula F. Operations →, ∧, ∨ and ¬ are defined in an obvious way on L. Verify that given formulas F and G, the equivalence classes [FG], [FG], [FG] and [¬F] depend only on [F] and [G]. This defines operations →, ∧, ∨ and ¬ on the quotient set H0=L/∼. Further define 1 to be the class of provably true statements, and set 0=[⊥].
  6. Verify that H0, together with these operations, is a Heyting algebra. We do this using the axiom-like definition of Heyting algebras. H0 satisfies conditions THEN-1 through FALSE because all formulas of the given forms are axioms of intuitionist logic. MODUS-PONENS follows from the fact that if a formula ⊤→F is provably true, where ⊤ is provably true, then F is provably true (by application of the rule of inference modus ponens). Finally, EQUIV results from the fact that if FG and GF are both provably true, then F and G are provable from each other (by application of the rule of inference modus ponens), hence [F]=[G].

As always under the axiom-like definition of Heyting algebras, we define ≤ on H0 by the condition that xy if and only if xy=1. Since, by the deduction theorem, a formula FG is provably true if and only if G is provable from F, it follows that [F]≤[G] if and only if F≼G. In other words, ≤ is the order relation on L/∼ induced by the preorder ≼ on L.

Free Heyting algebra on an arbitrary set of generators

In fact, the preceding construction can be carried out for any set of variables {Ai : iI} (possibly infinite). One obtains in this way the free Heyting algebra on the variables {Ai}, which we will again denote by H0. It is free in the sense that given any Heyting algebra H given together with a family of its elements 〈ai: iI 〉, there is a unique morphism f:H0H satisfying f([Ai])=ai. The uniqueness of f is not difficult to see, and its existence results essentially from the metaimplication 1 ⇒ 2 of the section "Provable identities" above, in the form of its corollary that whenever F and G are provably equivalent formulas, F(〈ai〉)=G(〈ai〉) for any family of elements 〈ai〉in H.

Heyting algebra of formulas equivalent with respect to a theory T

Given a set of formulas T in the variables {Ai}, viewed as axioms, the same construction could have been carried out with respect to a relation FG defined on L to mean that G is a provable consequence of F and the set of axioms T. Let us denote by HT the Heyting algebra so obtained. Then HT satisfies the same universal property as H0 above, but with respect to Heyting algebras H and families of elements 〈ai〉 satisfying the property that J(〈ai〉)=1 for any axiom J(〈Ai〉) in T. (Let us note that HT, taken with the family of its elements 〈[Ai]〉, itself satisfies this property.) The existence and uniqueness of the morphism is proved the same way as for H0, except that one must modify the metaimplication 1 ⇒ 2 in "Provable identities" so that 1 reads "provably true from T," and 2 reads "any elements a1, a2,..., an in H satisfying the formulas of T."

The Heyting algebra HT that we have just defined can be viewed as a quotient of the free Heyting algebra H0 on the same set of variables, by applying the universal property of H0 with respect to HT, and the family of its elements 〈[Ai]〉.

Every Heyting algebra is isomorphic to one of the form HT. To see this, let H be any Heyting algebra, and let 〈ai: i∈I〉 be a family of elements generating H (for example, any surjective family). Now consider the set T of formulas J(〈Ai〉) in the variables 〈Ai: i∈I〉 such that J(〈ai〉)=1. Then we obtain a morphism f:HTH by the universal property of HT, which is clearly surjective. It is not difficult to show that f is injective.

Comparison to Lindenbaum algebras

The constructions we have just given play an entirely analogous role with respect to Heyting algebras to that of Lindenbaum algebras with respect to Boolean algebras. In fact, The Lindenbaum algebra BT in the variables {Ai} with respect to the axioms T is just our HTT1, where T1 is the set of all formulas of the form ¬¬FF, since the additional axioms of T1 are the only ones that need to be added in order to make all classical tautologies provable.

Heyting algebras as applied to intuitionistic logic

If one interprets the axioms of the intuitionistic propositional logic as terms of a Heyting algebra, then they will evaluate to the largest element, 1, in any Heyting algebra under any assignment of values to the formula's variables. For instance, (PQ)→P is, by definition of the pseudo-complement, the largest element x such that [math]\displaystyle{ P \land Q \land x \le P }[/math]. This inequation is satisfied for any x, so the largest such x is 1.

Furthermore, the rule of modus ponens allows us to derive the formula Q from the formulas P and PQ. But in any Heyting algebra, if P has the value 1, and PQ has the value 1, then it means that [math]\displaystyle{ P \land 1 \le Q }[/math], and so [math]\displaystyle{ 1 \land 1 \le Q }[/math]; it can only be that Q has the value 1.

This means that if a formula is deducible from the laws of intuitionistic logic, being derived from its axioms by way of the rule of modus ponens, then it will always have the value 1 in all Heyting algebras under any assignment of values to the formula's variables. However one can construct a Heyting algebra in which the value of Peirce's law is not always 1. Consider the 3-element algebra {0,1/2,1} as given above. If we assign 1/2 to P and 0 to Q, then the value of Peirce's law ((PQ)→P)→P is 1/2. It follows that Peirce's law cannot be intuitionistically derived. See Curry–Howard isomorphism for the general context of what this implies in type theory.

The converse can be proven as well: if a formula always has the value 1, then it is deducible from the laws of intuitionistic logic, so the intuitionistically valid formulas are exactly those that always have a value of 1. This is similar to the notion that classically valid formulas are those formulas that have a value of 1 in the two-element Boolean algebra under any possible assignment of true and false to the formula's variables—that is, they are formulas that are tautologies in the usual truth-table sense. A Heyting algebra, from the logical standpoint, is then a generalization of the usual system of truth values, and its largest element 1 is analogous to 'true'. The usual two-valued logic system is a special case of a Heyting algebra, and the smallest non-trivial one, in which the only elements of the algebra are 1 (true) and 0 (false).

Decision problems

The problem of whether a given equation holds in every Heyting algebra was shown to be decidable by Saul Kripke in 1965.[2] The precise computational complexity of the problem was established by Richard Statman in 1979, who showed it was PSPACE-complete[11] and hence at least as hard as deciding equations of Boolean algebra (shown coNP-complete in 1971 by Stephen Cook)Cite error: Closing </ref> missing for <ref> tag This duality can be seen as restriction of the classical Stone duality of bounded distributive lattices to the (non-full) subcategory of Heyting algebras.

Alternatively, the category of Heyting algebras is dually equivalent to the category of Esakia spaces. This is called Esakia duality.

Notes

  1. "Pseudo-Boolean algebra - Encyclopedia of Mathematics". https://www.encyclopediaofmath.org/index.php/Pseudo-Boolean_algebra. 
  2. 2.0 2.1 Kripke, S. A.: 1965, 'Semantical analysis of intuitionistic logic I'. In: J. N. Crossley and M. A. E. Dummett (eds.): Formal Systems and Recursive Functions. Amsterdam: North-Holland, pp. 92–130.
  3. Helena Rasiowa; Roman Sikorski (1963). The Mathematics of Metamathematics. Państwowe Wydawnictwo Naukowe (PWN). pp. 54–62, 93–95, 123–130. 
  4. A. G. Kusraev; Samson Semenovich Kutateladze (1999). Boolean valued analysis. Springer. p. 12. ISBN 978-0-7923-5921-0. https://books.google.com/books?id=MzVXq3LRHOYC&pg=PA12. 
  5. Hazewinkel, Michiel, ed. (2001), "Brouwer lattice", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4, https://www.encyclopediaofmath.org/index.php?title=b/b017660 
  6. Thomas Scott Blyth (2005). Lattices and ordered algebraic structures. Springer. p. 151. ISBN 978-1-85233-905-0. https://books.google.com/books?id=WgROkcmTxG4C&pg=PA151. 
  7. Georgescu, G. (2006). "N-Valued Logics and Łukasiewicz–Moisil Algebras". Axiomathes 16 (1–2): 123–136. doi:10.1007/s10516-005-4145-6. , Theorem 3.6
  8. Iorgulescu, A.: Connections between MVn-algebras and n-valued Łukasiewicz–Moisil algebras—I. Discrete Math. 181, 155–177 (1998) doi:10.1016/S0012-365X(97)00052-6
  9. Rutherford (1965), Th.26.2 p.78.
  10. Rutherford (1965), Th.26.1 p.78.
  11. Statman, R. (1979). "Intuitionistic propositional logic is polynomial-space complete". Theoretical Comput. Sci. 9: 67–72. doi:10.1016/0304-3975(79)90006-9. 

See also

References

  • Rutherford, Daniel Edwin (1965). Introduction to Lattice Theory. Oliver and Boyd. OCLC 224572. 
  • F. Borceux, Handbook of Categorical Algebra 3, In Encyclopedia of Mathematics and its Applications, Vol. 53, Cambridge University Press, 1994. ISBN:0-521-44180-3 OCLC 52238554
  • G. Gierz, K.H. Hoffmann, K. Keimel, J. D. Lawson, M. Mislove and D. S. Scott, Continuous Lattices and Domains, In Encyclopedia of Mathematics and its Applications, Vol. 93, Cambridge University Press, 2003.
  • S. Ghilardi. Free Heyting algebras as bi-Heyting algebras, Math. Rep. Acad. Sci. Canada XVI., 6:240–244, 1992.
  • Heyting, A. (1930), "Die formalen Regeln der intuitionistischen Logik. I, II, III", Sitzungsberichte Akad. Berlin: 42–56, 57–71, 158–169 
  • Dickmann, Max; Schwartz, Niels; Tressl, Marcus (2019). Spectral Spaces. New Mathematical Monographs. 35. Cambridge: Cambridge University Press. doi:10.1017/9781316543870. ISBN 9781107146723. 

External links