Article View: sci.crypt
Article #1981Re: Cryptography and P=NP
From: Hans Huttel
Date: Fri, 20 Nov 1992 23:04
Date: Fri, 20 Nov 1992 23:04
34 lines
2024 bytes
2024 bytes
In <1ehq9hINN1e4@iskut.ucs.ubc.ca> unruh@physics.ubc.ca (William
Unruh) wrote:
> Could someone please remind us what P and NP mean? And what is being
> varied to get "polynomial time" -- ie what is polynomial in time , or
> what is time polynomial in?
In complexity theory, the time complexity of an algorithm is a
function t: N --> N such that t(n) = m if the algorithm uses at most m
steps on any input of length n. (In complexity theory "algorithm"
usually means "multi-tape semi-infinite-tape Turing machine".)
So "polynomial time" means that the time complexity is a polynomial in
n, n being the length of the input string.
P is the class of problems that are solvable by a deterministic
algorithm whose time complexity is polynomial.
NP is the class of problems that are solvable by a _nondeterministic_
algorithm whose time complexity is polynomial.
Since deterministic algorithms are special cases of nondeterministic
ones, clearly P is contained in NP. The question of whether P = NP
thus boils downs to determining whether or not nondeterminism is an
essential feature [as far as complexity is concerned]
- Hans
--
Hans H{\"u}ttel - hans@iesd.auc.dk
Mathematics and Computer Science
Aalborg University, Fredrik Bajersvej 7E,
9220 Aalborg, DENMARK Ad slagne veje ?
Technical Details
Message-ID:
<HANS.92Nov20230417@ravn.iesd.auc.dk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!dkuug!iesd!iesd.auc.dk!hansReferences:
<1992Nov15.110945.19939@ringer.cs.utsa.edu> <1992Nov18.193900.20199@rchland.ibm.com> <BxzD1t.3xA.2@cs.cmu.edu> <1ehq9hINN1e4@iskut.ucs.ubc.ca>Show Full Headers
Complete Article Headers
Newsgroups: sci.crypt,sci.math,comp.theory Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!dkuug!iesd!iesd.auc.dk!hans From: hans@iesd.auc.dk (Hans Huttel) Subject: Re: Cryptography and P=NP In-Reply-To: unruh@physics.ubc.ca's message of 20 Nov 1992 04:41:21 GMT Message-ID: <HANS.92Nov20230417@ravn.iesd.auc.dk> Summary: Sei nicht unruhig! Sender: news@iesd.auc.dk (UseNet News) Organization: Mathematics and Computer Science, Aalborg University References: <1992Nov15.110945.19939@ringer.cs.utsa.edu> <1992Nov18.193900.20199@rchland.ibm.com> <BxzD1t.3xA.2@cs.cmu.edu> <1ehq9hINN1e4@iskut.ucs.ubc.ca> Distribution: inet Date: 20 Nov 92 23:04:17 Lines: 34