LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 05-28-2006, 02:45 PM   #1
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Rep: Reputation: 15
if this is true, np!=p


(L(MN) in 2^n=>M in 2^n and n in 2^n) or (L(MN) in 2^n => M in 2^n and N in NP) I can prove this is false.

does that imply n,m are both in np? assume np=p and 2^n is the compliment np. if these are both in np, then L(MN) in np, but also 2^n. which mean 2^n and np overlap. np!=p.

it's a small statement but huge. I'm probably wrong, just wanted another's opinion.

Tom
 
Old 05-28-2006, 03:06 PM   #2
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
L(M) Definition

L(M)="on input w nd select x in M such that |x|=|w|

for example, this L(M) would tell you what lengths of strings are accepted by M.

If n,m in NP then L(MN) in np
 
Old 05-28-2006, 03:07 PM   #3
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
oops for L(M)... run x on M.
 
Old 05-28-2006, 03:13 PM   #4
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
(L(MN) in np=>M in np and n in np) or (L(MN) in np => M in 2^n and N in NP). this statement is equivalent to the one I first stated. this statement is false.

Take M in 2^n. union it with sigma* of a one character abc. call this M*. M* is still in 2^n. But L(M*) is in P. L(M*) accepts every length because of the addition of sigma*.

Take L(M*N*) in P in NP. then the first statement in this block is false. because M* and N* are both in 2^n. but L(M*N*) in NP.

so with that statement false... the first statement in the first box is false. did I reach the right conclusion?
 
Old 05-28-2006, 04:17 PM   #5
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
(L(MN) in np=>M in np and n in np) or (L(MN) in np => M in 2^n and N in NP).

should be (L(MN) in np=>M in np or n in np) or (L(MN) in np => M in 2^n or N in NP). it is equivalent to (L(MN) in 2^n=>M in 2^n and n in 2^n) or (L(MN) in 2^n => M in 2^n and N in NP).

the earlier example of L(M*N*) makes both statements false because in the first one here m and n can both be in 2^n.
 
Old 05-28-2006, 05:06 PM   #6
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
a little help for those who might know theory of computation.

M a machine that takes in input w. that's all you need to know about machines for this proof.

boolean logic
a or b is only false if a and b are both false
a and b is only true if a and b are true
a implies b. if a is false then no matter what the statement is true. if a is true then the statement is false if b is false

compliments
the compliment of a and b is a compliment or b compliment
the compliment of a or b is a compliment and b compliment

P is polynomial time
NP is non deterministic polynomial time
2^n is exponential time

a good example of a np machine is L(M). say M runs in polynomial time. it has to pick an x that it thinks m will accept.. in real time this is exponential. that guessing can be said to be non deterministic and then the machine runs in polynomial time. so you put the non deterministic and polynomial time to get NP

I hope that helps for those of you not familiar with np?p

Tom
 
Old 05-28-2006, 06:14 PM   #7
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
(L(MN) in np=>M in np and n in np) or (L(MN) in np => M in 2^n and N in NP).

ok, M* as described above, and take another, N*. Both 2^n machines. concatenate them and then take L(M*N*). L(M*)L(N*)=L(M*N*). both of those are in P. concatenate two thing in P, it's in NP. thus the first clause is false. M* and N* were both in 2^n. the second clause says that one is in NP. The fact that you can take L(M*N*) in NP means that there is at least one example where M is in 2^n and N is in 2^n.

the other statement is equivalent to this statement via contrapositives. if you would like me to explain that just yell, hey tom.
 
Old 05-29-2006, 05:36 AM   #8
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
(L(MN) in np=>M in np and n in np) or (L(MN) in np => M in 2^n and N in NP).

This is false as seen previously. the contrapositive of a statement p => q is not q => not p. this might be wrong. here. because I forgot to switch p and q around, anyone see a fix?
 
Old 05-29-2006, 06:04 AM   #9
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
(L(MN) in 2^n=>M in 2^n and n in 2^n) or (L(MN) in 2^n => M in 2^n and N in NP)

an equivalent statement is:
(M in np or N in NP => L(MN) in np) or (M in NP or N in 2^n=> L(MN) in NP)
counter example to prove this statement is false:
Take M in 2^n and concatenate with a machine that only accepts length 2 strings. N is in NP, M is in 2^n. so the left side is true, but L(MN) is in 2^n. this statement is false? so the equivalent statement is false. and the only way the equivalent statement is false is if M and N are in NP. thus L(MN) in NP. but L(MN) in 2^n.
 
Old 05-29-2006, 06:54 AM   #10
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Looks like you got a fairly nice conversation going on there, with your self. Frankly your theory scares me. At the rate we're going we'll see 8 long pages of computational theory, proving the non-existence of God and refuting that computers work in the first place.
 
Old 05-29-2006, 09:36 AM   #11
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
it's two pages in word. and I found an error. it is new to computation theory that I know of. I've never seen L(M) in a book. just put it out there to see if any one agrees. I know it is a bit hard to digest. and it may be wrong.
 
Old 05-29-2006, 10:37 AM   #12
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
THE PROOF?

L(M)="on input w nd select x in M such that |x|=|w|, run x on M.

(L(MN) in 2^n=>M in 2^n and n in 2^n) or (L(MN) in 2^n => M in 2^n and N in NP)
an equivalent statement is:
(M in np or N in NP => L(MN) in np) or (M in NP or N in 2^n=> L(MN) in NP)

counter example to prove this statement is false:
Take M in 2^n and concatenate with a machine that only accepts length 2 strings. N is in NP, M is in 2^n. so the left side is true, but L(MN) is in 2^n. this statement is false? so the equivalent statement is false. and the only way the equivalent statement is false is if M and N are in NP. thus L(MN) in NP. but L(MN) in 2^n.

Then (L(MN) in 2^n=>M in 2^n and n in 2^n) or (L(MN) in 2^n => M in 2^n and N in NP) is false. and the only way this is false is if M,N in NP then L(MN) in NP. but we started with L(MN) in 2^n.

sorry it took so long to get here. it's rather short.
 
Old 05-29-2006, 03:02 PM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by tomolesonjr
sorry it took so long to get here. it's rather short.
Could you repeat the question please?--Maybe with just few less words....
 
Old 05-29-2006, 03:18 PM   #14
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,662
Blog Entries: 4

Rep: Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943Reputation: 3943
Ma <y 3be m0r(e) words?

Unless someone was accidentally delivered a few truckloads of non-character symbols ... this might win the 'most incomprehensible thread' award.
 
Old 05-29-2006, 03:25 PM   #15
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by sundialsvcs
Ma <y 3be m0r(e) words?

Unless someone was accidentally delivered a few truckloads of non-character symbols ... this might win the 'most incomprehensible thread' award.
Hands down...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
seeing if this is true or not. LunarEagle Linux - Newbie 5 02-18-2005 12:33 PM
What is true OOP? tumana Programming 4 09-13-2004 06:51 AM
is this true? chrismiceli General 6 10-12-2003 07:00 AM
this is funny, if true frieza General 9 09-29-2003 06:15 PM
Its too good to be true!!!!! arun79 General 3 05-25-2003 07:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration