Generally, the propositions in a formal logic may be thought of as having an algebraic structure with respect to logical operators like “and” and “or”. Under this identification, different systems of logic correspond to different sets of operators and axioms.
For the intuitionistic propositional calculus, the operators (including nullary operators, i.e. constants) are “and”, “or”, “true”, “false”, and “implies”. The concept of a Heyting algebra captures these operators and their axioms, so that a Heyting algebra is precisely a model of the intuitionistic propositional calculus.
A Heyting algebra where excluded middle holds is a Boolean algebra, a model of classical propositional calculus.
To model quantifiers and variables, i.e. to extend from propositional calculus to first-order aka predicate logic, one forms a hyperdoctrine on Heyting algebras, called a first-order hyperdoctrine.
A Heyting algebra is a lattice which as a poset admits an operation of implication satisfying the condition (really a universal property)
In other words, must be right adjoint to .
This is equivalent to the following definition.
A Heyting algebra is a bicartesian closed poset, that is a poset which (when thought of as a thin category) is
The implication is the exponential object .
Often (for instance, when doing forcing categorically) one is interested in complete Heyting algebras, which are Heyting algebras that admit arbitrary meets and joins (that is, not necessarily finite).
Insofar as all these properties of a poset are described by universal properties, being a Heyting algebra is a property-like structure on a poset; a poset can be a Heyting algebra in at most one way.
The definition of Heyting algebra may be recast into purely equational form: add to the equational theory of lattices the inequalities and , writing these inequalities in equational form via the equivalence iff . Hence we can speak of an internal Heyting algebra in any category with products.
A Heyting algebra homomorphism is a homomorphism of the underlying lattices that preserve . Heyting algebras and their homomorphisms form a concrete category HeytAlg.
If one relaxes the requirement that be antisymmetric, so that instead of a poset is only a preorder, the result is a Heyting prealgebra.
Any Heyting algebra is a distributive lattice. That is, finite meets distribute over finite joins and vice versa.
As discussed at distributive lattice, it suffices to prove the nontrivial direction of either of the two (dual) binary distributivity laws, e.g. . This is a straightforward exercise applying the universal property (1).
More abstractly: the distributivity law says precisely that preserves binary joins, which it does because it has a right adjoint (namely ) and therefore preserves all colimits.
The relation of modus ponens is immediate from (1): for any in a Heyting algebra,
We list some further basic facts which are frequently useful, including in the proofs below:
The following hold for any in any Heyting algebra:
Composition law: .
Currying: .
is monotone: if .
is increasing: .
is idempotent: .
is antimonotone: if .
is self-adjoint: is left adjoint to .
Explicitly, just if , i.e. just if .
is increasing: .
is idempotent: .
Most of these facts can be packaged up more abstractly like so:
A monad in a poset (or a preorder, aka (0,1)-category) like is just a monotone, increasing, idempotent function.
From Proposition it is immediate that this describes both and .
In any Heyting algebra , we may define a negation operator:
The negation operator is , where is the bottom element of the lattice.
is a monad.
We collect some further frequently-useful facts:
In any Heyting algebra , we have the following for all :
Negation is antimonotone: if .
Currying: .
Triple negation is just negation: .
Proof by contradiction: just if .
De Morgan's law for negation over disjunction:
.
One-way De Morgan’s law for negation over conjunction: .
(equivalently, )
Each of these is a short exercise using the universal property (1), Proposition , and the preceding properties in the list.
Several of the facts in are weakenings of familiar propositional identities from classical logic:
A Heyting algebra where the remaining De Morgan law holds is precisely a De Morgan Heyting algebra.
A Heyting algebra satisfying any of the following (equivalent) conditions is precisely a Boolean algebra:
These also imply the De Morgan law.
The double-negation map on a Heyting algebra is often relevant, particularly in the relationship with Boolean algebras. We saw in that is a monad. Further:
Nullary meets are trivial: . For binary meets, the direction holds simply because is monotone.
In the other direction, we show by currying (per ) to calculate:
where the two inequalities follow from composition (Proposition ) and modus ponens (2).
The following Lemma is important for the double negation translation.
Double negation preserves implication: .
Applying (3) and currying (by ), we have
An elementary topos is a vertical categorification of a Heyting algebra: the notion of Heyting algebra is essentially equivalent to that of (0,1)-topos. Note that a Grothendieck -topos is a frame or locale.
In a Heyting category, every subobject poset is a Heyting algebra. In particular, this holds for every topos. Furthermore, in a topos, the power object is an internal Heyting algebra that corresponds to the external Heyting algebra . In a boolean topos, the internal Heyting algebras are all internal boolean algebras. In general, however, the internal logic of a topos (or other Heyting category) is intuitionistic.
The proof of Lemma can be made purely equational, and is therefore internally valid in any category with products. Applied to the internal Heyting algebra of a topos, that is the subobject classifier, this lemma says exactly that the double negation operator defines a Lawvere–Tierney topology. Similarly, we get the double negation sublocale of any locale.
One of the chief sources of Heyting algebras is given by topologies. As a poset, the topology of a topological space is a complete lattice (it has arbitrary joins and meets, although the infinitary meets are not in general given by intersection), and the implication operator is given by
where are open sets, is the set-theoretic complement of , and denotes the interior of a subset .
Somewhat more generally, a frame (a sup-lattice in which finite meets distribute over arbitrary sups) also carries a Heyting algebra structure. In a frame, we may define
and the distributivity property guarantees that the universal property (1) holds. (The detailed proof is a “baby” application of an adjoint functor theorem.)
Thus frames are extensionally the same thing as complete Heyting algebras. However, intensionally they are quite different; that is, a morphism of frames is not usually a morphism of complete Heyting algebras: they do not preserve the implication operator.
A locale is the same thing as a frame, but again the morphisms are different; they are reversed.
Topologies that are Boolean algebras are the exception rather than the rule; basic examples include topologies of Stone spaces; see Stone duality. Another example is the topology of a discrete space .
There are several ways of passing back and forth between Boolean algebras and Heyting algebras, having to do with the double negation operator. By , double negation is a monad. Further, by , it preserves finite meets.
Now let denote the poset of regular elements of , that is, those elements such that . (When is the topology of a space, an open set is regular if and only if it is the interior of its closure, that is if it is a regular element of the Heyting algebra of open sets described above.) With the help of Lemma , we may prove
The poset is a Boolean algebra. Moreover, the assignment is the object part of a functor
called Booleanization, which is left adjoint to the full and faithful inclusion
The unit of the adjunction, applied to a Heyting algebra , is the map which maps each element to its regularization .
To avoid confusion from two different maps called that differ only in their codomain, write for the monad and for the left adjoint. Write for the right adjoint, so that .
We first show that is a Heyting algebra and is a Heyting-algebra map. Because is surjective (and monotone), it suffices to show that it preserves the Heyting-algebra operators: finite meets, finite joins, and implication.
Because is full, it reflects meets. Therefore because by Lemma preserves finite meets, so too does , and as a left adjoint it preserves joins.
Finally, for , we show that , which by Lemma is the -implication , satisfies the universal property (1) also in . For any , just if by the universal property in ; but because reflects meets this is equivalent to , completing the universal property.
Now because preserves implication and (the empty join) , it preserves negation. Therefore in is the identity, so the latter is a Boolean algebra.
Therefore is a Heyting algebra quotient which is the coequalizer of . It follows that a Heyting algebra map to any Boolean algebra , i.e. any Heyting algebra where and coincide, factors uniquely through this coequalizer, and the induced map is a Boolean algebra map. In other words, is the universal Heyting algebra map to a Boolean algebra, which establishes the adjunction.
Thus preserves finite joins and finite meets and implication. In the other direction, we have an inclusion , and this preserves meets but not joins. It also preserves negations; more generally and perhaps surprisingly, it preserves implications as well.
Regular elements are not to be confused with complemented element?s, i.e., elements in a Heyting algebra such that , although it is true that every complemented element is regular. An example of a regular element which is not complemented is given by the unit interval as an element of the topology of ; a complemented element in a Heyting algebra given by a topology is the same as a clopen subset.
Complemented elements furnish another universal relation between Boolean algebras and Heyting algebras: the set of complemented elements in a Heyting algebra is a Boolean algebra , and the inclusion is a Heyting algebra map which is universal among Heyting algebra maps out of Boolean algebras . In other words, we have the following result.
The assignment is the object part of a right adjoint to the forgetful functor .
In a Heyting algebra , the elements and are clearly complemented. If and are complemented, then so are , , and ; we leave meet and join as an exercise applying , and demonstrate implication (using (3)):
Thus the complemented elements form a Heyting subalgebra . Clearly is a Boolean algebra, and clearly if is Boolean, then any Heyting algebra map factors uniquely through . This proves the theorem.
For a topos and any object, the poset of subobjects of is a Heyting algebra.
In other words, every topos is a Heyting category.
In particular for the subobject classifier, is a Heyting algebra.
In Set for every set we have that is the Boolean algebra of subset of .
More details and examples are spelled out at internal logic#examples.
A frame is a Heyting algebra.
By the adjoint functor theorem, a right adjoint to the map exists since this map preserves arbitrary joins.
The original reference:
Arend Heyting, Die formalen Regeln der intuitionistischen Logik. I, II, III. Sitzungsberichte der Preußischen Akademie der Wissenschaften, Physikalisch-Mathematische Klasse (1930) 42-56, 57-71, 158-169
abridged reprint in:
Karel Berka, Lothar Kreiser (eds.), Logik-Texte, De Gruyter (1986) 188-192 [doi:10.1515/9783112645826]
A quick introduction can be found in §1.2 of
Handbook of Categorical Algebra 3. Categories of sheaves, Cambridge University Press 1994. ISBN: 0521441803.
Last revised on May 13, 2024 at 08:33:19. See the history of this page for a list of all contributions to it.