3 Replies - 2036 Views - Last Post: 23 February 2012 - 07:28 PM

#1 darek9576   User is offline

  • D.I.C Lover

Reputation: 204
  • View blog
  • Posts: 1,747
  • Joined: 13-March 10

Proving a problem is NP.

Posted 23 February 2012 - 04:30 PM

I have to prove that graph homomorphism between any undirected graph G and complete graph K3 is in NP.

However, this problem is exactly the same as 3 - colourability problem. So my question is: if i show that 3-colourability is in NP, do i show my original case?

Thanks for answers.
Is This A Good Question/Topic? 0
  • +

Replies To: Proving a problem is NP.

#2 mostyfriedman   User is offline

  • The Algorithmi
  • member icon

Reputation: 729
  • View blog
  • Posts: 4,473
  • Joined: 24-October 08

Re: Proving a problem is NP.

Posted 23 February 2012 - 05:25 PM

well if you prove that the 2 problems are equivalent and that one of them is in NP, then you're good. But you have to prove they are equivalent first.
Was This Post Helpful? 1
  • +
  • -

#3 Nikitin   User is offline

  • D.I.C Regular

Reputation: 56
  • View blog
  • Posts: 264
  • Joined: 02-August 10

Re: Proving a problem is NP.

Posted 23 February 2012 - 07:06 PM

How are these two problems equivalent?

Also, that homomorphism problem is solvable in constant time, so of course it's in NP as well.

Nevermind, I have mistaken "homomorphism" for "isomorphism". It's not constant of course. Easy to prove it's NP using verifiers. Still don't see how it's equivalent to 3-colorability though.

This post has been edited by Nikitin: 23 February 2012 - 07:13 PM

Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon




Reputation: 12800
  • View blog
  • Posts: 45,992
  • Joined: 27-December 08

Re: Proving a problem is NP.

Posted 23 February 2012 - 07:28 PM

I'm going to move this to Computer Science. I know I've moved similar topics of yours to CS before. Please post in the appropriate section. Thanks!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1