Original Post
I started university today, and I'm already having trouble with some math stuff. I'm used to an if statement working like it does in most programming languages: but using "Symbolic Logic" I think it's called, the meaning changes:
if(1)
// do something
Quote:That is a quote out of one of my lectures. This doesn't make sense to me... to me, if the first condition is false, the whole statement should be considered false. Can anyone explain this in a way that's easier to understand? Thanks.
If I win lotto, I'll give you $500. Define: L: I win lotto, G: I give you $500 So my promise becomes: L -> G Now suppose I do win and I give you $500. I have kept my promise. Suppose I don't win and don't give you $500. I haven't broken my promise. Suppose I don't win, and I give you $500. Lucky you! But it still does not contradict my promise, because I did not say what I would do if I didn't win. My promise is broken only if I win and I don't give you $500. L G promise ----------- 0 0 kept 0 1 kept 1 0 broken 1 1 kept