Set A is NP-complete if both of the following hold.

  1. A ∈ NP.
  2. For every X ∈ NP,  Xp A.