Newsgroups: comp.lang.haskell
From: bmlus...@plg1.cs.uwaterloo.ca (Brad Lushman)
Date: Thu, 15 Nov 2007 22:05:07 +0000 (UTC)
Local: Thurs, Nov 15 2007 5:05 pm
Subject: Further clarification on formality requirements for A5
The purpose of this post is to give you an example of what would constitute
an acceptable proof for question 2 of the assignment. Suppose the question asked you to show that \forall x\forall y\forall z ((x + y) * z = (x * z) + (y * z)) First of all, you are allowed to shorten this to a proof of simply (x + y) * z = (x * z) + (y * z) thereby eliminating three proof boxes. Now, say you choose to do this proof by induction on y. Then your proof ... +-----------------------------------------------------------------+ For the bonus marks associated with a formal solution, you must handle the To make use of an axiom: Say you want to use P5 to show that x + ((y + y) + 1) = (x + (y + y)) + 1 Formally, you must do the following: 15. forall m(m + ((y + y) + 1) = (m + (y + y)) + 1) \forall-e P5 Informally, we will allow simply 15. x + ((y + y) + 1) = (x + (y + y)) + 1 P5 The same guidelines apply for making use of previously-proved results. Finally, I will allow you to make use of symmetry and transitivity for 15. a = b (---some justification---) 8. a = b (---some justification---) You may do this in both formal and informal contexts. This is as much to In summary, you are allowed to make the simplifications outlined above to * explicitly introduce and eliminate all quantifiers. Be sure, if you do this, that you do it carefully, or you risk losing marks on Brad You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||