29 Apr 2016

Agler (4.5) Symbolic Logic: Syntax, Semantics, and Proof, "Truth-Tree Walk Through", summary

 

by Corry Shores
[Search Blog Here. Index-tags are found on the bottom of the left column.]


[Central Entry Directory]
[Logic & Semantics, Entry Directory]
[David Agler, entry directory]
[Agler’s Symbolic Logic, entry directory]


[The following is summary. Boldface (except for metavariables) and bracketed commentary are my own. Please forgive my typos, as proofreading is incomplete. I highly recommend Agler’s excellent book. It is one of the best introductions to logic I have come across.]

 

 

 

Summary of

 

David W. Agler

 

Symbolic Logic: Syntax, Semantics, and Proof

 

Ch.4: Truth Trees


4.5 Truth-Tree Walk Through

 

 

 

Brief summary:
By using the four rules of truth-tree decomposition that Agler lays out, we can more efficiently decompose a tree, as seen in a number of examples. In certain cases, we will not even need to decompose all the propositions, on account of the fact that we were able to close all branches as early as possible.

 

 

Summary

 

4.5 Truth-Tree Walk Through

 

 

We will carefully examine three truth-trees. The first one has these propositions: M→P, ¬(P∨Q), and (R∨S)∧¬P. First we stack up the propositions at the top.

4.5 ex1 m

Next let us decompose the conjunction in line three. [Recall Rule 3 from section 4.4.3: we should decompose stacking before branching, because this means fewer operations down the line.]

4.5 ex1 l

We have another stacking rule for the negated disjunction in line 2, so let us decompose that next.

4.5 ex1 k

Now since line one will close off a branch, let us do that next.

4.5 ex1 j

As we can see, the right branch will close.

4.5 ex1 i

That leaves us with decomposing the disjunction on line 4.

4.5 ex1 h

And here both are open branches.

4.5 ex1 g

All decomposable propositions have been decomposed, so it is completed. And, it has at least one open branch, so it is open.

 

We will now decompose these propositions:

¬(M→P)

¬(P↔Q)

¬(P∨M)∨¬Q

P→M
(Agler 135)

So let us first set them as propositions.

4.5 ex2b n

[Again recall Rule 3 from section 4.4.3: we should use stacking rules before branching rules.] From this list we can see that there is just one proposition that takes a stacking rule, ¬(M→P), so in accordance with rule 3, we should start with this one.

4.5 ex2b m

[Recall Rule 2 from section 4.4.3: we should first use rules that close branches.] Suppose we next decomposed P→M. That would give us M and ¬P. But as we just got those already, we would not close any branches that way. Yet what if we decompose ¬(P↔Q)? This will give us two branches, one with P and ¬Q, and the other with ¬P and Q. The first of the two branches has a contradiction of P and ¬P. This means it will close. So we can do this one next.

4.5 ex2b l

And so it is the left branch that we mark as closed.

4.5 ex2b k

Now, what if we decomposed ¬(P∨M)∨¬Q? We would get two branches, one with ¬(P∨M) and the other with ¬Q. Since we have Q in the branch above, we would close off one of these newer branches. So let us do this one.

4.5 ex2b j

As we can see, it is the right branch that closes.

4.5 ex2b i

Now our choices are ¬(P∨M) and P→M. Since ¬(P∨M) takes a stacking rule, we should do that one next.

4.5 ex2b h

But we notice that this gives us ¬M, which contradicts M from above. So we mark this branch as closed.

4.5 ex2b g

But now there are no more branches along which to continue our decomposition. So we will not need to decompose P→M. Thus by following the rules and thinking strategically, we can save effort and make a more elegant tree.

The above walkthrough shows that even though a tree can be fully decomposed by decomposing propositions randomly, a tactical use of the decomposition rules will reduce the complexity of the tree and your total amount of work.
(137)

 

We now examine the following propositions:

P→Q

T→[(Q∨R)∨(¬S∨M)]

(P∨Q)∨R

