Docsity

Logic Derivation: Applying Prenex and DNF to Negated Sentences, Assignments of Introduction to Philosophy

Toggle sidebar
bg1
1
Philosophy 305/505 Rice University
Professor R. Grandy Handout J
The Completeness Theorem
Our goal is to prove that for any quantificationally true sentence φ of the language there
is a derivation of it. Our strategy will be to show that for any sentence we can either find
a derivation of it or we can construct an interpretation that makes it false. In other words,
φ is either derivable or not quantificationally true—in yet other words, if φ is
quantificationally true, then it is derivable.
The method, in brief, is to negate the sentence φ and begin a derivation. Then we
transform the negation of the sentence into prenex normal form using our rules. Next we
transform the inner part of the sentence—since the quantifiers are now all at the front—
into disjunctive normal form. This will not introduce any new assumptions. We then
systematically take instances and try to derive a contradiction. If we can derive a
contradiction we can then (assuming all goes well) use ~E to obtain a derivation of the
un-negation of the initial assumption, viz., φ. We must be very systematic since we have
to be sure that if we get a contradiction we can derive it from the initial sentence and that
if we do not get a contradiction we can show the existence of an interpretation making the
sentence on the first line true.
It is important that we know the form of the sentence we have reached and are able to
prescribe a uniform systematic method. The sentence has been highly standardized; there
are no biconditionals or conditionals (those having been eliminated in early steps of the
transformation), negations govern only atomic sentences, and conjunctions govern only
atomic sentences or their negations. These last, atomic sentences and their negations, are
called ions. We will call the quantifier-free part of the original sentence the matrix. We
will call the sentences that are obtained from the matrix by substitution in the process of
constructing the derivation matrix instances. To put some of our jargon together, the
matrix of the sentence will consist of disjunctions of conjunctions of ions.
The Method
Step 0. Write the negation of the sentence we are analyzing on line 1.
Step 1. Starting with the sentence on line 1, use the Prenex and DNF steps to derive a
prenex disjunctive normal form of the sentence.
Step 2. We continue the derivation operating on the prenex disjunctive normal form of
the negation of the sentence we are concerned with on line 1 as an assumption. If the
PDNF is a universal statement and contains no constants we write as the next line the
instance of it we obtain by eliminating the quantifier and substituting the constant ‘a’ for
the previously bound variable, with the justification ∀E. This step is only done once,
whereas the next three steps generally require repeated recursive applications.
pf3
pf4
pf5

Partial preview of the text

Download Logic Derivation: Applying Prenex and DNF to Negated Sentences and more Assignments Introduction to Philosophy in PDF only on Docsity!

Philosophy 305/505 Rice University Professor R. Grandy Handout J

The Completeness Theorem

Our goal is to prove that for any quantificationally true sentence φ of the language there is a derivation of it. Our strategy will be to show that for any sentence we can either find a derivation of it or we can construct an interpretation that makes it false. In other words, φ is either derivable or not quantificationally true—in yet other words, if φ is quantificationally true, then it is derivable.

The method, in brief, is to negate the sentence φ and begin a derivation. Then we transform the negation of the sentence into prenex normal form using our rules. Next we transform the inner part of the sentence—since the quantifiers are now all at the front— into disjunctive normal form. This will not introduce any new assumptions. We then systematically take instances and try to derive a contradiction. If we can derive a contradiction we can then (assuming all goes well) use ~E to obtain a derivation of the un-negation of the initial assumption, viz., φ. We must be very systematic since we have to be sure that if we get a contradiction we can derive it from the initial sentence and that if we do not get a contradiction we can show the existence of an interpretation making the sentence on the first line true.

It is important that we know the form of the sentence we have reached and are able to prescribe a uniform systematic method. The sentence has been highly standardized; there are no biconditionals or conditionals (those having been eliminated in early steps of the transformation), negations govern only atomic sentences, and conjunctions govern only atomic sentences or their negations. These last, atomic sentences and their negations, are called ions. We will call the quantifier-free part of the original sentence the matrix. We will call the sentences that are obtained from the matrix by substitution in the process of constructing the derivation matrix instances. To put some of our jargon together, the matrix of the sentence will consist of disjunctions of conjunctions of ions.

