Problem #PRU-115374

Problems Discrete Mathematics Set theory and logic Mathematical logic Mathematical logic (other)

Problem

In Neverland, only elves and gnomes live. Gnomes lie about their gold, but in any other instances they tell the truth. Elves lie when talking about gnomes, but in other instances they tell the truth. One day two neverlandians said:

\(A\): All my gold I stole from the Dragon.

\(B\): You’re lying.

Determine whether each of them is an elf or a gnome.