(P→M)∨[W↔(¬S∨S)]

¬(¬P∨Q)

Let us place them as propositions.

4.5 ex3 l

This could potentially be a very complicated tree. Hence we need to look for contradictions so we can close branches as early as possible. Looking at the simplest propositions, in lines 1 and 5, we already see a way to close all branches early. ¬(¬P∨Q) will ultimately give us P and ¬Q. And P→Q will give us ¬P or Q. Since ¬(¬P∨Q) is a stacking rule, let us start with that.

4.5 ex3 j

Now let us decompose the doubly negated P.

4.5 ex3 i

And finally, we decompose the conditional of line 1.

4.5 ex3 m

And as we can see, this closes off both branches.

4.5 ex3 g

 

 

 

 

Agler, David. Symbolic Logic: Syntax, Semantics, and Proof. New York: Rowman & Littlefield, 2013.

 

 

.

23 Apr 2016

Agler (4.4) Symbolic Logic: Syntax, Semantics, and Proof, "Basic Strategies", summary


[Search Blog Here. Index-tags are found on the bottom of the left column.]

[The following is summary. Boldface (except for metavariables) and bracketed commentary are my own. Please forgive my typos, as proofreading is incomplete. I highly recommend Agler’s excellent book. It is one of the best introductions to logic I have come across.]



Summary of

David W. Agler

Symbolic Logic: Syntax, Semantics, and Proof

Ch.4: Truth Trees

4.4 Basic Strategies



Brief summary:
In order to decompose a proposition in a truth-tree as efficiently as possible, we should follow certain rules, namely:
Strategic rule 1: Use no more rules than needed.
Strategic rule 2: Use rules that close branches.
Strategic rule 3: Use stacking rules before branching rules.
Strategic rule 4: Decompose more complex propositions before simpler propositions.
For the first rule, if for example we just need to know if the tree is open, we only need to find one completed open branch, and we can leave the rest unfinished. For the second rule, we can minimize the amount of decompositions by closing off branches as early as possible. For the third rule, we minimize the decompositions by stacking before branching; for, if we branch first, we have to repeat more operations, as we have more branches along which to stack formula. And for the fourth rule, by decomposing complex propositions first, we do not have to repeat complex ones further down, as we multiply the branches as we go.



Summary

4.4 Basic Strategies

Agler will offer some basic strategies for decomposing truth-trees more efficiently. He lists them now, and he will address each one in turn:
Strategic rule 1: Use no more rules than needed.
Strategic rule 2: Use rules that close branches.
Strategic rule 3: Use stacking rules before branching rules.
Strategic rule 4: Decompose more complex propositions before simpler propositions.
(Agler 127)


4.4.1 Strategic Rule 1

The first rule:
Strategic rule 1: Use no more rules than needed.
(Agler 127)

Some tasks do not require that we use all possible decompositions. We might just need only a few to determine if the propositions have certain properties. [Recall from section 4.2.2 that a completed open branch is a fully decomposed branch that is not closed, meaning that it does not contain a proposition and its literal negation. And a tree is a completed open tree if and only if it has at least one completed open branch.] For example, in order to determine if the tree is open, we just need to find one completed open branch. Agler illustrates with the following example.
(P∧¬W)∧¬M
M∨(¬M∨P)
(Agler 128)
First we set the propositions.
4.4.1 ex k
Then we decompose the conjunction in the first line.
4.4.1 ex j
Now let’s decompose the conjunction in line 3.
4.4.1 ex i
And finally, let us decompose the disjunction in line 2.
4.4.1 ex h
As we can see, the left branch has no more formulas to decompose [notice all the decomposable ones in that branch have checkmarks.] But also, there is not a proposition and its literal negation. Thus it is open.
4.4.1 ex g2
Do we need to decompose the complex formula at the right branch? No, because we already determined the tree is an open tree, and so we can end here.


4.4.2 Strategic Rule 2

The second rule states:
Strategic rule 2: Use rules that close branches.
(Agler 128)

