[Math] How to provide a counterexample for this predicate logic problem

discrete mathematicsexamples-counterexamplespredicate-logic

I'm honesty still unsure of what a counterexample even is, and what I've found on isn't helping me much in the way of understanding. I'm hoping to get pointed in a correct direction.

Predicates L(x) (lion), A(x) (animal), M(x) (mortal). Give a counterexample to show that the following is not a valid logical implication.

“All lions are animals. All lions are mortal. Therefore all animals are mortal.”

I think I've formalized this correctly as…

∀x(lion(x) → animal(x))

∀x(lion(x) → mortal(x))

Therefore…

∀x(animal(x) → mortal(x))

But I'm unsure as to how to begin with providing a counterexample.

Best Answer

Imagine there is an imortal porpoise. This doesn't violate any of the two hypotheses. It's an animal, but is not a lion so it doesn't need to be mortal.

(Don't cross the state lion with gulls for immortal porpoises.)

Related Question