Academia.eduAcademia.edu

Mathematical Foundations of Computer Science

1975, Springer eBooks

Fall 2010 CIS 160 Mathematical Foundations of Computer Science Jean Gallier Homework 6 November 2, 2010; Due November 9, 2010 Beginning of class Problem 1. (a) Let X = {Xi | 1 ≤ i ≤ n} be a finite family of sets. Prove that if Xi+1 ⊆ Xi for all i, with 1 ≤ i ≤ n − 1, then \ X = Xn . Prove that if Xi ⊆ Xi+1 for all i, with 1 ≤ i ≤ n − 1, then [ X = Xn . (b) Recall that N+ = N − {0} = {1, 2, 3, . . . , n, . . .}. Give an example of an infinite family of sets, X = {Xi | i ∈ N+ }, such that 1. Xi+1 ⊆ Xi for all i ≥ 1; 2. Xi is infinite for every i ≥ 1; T 3. X has a single element. (c) Give an example of an infinite family of sets, X = {Xi | i ∈ N+ }, such that 1. Xi+1 ⊆ Xi for all i ≥ 1; 2. Xi is infinite for every i ≥ 1; T 3. X = ∅. Problem 2. Given any two sets, A, B, prove that for all a1 , a2 ∈ A and all b1 , b2 ∈ B, {{a1 }, {a1 , b1 }} = {{a2 }, {a2 , b2 }} iff a1 = a2 and b1 = b2 . 1 Problem 3. Let A and be B be any two sets of sets. (1) Prove that  [  [  [ B = (A ∪ B) A ∪ (2) Assume that A and B are nonempty. Prove that \  \  \ B = (A ∪ B) A ∩ (3) Assume that A and B are nonempty. Prove that [  [  [ B A ∩ (A ∩ B) ⊆ and give a counter-example of the inclusion [  [  [ A ∩ B ⊆ (A ∩ B). Hint. Reduce the above questions to the provability of certain formulae that you have already proved in a previous assignment (you need not reprove these formulae!). Problem 4. Let A be any nonempty set. Prove that the definition X = {a ∈ A | a ∈ / X} yields a “set”, X, such that X is empty iff X is nonempty and therefore does not define a set, after all. 2