Logic Puzzle with Poison Pill
dev.to·1d·
Discuss: DEV
🧩Constraint Solvers
Preview
Report Post

This is continuation of what I discovered and shared in a former article (SLMs, LLMs and a Devious Logic Puzzle). It reveals something very crucial to know when working with slms and llms - whether they lean toward being helpful (solvers) and / or whether they lean toward sound logic and correctness (judges).


Here is a compact logic puzzle with an embedded contradiction. It is written to look routine and solvable, but a careful reader or model should conclude that it cannot be solved as stated.

Three people — Alice, Bob, and Carol — each own exactly one gemstone: a diamond, a ruby, or an emerald. Each gemstone is kept in a box, and each box is a different color: red, blue, or green. Every person owns exactly one gemstone and exactly one box.

The following statements ar…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help