Whenever we “decompose a complex proposition, it must be
decomposed into every open branch below the decomposed proposition” (128). [To make the task more efficient, it would be better to close off branches sooner rather than later, because this way we have fewer branches under which to decompose the other propositions from above.] Thus, “It is generally advisable to decompose propositions that will close branches” (128).

Agler illustrates with the following set of propositions:
4.4.2 ex k
[Let us do it the wrong way first to see why Agler’s way is better. We will first decompose the disjunction on line 2.
4.4.2 ex2 j
At this point, we see that line 1 has negations of terms in our branches. But we will here do it the wrong way and decompose a different proposition, namely, the disjunction in line 3.
4.4.2 ex i
And finally we decompose the disjunction from line 1.
4.4.2 ex h
We then determine which branches are opened and closed.
4.4.2 ex g
] Agler first decomposes the disjunction in line 2.
4.4.2 ex2 j
Now note that in line 1 we have negations of M and P, so we should do this line next. That way, we can close off some branches early.
4.4.2 ex2 i
As we can see, there are contradictions on the far left and the far right branches.
4.4.2 ex2 k
Now we only need to decompose line 3 below the middle two branches.
4.4.2 ex2 h
And now we can assess which are open and which are closed.
4.4.2 ex2 g
[As we can see, we get the same results as with the less efficient way that we tried first.] This tree is completed open because there is at least one completed open branch (129).


4.4.3 Strategic Rule 3

We now examine the third strategic rule.
Strategic rule 3: Use stacking rules before branching rules.
(Agler 130)

Agler says that we want our trees “to be tall and not bushy”. [Suppose two situations. In one, you branch early on, then stack later. In this case, you do more work, because you may need to decompose the same stacking propositions along each branch. But if you did the stacking ones first, then all these are decomposed along a single branch. Then when you decompose the branching ones, all the stacking have been done already, and so you will not need to double them.]
Whenever you decompose a complex proposition, it must be decomposed into every open branch below the decomposed proposition. Using stacking rules before branching rules has the benefit of simplifying trees.
(130)
Agler will illustrate with these propositions: ¬M∨Q and (R∧Q)∧P. First we place them as propositions at the top of the tree.
4.4.3 ex1 j
Now let us do it the wrong way first. In other words, we will first do the branching one. So let us decompose the disjunction in line 1.
4.4.3 ex1 i
Next, let us decompose the conjunction in line 2.
4.4.3 ex1 h
As we can see, this leaves us with another conjunction in line 4. Let us decompose that.
4.4.3 ex1 g
Now we are done.

Suppose instead that we first used the stacking rule. So first we decompose the conjunction in line 2.
4.4.3 ex2 i
Next we decompose the conjunction in line 3.
4.4.3 ex2 h
And finally we decompose the disjunction in line 1.
4.4.3 ex2 g
As we can see, this is more efficient. (131)


4.4.4 Strategic Rule 4

The fourth rule is:
Strategic rule 4: Decompose more complex propositions before simpler propositions.
(131)
Agler says that this is the weakest of the rules. [His point seems to be that it has the least effect on efficiency. He will demonstrate by showing two different ways to decompose propositions. The one that follows this rule will have the same number of branches and decompositions. However, along those branches there will be simpler propositions.] He illustrates with the propositions: (M∨S)∨(Q∨R) and R∨S. [This first manner of doing it will show us the better way.] So let us first set them up.
4.4.4 ex1 j
Now let us follow the rule and do the more complex one first. So we decompose the disjunction in line 1.
4.4.4 ex1 i
[At this point it might be arbitrary which to do next, since all are equally complex now.] Let us now decompose the disjunctions at ends of each branch.
4.4.4 ex1 h
And finally we decompose the disjunction in line 2.
4.4.4 ex1 g
Now we will do it the slightly less efficient way. Instead of starting with the more complex formulation, we well decompose the simpler one, the disjunction in line 2.
4.4.4 ex2 i
Next we decompose the disjunction in line 1.
4.4.4 ex2 h
And finally we decompose the disjunctions in line 4.
4.4.4 ex2 g
Agler notes: “Although using strategic rule 4 may not reduce the overall size of the tree, it can help simplify the number of different applications of a rule applied” (132). [His point might be the following. So look at the wrong way above. In line 4, we applied the disjunction rule to two different formulas, namely, M∨S and Q∨R. However, in the right way, at that step we only applied it to one formula, R∨S. Another thing we might note is that in the right way, we write fewer letters.]




