The document proposes a proof that NP โ P using Markov random fields and Boolean algebra simplification. It represents non-deterministic polynomial problems as graphical models and shows that while linear chains and trees can be solved efficiently in polynomial time, fully connected graphs cannot due to remaining complex terms. The author believes propagating "not" operations in Boolean algebras will preserve polynomial time for polynomial problems but not for NP-complete problems. They provide examples and ask others to share links to their paper proposing this proof.
Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field and Boolean Algebra Simplification
1. Brief explanation of how I
prove NPโ P
Sing Kuang Tan
singkuangtan@gmail.com
Link to my paper
Prove Np not equal P using Markov Random Field and
Boolean Algebra Simplification
https://vixra.org/abs/2105.0181
2. Example of an Non-Deterministic problem (NP)
expressed in Markov Random Field representation
a1 a2
a3
a4
๐ ๐1, ๐2, ๐3, ๐4 =
๐1,๐2,๐3,๐4
โ(๐1, ๐2)โ(๐1, ๐3)โ(๐1, ๐4)โ(๐2, ๐3)โ(๐2, ๐4)โ(๐3, ๐4)
Example of an NP problem expressed as a Graphical model (or
Markov Random Field)
Each variable ai can take finite values, e.g. ๐๐ โ {0,1,2,3}
โ ๐๐, ๐๐ = 0 ๐๐ 1
If the NP problem has a solution, ๐ ๐1, ๐2, ๐3, ๐4 >0
3. Linear Chain Graphical Model
a1 a2 a3
a4
๐ ๐1, ๐2, ๐3, ๐4 =
๐1,๐2,๐3,๐4
โ(๐1, ๐2)โ(๐2, ๐3)โ(๐3, ๐4)
๐ ๐1, ๐2, ๐3, ๐4 =
๐1 ๐2
โ(๐1, ๐2)
๐3
โ(๐2, ๐3)
๐4
โ(๐3, ๐4)
It is well known in the literature that linear chain graphical model can be solved in Polynomial time
This expression needs Non-Deterministic
Polynomial time to evaluate
Can be factorized into
This expression needs Polynomial time to
evaluate
4. Tree Structure Graphical Model
a1
a2 a3
๐ ๐1, ๐2, ๐3, ๐4, ๐5, ๐6, ๐7 =
๐1,๐2,๐3,๐4,๐5,๐6,๐7
โ(๐1, ๐2)โ(๐1, ๐3)โ(๐2, ๐4)โ(๐2, ๐5)โ(๐3, ๐6)โ(๐3, ๐7)
It is well known in the literature that tree
structure graphical model can be solved in
Polynomial time
This expression
needs Non-
Deterministic
Polynomial time
to evaluate
Can be factorized into
This expression
needs Polynomial
time to evaluate
a5
a4 a7
a6
๐ ๐1, ๐2, ๐3, ๐4, ๐5, ๐6, ๐7
=
๐1 ๐2
โ(๐1, ๐2)
๐4
โ(๐2, ๐4)
๐5
โ(๐2, ๐5)
๐3
โ(๐1, ๐3)
๐6
โ(๐3, ๐6)
๐7
โ(๐3, ๐7)
5. Transform any Boolean algebra so that only
the first layer has โNotโ operations
a1
a2
a3
a4
a6
a5
๐ป
Output
Not operation
at input or
output
Or operation
And operation
Propagate the โNotโ operations to the previous
layer using DE Morganโs theorem
10. a1
a2
a3
a4
a6
a5
๐ป
Output
Not operation
at input or
output
Or operation
And operation
Until only the first layer has โNotโ operations
For details, please read my paper
Note that the number
of gates is at most 2
times the original
Boolean algebra after
propagation.
Polynomial time
Boolean algebra
remains Polynomial
time after
propagation.
11. NP problem cannot be simplified into P
๐ ๐1, ๐2, ๐3, ๐4 =
๐1,๐2,๐3,๐4
โ(๐1, ๐2)โ(๐1, ๐3)โ(๐1, ๐4)โ(๐2, ๐3)โ(๐2, ๐4)โ(๐3, ๐4)
๐ ๐1, ๐2, ๐3, ๐4 =
๐1,๐2
โ(๐1, ๐2)
๐3
โ(๐1, ๐3)โ(๐2, ๐3)
๐4
โ(๐1, ๐4) โ(๐2, ๐4)โ(๐3, ๐4)
One possible factorization is shown below. There are many possible different factorizations
An NP (Non-Deterministic Polynomial) problem cannot be simplified into Polynomial time by
factorization
Because of these 3 terms, it takes NP time to evaluate
a1 a2
a3
a4
Actual proof is much more complex than this
For details, please read my paper
12. Why NP problem cannot be simplified
a1 a2
a3
a4
a1 a2
a3
a4
a1 a2
a3
a4
If we remove constraints
such that the Graphical
model becomes a linear
chain, it can be solved
efficiently in Polynomial
time
If we remove constraints
such that the Graphical
model becomes a tree, it
can be solved efficiently
in Polynomial time
However if no constraint
is removed, it can never
be solved efficiently in
Polynomial time
13. Boolean algebra representation of NP
problem
The NP Markov Random Field can be expressed as a Boolean algebra
๐ ๐1, ๐2, ๐3, ๐4
=
๐1,๐2,๐3,๐4
โ(๐1, ๐2)โ(๐1, ๐3)โ(๐1, ๐4)โ(๐2, ๐3)โ(๐2, ๐4)โ(๐3, ๐4)
=โจ๐1,๐2,๐3,๐4
(โ ๐1, ๐2 โงโ ๐1, ๐3 โงโ ๐1, ๐4 โงโ ๐2, ๐3 โงโ ๐2, ๐4 โงโ ๐3, ๐4 )
From the previous example that every Boolean algebra can be expressed with only first layer contains โNotโ operations, and
this NP Markov Random Field Boolean algebra has no โNotโ operation, the simplification of this NP Boolean algebra can be
done without any โNotโ operation. (For details, please read my paper)
14. 2sat problem
โข There is a special case for the fully connected Graphical
model
โข If each variable ai can only takes 2 values (0 or 1)
โข Then it is a 2sat problem
โข The Graphical Model can be solved in Polynomial time
โข It can be solved by dynamic programming
โข ๐ป0 ๐๐, ๐๐ = ๐ป ๐๐, ๐๐
โข ๐ป๐
๐๐, ๐๐ = ๐ป๐โ1
(๐๐, ๐๐) ๐๐
๐ป๐โ1
๐๐, ๐๐ ๐ป๐โ1
(๐๐, ๐๐)
โข where 1 โค ๐ โค ๐
โข n is the number of variables ๐1, ๐2, โฆ , ๐๐
โข For details, please read my paper
a1 a2
a3
a4
Note that for Hl() and Hl-1(),
the superscripts are indexes
and do not mean H raised to
the power of l
15. Share my links
โข I am a Small Person with Big Dreams
โข Please help me to repost my links to other platforms so that I can spread my ideas to
the rest of the world
โข ๆไบบๅฐ๏ผไฝๅ ๆขฆๆณ่ไผๅคงใ
โข ่ฏทๅธฎๆ็ๆไปถ้พๆฅไผ ๅๅฐๅ ถไปๅนณๅฐ๏ผ่ฎฉๆ็ๆๆณ่ฝไผ ้ๅคฉไธใ
โข Comments? Send to singkuangtan@gmail.com
โข Link to my paper
โข Prove Np not equal P using Markov Random Field and Boolean Algebra
Simplification
โข https://vixra.org/abs/2105.0181