Discussion Board
Go to the previous messageGo to the following message
Current Forum: 15-211 Main Forum
Date: Mon Sep 24 2001 1:49 pm
Author: Lee, Peter <petel@cmu.edu>
Subject: Re: loop invariant(LI)

I think this is a valid point. While the actual definition of a loop invariant is that it is a predicate that is true upon entry, upon each iteration, and upon exit, the lecture notes do indeed emphasize that the true usefulness of a loop invariant is in its ability to help prove the postcondition.

We'll figure out a way to make adjustments some time later this week. Thanks for pointing this out!
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
loop invariant(LI)      Shi, Ying      Mon Sep 24 2001 1:09 pm       
Re: loop invariant(LI)      Lee, Peter      Mon Sep 24 2001 1:49 pm       
Re: loop invariant(LI)      Lee, Charles C.      Mon Sep 24 2001 10:49 pm       
Re: loop invariant(LI)      Lee, Peter      Tue Sep 25 2001 12:02 am       

Back to previous screen