|
PENG Processable ENGlish |
|
Example Specification
Dreadsbury Mansion Mystery in English
[J. F. Pelletier, Seventy-Five Problems for Testing Automatic Theorem Provers, Journal of Automated Reasoning 2(2), pp. 191-216, 1986]
- Someone who lives in Dreadsbury Mansion killed Aunt Agatha.
- Agatha, the butler, and Charles live in Dreadsbury Mansion, and are the only people who live therein.
- A killer always hates his victim, and is never richer than his victim.
- Charles hates no one that Aunt Agatha hates.
- Agatha hates everyone except the butler.
- The butler hates everyone not richer than Aunt Agatha.
- The butler hates everyone Aunt Agatha hates.
- No one hates everyone.
- Agatha is not the butler.
Therefore: Agatha killed herself.Dreadsbury Mansion Mystery in PENG
- A person who lives in Dreadsbury Mansion kills Agatha.
- Agatha lives in Dreadsbury Mansion.
- The butler lives in Dreadsbury Mansion.
- Charles lives in Dreadsbury Mansion.
- If a person lives in Dreadsbury Mansion then the person is Agatha or is the butler or is Charles.
- If a person X kills a person Y then the person X hates the person Y.
- If a person X kills a person Y then the person X is not richer than the person Y.
- If Agatha hates a person then Charles does not hate the person.
- If a person is not the butler then Agatha hates the person.
- If a person is not richer than Agatha then the butler hates the person.
- If Agatha hates a person then the butler hates the person.
- No person hates every person.
- Agatha is not the butler.
Who kills Agatha?
Does the butler kill Agatha?
Does Agatha kill Agatha?
[Back]
© Rolf Schwitter, Macquarie University, Australia
Last modified: 28th February 2007