Recently I have looked at logics on introductory level and was seduced to develop a perspective on base of Boolean algebras.

I experienced that as "enlightening" but I still feel a bit unsecure. This also because I did not really engaged Boolean algebras in the material used for learning.

So I decided to expose my "findings" here for some testing.

Thank you very much in advance.

Let $\mathcal L$ denote a language and let $S(\mathcal L)$ denote the set of $\mathcal L$-sentences.

Usually based on a deduction system an expression like $\Sigma\vdash\phi$ states that $\phi\in S(\mathcal L)$, that $\Sigma\subseteq S(\mathcal L)$ and that a deduction of $\phi$ from $\Sigma$ exists.

Abbreviating $\{\psi\}\vdash\phi$ by $\psi\vdash\phi$ let us look at $\vdash$ as a relation on $S(\mathcal L)$.

It is evident that in that context $(S(\mathcal L),\vdash)$ is a preorder with specific properties. As any preorder it induces a poset $\mathcal B_{\vdash}$ which can be shown to be a Boolean algebra. The elements of $\mathcal B_{\vdash}$ are equivalence classes of the relation $\sim$ prescribed by $\phi\sim\psi\iff \phi\vdash\psi\text{ and }\psi\vdash\phi$ and in the sequel I denote such classes as $[\phi]_{\vdash}$.

Similarly we can construct a Boolean algebra $\mathcal B_{\vDash}$ on base of the semantic relation $\vDash$.

It seems to me that proving the completeness theorem is actually the same as proving that $\mathcal B_{\vdash}$ and $\mathcal B_{\vDash}$ coincide, or equivalently that the two relation $\vdash$ and $\vDash$ defined on $S(\mathcal L)$ coincide. If I understood well then the essence of proving the completeness theorem is proving that every ultrafilter of $\mathcal B_{\vdash}$ can be written as $\{[\chi]_{\vdash}\mid \chi\in\mathsf{Th}(\mathfrak A)\}$ where $\mathfrak A$ denotes some $\mathcal L$-structure.

The statement $\Sigma\nvdash\phi$ can be translated to: "$[\phi]_{\vdash}$ is not an element of the filter generated by $\{[\psi]_{\vdash}\mid \psi\in\Sigma\}$".

Now if the statement $\phi\vdash\psi$ is false then some ultrafilter $U$ exists with $[\phi]_{\vdash}\in U$ and $[\psi]_{\vdash}\notin U$. Then $U=\{[\chi]_{\vdash}\mid \chi\in\mathsf{Th}(\mathfrak A)\}$ for some $\mathcal L$-structure $\mathfrak A$ so that $[\phi]_{\vdash}\in\mathsf{Th}(\mathfrak A)$ and $[\psi]_{\vdash}\notin\mathsf{Th}(\mathfrak A)$, proving that the statement $\phi\vDash\psi$ is false as well.

That means that $\phi\vDash\psi\implies\phi\vdash\psi$ and the opposite direction is a consequence of soundness.

