Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"Let us condemn to hellfire all those who disagree with us." -- militant religionists everywhere


devel / comp.lang.c / ℙ≠ℕℙ proof posted at Nov 7, 2022 is confirmed and revised

SubjectAuthor
o ℙ≠ℕℙ proof posted at Nov 7, 2022 is confirmed and revisedwij

1
ℙ≠ℕℙ proof posted at Nov 7, 2022 is confirmed and revised

<273b504d20d5d9dbe203637e8e4121e0c0a64832.camel@gmail.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51526&group=comp.lang.c#51526

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wyniijj5@gmail.com (wij)
Newsgroups: comp.lang.c
Subject: ℙ≠ℕℙ proof posted at
Nov 7, 2022 is confirmed and revised
Date: Tue, 27 Feb 2024 06:35:42 +0800
Organization: A noiseless patient Spider
Lines: 94
Message-ID: <273b504d20d5d9dbe203637e8e4121e0c0a64832.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="92be9cd35c5d491cccb2fe91ce7cbe31";
logging-data="2932965"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LUYjjd/PZGqlMl7hQUnOj"
User-Agent: Evolution 3.50.2 (3.50.2-1.fc39)
Cancel-Lock: sha1:QhoC3KjeOxtLbM5VrZD8pI77UK4=
 by: wij - Mon, 26 Feb 2024 22:35 UTC

This file is intended a proof that ℙ≠ℕℙ. The contents may be updated anytime.
https://sourceforge.net/projects/cscall/files/MisFiles/PNP-proof.txt/download

Algorithmic problem::= The kind of problem that the size (length) of the
argument of the problem is variable, so that the steps of computation can
be expressed in asymptotic approximation.

ANP::= Set of algorithmic (decision) problems that the 'yes' answer can be
verified in P-time from O(2^N) possible candidates of certificates, where N
is the length of the problem's argument.

Precisely, ANP is a set of 3-tupple <ProblemArgs, Certificate, Verify> that
can be computed by a pseudo-C program template npf(n):

ProblemArgs::= Problem arguments
Certificate::= Set of certificate. #Certificate= O(2^#ProblemArgs).
(three access methods for iterating elements of Certificate
are required, see npf(n))
Verify::= A P-time decision function v:Certificate -> {0,1}

bool npf(ProblemArgs n) {
Certificate c,begin,end;
begin= get_begin_certificate(n);
end = get_end_certificate(n);
for(c=begin; c!=end; c=next(c)) { // O(2^|n|) loop
if(v(c)) return true; // v(c), the verification is in P-time
}
return false;
}

Note: If the C-code is not too fancy and close to Assembly, C-code can
denote the same thing as TM. Another reasons using C-code: 1. The
'false' answer of NDTM is visible in procedure npf(n). 2. The steps
of v(c) is not really restricted in the NDTM model, it can even run
indefinitely because NDTM runs in 'parallel'.
Note: The for loop in npf(n) may include nested loops for sets like
S=S1xS2xS3x... as implied in NDTM model.

----------------------------------------------------------------------------
This proof uses pseudo-C program to prove ℙ≠ℕℙ by contradiction. Technical
details are long and omitted.

// [Syn] Function sat(Prog prog, int n) decides whether or not prog(x) is
// satisfiable for x<=n. prog(x) is assumed a P-time function.
//
// [Ret] 1, if ∃c, c<=n, prog(c)==1
// 0, otherwise
//
// Prog::= pseudo-C Program
//
bool sat(Prog prog, int n) { // n>=0
for(int c=0; c<=n; ++c) {
if(prog(c)) return 1;
}
return 0;
}

If sat(..) is a P-time function, then u(x) will also be a P-time funtion:

bool u(int x) {
return !sat(u,x);
}

But, from definition of u(..), we will have:
u(0)==1 -> sat(u,0)==0 -> u(0)==0 // contradictory
u(1)==1 -> sat(u,1)==0 -> u(0)==0 and u(1)==0 // contradictory
...
u(x)==1 -> sat(u,x)==0 -> u(0)==0 and u(1)==0 and ... u(x)==0 // contradictory

Therefore, if sat(..) is a P-time function, then sat(..) will encounter
undecidable (term from Halting Problem) cases. Thus, sat(..) cannot be a
P-time function.
Since Problem(sat)∈ANP and Problem(sat)∉ℙ, therefore, ANP ⊈ ℙ. If ANP==ℕℙ,
then, ℕℙ≠ℙ.
QED. ----------------------------------------------------------------

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor