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

Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020