next up
Next: About this document Up: No Title



CMU 15-671Models of Software SystemsFall 1995
Sets, Relations, Functions; Proof Techniques
Garlan & Wing Homework 3 Due: 13 September 1995


Problem 1.

Chapter 5 of SEM: 5.1, 5.2, 5.4, 5.6, 5.9, 5.13

Problem 2.

Chapter 6 of SEM: 6.1, 6.2, 6.3, 6.11

Problem 3.

Simplify this expression using the One-Point Rule.

tex2html_wrap_inline92

Problem 4.

[GS, Chapter 4, Problem 4.10]

Prove Modus ponens, tex2html_wrap_inline94 , using equational reasoning. Hint: You should also use one of the proof techniques discussed in Handout 3.

Problem 5.

[GS, Chapter 4, Problem 4.13]

Let tex2html_wrap_inline96 be the minimum of integers x and y, defined by tex2html_wrap_inline96 = tex2html_wrap_inline104 . Prove that tex2html_wrap_inline106 is symmetric, i.e., tex2html_wrap_inline108 . Use an equational reasoning style of proof. How many cases do you have to consider? You may use the necessary rules of integer arithmetic, for example, that tex2html_wrap_inline110 and that tex2html_wrap_inline112 .





Norman Papernick
Tue Apr 2 11:38:41 EST 1996