Everything okay above? Finally I wondered: "why are Boolean algebras not mentioned?" Is it so maybe that logicians - busy with meta-mathematics - automatically avoid mathematics as much as possible to keep things unmixed?

  • $\begingroup$ Well, from a pedagogical perspective, students taking a first course in which they would learn the completeness theorem are typically not expected to already be familiar with Boolean algebras. $\endgroup$ – Eric Wofsey May 24 '20 at 14:53
  • $\begingroup$ @EricWofsey Yes, that crossed my mind also. But why not in something like an appendix then?... The insight was enlightening for me and I sort of regret that not more persons were enabled to share it. $\endgroup$ – drhab May 24 '20 at 15:41
  • $\begingroup$ How do you conclude that the ultrafilter $\mathcal{U}$ whcih separates $[\phi]_\vdash$ and $[\psi]_\vdash$ does in fact correspond to some structure $\mathfrak{A}$? (You need the completeness theorem to do that.) Meanwhile, these algebras are introduced in many standard logic classes, but generally after the completeness theorem is proved so that they are presented as a single object (called the Lindenbaum algebra). Finally, the $\vdash$-version shows up on its own in the context of algebraic logic (where we don't necessarily even have a $\models$-relation). $\endgroup$ – Noah Schweber May 24 '20 at 18:22
  • $\begingroup$ @NoahSchweber I do not really conclude that but have only observed that this is the thing that happens if completeness is proved. A structure is constructed (Henkin) such that... et cetera. So I do not try or pretend to present an alternative proof but see the existing proof "in the light of Boolean algebras". That makes it more easy for me to grasp what is really happening. $\endgroup$ – drhab May 24 '20 at 18:55
  • $\begingroup$ @NoahSchweber When I met theories I recognized them as ultrafilters. The proof of completeness appeared to be the proof that next to them there are no other ultrafilters: for each ultrafilter a matching structure can be found. Thank you for your info concerning Lindenbaum algebras. $\endgroup$ – drhab May 24 '20 at 19:05

They are indeed mentioned, and in fact play a fundamental role - however, they're generally introduced after the completeness theorem is proved, which means they aren't considered separately. The corresponding algebra and its various relatives (see below) are called Lindenbaum(-Tarski) algebras.

Pedagogically, this is a slightly awkward situation: for students who haven't seen Boolean algebras before, introducing the $\mathcal{B}_?$s before we can do something with them is probably not helpful, but for students who have seen Boolean algebras before it could be quite illuminating. Most classes err towards the former population.

In the rest of this answer I'll make some comments to flesh out the picture.

First, note that in general we go beyond the picture above. Specifically, we generalize from sentences to formulas with free variables from some prescribed set $\{x_1,...,x_n\}$, and work modulo a theory $T$ (so the equivalence relation is "$T$-provable equivalence"). Call this "$\mathcal{B}_n(T)$." When $T$ is complete, the ultrafilters on $\mathcal{B}_n(T)$ are just $n$-types, and give us the type space. This is where these algebras really take off in classical model theory, e.g. in the omitting types theorem. Accordingly, this is usually the point at which this notion appears in introductory logic curricula.

Second, we can look at logics beyond first-order logic (their study being abstract model theory). While not visible in the first-order situation, there's an interesting subtlety between the completeness properties for individual sentences and sets of sentences which is mediated by the compactness of the semantics involved.

Specifically, consider the following four facts:

  1. $\mathcal{B}_\vdash=\mathcal{B}_\models$ (that is, $\varphi\vdash\psi\iff\varphi\models\psi$ for all sentences $\varphi,\psi$).

  2. Ultrafilters on $\mathcal{B}_\models$ correspond exactly to theories of structures.

  3. $\vdash$ and $\models$ coincide on sets of sentences: $\Phi\vdash\Psi\iff\Phi\models\Psi$ for $\Phi,\Psi\subseteq Sent$.

  4. Ultrafilters on $\mathcal{B}_\vdash$ correspond exactly to theories of structures.

Point (2) is just the compactness theorem; note that we can prove compactness without proving completeness first (e.g. via ultraproducts), so there is a meaningful distinction between the two. Meanwhile point (3) is the completeness theorem and point (4) follows from points (2) and (3). Moreover, these relationships are very general: they apply to abstract logics in general. (Here by "abstract logic" I mean a triple $\mathcal{L}$ consisting of a set $Sent_\mathcal{L}$ of sentences, a proves relation $\vdash_\mathcal{L}$, and a satisfies relation $\models_\mathcal{L}$ satisfying some very mild properties - not including completeness.)

Point (1), interestingly, is surprisingly weak in general! Take a non-compact entailment relation $\models_*$ on some set of sentences (say, the usual semantics for second-order logic) and let $\vdash_*$ be its "finitization" $$\Gamma\vdash_*\varphi\quad\iff\quad\exists\Gamma_0\subseteq_{fin}\Gamma(\Gamma_0\models_*\varphi).$$ Point (1) holds but point (3) fails for the resulting system. Meanwhile, point (2) of course fails since $\models_*$ is noncompact. So really what we have is that (1) by itself isn't very strong, but (1)+(2) is.

Finally, changing stances entirely note that we can choose to take the deductive structure as primitive, and ignore semantics entirely. This takes us into the realm of algebraic logic. Roughly speaking, there we consider deductive systems which are simply free algebras $A$ (thought of as the set of wffs given by some basic syntactic rules) equipped with a deduction relation $\vdash$ satisfying some very mild properties.

We can recast a deduction system $\mathfrak{D}=(A,\vdash)$ as a Lindenbaum-like algebra given by elements of $A$ preordered by $\vdash$, and taking the obvious quotient yields a partial order. However, this partial order does not in general faithfully reflect the structure of $\mathfrak{D}$! Specifically, there may be syntactic operations which are not well-defined on $\vdash$-equivalence classes. Really what we want to look at are congruences on the algebra $A$ which are related to the deduction relation $\vdash$. The book Algebraizable Logics by Blok/Pigozzi is a wonderful treatment of this topic with lots of examples, and the introduction already gives a good taste of the topic and is freely available online from the AMS.

  • $\begingroup$ Thank you very much for this nice answer, Noah! As you will understand this will need time to be digested and it is quite well possible that not everything mentioned will be once in my scope. Nevertheless I do not hesitate to accept already. Also your answer gives me some feeling of recognition. $\endgroup$ – drhab May 25 '20 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.