You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
The wikipedia entry on cylindric algebra says : "Hyperdoctrines are a categorical formulation of cylindric algebras". Does anyone know of a reference that explains this?
[[hyperdoctrine]] [[Boolean hyperdoctrine]]
Seems like the closest comparison would be between a cylindric algebra and a Boolean hyperdoctrine on the opposite of the category of finite sets. The main difference is that in a cylindric algebra we combine all the formulas into a single Boolean algebra , while in a hyperdoctrine we have a separate Boolean algebra of formulas in n free variables for each .
Basically, it is similar to the difference between working with or without an explicit context.
thank you. I am new to this. When you say a boolean hyperdoctrine on the opposite of the category of sets, do you mean a functor ? (since )
Yes but there is a close to 50% chance that I messed up the variance anyways.
The idea would be: We could define one Boolean hyperdoctrine by picking our favorite language of first-order logic and then letting be the set of formulas in this language with free variables from , say denoted by , . (Then, we should quotient these formulas by bi-implication but I'll ignore this.) For fixed , is a Boolean algebra because we can form conjunctions, disjunctions, negations of formulas.
Now if we have a map of sets, then we get a homomorphism of Boolean algebras that takes every occurrence of , and replaces it with . In other words, it carries out a substitution where we are only allowed to substitute variables by other variables.
The map is supposed to have a left adjoint, which turns out to encode the existential quantifier if is an inclusion , and to encode imposing an equality , if is the function that identifies two elements , of . So, that corresponds somehow to the 's and 's of the cylindric algebra.
I'm using "formulas" because this is somehow the original motivating example, but it's also important to note that the elements of the Boolean algebras (or of a cylindric algebra) can be anything, like subsets of ; then we're working with the semantics of the formulas, and not the syntax itself.
It seems that maybe "cylindric algebras" and "hyperdoctrines" are notions used by mostly disjoint sets of people, so probably your best bet is to look for introductory material about each separately.
Reid Barton said:
Yes but there is a close to 50% chance that I messed up the variance anyways.
But in the end you checked that you got the variance right.
I wrote an introduction to hyperdoctrines, meaning functors with a couple of properties, here:
It's actually a dialog between Michael Weiss (an expert on some more traditional topics in logic) and me.
These hyperdoctrines are indeed related to Tarski’s cylindric algebras - and also Halmos’ polyadic boolean algebras.
I believe the variance is meant to go the other way. I think the argument given by Michael Weiss is basically 'right' but it actually shows that the functor is meant to be contravariant. Suppose we think of an -tuple of variables (let's stay single-sorted for a moment) as a map . If you have a function , then we naturally get an -tuple given by the composite . So given a formula on an -tuple, we'll get a formula on an -tuple . And to be extra explicit, is the -tuple . One way, I think, to keep these straight is to think about the contravariant and covariant powerset functors. The contravariant one takes functions to boolean algebra homomorphisms (and in fact gives the equivalence ), but the covariant one does not (to convince yourself of this, think about the image under of the top element of the algebra).
As to the original question, the only source I could find explicitly showing a correspondence between polyadic algebras and hyperdoctrines was this from Daigenault. He doesn't quite show this, but I think roughly the way things go is: polyadic algebras of dimension are 'equivalent' to hyperdoctrines on . Cylindric algebras of dimension should correspond to hyperdoctrines with equality on . The key idea in all this is that the operators on the boolean algebra of formulas in variables from , say corresponds to the composite of where . So the trick is picking out the adjoint functors corresponding to the monads .
This is confusing because there are several hyperdoctrines around that look quite similar.
Here is another way to describe the one I was talking about:
Boolean algebras are the algebras for some algebraic theory Bool
, so there's definitely a free functor F : FinSet -> BoolAlg, which is covariant and sends maps of finite sets to boolean algebra homomorphisms; that's my hyperdoctrine. (I don't have to restrict F to finite sets, and maybe to compare to cylindric algebras I don't want to, but let me stick to finite sets for now.)
If is a finite set and we agree to denote the generator of corresponding to by , then we see that the elements of are terms generated by the variables and the operations of the theory of Boolean algebras, so things like , quotiented by the relations of the theory (= up to logical equivalence).
Ah wait this doesn't quite work yet because I still have to put in the quantifiers. But it does have the correct substitution structure.
You could say this is a "hyperdoctrine without quantifiers".
i.e. I still have a functor F : FinSet -> BoolAlg (whose variance is what was concerned about), I just don't assume that the maps F(f) have adjoints on either side.
There's a different hyperdoctrine that sends a set to its power set; I think you were describing that one.
In my conversation with Michael Weiss we fixed a set , the universe of discourse. Then an -ary predicate picks out a subset of , which we think of as a map , or an element .
So we're getting a Boolean algebra for each finite set , and we're claiming this gives a covariant functor
It's easy to get confused here for several reasons, and since it's late in the evening and I've had some wine I wouldn't believe I'm right if I hadn't convinced Michael against his opposition in our conversation, and then proceeded to write many articles on this topic without an "oops".
In particular it's confusing because there's both a covariant and a contravariant power set functor. But here we are using the contravariant power set functor
assigning to each set its boolean algebra of subsets, and each map between sets the corresponding "inverse image" or "preimage" operation, which is a Boolean algebra homomorphism.
(Sorry for using a "contravariant functor" instead of a covariant functor between categories, one with an op on top - I know it's a bit old-fashioned but I think it'll serve my purpose better here.)
So the hyperdoctrine Michael Weiss and I were discussing is the covariant functor
sending to , given by the composite of contravariant functors
and
I think there's a 51% chance I got the variances right.