858
Trick OR Treat (mander.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] xthexder@l.sw0.com 1 points 3 weeks ago* (last edited 3 weeks ago)

I had to double-take since in Python a common alternative to trick ? treat : notreat is (trick and treat) or notreat

But I don't think this translates to overlapping circles very well. "trick implies treat" is only defined inside the trick circle, outside is undefined if treat is true or not.

I'm not going to draw a diagram, but here's the "truth table" for A implies B:

A, B, A -> B
N, N, undefined
N, Y, undefined
Y, N, false
Y, Y, true
[-] nelly_man@lemmy.world 5 points 3 weeks ago

If A is false, A -> B is true regardless of what B is, so the two undefined terms in your truth table should be true.

So it is fairly easily translated into a shaded Venn Diagram. It's simply everything shaded aside from Trick only.

this post was submitted on 30 Oct 2024
858 points (99.3% liked)

Science Memes

11148 readers
2404 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS