Is this possible when it comes to the relations of P, NP, NP-Hard and NP-Complete?If P = NP, why does P = NP = NP-Complete?Proving NP-Completeness by reductionIs this simple problem NP-complete?Decisional problems vs Optimization problems : NP-COMPLETE vs NP-HARDIs an NP-hard problem which is in NP is NP-complete?What is meant by problems not in NP but in NP hard?Proof that AND-OR graph decision problem is NP-hardIs this language NP Hard?“Fuzzy” Chinese Remainder Theorem NP-hard?Is this reduction from 3D-MATCHING to PATH SELECTION invalid?NP-Hard on Complete Graphs

Binary Search in C++17

What are the real benefits of using Salesforce DX?

Employer demanding to see degree after poor code review

Which is the common name of Mind Flayers?

Adding spaces to string based on list

Is the field of q-series 'dead'?

Image processing: Removal of two spots in fundus images

What is the object moving across the ceiling in this stock footage?

Why did David Cameron offer a referendum on the European Union?

the meaning of 'carry' in a novel

Would jet fuel for an F-16 or F-35 be producible during WW2?

Does the unit of measure matter when you are solving for the diameter of a circumference?

Compactness of finite sets

Why does Mjolnir fall down in Age of Ultron but not in Endgame?

How to use Palladio font in text body but Computer Modern for Equations?

Writing with dry erase marker on Shabbos, is it permitted?

Should breaking down something like a door be adjudicated as an attempt to beat its AC and HP, or as an ability check against a set DC?

Are these reasonable traits for someone with autism?

Is the Indo-European language family made up?

Where have Brexit voters gone?

What is the largest (size) solid object ever dropped from an airplane to impact the ground in freefall?

Defining the standard model of PA so that a space alien could understand

Crossing US border with music files I'm legally allowed to possess

Is CD audio quality good enough?



Is this possible when it comes to the relations of P, NP, NP-Hard and NP-Complete?


If P = NP, why does P = NP = NP-Complete?Proving NP-Completeness by reductionIs this simple problem NP-complete?Decisional problems vs Optimization problems : NP-COMPLETE vs NP-HARDIs an NP-hard problem which is in NP is NP-complete?What is meant by problems not in NP but in NP hard?Proof that AND-OR graph decision problem is NP-hardIs this language NP Hard?“Fuzzy” Chinese Remainder Theorem NP-hard?Is this reduction from 3D-MATCHING to PATH SELECTION invalid?NP-Hard on Complete Graphs













7












$begingroup$


I saw an image that describes the relations of P, NP, NP-Hard and NP-Complete which look like this :



https://en.wikipedia.org/wiki/NP-hardness#/media/File:P_np_np-complete_np-hard.svg



enter image description here



I wonder if the following is possible ? Which means, P = NP, but not all of them are in NP-Hard :



enter image description here



Edit : I want to add this : I'm not here to say if the original image is wrong or right, I'm just here to ask a question if my image contains a possible situation. In other words, is it correct to assume that all 3 images are possible ?










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    Possible duplicate of If P = NP, why does P = NP = NP-Complete?
    $endgroup$
    – Jules Lamur
    May 14 at 0:20















7












$begingroup$


I saw an image that describes the relations of P, NP, NP-Hard and NP-Complete which look like this :



https://en.wikipedia.org/wiki/NP-hardness#/media/File:P_np_np-complete_np-hard.svg



enter image description here



I wonder if the following is possible ? Which means, P = NP, but not all of them are in NP-Hard :



enter image description here



Edit : I want to add this : I'm not here to say if the original image is wrong or right, I'm just here to ask a question if my image contains a possible situation. In other words, is it correct to assume that all 3 images are possible ?










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    Possible duplicate of If P = NP, why does P = NP = NP-Complete?
    $endgroup$
    – Jules Lamur
    May 14 at 0:20













7












7








7


2



$begingroup$


I saw an image that describes the relations of P, NP, NP-Hard and NP-Complete which look like this :



https://en.wikipedia.org/wiki/NP-hardness#/media/File:P_np_np-complete_np-hard.svg



enter image description here



I wonder if the following is possible ? Which means, P = NP, but not all of them are in NP-Hard :



enter image description here



Edit : I want to add this : I'm not here to say if the original image is wrong or right, I'm just here to ask a question if my image contains a possible situation. In other words, is it correct to assume that all 3 images are possible ?










share|cite|improve this question











$endgroup$




I saw an image that describes the relations of P, NP, NP-Hard and NP-Complete which look like this :



https://en.wikipedia.org/wiki/NP-hardness#/media/File:P_np_np-complete_np-hard.svg



enter image description here



I wonder if the following is possible ? Which means, P = NP, but not all of them are in NP-Hard :



enter image description here



Edit : I want to add this : I'm not here to say if the original image is wrong or right, I'm just here to ask a question if my image contains a possible situation. In other words, is it correct to assume that all 3 images are possible ?







np-complete np-hard np






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 13 at 19:08







Frank

















asked May 13 at 17:19









FrankFrank

1364




1364







  • 2




    $begingroup$
    Possible duplicate of If P = NP, why does P = NP = NP-Complete?
    $endgroup$
    – Jules Lamur
    May 14 at 0:20












  • 2




    $begingroup$
    Possible duplicate of If P = NP, why does P = NP = NP-Complete?
    $endgroup$
    – Jules Lamur
    May 14 at 0:20







2




2




$begingroup$
Possible duplicate of If P = NP, why does P = NP = NP-Complete?
$endgroup$
– Jules Lamur
May 14 at 0:20




$begingroup$
Possible duplicate of If P = NP, why does P = NP = NP-Complete?
$endgroup$
– Jules Lamur
May 14 at 0:20










1 Answer
1






active

oldest

votes


















12












$begingroup$

Actually, your version is correct and Wikipedia's is wrong! (Except that it has a tiny disclaimer at the bottom.)



If $mathrmP=mathrmNP$, Wikipedia claims that every problem in $mathrmP$ is $mathrmNP$-complete. However, this is not true: in fact, every problem in $mathrmP$ would be $mathrmNP$-complete, except for the trivial languages $emptyset$ and $Sigma^*$.



You can't many-one reduce any nonempty language $L$ to $emptyset$, because a many-one reduction must map "yes" instances of $L$ to "yes" instances of $emptyset$, but $emptyset$ has no "yes" instances. Similarly, you can't reduce to $Sigma^*$ because there's nothing to map the "no" instances to. However, if $mathrmP=mathrmNP$, then every other language in $mathrmP$ is $mathrmNP$-complete, since you can solve the language in the reduction.



So, just to make it explicit:



  • your diagram is correct;

  • Wikipedia's isn't (unless you read the tiny disclaimer);

  • the area you've labelled "$mathrmP$, $mathrmNP$" contains the two languages $emptyset$ and $Sigma^*$, and nothing else;

  • the area you've labelled "$mathrmP$, $mathrmNP$-complete" contains every other language in $mathrmP$ and nothing else.





share|cite|improve this answer









$endgroup$








  • 7




    $begingroup$
    "Actually, your version is correct and Wikipedia's is wrong!" It looks like that is a harsh judgement on Wikipedia's image with attached explanation while lenient on asker's image. The area labelled "P, NP" should be the full circle just as the area labelled "NP-hard" should mean the full parabolic area. The label "P, NP-complete" should better be "NP-complete".
    $endgroup$
    – Apass.Jack
    May 13 at 18:46







  • 13




    $begingroup$
    It would be great if you can include a completely correct image that is least susceptible to wrong understanding.
    $endgroup$
    – Apass.Jack
    May 13 at 18:47












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "419"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f109308%2fis-this-possible-when-it-comes-to-the-relations-of-p-np-np-hard-and-np-complet%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









12












$begingroup$

Actually, your version is correct and Wikipedia's is wrong! (Except that it has a tiny disclaimer at the bottom.)



If $mathrmP=mathrmNP$, Wikipedia claims that every problem in $mathrmP$ is $mathrmNP$-complete. However, this is not true: in fact, every problem in $mathrmP$ would be $mathrmNP$-complete, except for the trivial languages $emptyset$ and $Sigma^*$.



You can't many-one reduce any nonempty language $L$ to $emptyset$, because a many-one reduction must map "yes" instances of $L$ to "yes" instances of $emptyset$, but $emptyset$ has no "yes" instances. Similarly, you can't reduce to $Sigma^*$ because there's nothing to map the "no" instances to. However, if $mathrmP=mathrmNP$, then every other language in $mathrmP$ is $mathrmNP$-complete, since you can solve the language in the reduction.



So, just to make it explicit:



  • your diagram is correct;

  • Wikipedia's isn't (unless you read the tiny disclaimer);

  • the area you've labelled "$mathrmP$, $mathrmNP$" contains the two languages $emptyset$ and $Sigma^*$, and nothing else;

  • the area you've labelled "$mathrmP$, $mathrmNP$-complete" contains every other language in $mathrmP$ and nothing else.





share|cite|improve this answer









$endgroup$








  • 7




    $begingroup$
    "Actually, your version is correct and Wikipedia's is wrong!" It looks like that is a harsh judgement on Wikipedia's image with attached explanation while lenient on asker's image. The area labelled "P, NP" should be the full circle just as the area labelled "NP-hard" should mean the full parabolic area. The label "P, NP-complete" should better be "NP-complete".
    $endgroup$
    – Apass.Jack
    May 13 at 18:46







  • 13




    $begingroup$
    It would be great if you can include a completely correct image that is least susceptible to wrong understanding.
    $endgroup$
    – Apass.Jack
    May 13 at 18:47
















12












$begingroup$

Actually, your version is correct and Wikipedia's is wrong! (Except that it has a tiny disclaimer at the bottom.)



If $mathrmP=mathrmNP$, Wikipedia claims that every problem in $mathrmP$ is $mathrmNP$-complete. However, this is not true: in fact, every problem in $mathrmP$ would be $mathrmNP$-complete, except for the trivial languages $emptyset$ and $Sigma^*$.



You can't many-one reduce any nonempty language $L$ to $emptyset$, because a many-one reduction must map "yes" instances of $L$ to "yes" instances of $emptyset$, but $emptyset$ has no "yes" instances. Similarly, you can't reduce to $Sigma^*$ because there's nothing to map the "no" instances to. However, if $mathrmP=mathrmNP$, then every other language in $mathrmP$ is $mathrmNP$-complete, since you can solve the language in the reduction.



So, just to make it explicit:



  • your diagram is correct;

  • Wikipedia's isn't (unless you read the tiny disclaimer);

  • the area you've labelled "$mathrmP$, $mathrmNP$" contains the two languages $emptyset$ and $Sigma^*$, and nothing else;

  • the area you've labelled "$mathrmP$, $mathrmNP$-complete" contains every other language in $mathrmP$ and nothing else.





share|cite|improve this answer









$endgroup$








  • 7




    $begingroup$
    "Actually, your version is correct and Wikipedia's is wrong!" It looks like that is a harsh judgement on Wikipedia's image with attached explanation while lenient on asker's image. The area labelled "P, NP" should be the full circle just as the area labelled "NP-hard" should mean the full parabolic area. The label "P, NP-complete" should better be "NP-complete".
    $endgroup$
    – Apass.Jack
    May 13 at 18:46







  • 13




    $begingroup$
    It would be great if you can include a completely correct image that is least susceptible to wrong understanding.
    $endgroup$
    – Apass.Jack
    May 13 at 18:47














12












12








12





$begingroup$

Actually, your version is correct and Wikipedia's is wrong! (Except that it has a tiny disclaimer at the bottom.)



If $mathrmP=mathrmNP$, Wikipedia claims that every problem in $mathrmP$ is $mathrmNP$-complete. However, this is not true: in fact, every problem in $mathrmP$ would be $mathrmNP$-complete, except for the trivial languages $emptyset$ and $Sigma^*$.



You can't many-one reduce any nonempty language $L$ to $emptyset$, because a many-one reduction must map "yes" instances of $L$ to "yes" instances of $emptyset$, but $emptyset$ has no "yes" instances. Similarly, you can't reduce to $Sigma^*$ because there's nothing to map the "no" instances to. However, if $mathrmP=mathrmNP$, then every other language in $mathrmP$ is $mathrmNP$-complete, since you can solve the language in the reduction.



