P vs. NP,algorithm
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
Is there a known, explicit example of an algortihm with the property such that if $Pneq NP$ then this algorithm doesn't run in polynomial time and if $P=NP$ then it does run in polynomial time?
ds.algorithms np p-vs-np
add a comment |Â
up vote
4
down vote
favorite
Is there a known, explicit example of an algortihm with the property such that if $Pneq NP$ then this algorithm doesn't run in polynomial time and if $P=NP$ then it does run in polynomial time?
ds.algorithms np p-vs-np
1
Sort of. If P = NP, LevinâÂÂs universal search algorithm runs in polynomial time on accepting instances en.wikipedia.org/wiki/â¦
â Emil Jeà Âábek
2 hours ago
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Is there a known, explicit example of an algortihm with the property such that if $Pneq NP$ then this algorithm doesn't run in polynomial time and if $P=NP$ then it does run in polynomial time?
ds.algorithms np p-vs-np
Is there a known, explicit example of an algortihm with the property such that if $Pneq NP$ then this algorithm doesn't run in polynomial time and if $P=NP$ then it does run in polynomial time?
ds.algorithms np p-vs-np
ds.algorithms np p-vs-np
asked 3 hours ago
user2925716
1375
1375
1
Sort of. If P = NP, LevinâÂÂs universal search algorithm runs in polynomial time on accepting instances en.wikipedia.org/wiki/â¦
â Emil Jeà Âábek
2 hours ago
add a comment |Â
1
Sort of. If P = NP, LevinâÂÂs universal search algorithm runs in polynomial time on accepting instances en.wikipedia.org/wiki/â¦
â Emil Jeà Âábek
2 hours ago
1
1
Sort of. If P = NP, LevinâÂÂs universal search algorithm runs in polynomial time on accepting instances en.wikipedia.org/wiki/â¦
â Emil Jeà Âábek
2 hours ago
Sort of. If P = NP, LevinâÂÂs universal search algorithm runs in polynomial time on accepting instances en.wikipedia.org/wiki/â¦
â Emil Jeà Âábek
2 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
If you assume that $P=^?NP$ is provable in PA (or ZFC), a trivial example is the following:
Input: N (integer in binary format)
For I = 1 to N do
begin
if I is a valid encoding of a proof of P = NP in PA (or ZFC)
then halt and accept
End
Reject
How do I quicly decide if "I is a valid encoding of a proof of P = NP in PA (or ZFC)" ?
â user2925716
2 hours ago
@user2925716 You can do it in polynomial time (imagine that $I$ is a string that represents the full proof in any reasonable deduction system).
â Marzio De Biasi
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
If you assume that $P=^?NP$ is provable in PA (or ZFC), a trivial example is the following:
Input: N (integer in binary format)
For I = 1 to N do
begin
if I is a valid encoding of a proof of P = NP in PA (or ZFC)
then halt and accept
End
Reject
How do I quicly decide if "I is a valid encoding of a proof of P = NP in PA (or ZFC)" ?
â user2925716
2 hours ago
@user2925716 You can do it in polynomial time (imagine that $I$ is a string that represents the full proof in any reasonable deduction system).
â Marzio De Biasi
1 hour ago
add a comment |Â
up vote
3
down vote
accepted
If you assume that $P=^?NP$ is provable in PA (or ZFC), a trivial example is the following:
Input: N (integer in binary format)
For I = 1 to N do
begin
if I is a valid encoding of a proof of P = NP in PA (or ZFC)
then halt and accept
End
Reject
How do I quicly decide if "I is a valid encoding of a proof of P = NP in PA (or ZFC)" ?
â user2925716
2 hours ago
@user2925716 You can do it in polynomial time (imagine that $I$ is a string that represents the full proof in any reasonable deduction system).
â Marzio De Biasi
1 hour ago
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
If you assume that $P=^?NP$ is provable in PA (or ZFC), a trivial example is the following:
Input: N (integer in binary format)
For I = 1 to N do
begin
if I is a valid encoding of a proof of P = NP in PA (or ZFC)
then halt and accept
End
Reject
If you assume that $P=^?NP$ is provable in PA (or ZFC), a trivial example is the following:
Input: N (integer in binary format)
For I = 1 to N do
begin
if I is a valid encoding of a proof of P = NP in PA (or ZFC)
then halt and accept
End
Reject
edited 8 mins ago
answered 2 hours ago
Marzio De Biasi
18k240108
18k240108
How do I quicly decide if "I is a valid encoding of a proof of P = NP in PA (or ZFC)" ?
â user2925716
2 hours ago
@user2925716 You can do it in polynomial time (imagine that $I$ is a string that represents the full proof in any reasonable deduction system).
â Marzio De Biasi
1 hour ago
add a comment |Â
How do I quicly decide if "I is a valid encoding of a proof of P = NP in PA (or ZFC)" ?
â user2925716
2 hours ago
@user2925716 You can do it in polynomial time (imagine that $I$ is a string that represents the full proof in any reasonable deduction system).
â Marzio De Biasi
1 hour ago
How do I quicly decide if "I is a valid encoding of a proof of P = NP in PA (or ZFC)" ?
â user2925716
2 hours ago
How do I quicly decide if "I is a valid encoding of a proof of P = NP in PA (or ZFC)" ?
â user2925716
2 hours ago
@user2925716 You can do it in polynomial time (imagine that $I$ is a string that represents the full proof in any reasonable deduction system).
â Marzio De Biasi
1 hour ago
@user2925716 You can do it in polynomial time (imagine that $I$ is a string that represents the full proof in any reasonable deduction system).
â Marzio De Biasi
1 hour ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcstheory.stackexchange.com%2fquestions%2f41751%2fp-vs-np-algorithm%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Sort of. If P = NP, LevinâÂÂs universal search algorithm runs in polynomial time on accepting instances en.wikipedia.org/wiki/â¦
â Emil Jeà Âábek
2 hours ago