What happens for factoring algorithms if P=NP?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












If someone ever demonstrates that P=NP, will it give us a polynomial factoring algorithm, or will it only tell us that such an algorithm exists, but we still have to find it?










share|improve this question



























    up vote
    1
    down vote

    favorite












    If someone ever demonstrates that P=NP, will it give us a polynomial factoring algorithm, or will it only tell us that such an algorithm exists, but we still have to find it?










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      If someone ever demonstrates that P=NP, will it give us a polynomial factoring algorithm, or will it only tell us that such an algorithm exists, but we still have to find it?










      share|improve this question















      If someone ever demonstrates that P=NP, will it give us a polynomial factoring algorithm, or will it only tell us that such an algorithm exists, but we still have to find it?







      factoring complexity






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      AleksanderRas

      9441219




      9441219










      asked 1 hour ago









      tyuil

      293




      293




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote













          Proving P=NP would not necessarily give you an algorithm, because there are many different methods to prove something (i.e. Direct proof, Proof by contradiction, etc.).



          But it is shown that if you were to find an algorithm to solve a NP-problem that you could modify that algorithm to solve all NP-problems, including the Integer factorization problem.






          share|improve this answer





























            up vote
            1
            down vote













            No, it will not give us directly a new algorithm. What immediately we can do is classical problem reduction;



            Let $x$ be a problem in $mathbbNP$-class that has a polynomial time solution that proves the famous problem; $mathbbNP=mathbbP$ or $mathbbNP neq mathbbP.$



            Reduce the factorization problem into Hamiltonian Path Problem ( that is $ in mathbbNP$-Complete) in the polynomial time as Adleman did in DNA computing. You can find the reduction step in this answer. Solve this problem in polynomial time by reducing to $x$, and transfer the solutions back to the factorization problem since the reductions are answer-preserving, so backward available.



            Note: If the proof of $mathbbNP=mathbbP$ is not performed by showing an $mathbbNP$-Complete problem has a polynomial time solution the reduction will not work until one find one. But in general, if the equality is the case, we expect that one will find a polynomial time algorithm for an $mathbbNP$-Complete problem.






            share|improve this answer






















              Your Answer





              StackExchange.ifUsing("editor", function ()
              return StackExchange.using("mathjaxEditing", function ()
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              );
              );
              , "mathjax-editing");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "281"
              ;
              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',
              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
              ,
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f63712%2fwhat-happens-for-factoring-algorithms-if-p-np%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              2
              down vote













              Proving P=NP would not necessarily give you an algorithm, because there are many different methods to prove something (i.e. Direct proof, Proof by contradiction, etc.).



              But it is shown that if you were to find an algorithm to solve a NP-problem that you could modify that algorithm to solve all NP-problems, including the Integer factorization problem.






              share|improve this answer


























                up vote
                2
                down vote













                Proving P=NP would not necessarily give you an algorithm, because there are many different methods to prove something (i.e. Direct proof, Proof by contradiction, etc.).



                But it is shown that if you were to find an algorithm to solve a NP-problem that you could modify that algorithm to solve all NP-problems, including the Integer factorization problem.






                share|improve this answer
























                  up vote
                  2
                  down vote










                  up vote
                  2
                  down vote









                  Proving P=NP would not necessarily give you an algorithm, because there are many different methods to prove something (i.e. Direct proof, Proof by contradiction, etc.).



                  But it is shown that if you were to find an algorithm to solve a NP-problem that you could modify that algorithm to solve all NP-problems, including the Integer factorization problem.






                  share|improve this answer














                  Proving P=NP would not necessarily give you an algorithm, because there are many different methods to prove something (i.e. Direct proof, Proof by contradiction, etc.).



                  But it is shown that if you were to find an algorithm to solve a NP-problem that you could modify that algorithm to solve all NP-problems, including the Integer factorization problem.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 1 hour ago

























                  answered 1 hour ago









                  AleksanderRas

                  9441219




                  9441219




















                      up vote
                      1
                      down vote













                      No, it will not give us directly a new algorithm. What immediately we can do is classical problem reduction;



                      Let $x$ be a problem in $mathbbNP$-class that has a polynomial time solution that proves the famous problem; $mathbbNP=mathbbP$ or $mathbbNP neq mathbbP.$



                      Reduce the factorization problem into Hamiltonian Path Problem ( that is $ in mathbbNP$-Complete) in the polynomial time as Adleman did in DNA computing. You can find the reduction step in this answer. Solve this problem in polynomial time by reducing to $x$, and transfer the solutions back to the factorization problem since the reductions are answer-preserving, so backward available.



                      Note: If the proof of $mathbbNP=mathbbP$ is not performed by showing an $mathbbNP$-Complete problem has a polynomial time solution the reduction will not work until one find one. But in general, if the equality is the case, we expect that one will find a polynomial time algorithm for an $mathbbNP$-Complete problem.






                      share|improve this answer


























                        up vote
                        1
                        down vote













                        No, it will not give us directly a new algorithm. What immediately we can do is classical problem reduction;



                        Let $x$ be a problem in $mathbbNP$-class that has a polynomial time solution that proves the famous problem; $mathbbNP=mathbbP$ or $mathbbNP neq mathbbP.$



                        Reduce the factorization problem into Hamiltonian Path Problem ( that is $ in mathbbNP$-Complete) in the polynomial time as Adleman did in DNA computing. You can find the reduction step in this answer. Solve this problem in polynomial time by reducing to $x$, and transfer the solutions back to the factorization problem since the reductions are answer-preserving, so backward available.



                        Note: If the proof of $mathbbNP=mathbbP$ is not performed by showing an $mathbbNP$-Complete problem has a polynomial time solution the reduction will not work until one find one. But in general, if the equality is the case, we expect that one will find a polynomial time algorithm for an $mathbbNP$-Complete problem.






                        share|improve this answer
























                          up vote
                          1
                          down vote










                          up vote
                          1
                          down vote









                          No, it will not give us directly a new algorithm. What immediately we can do is classical problem reduction;



                          Let $x$ be a problem in $mathbbNP$-class that has a polynomial time solution that proves the famous problem; $mathbbNP=mathbbP$ or $mathbbNP neq mathbbP.$



                          Reduce the factorization problem into Hamiltonian Path Problem ( that is $ in mathbbNP$-Complete) in the polynomial time as Adleman did in DNA computing. You can find the reduction step in this answer. Solve this problem in polynomial time by reducing to $x$, and transfer the solutions back to the factorization problem since the reductions are answer-preserving, so backward available.



                          Note: If the proof of $mathbbNP=mathbbP$ is not performed by showing an $mathbbNP$-Complete problem has a polynomial time solution the reduction will not work until one find one. But in general, if the equality is the case, we expect that one will find a polynomial time algorithm for an $mathbbNP$-Complete problem.






                          share|improve this answer














                          No, it will not give us directly a new algorithm. What immediately we can do is classical problem reduction;



                          Let $x$ be a problem in $mathbbNP$-class that has a polynomial time solution that proves the famous problem; $mathbbNP=mathbbP$ or $mathbbNP neq mathbbP.$



                          Reduce the factorization problem into Hamiltonian Path Problem ( that is $ in mathbbNP$-Complete) in the polynomial time as Adleman did in DNA computing. You can find the reduction step in this answer. Solve this problem in polynomial time by reducing to $x$, and transfer the solutions back to the factorization problem since the reductions are answer-preserving, so backward available.



                          Note: If the proof of $mathbbNP=mathbbP$ is not performed by showing an $mathbbNP$-Complete problem has a polynomial time solution the reduction will not work until one find one. But in general, if the equality is the case, we expect that one will find a polynomial time algorithm for an $mathbbNP$-Complete problem.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 33 mins ago

























                          answered 1 hour ago









                          kelalaka

                          2,394624




                          2,394624



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f63712%2fwhat-happens-for-factoring-algorithms-if-p-np%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              What does second last employer means? [closed]

                              List of Gilmore Girls characters

                              Confectionery