The Method

Step 0. Write the negation of the sentence we are analyzing on line 1.

Step 1. Starting with the sentence on line 1, use the Prenex and DNF steps to derive a prenex disjunctive normal form of the sentence.

Step 2. We continue the derivation operating on the prenex disjunctive normal form of the negation of the sentence we are concerned with on line 1 as an assumption. If the PDNF is a universal statement and contains no constants we write as the next line the instance of it we obtain by eliminating the quantifier and substituting the constant ‘a’ for the previously bound variable, with the justification ∀E. This step is only done once, whereas the next three steps generally require repeated recursive applications.

Step 3. For every universal sentence that appears thus far in the derivation, we add all new instances that can be formed with constants that occur earlier in the derivation, with the justification ∀E. Thus, if (∀x)ψ appears on a line and the constant ‘c’ appears anywhere in the derivation, then if we have not yet taken an instance of ψ with ‘c’ we do so. As a practical matter, this means that it is useful in following the Method to keep track somewhere of the constants used at each stage and of which constants have been used to instantiate which universal statements. Note that in this step we are taking new instances with old constants and that we are not adding any assumptions. We may however be adding new existentials.

Step 4. For every existential sentence that appears in the derivation for which no instance has yet been added, we add an instance using the first constant that does not occur in any previous assumption. Note that “instance” is to be taken very strictly here. The fact that we instantiated (∃x)Fxa with Fba takes care of that existential, but if we later add the sentence (∃x)Fxb then we must add an instance of it. The justification of these steps will be Assumption. We will eventually eliminate these premises by ∃E if we get to a contradiction; it is in anticipation of this eventuality that we carefully choose a constant that does not occur in any previous assumption. Note that with this step we are adding new instances with new constants in new assumptions.

Step 5. Determine whether the conjunction of the instances of the matrix in the derivation thus far are contradictory. Officially, the way to do this is to take the conjunction of them all by &I, use distribution to get the conjunction into DNF, and check whether every disjunct contains a contradiction. If so, then by a process of vE and the Any Contradiction rule we can eventually produce the line A & ~A. Practically this approach becomes unwieldy—for example, if the matrix has three disjuncts with two sentences each, then combining two instances gives nine disjuncts with four elements each and combining three gives 27 disjuncts with eight elements each. Thus we will use some additional shortcut rules to speed the process of detecting contradictions.

Greg’s Rule. We know that if a conjunction contains a sentence letter and the negation of that sentence letter then we can derive the negation of the conjunction. For example, we can derive the negation of (Fa & Gb & Fc & ~Gb). So if we have a disjunction one disjunct of which contains a contradiction of this kind, then we can derive the negation of that disjunct and use DS to prune that disjunct. For example, given on a line

(Fa & Gb & Fc & ~Gb) v (Fa & Gb & Fc & ~Ga)

we can derive ~(Fa & Gb & Fc & ~Gb) and then (Fa & Gb & Fc & ~Ga). We now will introduce the shortcut rule that lets us accomplish those steps by crossing out the contradictory disjunct thus:

line n before Greg’s Rule (Fa & Gb & Fc & ~Gb) v (Fa & Gb & Fc & ~Ga) line n after Greg’s Rule (Fa & Gb & Fc & ~Gb) v (Fa & Gb & Fc & ~Ga)

We will show first that if a contradiction is reached then we can construct a derivation of the un-negation of the original sentence.

Derivational Lemma : If the Method produces a contradiction, then there is a derivation of the un-negation of the sentence on line 1.

Proof: Step 5 left us with A & ~A on a line with its assumptions being those of the matrices. We want to shift those assumptions so that we end up with the contradiction from Assumption 1 alone. We know by considering our method that other assumptions entered only via Step 4 where we added instances of existentials using new constants.

We repeat the contradiction A & ~A citing ∃E as our justification. We know that our last assumption introduced a new constant, and therefore we know that that constant did not appear in any earlier assumption, in the existential of which we are taking an instance, nor in A & ~A. Thus the ∃E step is legitimate and discharges the last assumption.

