CS 1050 B: Constructing Proofs - Homework 1 - Prof. Alexandra Boldyreva, Assignments of Computer Science

The first homework assignment for the cs 1050 b: constructing proofs course, due on january 22, 2009. It includes instructions to read the syllabus and do the assigned reading, as well as several problems that require writing the converse and contrapositive of statements, proving equivalences, expressing system specifications using predicates and logical connectives, determining the validity of arguments, and explaining why the negation of a statement is not the opposite of the intended meaning. The problems cover various concepts related to propositional logic and proof construction.

Typology: Assignments

Pre 2010

Uploaded on 08/04/2009

koofers-user-jaw
koofers-user-jaw 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 1050 B: Constructing Proofs January 15, 2009
Homework 1
Lecturer: Sasha Boldyreva Due: January 22, 2009
Assignment 1.01 Read the syllabus at the course’s web page. Do the assigned reading.
Assignment 1.02 Indicate how much time did you spend on this homework.
Problem 1.1, 9 points. Write the converse and contrapositive of each statement:
a) Alice sings if she feels like it.
b) If Pete is taller than Mike, then Bob can see Pete behind the gate.
c) Alex eats pancakes only if Ellen cooks them.
Problem 1.2, 4 points. Prove that the proposition “the theorem has a proof” is
equivalent to “if the theorem does not have a proof then it has it” .
Problem 1.3, 12 points. Express each of these system specifications using predicates
(that you define), quantifiers and logical connectives.
a) When there is less than 30 megabytes free on the hard disk, a warning message is
sent to all users.
b) No directories in the file system can be opened and no files can be closed when system
errors have been detected.
c) The file system cannot be backed up if there is a user currently logged in.
d) Video on demand can be delivered when there are at least 8 megabytes of memory
available and the connection speed is at least 56 kilobits per second.
Problem 1.4, 5 points. Determine whether the following argument is valid. Name
the rule of inference or explain the fallacy.
Theorem: If nis a real number such that n > 1, then n2>1. Proof: Suppose that
n2>1. Then n > 1.
Problem 1.5, 4 points. Explain why the negation of “Alice and Bob are good stu-
dents” is not “Alice and Bob are bad students”.
Problem 1.6, 4 points. Give a proof by cases of the following.
All months have English names consisting of at least 3 letters.
pf2

Partial preview of the text

Download CS 1050 B: Constructing Proofs - Homework 1 - Prof. Alexandra Boldyreva and more Assignments Computer Science in PDF only on Docsity!

CS 1050 B: Constructing Proofs January 15, 2009

Homework 1

Lecturer: Sasha Boldyreva Due: January 22, 2009 Assignment 1.01 Read the syllabus at the course’s web page. Do the assigned reading. Assignment 1.02 Indicate how much time did you spend on this homework. Problem 1.1, 9 points. Write the converse and contrapositive of each statement: a) Alice sings if she feels like it. b) If Pete is taller than Mike, then Bob can see Pete behind the gate. c) Alex eats pancakes only if Ellen cooks them.

equivalent to “if the theorem does not have a proof then it has it”.^ Problem 1.2, 4 points.^ Prove that the proposition “the theorem has a proof” is Problem 1.3, 12 points. Express each of these system specifications using predicates (that you define), quantifiers and logical connectives.

sent to all users.a) When there is less than 30 megabytes free on the hard disk, a warning message is

errors have been detected.b) No directories in the file system can be opened and no files can be closed when system c) The file system cannot be backed up if there is a user currently logged in. d) Video on demand can be delivered when there are at least 8 megabytes of memory available and the connection speed is at least 56 kilobits per second.

the rule of inference or explain the fallacy.^ Problem 1.4, 5 points.^ Determine whether the following argument is valid.^ Name Theorem: If n is a real number such that n > 1, then n^2 > 1. Proof: Suppose that n^2 > 1. Then n > 1.

dents” is not “Alice and Bob are bad students”.^ Problem 1.5, 4 points.^ Explain why the negation of “Alice and Bob are good stu- Problem 1.6, 4 points. Give a proof by cases of the following. All months have English names consisting of at least 3 letters.

Problem 1.7, 8 points. In the questions below suppose the variables x and y represent real numbers, andusing these predicates and any needed quantifiers. E(x) : x is even, G(x) : x > 0, I(x) : x is an integer. Write the statement (a) Some real numbers are not positive. (b) No even integers are odd.