"Dreadbury Mansion Mystery” example
Exercise: Encode the following text in English into First-order logic:
Someone who lives in Dreadbury Mansion killed Aunt Agatha. Agatha, the butler, and Charles live in Dreadbury 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.
Solution:
Let be a first-order signature. Then the above text can be formalized as follows:
Those formulas are represented as the input language of various tools (SPASS, Jahob system, Isabelle/HOL) in Tools demo