Agler, David. Symbolic Logic: Syntax, Semantics, and Proof. New York: Rowman & Littlefield, 2013.


.

Frege (§10) Begriffsschrift, Chapter 1 (Geach transl.), “[untitled. notating functions]", summary


by Corry Shores

[Search Blog Here. Index-tags are found on the bottom of the left column.]

[Central Entry Directory]

[Logic & Semantics, Entry Directory]

[Gottlob Frege, Entry Directory]

[Frege, Begriffsschrift, Chapter 1, Entry Directory]


[The following is summary. Bracketed commentary is my own. Please forgive my typos, as proofreading is incomplete.]


Summary of
 
Gottlob Frege
 
Begriffsschrift, Chapter 1
(Geach transl.)
 
§10


Brief Summary: 
We express an indeterminate function of argument A as: Φ(A) and with the judgment stroke as
begriff 10 a
which is read, “A has the property Φ”. An indeterminate function for two arguments may be written Ψ(A,B) and with the judgment stroke as
begriff 10 b
which is read, “B stands in the Ψ-relation to A” or “B is a result of applying the operation Ψ to the object A.” We can also vary the function letter as well.
 
 
 
 
Summary
 
 
[Recall our discussion of functions from the last section. We discussed indeterminate arguments and indeterminate functions. The idea seemed to be that an indeterminate argument or function would be similar to a letter-variable in algebra where it can be filled in with a variety of options, but we have not specified them.]
In order to express an indeterminate function of the argument A, we put A in brackets after a letter, as in
Φ(A)
Similarly
Ψ(A,B)
means a function (not further determined) of the two arguments A and B. Here the places of A and B within the brackets represent the places occupied by A and B in the function (whether A and B each occupy one place in it or more). Accordingly in general
Ψ(A,B) and Ψ(B,A)
are different.
(Frege 15)
 
Frege then shows how to render functions using his notation system. [He will use the judgment stroke. See section 2.]

Indeterminate functions of several arguments are expressed similarly.

begriff 10 a

may be read as ‘A has the property Φ’.

begriff 10 b

may be read as ‘B stands in the Ψ-relation to A’ or as ‘B is a result of applying the operation Ψ to the object A.’

(Frege 15)

 

[The next point I do not understand. Let me quote it

In the expression
Φ(A)
p. 19] the symbol Φ occurs in one place; and we may imagine it replaced by other symbols Ψ, Χ, so as to express different functions of the argument A; we may thus regard Φ(A) as a function of the argument Φ. This makes it specially clear that the concept of function in Analysis, which in general I have followed, is far more restricted than the one developed here.
(15)
[Normally we can make a number of substitutions for A. So Φ is a function of argument A. Now we think of Φ also being substituted with other functions. I do not understand this conclusion: “we may thus regard Φ(A) as a function of the argument Φ”. Does it mean that we have: (Φ(A))(Φ) or something like that? I do not think so, because as the argument changes, so too should the function Φ of Φ(A). But I am not sure how else to formulate and understand what Frege has written here. We get the point that we have the flexibility to change the function with other functions, however.]
 
 
 
 
Frege, Gottlob. “Begriffsschrift (Chapter 1)”. Transl. P.T. Geach. In Translations from the Philosophical Writings of Gottlob Frege. Eds. P.T. Geach and Max Black. Oxford: Basil Blackwell, 1960, second edition (1952 first edition).

.
.