So, just to make it explicit:



  • your diagram is correct;

  • Wikipedia's isn't (unless you read the tiny disclaimer);

  • the area you've labelled "$mathrmP$, $mathrmNP$" contains the two languages $emptyset$ and $Sigma^*$, and nothing else;

  • the area you've labelled "$mathrmP$, $mathrmNP$-complete" contains every other language in $mathrmP$ and nothing else.





share|cite|improve this answer









$endgroup$



Actually, your version is correct and Wikipedia's is wrong! (Except that it has a tiny disclaimer at the bottom.)



If $mathrmP=mathrmNP$, Wikipedia claims that every problem in $mathrmP$ is $mathrmNP$-complete. However, this is not true: in fact, every problem in $mathrmP$ would be $mathrmNP$-complete, except for the trivial languages $emptyset$ and $Sigma^*$.



You can't many-one reduce any nonempty language $L$ to $emptyset$, because a many-one reduction must map "yes" instances of $L$ to "yes" instances of $emptyset$, but $emptyset$ has no "yes" instances. Similarly, you can't reduce to $Sigma^*$ because there's nothing to map the "no" instances to. However, if $mathrmP=mathrmNP$, then every other language in $mathrmP$ is $mathrmNP$-complete, since you can solve the language in the reduction.



So, just to make it explicit:



  • your diagram is correct;

  • Wikipedia's isn't (unless you read the tiny disclaimer);

  • the area you've labelled "$mathrmP$, $mathrmNP$" contains the two languages $emptyset$ and $Sigma^*$, and nothing else;

  • the area you've labelled "$mathrmP$, $mathrmNP$-complete" contains every other language in $mathrmP$ and nothing else.






share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered May 13 at 17:55









David RicherbyDavid Richerby

72.1k16111201




72.1k16111201







  • 7




    $begingroup$
    "Actually, your version is correct and Wikipedia's is wrong!" It looks like that is a harsh judgement on Wikipedia's image with attached explanation while lenient on asker's image. The area labelled "P, NP" should be the full circle just as the area labelled "NP-hard" should mean the full parabolic area. The label "P, NP-complete" should better be "NP-complete".
    $endgroup$
    – Apass.Jack
    May 13 at 18:46







  • 13




    $begingroup$
    It would be great if you can include a completely correct image that is least susceptible to wrong understanding.
    $endgroup$
    – Apass.Jack
    May 13 at 18:47













  • 7




    $begingroup$
    "Actually, your version is correct and Wikipedia's is wrong!" It looks like that is a harsh judgement on Wikipedia's image with attached explanation while lenient on asker's image. The area labelled "P, NP" should be the full circle just as the area labelled "NP-hard" should mean the full parabolic area. The label "P, NP-complete" should better be "NP-complete".
    $endgroup$
    – Apass.Jack
    May 13 at 18:46







  • 13




    $begingroup$
    It would be great if you can include a completely correct image that is least susceptible to wrong understanding.
    $endgroup$
    – Apass.Jack
    May 13 at 18:47








7




7




$begingroup$
"Actually, your version is correct and Wikipedia's is wrong!" It looks like that is a harsh judgement on Wikipedia's image with attached explanation while lenient on asker's image. The area labelled "P, NP" should be the full circle just as the area labelled "NP-hard" should mean the full parabolic area. The label "P, NP-complete" should better be "NP-complete".
$endgroup$
– Apass.Jack
May 13 at 18:46





$begingroup$
"Actually, your version is correct and Wikipedia's is wrong!" It looks like that is a harsh judgement on Wikipedia's image with attached explanation while lenient on asker's image. The area labelled "P, NP" should be the full circle just as the area labelled "NP-hard" should mean the full parabolic area. The label "P, NP-complete" should better be "NP-complete".
$endgroup$
– Apass.Jack
May 13 at 18:46





13




13




$begingroup$
It would be great if you can include a completely correct image that is least susceptible to wrong understanding.
$endgroup$
– Apass.Jack
May 13 at 18:47





$begingroup$
It would be great if you can include a completely correct image that is least susceptible to wrong understanding.
$endgroup$
– Apass.Jack
May 13 at 18:47


















draft saved

draft discarded
















































Thanks for contributing an answer to Computer Science Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f109308%2fis-this-possible-when-it-comes-to-the-relations-of-p-np-np-hard-and-np-complet%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company