• No results found

Conncections Between Set Theory and Logic

N/A
N/A
Protected

Academic year: 2022

Share "Conncections Between Set Theory and Logic"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

Conncections Between Set Theory and Logic

S. F. Ellermeyer February 28, 2014

Suppose that  is a non—empty set and suppose that { ()}∈ is a family of statements with domain . Then for each  ∈ , the statement

 () is either true or false (and not both). We will define  to be the set of all values of  ∈  for which  () is true. Thus

 ={ ∈  |  () is true} .

This means that the complement of  (with  regarded as the universal set) is

 ={ ∈  |  () is false} .

For example, suppose we let  = {1 2 3 4 5} and for each  ∈  let

 () : 2− 2  10.

Then  (1),  (2) and  (3) are true and  (4) and  (5) are false. Thus

 = {1 2 3} and  = {4 5}. This is illustrated in the Venn diagram below.

(2)

1 Disjunctions and Conjunctions

If { ()}∈ and { ()}∈ are two families of statements with domain , then for each  ∈  we can form the compound statements  () ∨  (),

 ()∧ (),  () =⇒  () and many other more complicated compound statements. Let us see how we can view such statements in terms of sets.

First consider the disjunction

 ()∨  () :  () is true or  () is true.

With our convention that

 ={ ∈  |  () is true}

and

 ={ ∈  |  () is true} , we see that

∪ = { ∈  |  () is true or  () is true} = { ∈  |  () ∨  () is true} 

(3)

Likewise we see that for the conjunction

 ()∧  () :  () is true and  () is true, we have

 ∩  = { ∈  |  () ∧  () is true} .

As an example, suppose that  = {1 2 3 4 5} and suppose that

 () : 2− 2  10

 () : (− 3) ( − 5) = 0.

In this case we have

 = { ∈  |  () is true} = {1 2 3}

 ={ ∈  |  () is true} = {3 5}

 = { ∈  | ˜ () is true} = {4 5}

 ={ ∈  | ˜ () is true} = {1 2 4}

 ∪  = { ∈  |  () ∨  () is true} = {1 2 3 5}

 ∩  = { ∈  |  () ∧  () is true} = {3} . This example is illustrated in the Venn diagram below.

(4)

2 Implications

If { ()}∈ and { ()}∈ are two families of statements with domain

, then for each  ∈ , the implication  () =⇒  () is false only for those values of  for which  () is true and  () is false. Otherwise

 () =⇒  () is true. We thus see that

{ ∈  |  () =⇒  () is false} = { ∈  |  () is true and  () is false}

={ ∈  |  () is true and ˜ () is true}

=  ∩ .

This means that

{ ∈  |  () =⇒  () is true} =  ∩ .

By one of the DeMorgan Laws,

 ∩  =  ∪  =  ∪ .

Therefore

 ∪  = { ∈  |  () =⇒  () is true} .

As an example, suppose that  = {1 2 3 4 5} and suppose that

 () : 2− 2  10

 () : (− 3) ( − 5) = 0.

In this case we have

 = { ∈  |  () is true} = {1 2 3}

 ={ ∈  |  () is true} = {3 5}

 = { ∈  | ˜ () is true} = {4 5}

 ∪  = { ∈  |  () =⇒  () is true} = {3 4 5} .

In the Venn diagram below, the shaded set is { ∈  |  () =⇒  () is true}.

(5)

3 Quantified Statements

Suppose now that { ()}∈ and { ()}∈ are two families of statements with domain  and let us see how we can study quantified statements con- cerning { ()}∈ and { ()}∈ in terms of the associated sets as defined above.

First let us consider the quantified statement

∀ ∈ ,  () is true.

Since  = { ∈  |  () is true}, then we could simply write the above statement (in terms of sets) as

 = .

Next consider the statement

∃  ∈  such that  () is true.

This statement says that  () must be true for at least one value of  ∈ .

Therefore we could write this statement (in terms of sets) as

 6= ∅.

(6)

As another example, consider the statement

@  ∈  such that both  () and  () are true.

This statement can be written as

 ∩  = ∅.

Next consider the statement

∀ ∈ ,  () ∧  () is false.

This is equivalent to the statement given in the previous example and thus can also be written as

 ∩  = ∅.

We conclude with a couple of interesting examples that show how to use this “set approach” to logic to answer questions of the type given in the homework problems in Section 2.10 of the textbook with which we struggled somewhat to understand.

Example 1 Does the fact that

 ()∧  () is false for all  ∈  imply that

(˜ ()) =⇒  () is false for some  ∈ ?

We will reformulate this question in terms of sets. The statement

 ()∧  () is false for all  ∈  can be written as

 ∩  = ∅.

Now, recalling that

 ∪  = { ∈  |  () =⇒  () is true} , we see that

 ∪  = { ∈  | (˜ ()) =⇒  () is true} .

(7)

Thus the statement

(˜ ()) =⇒  () is false for some  ∈  can be written as

 ∪  6= ∅.

Overall, we now see that the question that is being asked in this example is that if the fact that  ∩  = ∅ implies that  ∪  6= ∅. We can see that the answer is no by drawing a simple Venn diagram in which  ∩  = ∅ is true but  ∪  6= ∅ is false. Such a Venn diagram is shown below.

A specific example that goes along with the above diagram (in terms of logic) is: Let  = {1 2 3} and let

 () :  = 1

 () : (− 2) ( − 3) = 0.

Then the statement

 ()∧  () :  = 1 and ( − 2) ( − 3) = 0

(8)

is indeed false for all  ∈  but the statement

(˜ ()) =⇒  () :  6= 1 =⇒ ( − 2) ( − 3) = 0 is true for all  ∈ .

Example 2 Does the fact that

 ()∨  () is false for some  ∈  imply that

(˜ ()) =⇒  () is false for some  ∈ ?

Reformulating the question in terms of sets, we see that the statement

 ()∨  () is false for some  ∈  can be written as

 ∪  6= ∅ and the statement

(˜ ()) =⇒  () is false for some  ∈  can in fact also be written as

 ∪  6= ∅.

Thus the fact that

 ()∨  () is false for some  ∈  does imply that

(˜ ()) =⇒  () is false for some  ∈ .

(In fact these two statements are logically equivalent: Each implies the other.)

References

Related documents

We make the following observations from Table 1: 1) For the selection operation, some plans do not need decompression (e.g., plan A, B, and D), some with partial decompression

Any logic function that is within the capacity of the programmable device can be implemented by fixing a set of values, as illustrated in the next example. EXAMPLE 3-4

Use sets and the set difference operation to represent the search for “peanut AND NOT butter.” Draw a Venn diagram that illustrates this situatione. Use sets and the set

A small of Venn diagram examples and formula explanation Examples of 2 and 3 sets Venn diagrams simple 4 circles diagrams compare and contrast diagram... But writing an

Definition: A compound proposition is a tautology if it is always true regardless of the truth values of its component propositions.. If, on the other hand, a compound proposition

Find venn diagrams of our latex codes text if you will see our mission is iiii instead, venn diagram latex plantations in multimedia presentations?. Math in latex code from a

7 I can fill in more complex Venn Diagrams where multiple pieces of information must be inferred, including with more than 2 sets and use this to calculate

In venn diagram worksheet students we worked on a free printables is such a cute and buns and custom generated worksheets and more ideas for.. For children at any worksheets in