We continue this process repeating A & ~A on consecutive lines as often as necessary to shift the dependence back to the assumption on line 1. This gives us a derivation of A & ~A from the assumption on line 1.

We then add three more lines:

p. A &E p+1. ~A &E p+2. φ ~E (where φ is the un-negation of line 1)

Thus we have a derivation of the un-negation of line 1.

The Interpretation

We have shown that if we obtain a contradiction in the derivation process then we can prove the original sentence that interested us. We must now show that if we do not obtain a contradiction then we can find an interpretation that makes the original sentence false. To do so it will suffice to find an interpretation that makes our sentence on line 1 true.

Before giving the rigorous version of the construction of the interpretation I will try to present some of the ideas in a more concrete context. If we consider a sentence such as (Fa & ~Gb) v (~Fb & Hc) then we can observe several things. First, each disjunct is satisfiable iff no ion occurs both positively and negatively in it. It is obvious that a conjunction that includes a sentence and its negation cannot be satisfiable, but we can show that for a conjunction of ions that that is the only way in which it can fail to be satisfiable. For example, we can make Fa and ~Gb true by letting F be interpreted as the set of even numbers and G as the set of numbers divisible by ten, and by letting ‘a’ be assigned 2 and ‘b’ be assigned 7.

Of course several such sentences taken together produce different results. For example, as we saw above (Fa & ~Fb & ~Gc) v (Gb & ~Gc) is satisfiable as is (Fb & ~Fc & ~Gb) v (Gc & ~Gd), but the two together are not. The reason is that while each disjunct of the first sentence is self-consistent, it cannot be true simultaneously with either of the disjuncts of the second sentence. If we have a series of disjunctions then they are simultaneously satisfiable only if we can find a way of picking a disjunct from each one in such a way that all the chosen disjuncts can be true together.

This is relevant to the task at hand because we know that all of the non-quantified sentences in our derivation are in DNF and are thus disjunctions of conjunctions of ions. We are calling the quantifier-free part of the original sentence the matrix. It is usually not a sentence since it may have free variables. We will call the sentences that are obtained from the matrix by substitution in the process of constructing the derivation matrix instances. We will use the notation Mi,j for the disjuncts of the matrix instances; specifically the disjuncts of the first matrix instance will be M1,1 , M1,2 , … , M (^) 1,m. Thus the first matrix instance can be referred to as the disjunction of its disjuncts, i.e., as M (^) 1,1 v M (^) 1,2 v … v M (^) 1,m.

Consider now the set of all the matrix instances that appear in the derivation:

M (^) 1,1 v M (^) 1,2 v … v M (^) 1,m M (^) 2,1 v M (^) 2,2 v … v M (^) 2,m . . . M (^) n,1 v M (^) n,2 v … v M (^) n,m.

The matrices are jointly consistent iff there is a way of picking an Mi,j from each matrix instance so that the conjunction of those M (^) i,j contains no atomic sentence and its negation. In one direction this is easy to see—if there is no way of choosing a disjunct from each matrix instance that does not end up with an atomic sentence and its negation among the chosen sentences, then the set of instances is inconsistent.

To show that the totality of the instances are satisfiable when such a selection can be made without choosing a sentence and its negation will take some proving. In order to do this we will need to define the master matrix list M. We first choose (if there is more than one) a set of disjuncts M (^) i,j (including one from each Mi ) that does not contain any sentence and its negation. This will be a set of conjunctions of atomic sentences and negations of atomic sentences. Our master matrix list M simply consists of all these atomic sentences and negated atomic sentences. Note that since the Mi,j selections must be consistent no atomic sentence that appears unnegated also appears negated.

We list the constants that occur on M and let the domain consist of as many natural numbers as constants used. We assign to each constant that occurs on the list the natural number that indicates its place in the order, i.e., 0 to a, 1 to b, and so on. Any constants not occurring on M will be assigned 0. Note that this produces a census.

We conclude that every sentence in the derivation is true in our interpretation I, which is what was to be shown.

The Completeness Theorem : For any sentence of the language, if it is quantificationally true, then it is a theorem.