0

I came across the following in a textbook:

enter image description here enter image description here

$\mathcal{L}$ is a language. $\alpha \in \mathcal{L}$ is a formula. $\alpha \frac{c}{x}$ means: replace every instance of $c$ in $\alpha$ by $x$.

I am not sure I understand the sketch of this proof. Part of the issue I am finding, as I go through logic texts, is that the notation isn't the most illuminating.

Thus, I am wondering, may I have a sketch of proofs that show that boolean algebra is complete, using as much English as possible? (A sketch of a proof is something that is not a proof, but merely outlines how one would start the proof, or what strategy one would employ.)

bzm3r
  • 2,812
  • 1
    It seems to be about predicate logic. The sentence 'Boolean algebra is complete' adds a little confusion.. – Berci May 04 '19 at 07:49
  • The notation isn't going to go away or reduce as you proceed, so avoiding it doesn't seem like a good strategy. Also, with a few minor exceptions, most of the "notation" is just the things themselves. Formulas like $\neg\alpha$ are pieces of syntax, just symbols, they don't have meaning. $\equiv$ is a relation between formulas, so it's saying something that could arguably be written out in English, but I doubt that would be too helpful (except by making it more clear that it doesn't mean equality and that it's acting on these formulas). At any rate, there appears to be a typo in (1). – Derek Elkins left SE May 04 '19 at 07:54
  • $\alpha\frac{x}{c}$ means "replace every instance of $x$ in $\alpha$ by $c$", not the other way round. – Natalie Clarius May 04 '19 at 10:47
  • @Derek Elkin I don't think there's a typo in (1): The equivalence of $\neg \alpha^x$ to $\exists x \neg \alpha \to \neg \alpha \frac{c}{x}$ works out, and this is just the negative variant of a Henkin formula for positive $\alpha$, $\exists x \alpha \to \alpha \frac{c}{x}$. The problem is that this positive formulation of $\alpha^x$ for positive $\alpha$ (let's call it (2)) is not equivalent to (1): (1) implies (2), but not the other way round. So (1) is a weaker statement. But apperently this is sufficient to construct a (complete) Henkin theory. – Natalie Clarius May 04 '19 at 13:52
  • Corr.: In that case (1) is actual a stronger formulation, not weaker. – Natalie Clarius May 04 '19 at 14:38
  • @DerekElkins The issue is that the choice of notation is frankly just awful, and the choice of terms is even more awful. Even worse, different textbooks have just the right "variation" in notation that it becomes a terrible exercise in trying to figure out what everyone means. – bzm3r May 04 '19 at 19:14
  • The second part of this old answer of mine (from "Having acknowledged that GCT is counterintuitive" to "See e.g. these two questions, respectively") gives a very quick introduction to the proof. If you find that style useful, I can write a more detailed summary in that spirit. Your comments to the answer below, however, suggest that aren't comfortable yet with structures/models/$\models$; those are really prerequisites to understanding the completeness theorem, so - if that's the case - I'd focus on them separately first. – Noah Schweber May 04 '19 at 19:52
  • 1
    @user89 I'm afraid the notation could hardly be made any easier, and the terminology used is just the standard terminology of FOL. Abstract concepts and involved proofs requie a minimum of notation and terminology; that's not a fault of the textbook, that's just how math works. – Natalie Clarius May 04 '19 at 19:57
  • @lemontree Sorry, but I disagree. Then again, I am from an unorthodox school of thought, given my education. Too enamoured by Leibniz's dream? – bzm3r May 04 '19 at 23:44
  • @lemontree I think I found something which is much more along the lines of notation I am used to: http://www.cs.cornell.edu/home/gries/Logic/Equationalhistory.html (see the note on soundness and completeness for equational logic) – bzm3r May 05 '19 at 00:12
  • 1
    @user89 While this is not my favorite notation by any means, it's not too dissimilar to many other popular notations. Either way, learning to deal with potentially bad and certainly a variety of notations is also something you'll need to learn. Yes, it is annoying that there is a variety of notations, but given how bad old notations used to be, I'm glad people didn't feel too tied to them. – Derek Elkins left SE May 05 '19 at 00:43
  • @lemontree I might have misparsed (1). – Derek Elkins left SE May 05 '19 at 00:45
  • @user89 If you don't like notation like "$\vDash$" but want something 'descpritive', then everytime instead of writing "$\phi \vDash \psi$" you could write "$\phi$ semantically entails $\psi$", but if you don't like that either, you'd have two write "For all pairs of structures $\mathfrak{A}$ and assignment functions $v$, if $\mathfrak{A} \vDash_{v} \phi$, then $\mathfrak{A} \vDash_{v} \psi$, and if this is yet too much notation and terminology, then you'd have to write... – Natalie Clarius May 05 '19 at 05:54
  • ... "For all pairs of a domain of objects and a a function which interprets the non-logical symbols and a function which maps the variables of the language to objects in the domain, if $\phi$ evaluates to true under that pair of domain and interpretation function and and function which maps the variables to objects of the domain, then $\psi$ evalutes to true under the same pair of domain and interpretation function and function which maps the variables to objects of the domain", but that certainly won't make the proof easier to read. – Natalie Clarius May 05 '19 at 05:56
  • There's a point to using terminology and symbols. If you don't understand a term or symbol, then look up its definition (you can't get any more precise than the definition), and if you don't understand the definition, then look up the definition of the first word or symbol you don't understand about the definition. Eventually you will reach basic mathematical concepts like "function" or "if ... then ..." which you just have to take as primitive.That being said, the proof of completeness for FOL is a step or two more involved than the logic you'll need for a course on software design. – Natalie Clarius May 05 '19 at 06:00

1 Answers1

2

In order to prove completeness of a calculus, we need to show that any consistent theory $T$ has a model, that is, we need to find an $\mathcal{L}$ structure $\mathfrak{A}$ such that $\mathfrak{A} \vDash T$. This is achieved by constructing so-called Henkin theories. It is possible to show that any complete Henkin theory has a model. So the goal is to "henkinize" a given theory, i.e. extending the theory $T$ to a Henkin theory $T_H$, which is then extended to a complete Henkin theory in a next step.

The first step towards the construction of such a Henkin theory is what is done here: Your textbook snippet defines the "Henkin formulas" which will be added to the theory $T$ to arrive at a Henkin theory $T_H$.

In a Henkin theory $T_H$, any existential statement $\exists x \alpha \in \mathcal{L}$ (note: any existential statement of the language $\mathcal{L}$, not just those in $T_H$!) is "witnessed" by an individual constant $c$. This means that if we claim that $\alpha$ is true for some $x$, then we need to be able to provide a concrete term $t$ that provides evidence for this claim, hence the name "witness". For example, in the language of Peano arithmetic with a symbol for $>$, if we claim that $\exists x(x > 0)$, then we want to find a concrete instance of $x$ that satisfies this property (in this acse, this could be $s(0)$). This concrete instance is denoted by an individual constant $c$. (We later need to extend the alphabet of our language to include all of these witnesses $c$; this will result in the Henkin language $\mathcal{L}_H$, in which the Henkin theory $T_H$ of a theory $T$ can be axiomatized.)
In our example, $\alpha = x > 0$ (note that $\alpha$ contains a free variable $x$), and $\alpha\frac{c}{x}$ just means that $x$ is substituted by $c$, so here $\alpha\frac{c}{x} = c > 0$.
Note that this is an implicative statement, so the individual denoted by $c$ does not necessarily need to have the property $\alpha$: We only have $T_H \vDash \alpha\frac{c}{x}$ in case $T_H \vDash \exists x \alpha$.

So in a Henkin theory $T_H$, we want that the formula $\exists x \alpha \to \alpha\frac{c}{x}$ is $\in T_H$ for any $\alpha$. To define this "Henkin formula" for any $\alpha$, we can introduce the notation $\alpha^x$, and write it as

$$(1') \quad \alpha^x := \exists x \alpha \to \alpha\frac{c}{x}$$

Now suppose that a formula has the form of a negated statement, for example $\alpha' := \neg \alpha = \neg (x > 0)$. Then the Henkin formula becomes

$$(2) \quad (\neg \alpha)^x = \exists x \neg \alpha \to \neg \alpha \frac{c}{x}$$

This means that under the assumption $\exists \neg \alpha$, there is a witness $c$ that provides evidence for $\neg \alpha$, and therefore a counterexample to the validity of $\alpha$.

This is precisely what your textbook snippet says. It is easy to see that this is equivalent to the negation of (1):

$(\neg \alpha)^x\\ \equiv \exists x \neg \alpha \to \neg \alpha \frac{c}{x}\\ \equiv \neg(\exists x \neg \alpha \land \neg \neg \alpha \frac{c}{x})\\ \equiv \neg(\neg \forall x \alpha \land \neg \neg \alpha \frac{c}{x})\\ \equiv \neg(\neg \forall x \alpha \land \alpha \frac{c}{x})\\ \equiv \neg(\alpha^x)$

So we can deduce the unintuitive formula (1) by starting with the more intuitive implicative formulation (1') and inserting a negative formula $\neg \alpha$ as in (2).

However, for positive formulas $\alpha$, (1) = $\alpha^x$ is not equivalent to the implicational formulation (1') of the Henkin formula:

We have

$$(1) = \neg \forall x \alpha \land \alpha \frac{c}{x} \vDash \exists x \alpha \to \alpha \frac{c}{x} = (1')$$

(since $\neg \forall x \alpha \land \alpha \frac{c}{x} \vDash \alpha \frac{c}{x} \vDash \exists x \alpha \to \alpha \frac{c}{x}$)

but $$(1') = \exists x \alpha \to \alpha \frac{c}{x} \not \vDash \neg \forall x \alpha \land \alpha \frac{c}{x} = (1)$$

(since if $\mathfrak{A}, v \not \vDash \exists x \alpha$ and $\mathfrak{A}, v \not \vDash \alpha \frac{c}{x}$, then $\mathfrak{A}, v \not \vDash \exists x \alpha \to \alpha \frac{c}{x}$ but $\mathfrak{A}, v \not \vDash \neg \forall x \alpha \land \alpha \frac{c}{x}$).

So (1) $\vDash$ (1') but (1') $\not \vDash$ (1), hence (1) is a stronger statement than (1'): All situations (here: combinations of structures $\mathfrak{A}$ and assignments $v$) where (1) is true are also situations where (1') is true, but not the other way round, so there are fewer cases where (1) holds than where (1') holds, i.o.w. fewer structures which will manage to satisfy (1) than (1'), so (1) manages to exclude more possibilities (if you imagine a structure as a "possibility of what the universe could look like", you managed to exclude more such possibilities), hence it is a stronger, more informative claim than the more intuitive (and I think more common) Henkin formula (1').

Your textbook will show how the construction of a Henkin theory - and its extension to a complete Henkin theory for which we can prove the existence of models - will work for this more unintuitive, stronger formulation of Henkin formulas, but the idea is the same: For any existential statement, we want to have a witness in the form of an individual constant denoting a concrete object that provides evidence for this existential claim, and likewise, in the case of an existential negated statement, we want a witness that proves the invalidity of the unnegated statement. This is exactly what is done here.

  • Thank you for this answer. However, can I ask some fairly "stupid" questions, and ask you to update your answer with their answers? (I'll also be very happy to give a large bounty.) – bzm3r May 04 '19 at 19:01
  • A model is simply a choice of instantiation for each free variable in each formula. Yes? If so, can you replace the word model with something more appropriate?
  • – bzm3r May 04 '19 at 19:02
  • What does $\mathfrak{A} \vDash T$? Let $\alpha$ be a formula, then $\vDash \alpha$ means that every choice of instantiation for all the free variables in $\alpha$ causes $\alpha$ to be evaluated to $\top$. Is this correct? In this context, what does $\mathfrak{A} \vDash T$ mean? That every formula in $T$, when instantiated with constants in $...$ evaluates to $\top$? What should fill $...$?
  • – bzm3r May 04 '19 at 19:04
  • Can we avoid the use of honorifics in this answer? For instance, instead of saying "Henkin theory", can we say "$...$ theory", where $...$ is something descriptive?
  • – bzm3r May 04 '19 at 19:06