benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-5x5-4 / There are 5 houses, numbered 1 to 5 from left to right, as seen from across the…

Problem

puzzle

There are 5 houses, numbered 1 to 5 from left to right, as seen from across the street. Each house is occupied by a different person. Each house has a unique attribute for each of the following characteristics:
 - Each person has a unique name: `Peter`, `Bob`, `Arnold`, `Alice`, `Eric`
 - Each person has an occupation: `lawyer`, `teacher`, `artist`, `engineer`, `doctor`
 - Each person lives in a unique style of house: `victorian`, `craftsman`, `modern`, `ranch`, `colonial`
 - People have unique hair colors: `blonde`, `gray`, `red`, `brown`, `black`
 - People have unique favorite book genres: `romance`, `biography`, `science fiction`, `mystery`, `fantasy`

## Clues:
1. Alice is not in the fifth house.
2. Peter is not in the second house.
3. Peter is directly left of Eric.
4. The person living in a colonial-style house is somewhere to the left of the person who loves fantasy books.
5. Arnold is the person who is a doctor.
6. The person who has gray hair is the person who loves fantasy books.
7. The person who loves science fiction books is not in the fifth house.
8. Peter is the person who has red hair.
9. The person who loves romance books is the person who has black hair.
10. Eric is the person who has black hair.
11. The person who is a doctor is somewhere to the right of Peter.
12. The person who has blonde hair is the person who is a teacher.
13. Peter is the person who loves mystery books.
14. The person who is a lawyer is Eric.
15. The person living in a colonial-style house is the person who is an engineer.
16. The person residing in a Victorian house is the person who loves mystery books.
17. The person who is a teacher is not in the fourth house.
18. The person who is an artist is somewhere to the left of the person in a modern-style house.
19. The person who is a teacher is not in the third house.
20. The person in a ranch-style home is directly left of the person in a Craftsman-style house.

size

5*5

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Why there is no answer to show Answer withheld by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import