 12:08 AM
i looked into the truth table stuff and i dont really get it
like for p->q, i get why p=1 and q=1 return 1 and p=q=0 return 1 but how come p=1 q=0 return 1 while p=0 q=1 return 0???
oh oops i meant p=1 q=0 return 0 and p=0 q=1 return 1
still confused tho So, `->` is usually called "if" or "implies" but it's not quite the same as in English
I learned about it by thinking about it as if you're making a promise. "If you get an A, I will give you a cookie"
Here, P=you get an A, Q=I give you a cookie
So if you get an A and I don't give you a cookie, the promise was broken. Hence, with p=1, q=0, p->q=0
If you don't get an A but I give you a cookie anyway, the promise was not broken even though that's bad parenting or something. Hence, with p=0, p->q=1 (no matter what the value of q is)
`p->q` is equivalent to `(NOT p) OR Q`
@user (pretend the promise here is being made by a parent to their child. That's the example my teacher gave us) 12:51 AM
@AidenChow forgot to ping 1:15 AM
@user ok thats weird but ig it makes sense lol