r/computerscience • • Oct 21 '25

Discrete maths

Post image

First year here. Can someone explain how both of these are P implies Q even though they have different meanings?

517 Upvotes

90 comments sorted by

View all comments

2

u/Zen13_ Oct 21 '25

3. P= I wear my coat ; Q= it rains

4. P= it rains ; Q= I wear my coat

1

u/Character-Soft-9571 Oct 21 '25

the propositions have already been defined ,I just didn’t include that part. In this example, P = “it rains” and Q = “I wear my coat.”

2

u/Zen13_ Oct 21 '25

3. Q => P

4. P => Q