Non-trivial example of Quantifiers

  • Context: Graduate 
  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Example
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
Dragonfall
Messages
1,023
Reaction score
5
Can I have a non-trivial example of where [itex]\forall x P(x) \rightarrow \exists x P(x)[/itex] fails?
 
Physics news on Phys.org
No, because it is a true statement.
Assume that ##\forall x P(x)##. Let x_0 be arbitrary. Then ##P(x_0)##. ##\exists x P(x)##. QED.

The only way this can fail is if the universe of discourse is empty, in which case ##\forall x P(x)## is true and ##\exists x P(x)## is false, but I guess this is what you call the trivial case.
 
Dragonfall said:
Can I have a non-trivial example of where [itex]\forall x P(x) \rightarrow \exists x P(x)[/itex] fails?

I don't know much formal logic at all, but under any logic that matches my intuition, [itex]\forall x P(x) \rightarrow \exists x P(x)[/itex] would be true whenever [itex]\exists x[/itex] is true.
 
Then I'm very confused. I thought no-NP languages are decision problems of the form [itex]\forall x P(x)[/itex] and NP languages are [itex]\exists x P(x)[/itex].
 
Wait, I figured it out. Nevermind.