SlideShare a Scribd company logo
1 of 25
A Weird Soviet Method to
Partially Solve the Perebor
Problem
How is this method related to my NP vs P solution
Sing Kuang Tan
singkuangtan@gmail.com
17 August 2021
Perebor Problems
• Perebor problems are difficult problems which current methods can
only solve it by brute force algorithm
• https://drdoane.com/the-perebor-problem/
• Perebor problems are the NP (Non-Deterministic Polynomial time
complexity) problem
• Can we convert NP into P (Polynomial time complexity) problem?
• My answer is NO.
• My solution to NP vs P problem is NP≠P
Link to my paper
https://www.slideshare.net/SingKuangTan/brief-np-vspexplain-249524831
Prove Np not equal P using Markov Random Field and Boolean Algebra
Simplification
https://vixra.org/abs/2105.0181
Alexander Razborov (from Soviet Union)
• He developed the method to partially solve Perebor Problem.
• Bio: https://en.wikipedia.org/wiki/Alexander_Razborov
• In 1985, Razborov has proved that Clique problem of a graph requires a Non-
Deterministic Polynomial time complexity (NP) algorithm if the algorithm is implemented
using Boolean algebra consist of only “And” and “Or” operations
• As there is no “Not” operation, so it only partially proves that NP≠P
• Later I will show how I circumvent the problem of no “Not” operation
• https://blog.computationalcomplexity.org/2005/09/circuit-complexity-and-p-versus-np.html
• https://www.cs.utexas.edu/~danama/courses/adv-comp/scribe5.pdf
• A. A. Razborov, Lower bounds on the monotone complexity of some Boolean functions, Dokl.
Akad. Nauk. SSSR, 281(4):798-801, 1985
• At that time, Soviet is one of the country leading in the problem on NP vs P
• Soviet Song “Our Army” LOL
• https://www.youtube.com/watch?v=5yYQIa-4rLE
• Enable subtitles 
Clique Problem
• https://en.wikipedia.org/wiki/Clique_problem
4-clique in this 7 vertices graph can
be found using brute force
“Or” operation
“And” operation
This digital circuit is used to detect whether a 3-clique exists
in this 4 vertices graph
This circuit has only “And” and “Or” operations (In literature,
this is called a monotone circuit)
Cellular Automata
• What is Cellular Automata?
• https://mathworld.wolfram.com/CellularAutomaton.ht
ml
• https://natureofcode.com/book/chapter-7-cellular-
automata/
• https://towardsdatascience.com/simple-but-stunning-
animated-cellular-automata-in-python-c912e0c156a9
• https://towardsdatascience.com/algorithmic-beauty-an-
introduction-to-cellular-automata-f53179b3cf8f
• Animation
• https://www.youtube.com/watch?v=3MJ8deSCOCE
“Not” operations are unnecessary
• I will show using “Not” operations are unnecessary for
implementation of any algorithms using Boolean algebra
• I will use Cellular Automata as an Universal Computing model
• A Polynomial time (P) Cellular Automata can be implemented without any
“Not” operation
First layer is
the input of an
algorithm
Last layer is the
output of an
algorithm
Cellular Automata
can implement any
algorithm
Different algorithm can be
implemented by changing the
rule
Cellular Automata can Emulate any Computer
Algorithm
An algorithm implemented
on a modern computer
Can also be implemented using
Cellular Automata
A Polynomial time complexity (P)
algorithm remains Polynomial time (P)
after implemented on Cellular
Automata
A Non-Deterministic Polynomial time
complexity (NP) algorithm remains
Non-Deterministic Polynomial time
(NP) after implemented on Cellular
Automata
Simple Cellular Automata Example
5 bit binary input
1 bit binary output
Simple Cellular Automata Example
Each intermediate output is
dependent on input
Each output is dependent on
intermediate outputs
• This looks like a convolutional
neural network
• Neural Network can be
represented by multi-layer
Boolean algebra
• Multi-layer Boolean algebra
simplification gives us insight on
how to train a neural network
Simply Cellular Automata Example
a1,1 a1,2 a1,3 a1,4 a1,5
a2,2 a2,3 a2,4
a3,3
I give a variable name to each
cell of the Cellular Automata
a1,1
Boolean
Algebra or
Circuit
𝑎3,3
a1,2
a1,3
a1,4
a1,5
Simply Cellular Automata Example
ai,j ai,j+1 Ai,j+2
ai+1,j+1
𝑎𝑖+1,𝑗+1 = 𝑎𝑖,𝑗 𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2 +
𝑎𝑖,𝑗𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2+ 𝑎𝑖,𝑗 𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2 +
𝑎𝑖,𝑗 𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2
Bar above ai,j means “Not” operation on ai,j
Addition means “Or” operation
Multiplication means “And” operation
The rule can be implemented
using the Boolean algebra below
Simply Cellular Automata Example
a1,1 a1,2 a1,3 a1,4 a1,5
a2,2 a2,3 a2,4
a3,3
𝑎2,2 = 𝑎1,1 𝑎1,2 𝑎1,3 + 𝑎1,1𝑎1,2 𝑎1,3+
𝑎1,1 𝑎1,2 𝑎1,3 + 𝑎1,1 𝑎1,2 𝑎1,3
𝑎2,3 = 𝑎1,2 𝑎1,3 𝑎1,4 + 𝑎1,2𝑎1,3 𝑎1,4+
𝑎1,2 𝑎1,3 𝑎1,4 + 𝑎1,2 𝑎1,3 𝑎1,4
𝑎2,4 = 𝑎1,3 𝑎1,4 𝑎1,5 + 𝑎1,3𝑎1,4 𝑎1,5+
𝑎1,3 𝑎1,4 𝑎1,5 + 𝑎1,3 𝑎1,4 𝑎1,5
𝑎3,3 = 𝑎2,2 𝑎2,3 𝑎2,4 + 𝑎2,2𝑎2,3 𝑎2,4+
𝑎2,2 𝑎2,3 𝑎2,4 + 𝑎2,2 𝑎2,3 𝑎2,4
Represent the Cellular Automata by
Boolean algebra,
Simply Cellular Automata Example
𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 +
𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1
+ 𝑎1,1,0𝑎1,2,0𝑎1,3,0
𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 +
𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0
+ 𝑎1,1,0𝑎1,2,0𝑎1,3,1
𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 +
𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1
+ 𝑎1,2,0𝑎1,3,0𝑎1,4,0
𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 +
𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0
+ 𝑎1,2,0𝑎1,3,0𝑎1,4,1
𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 +
𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1
+ 𝑎1,3,0𝑎1,4,0𝑎1,5,0
𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 +
𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0
+ 𝑎1,3,0𝑎1,4,0𝑎1,5,1
𝑎3,3,1 = (𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0 + 𝑎1,1,0𝑎1,2,0𝑎1,3,1)(𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+
𝑎1,2,1𝑎1,3,0𝑎1,4,1 + 𝑎1,2,0𝑎1,3,0𝑎1,4,0)(𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 + 𝑎1,3,0𝑎1,4,0𝑎1,5,0) +
(𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0)(𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+
𝑎1,2,0𝑎1,3,1𝑎1,4,0 + 𝑎1,2,0𝑎1,3,0𝑎1,4,1)(𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 + 𝑎1,3,0𝑎1,4,0𝑎1,5,1)+
(𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0)(𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+
𝑎1,2,0𝑎1,3,1𝑎1,4,0 + 𝑎1,2,0𝑎1,3,0𝑎1,4,1)(𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 + 𝑎1,3,0𝑎1,4,0𝑎1,5,0)
+ (𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0)(𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+
𝑎1,2,1𝑎1,3,0𝑎1,4,1 + 𝑎1,2,0𝑎1,3,0𝑎1,4,0)(𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 + 𝑎1,3,0𝑎1,4,0𝑎1,5,1)
Use the
representation below
to simplify the
equations,
𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗
𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗
Combine all equations into 1 equation
Later can do expansion or factorization on this 1 equation
𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 +
𝑎2,2,0𝑎2,3,1𝑎2,4,1+ 𝑎2,2,0𝑎2,3,1𝑎2,4,0
+ 𝑎2,2,0𝑎2,3,0𝑎2,4,1
Simply Cellular Automata Example
a1,1 a1,2 a1,3 a1,4 a1,5
a2,2 a2,3 a2,4
a3,3
Find a3,3 in terms of a1,1, a1,2, a1,3, a1,4, a1,5 is
a3,3=a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1
+ a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0
+ a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1
+ a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1
+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0
+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1
+ a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1
+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1
+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0
+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1
+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0
+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1
+ a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0
Use the
representation below
to simplify the
equations,
𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗
𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗
Simply Cellular Automata Example
a1,1,0
Use the
representation below
to simplify the
equations,
𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗
𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗
a1,1,1 a1,2,0 a1,2,1 a1,3,0 a1,3,1 a1,4,0 a1,4,1 a1,5,0 a1,5,1
a2,2,0 a2,2,1 a2,3,0 a2,3,1 a2,4,0 a2,4,1
A3,3,0 A3,3,1
Represent the Cellular Automata by
Boolean algebra,
𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 +
𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1
+ 𝑎1,1,0𝑎1,2,0𝑎1,3,0
𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 +
𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0
+ 𝑎1,1,0𝑎1,2,0𝑎1,3,1
𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 +
𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1
+ 𝑎1,2,0𝑎1,3,0𝑎1,4,0
𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 +
𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0
+ 𝑎1,2,0𝑎1,3,0𝑎1,4,1
𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 +
𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1
+ 𝑎1,3,0𝑎1,4,0𝑎1,5,0
𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 +
𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0
+ 𝑎1,3,0𝑎1,4,0𝑎1,5,1
𝑎3,3,0 = 𝑎2,2,1𝑎2,3,1𝑎2,4,1 +
𝑎2,2,1𝑎2,3,1𝑎2,4,0+ 𝑎2,2,1𝑎2,3,0𝑎2,4,1
+ 𝑎2,2,0𝑎2,3,0𝑎2,4,0
𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 +
𝑎2,2,0𝑎2,3,1𝑎2,4,1+ 𝑎2,2,0𝑎2,3,1𝑎2,4,0
+ 𝑎2,2,0𝑎2,3,0𝑎2,4,1
The use of double
variables remove the
need of “Not” operation
in the Boolean algebra
Simply Cellular Automata Example
a1,1,0
Find a3,3,1 in terms of a1,1,0, a1,2,0, a1,3,0, a1,4,0, a1,5,0, a1,1,1,
a1,2,1, a1,3,1, a1,4,1, a1,5,1 is
a3,3,1=a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1
+ a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0
+ a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1
+ a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1
+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0
+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1
+ a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1
+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1
+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0
+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1
+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0
+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1
+ a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0
Use the
representation below
to simplify the
equations,
𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗
𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗
a1,1,1 a1,2,0 a1,2,1 a1,3,0 a1,3,1 a1,4,0 a1,4,1 a1,5,0 a1,5,1
a2,2,0 a2,2,1 a2,3,0 a2,3,1 a2,4,0 a2,4,1
A3,3,0 A3,3,1
The use of double
variables remove the
need of “Not” operation
in the Boolean algebra
Other Models without “Not” operation
• Creating a Boolean algebra without “Not” operation may seem weird
in the first place
• But there is no “Not” operation in
• Fault tree analysis
• AND OR graph (for solving e.g. TIC-TAC-TOE)
• Bayesian network or Markov Random Field
Expansion of the Boolean Algebra
a3,3=a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1
+ a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0
+ a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1
+ a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1
+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0
+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1
+ a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1
+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0
+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1
+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0
+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1
+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0
+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1
+ a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0
Polynomial Time Complexity Boolean algebra
Non-Deterministic Polynomial Time
Complexity Boolean algebra
The Boolean algebra can
be expanded
𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+
𝑎1,1,1𝑎1,2,0𝑎1,3,1 +𝑎1,1,0𝑎1,2,0𝑎1,3,0
𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+
𝑎1,1,0𝑎1,2,1𝑎1,3,0 +𝑎1,1,0𝑎1,2,0𝑎1,3,1
𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+
𝑎1,2,1𝑎1,3,0𝑎1,4,1 +𝑎1,2,0𝑎1,3,0𝑎1,4,0
𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+
𝑎1,2,0𝑎1,3,1𝑎1,4,0 +𝑎1,2,0𝑎1,3,0𝑎1,4,1
𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+
𝑎1,3,1𝑎1,4,0𝑎1,5,1 +𝑎1,3,0𝑎1,4,0𝑎1,5,0
𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+
𝑎1,3,0𝑎1,4,1𝑎1,5,0 +𝑎1,3,0𝑎1,4,0𝑎1,5,1
𝑎3,3,0 = 𝑎2,2,1𝑎2,3,1𝑎2,4,1 + 𝑎2,2,1𝑎2,3,1𝑎2,4,0+
𝑎2,2,1𝑎2,3,0𝑎2,4,1 +𝑎2,2,0𝑎2,3,0𝑎2,4,0
𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 + 𝑎2,2,0𝑎2,3,1𝑎2,4,1+
𝑎2,2,0𝑎2,3,1𝑎2,4,0 +𝑎2,2,0𝑎2,3,0𝑎2,4,1
• Note that all Boolean
algebras do not have
“Not” operation
• Expansion is simply
multiply throughout
Factorization of the Boolean Algebra
a3,3
=a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1+a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0+
a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1+ a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1+
a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1+
a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0+
a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0+
a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0+
a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0+
a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1+ a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0
Polynomial Time Complexity Boolean algebra
Non-Deterministic Polynomial Time
Complexity Boolean algebra
The Boolean algebra can
be factorized into multi-
layer Boolean algebra that
is more efficient if a more
efficient Boolean algebra
exists
Naïve problem definition that solves a
problem using brute force
𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+
𝑎1,1,1𝑎1,2,0𝑎1,3,1 +𝑎1,1,0𝑎1,2,0𝑎1,3,0
𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+
𝑎1,1,0𝑎1,2,1𝑎1,3,0 +𝑎1,1,0𝑎1,2,0𝑎1,3,1
𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+
𝑎1,2,1𝑎1,3,0𝑎1,4,1 +𝑎1,2,0𝑎1,3,0𝑎1,4,0
𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+
𝑎1,2,0𝑎1,3,1𝑎1,4,0 +𝑎1,2,0𝑎1,3,0𝑎1,4,1
𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+
𝑎1,3,1𝑎1,4,0𝑎1,5,1 +𝑎1,3,0𝑎1,4,0𝑎1,5,0
𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+
𝑎1,3,0𝑎1,4,1𝑎1,5,0 +𝑎1,3,0𝑎1,4,0𝑎1,5,1
𝑎3,3,0 = 𝑎2,2,1𝑎2,3,1𝑎2,4,1 + 𝑎2,2,1𝑎2,3,1𝑎2,4,0+
𝑎2,2,1𝑎2,3,0𝑎2,4,1 +𝑎2,2,0𝑎2,3,0𝑎2,4,0
𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 + 𝑎2,2,0𝑎2,3,1𝑎2,4,1+
𝑎2,2,0𝑎2,3,1𝑎2,4,0 +𝑎2,2,0𝑎2,3,0𝑎2,4,1
• Simplification is simply
factoring as there is no
“Not” operation
• We can find optimal time
efficient Boolean algebra
by factoring
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
Addition is “Or” operation
Multiplication is “And” Operation
Boolean Algebra of NP Problem
• Boolean algebra
• 𝑓 𝑎1, 𝑎2, 𝑎3, 𝑎4 =
𝑎1,𝑎2,𝑎3,𝑎4
ℎ(𝑎1, 𝑎2)ℎ(𝑎1, 𝑎3)ℎ(𝑎1, 𝑎4)ℎ(𝑎2, 𝑎3)ℎ(𝑎2, 𝑎4)ℎ(𝑎3, 𝑎4)
• Each h term, h(ai,aj), is a Boolean input variable taking an input
0 or 1
• Addition is “Or” operation
• Multiplication is “And” operation
• We can try to simplify this Boolean algebra by factorization
h(a1=0,a2=0)
h(a1=1,a2=0)
h(a1=0,a2=1)
h(a1=0,a2=2)
…
h(a1=0,a3=0)
h(a1=1,a3=0)
h(a1=0,a3=1)
h(a1=0,a3=2)
…
h(a3=0,a4=0)
h(a3=1,a4=0)
h(a3=0,a4=1)
h(a3=0,a4=2)
…
Boolean
Algebra or
Circuit
⋮
⋮
“Not” Operations on h() Terms can be
Replaced
• Do not have to consider ℎ(𝑎𝑖 = 𝑣𝑖, 𝑎𝑗 = 𝑣𝑗) because “Not” operation on
input can be replaced by
• 𝑣𝑘,𝑣𝑙 (𝑣𝑖,𝑣𝑗) ℎ(𝑎𝑖 = 𝑣𝑘, 𝑎𝑗 = 𝑣𝑙)
• which means sum of all h(ai,aj) terms not including h(ai=vi,aj=vj)
• After replacing the ℎ(𝑎𝑖 = 𝑣𝑖, 𝑎𝑗 = 𝑣𝑗) term, the Boolean algebra remains
Polynomial Time complexity if it is originally Polynomial time
• Because it is replaced by at most 4*4-1=15 terms, where n=4 is the number of variables
• Assume that the number of values a variable can take is 4
• E.g. ℎ(𝑎𝑖 = 0, 𝑎𝑗 = 0) can be replaced by h(ai=0,aj=1)+h(ai=0,aj=2)
+h(ai=0,aj=3)+h(ai=1,aj=0)+h(ai=1,aj=1)+h(ai=1,aj=2)
+h(ai=1,aj=3)+h(ai=2,aj=0)+h(ai=2,aj=1)+h(ai=2,aj=2)+h(ai=2,aj=3)+h(ai=3,aj=0)
+h(ai=3,aj=1)+h(ai=3,aj=2)+h(ai=3,aj=3)
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 (end of slides)
About Me
• My job uses Machine Learning to solve problems
• Like my posts or slides in LinkedIn, Twitter or Slideshare
• Follow me on LinkedIn
• https://www.linkedin.com/in/sing-kuang-tan-b189279/
• Follow me on Twitter
• https://twitter.com/Tan_Sing_Kuang
• Look at my Slideshare slides
• https://www.slideshare.net/SingKuangTan
• 8 trends in Hang Seng Index
• 4 types of Mathematical Proofs
• How I prove NP vs P
• Follow me on Slideshare
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 NP vs P paper
• https://www.slideshare.net/SingKuangTan/brief-np-vspexplain-249524831
• Prove Np not equal P using Markov Random Field and Boolean Algebra Simplification
• https://vixra.org/abs/2105.0181
• Other link
• https://www.slideshare.net/SingKuangTan

More Related Content

What's hot

The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen ProblemSukrit Gupta
 
Analysis and design of algorithms part 4
Analysis and design of algorithms part 4Analysis and design of algorithms part 4
Analysis and design of algorithms part 4Deepak John
 
Artyom Makovetskii - An Efficient Algorithm for Total Variation Denoising
Artyom Makovetskii - An Efficient Algorithm for Total Variation DenoisingArtyom Makovetskii - An Efficient Algorithm for Total Variation Denoising
Artyom Makovetskii - An Efficient Algorithm for Total Variation DenoisingAIST
 
Lesson 19: Exponential and Logarithmic Functions
Lesson 19: Exponential and Logarithmic FunctionsLesson 19: Exponential and Logarithmic Functions
Lesson 19: Exponential and Logarithmic FunctionsKevin Johnson
 
Algorithm Design and Complexity - Course 3
Algorithm Design and Complexity - Course 3Algorithm Design and Complexity - Course 3
Algorithm Design and Complexity - Course 3Traian Rebedea
 
Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]
Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]
Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]Mumbai B.Sc.IT Study
 
Split and list technique for solving hard problems
Split and list technique for solving hard problemsSplit and list technique for solving hard problems
Split and list technique for solving hard problemsRohit Kumar Singh
 
Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...
Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...
Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...Mumbai B.Sc.IT Study
 
Digital Signals and System (May – 2016) [Revised Syllabus | Question Paper]
Digital Signals and System (May  – 2016) [Revised Syllabus | Question Paper]Digital Signals and System (May  – 2016) [Revised Syllabus | Question Paper]
Digital Signals and System (May – 2016) [Revised Syllabus | Question Paper]Mumbai B.Sc.IT Study
 
Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)VARUN KUMAR
 
Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...
Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...
Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...Behzad Samadi
 
Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Alexander Litvinenko
 
signal and system Hw2 solution
signal and system Hw2 solutionsignal and system Hw2 solution
signal and system Hw2 solutioniqbal ahmad
 
Dealinggreensfncsolft sqrdb
Dealinggreensfncsolft sqrdbDealinggreensfncsolft sqrdb
Dealinggreensfncsolft sqrdbfoxtrot jp R
 

What's hot (20)

A0280106
A0280106A0280106
A0280106
 
The n Queen Problem
The n Queen ProblemThe n Queen Problem
The n Queen Problem
 
Analysis and design of algorithms part 4
Analysis and design of algorithms part 4Analysis and design of algorithms part 4
Analysis and design of algorithms part 4
 
N Queens problem
N Queens problemN Queens problem
N Queens problem
 
Artyom Makovetskii - An Efficient Algorithm for Total Variation Denoising
Artyom Makovetskii - An Efficient Algorithm for Total Variation DenoisingArtyom Makovetskii - An Efficient Algorithm for Total Variation Denoising
Artyom Makovetskii - An Efficient Algorithm for Total Variation Denoising
 
Lesson 19: Exponential and Logarithmic Functions
Lesson 19: Exponential and Logarithmic FunctionsLesson 19: Exponential and Logarithmic Functions
Lesson 19: Exponential and Logarithmic Functions
 
Algorithm Design and Complexity - Course 3
Algorithm Design and Complexity - Course 3Algorithm Design and Complexity - Course 3
Algorithm Design and Complexity - Course 3
 
Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]
Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]
Digital Signals and Systems (May – 2016) [Question Paper | IDOL: Revised Course]
 
Split and list technique for solving hard problems
Split and list technique for solving hard problemsSplit and list technique for solving hard problems
Split and list technique for solving hard problems
 
5.1 greedy 03
5.1 greedy 035.1 greedy 03
5.1 greedy 03
 
Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...
Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...
Digital Signals and Systems (April – 2015) [Question Paper | IDOL: Revised Co...
 
5.1 greedy
5.1 greedy5.1 greedy
5.1 greedy
 
Digital Signals and System (May – 2016) [Revised Syllabus | Question Paper]
Digital Signals and System (May  – 2016) [Revised Syllabus | Question Paper]Digital Signals and System (May  – 2016) [Revised Syllabus | Question Paper]
Digital Signals and System (May – 2016) [Revised Syllabus | Question Paper]
 
Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)
 
Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...
Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...
Backstepping Controller Synthesis for Piecewise Polynomial Systems: A Sum of ...
 
Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...Application of parallel hierarchical matrices and low-rank tensors in spatial...
Application of parallel hierarchical matrices and low-rank tensors in spatial...
 
signal and system Hw2 solution
signal and system Hw2 solutionsignal and system Hw2 solution
signal and system Hw2 solution
 
H023078082
H023078082H023078082
H023078082
 
Dealinggreensfncsolft sqrdb
Dealinggreensfncsolft sqrdbDealinggreensfncsolft sqrdb
Dealinggreensfncsolft sqrdb
 
Backtracking
BacktrackingBacktracking
Backtracking
 

Similar to A Weird Soviet Method to Partially Solve the Perebor Problem

Ai2418281871
Ai2418281871Ai2418281871
Ai2418281871IJMER
 
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020KyuhanLee4
 
Find transitive-closure using warshalls-algorithm
Find transitive-closure  using warshalls-algorithmFind transitive-closure  using warshalls-algorithm
Find transitive-closure using warshalls-algorithmMamun Hasan
 
Gomory's cutting plane method
Gomory's cutting plane methodGomory's cutting plane method
Gomory's cutting plane methodRajesh Piryani
 
Genetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step ExampleGenetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step ExampleAhmed Gad
 
GraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queriesGraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queriesGábor Szárnyas
 
Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques Alexander Litvinenko
 
Deep Learning for Folks Without (or With!) a Ph.D.
Deep Learning for Folks Without (or With!) a Ph.D.Deep Learning for Folks Without (or With!) a Ph.D.
Deep Learning for Folks Without (or With!) a Ph.D.Douglas Starnes
 
Aizaz comb sort
Aizaz comb sortAizaz comb sort
Aizaz comb sortNauman Ali
 
one main advantage of bubble sort as compared to others
one main advantage of bubble sort as compared to othersone main advantage of bubble sort as compared to others
one main advantage of bubble sort as compared to othersAjay Chimmani
 
Ee315 probability muqaibel ch1
Ee315 probability muqaibel ch1Ee315 probability muqaibel ch1
Ee315 probability muqaibel ch1MuhannadSaleh
 
Brief instruction on backprop
Brief instruction on backpropBrief instruction on backprop
Brief instruction on backpropYasutoTamura1
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagationParveenMalik18
 
Deep Learning con CNTK by Pablo Doval
Deep Learning con CNTK by Pablo DovalDeep Learning con CNTK by Pablo Doval
Deep Learning con CNTK by Pablo DovalPlain Concepts
 
Fear and loathing with APL (oredev)
Fear and loathing with APL (oredev)Fear and loathing with APL (oredev)
Fear and loathing with APL (oredev)Yan Cui
 

Similar to A Weird Soviet Method to Partially Solve the Perebor Problem (19)

Ai2418281871
Ai2418281871Ai2418281871
Ai2418281871
 
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
 
Find transitive-closure using warshalls-algorithm
Find transitive-closure  using warshalls-algorithmFind transitive-closure  using warshalls-algorithm
Find transitive-closure using warshalls-algorithm
 
Gomory's cutting plane method
Gomory's cutting plane methodGomory's cutting plane method
Gomory's cutting plane method
 
Genetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step ExampleGenetic Algorithm (GA) Optimization - Step-by-Step Example
Genetic Algorithm (GA) Optimization - Step-by-Step Example
 
Hidden Markov Model
Hidden Markov ModelHidden Markov Model
Hidden Markov Model
 
GraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queriesGraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queries
 
Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques Overview of sparse and low-rank matrix / tensor techniques
Overview of sparse and low-rank matrix / tensor techniques
 
Deep Learning for Folks Without (or With!) a Ph.D.
Deep Learning for Folks Without (or With!) a Ph.D.Deep Learning for Folks Without (or With!) a Ph.D.
Deep Learning for Folks Without (or With!) a Ph.D.
 
Aizaz comb sort
Aizaz comb sortAizaz comb sort
Aizaz comb sort
 
one main advantage of bubble sort as compared to others
one main advantage of bubble sort as compared to othersone main advantage of bubble sort as compared to others
one main advantage of bubble sort as compared to others
 
Ee315 probability muqaibel ch1
Ee315 probability muqaibel ch1Ee315 probability muqaibel ch1
Ee315 probability muqaibel ch1
 
Brief instruction on backprop
Brief instruction on backpropBrief instruction on backprop
Brief instruction on backprop
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagation
 
Deep Learning con CNTK by Pablo Doval
Deep Learning con CNTK by Pablo DovalDeep Learning con CNTK by Pablo Doval
Deep Learning con CNTK by Pablo Doval
 
Fine Grained Complexity
Fine Grained ComplexityFine Grained Complexity
Fine Grained Complexity
 
Fear and loathing with APL (oredev)
Fear and loathing with APL (oredev)Fear and loathing with APL (oredev)
Fear and loathing with APL (oredev)
 
Linear timesorting
Linear timesortingLinear timesorting
Linear timesorting
 
Modul 9
Modul 9Modul 9
Modul 9
 

More from Sing Kuang Tan

neuron_never_overfits.pptx
neuron_never_overfits.pptxneuron_never_overfits.pptx
neuron_never_overfits.pptxSing Kuang Tan
 
Square Peg Problem Test Function
Square Peg Problem Test FunctionSquare Peg Problem Test Function
Square Peg Problem Test FunctionSing Kuang Tan
 
Convex Square Peg Problem
Convex Square Peg ProblemConvex Square Peg Problem
Convex Square Peg ProblemSing Kuang Tan
 
Implement Data Structures with Python Fast using Sparse Matrix
Implement Data Structures with Python Fast using Sparse MatrixImplement Data Structures with Python Fast using Sparse Matrix
Implement Data Structures with Python Fast using Sparse MatrixSing Kuang Tan
 
Discrete Markov Random Field Relaxation
Discrete Markov Random Field RelaxationDiscrete Markov Random Field Relaxation
Discrete Markov Random Field RelaxationSing Kuang Tan
 
NP vs P Proof using Deterministic Finite Automata
NP vs P Proof using Deterministic Finite AutomataNP vs P Proof using Deterministic Finite Automata
NP vs P Proof using Deterministic Finite AutomataSing Kuang Tan
 
Use Inductive or Deductive Logic to solve NP vs P?
Use Inductive or Deductive Logic to solve NP vs P?Use Inductive or Deductive Logic to solve NP vs P?
Use Inductive or Deductive Logic to solve NP vs P?Sing Kuang Tan
 
Clique problem step_by_step
Clique problem step_by_stepClique problem step_by_step
Clique problem step_by_stepSing Kuang Tan
 
Hang Seng Index 8 trends
Hang Seng Index 8 trendsHang Seng Index 8 trends
Hang Seng Index 8 trendsSing Kuang Tan
 
Mathematical Proof types
Mathematical Proof typesMathematical Proof types
Mathematical Proof typesSing Kuang Tan
 

More from Sing Kuang Tan (11)

neuron_never_overfits.pptx
neuron_never_overfits.pptxneuron_never_overfits.pptx
neuron_never_overfits.pptx
 
Square Peg Problem Test Function
Square Peg Problem Test FunctionSquare Peg Problem Test Function
Square Peg Problem Test Function
 
Convex Square Peg Problem
Convex Square Peg ProblemConvex Square Peg Problem
Convex Square Peg Problem
 
Visual topology
Visual topologyVisual topology
Visual topology
 
Implement Data Structures with Python Fast using Sparse Matrix
Implement Data Structures with Python Fast using Sparse MatrixImplement Data Structures with Python Fast using Sparse Matrix
Implement Data Structures with Python Fast using Sparse Matrix
 
Discrete Markov Random Field Relaxation
Discrete Markov Random Field RelaxationDiscrete Markov Random Field Relaxation
Discrete Markov Random Field Relaxation
 
NP vs P Proof using Deterministic Finite Automata
NP vs P Proof using Deterministic Finite AutomataNP vs P Proof using Deterministic Finite Automata
NP vs P Proof using Deterministic Finite Automata
 
Use Inductive or Deductive Logic to solve NP vs P?
Use Inductive or Deductive Logic to solve NP vs P?Use Inductive or Deductive Logic to solve NP vs P?
Use Inductive or Deductive Logic to solve NP vs P?
 
Clique problem step_by_step
Clique problem step_by_stepClique problem step_by_step
Clique problem step_by_step
 
Hang Seng Index 8 trends
Hang Seng Index 8 trendsHang Seng Index 8 trends
Hang Seng Index 8 trends
 
Mathematical Proof types
Mathematical Proof typesMathematical Proof types
Mathematical Proof types
 

Recently uploaded

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

A Weird Soviet Method to Partially Solve the Perebor Problem

  • 1. A Weird Soviet Method to Partially Solve the Perebor Problem How is this method related to my NP vs P solution Sing Kuang Tan singkuangtan@gmail.com 17 August 2021
  • 2. Perebor Problems • Perebor problems are difficult problems which current methods can only solve it by brute force algorithm • https://drdoane.com/the-perebor-problem/ • Perebor problems are the NP (Non-Deterministic Polynomial time complexity) problem • Can we convert NP into P (Polynomial time complexity) problem? • My answer is NO. • My solution to NP vs P problem is NP≠P Link to my paper https://www.slideshare.net/SingKuangTan/brief-np-vspexplain-249524831 Prove Np not equal P using Markov Random Field and Boolean Algebra Simplification https://vixra.org/abs/2105.0181
  • 3. Alexander Razborov (from Soviet Union) • He developed the method to partially solve Perebor Problem. • Bio: https://en.wikipedia.org/wiki/Alexander_Razborov • In 1985, Razborov has proved that Clique problem of a graph requires a Non- Deterministic Polynomial time complexity (NP) algorithm if the algorithm is implemented using Boolean algebra consist of only “And” and “Or” operations • As there is no “Not” operation, so it only partially proves that NP≠P • Later I will show how I circumvent the problem of no “Not” operation • https://blog.computationalcomplexity.org/2005/09/circuit-complexity-and-p-versus-np.html • https://www.cs.utexas.edu/~danama/courses/adv-comp/scribe5.pdf • A. A. Razborov, Lower bounds on the monotone complexity of some Boolean functions, Dokl. Akad. Nauk. SSSR, 281(4):798-801, 1985 • At that time, Soviet is one of the country leading in the problem on NP vs P • Soviet Song “Our Army” LOL • https://www.youtube.com/watch?v=5yYQIa-4rLE • Enable subtitles 
  • 4. Clique Problem • https://en.wikipedia.org/wiki/Clique_problem 4-clique in this 7 vertices graph can be found using brute force “Or” operation “And” operation This digital circuit is used to detect whether a 3-clique exists in this 4 vertices graph This circuit has only “And” and “Or” operations (In literature, this is called a monotone circuit)
  • 5. Cellular Automata • What is Cellular Automata? • https://mathworld.wolfram.com/CellularAutomaton.ht ml • https://natureofcode.com/book/chapter-7-cellular- automata/ • https://towardsdatascience.com/simple-but-stunning- animated-cellular-automata-in-python-c912e0c156a9 • https://towardsdatascience.com/algorithmic-beauty-an- introduction-to-cellular-automata-f53179b3cf8f • Animation • https://www.youtube.com/watch?v=3MJ8deSCOCE
  • 6. “Not” operations are unnecessary • I will show using “Not” operations are unnecessary for implementation of any algorithms using Boolean algebra • I will use Cellular Automata as an Universal Computing model • A Polynomial time (P) Cellular Automata can be implemented without any “Not” operation First layer is the input of an algorithm Last layer is the output of an algorithm Cellular Automata can implement any algorithm Different algorithm can be implemented by changing the rule
  • 7. Cellular Automata can Emulate any Computer Algorithm An algorithm implemented on a modern computer Can also be implemented using Cellular Automata A Polynomial time complexity (P) algorithm remains Polynomial time (P) after implemented on Cellular Automata A Non-Deterministic Polynomial time complexity (NP) algorithm remains Non-Deterministic Polynomial time (NP) after implemented on Cellular Automata
  • 8. Simple Cellular Automata Example 5 bit binary input 1 bit binary output
  • 9. Simple Cellular Automata Example Each intermediate output is dependent on input Each output is dependent on intermediate outputs • This looks like a convolutional neural network • Neural Network can be represented by multi-layer Boolean algebra • Multi-layer Boolean algebra simplification gives us insight on how to train a neural network
  • 10. Simply Cellular Automata Example a1,1 a1,2 a1,3 a1,4 a1,5 a2,2 a2,3 a2,4 a3,3 I give a variable name to each cell of the Cellular Automata a1,1 Boolean Algebra or Circuit 𝑎3,3 a1,2 a1,3 a1,4 a1,5
  • 11. Simply Cellular Automata Example ai,j ai,j+1 Ai,j+2 ai+1,j+1 𝑎𝑖+1,𝑗+1 = 𝑎𝑖,𝑗 𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2 + 𝑎𝑖,𝑗𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2+ 𝑎𝑖,𝑗 𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2 + 𝑎𝑖,𝑗 𝑎𝑖,𝑗+1 𝑎𝑖,𝑗+2 Bar above ai,j means “Not” operation on ai,j Addition means “Or” operation Multiplication means “And” operation The rule can be implemented using the Boolean algebra below
  • 12. Simply Cellular Automata Example a1,1 a1,2 a1,3 a1,4 a1,5 a2,2 a2,3 a2,4 a3,3 𝑎2,2 = 𝑎1,1 𝑎1,2 𝑎1,3 + 𝑎1,1𝑎1,2 𝑎1,3+ 𝑎1,1 𝑎1,2 𝑎1,3 + 𝑎1,1 𝑎1,2 𝑎1,3 𝑎2,3 = 𝑎1,2 𝑎1,3 𝑎1,4 + 𝑎1,2𝑎1,3 𝑎1,4+ 𝑎1,2 𝑎1,3 𝑎1,4 + 𝑎1,2 𝑎1,3 𝑎1,4 𝑎2,4 = 𝑎1,3 𝑎1,4 𝑎1,5 + 𝑎1,3𝑎1,4 𝑎1,5+ 𝑎1,3 𝑎1,4 𝑎1,5 + 𝑎1,3 𝑎1,4 𝑎1,5 𝑎3,3 = 𝑎2,2 𝑎2,3 𝑎2,4 + 𝑎2,2𝑎2,3 𝑎2,4+ 𝑎2,2 𝑎2,3 𝑎2,4 + 𝑎2,2 𝑎2,3 𝑎2,4 Represent the Cellular Automata by Boolean algebra,
  • 13. Simply Cellular Automata Example 𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0 𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0 + 𝑎1,1,0𝑎1,2,0𝑎1,3,1 𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1 + 𝑎1,2,0𝑎1,3,0𝑎1,4,0 𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0 + 𝑎1,2,0𝑎1,3,0𝑎1,4,1 𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 + 𝑎1,3,0𝑎1,4,0𝑎1,5,0 𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 + 𝑎1,3,0𝑎1,4,0𝑎1,5,1 𝑎3,3,1 = (𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0 + 𝑎1,1,0𝑎1,2,0𝑎1,3,1)(𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1 + 𝑎1,2,0𝑎1,3,0𝑎1,4,0)(𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 + 𝑎1,3,0𝑎1,4,0𝑎1,5,0) + (𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0)(𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0 + 𝑎1,2,0𝑎1,3,0𝑎1,4,1)(𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 + 𝑎1,3,0𝑎1,4,0𝑎1,5,1)+ (𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0)(𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0 + 𝑎1,2,0𝑎1,3,0𝑎1,4,1)(𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 + 𝑎1,3,0𝑎1,4,0𝑎1,5,0) + (𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0)(𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1 + 𝑎1,2,0𝑎1,3,0𝑎1,4,0)(𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 + 𝑎1,3,0𝑎1,4,0𝑎1,5,1) Use the representation below to simplify the equations, 𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗 𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗 Combine all equations into 1 equation Later can do expansion or factorization on this 1 equation 𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 + 𝑎2,2,0𝑎2,3,1𝑎2,4,1+ 𝑎2,2,0𝑎2,3,1𝑎2,4,0 + 𝑎2,2,0𝑎2,3,0𝑎2,4,1
  • 14. Simply Cellular Automata Example a1,1 a1,2 a1,3 a1,4 a1,5 a2,2 a2,3 a2,4 a3,3 Find a3,3 in terms of a1,1, a1,2, a1,3, a1,4, a1,5 is a3,3=a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1 + a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0 + a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1 + a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1 + a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0 + a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1 + a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1 + a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1 + a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0 + a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1 + a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0 + a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1 + a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0 Use the representation below to simplify the equations, 𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗 𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗
  • 15. Simply Cellular Automata Example a1,1,0 Use the representation below to simplify the equations, 𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗 𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗 a1,1,1 a1,2,0 a1,2,1 a1,3,0 a1,3,1 a1,4,0 a1,4,1 a1,5,0 a1,5,1 a2,2,0 a2,2,1 a2,3,0 a2,3,1 a2,4,0 a2,4,1 A3,3,0 A3,3,1 Represent the Cellular Automata by Boolean algebra, 𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 + 𝑎1,1,0𝑎1,2,0𝑎1,3,0 𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0 + 𝑎1,1,0𝑎1,2,0𝑎1,3,1 𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1 + 𝑎1,2,0𝑎1,3,0𝑎1,4,0 𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0 + 𝑎1,2,0𝑎1,3,0𝑎1,4,1 𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 + 𝑎1,3,0𝑎1,4,0𝑎1,5,0 𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 + 𝑎1,3,0𝑎1,4,0𝑎1,5,1 𝑎3,3,0 = 𝑎2,2,1𝑎2,3,1𝑎2,4,1 + 𝑎2,2,1𝑎2,3,1𝑎2,4,0+ 𝑎2,2,1𝑎2,3,0𝑎2,4,1 + 𝑎2,2,0𝑎2,3,0𝑎2,4,0 𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 + 𝑎2,2,0𝑎2,3,1𝑎2,4,1+ 𝑎2,2,0𝑎2,3,1𝑎2,4,0 + 𝑎2,2,0𝑎2,3,0𝑎2,4,1 The use of double variables remove the need of “Not” operation in the Boolean algebra
  • 16. Simply Cellular Automata Example a1,1,0 Find a3,3,1 in terms of a1,1,0, a1,2,0, a1,3,0, a1,4,0, a1,5,0, a1,1,1, a1,2,1, a1,3,1, a1,4,1, a1,5,1 is a3,3,1=a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1 + a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0 + a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1 + a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1 + a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0 + a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1 + a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1 + a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1 + a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0 + a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1 + a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0 + a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1 + a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0 Use the representation below to simplify the equations, 𝑎𝑖,𝑗,0 = 𝑎𝑖,𝑗 𝑎𝑖,𝑗,1 = 𝑎𝑖,𝑗 a1,1,1 a1,2,0 a1,2,1 a1,3,0 a1,3,1 a1,4,0 a1,4,1 a1,5,0 a1,5,1 a2,2,0 a2,2,1 a2,3,0 a2,3,1 a2,4,0 a2,4,1 A3,3,0 A3,3,1 The use of double variables remove the need of “Not” operation in the Boolean algebra
  • 17. Other Models without “Not” operation • Creating a Boolean algebra without “Not” operation may seem weird in the first place • But there is no “Not” operation in • Fault tree analysis • AND OR graph (for solving e.g. TIC-TAC-TOE) • Bayesian network or Markov Random Field
  • 18. Expansion of the Boolean Algebra a3,3=a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1 + a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0 + a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1 + a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1 + a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0 + a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1 + a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1 + a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0 + a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1 + a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0 + a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1 + a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0 + a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1 + a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0 Polynomial Time Complexity Boolean algebra Non-Deterministic Polynomial Time Complexity Boolean algebra The Boolean algebra can be expanded 𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 +𝑎1,1,0𝑎1,2,0𝑎1,3,0 𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0 +𝑎1,1,0𝑎1,2,0𝑎1,3,1 𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1 +𝑎1,2,0𝑎1,3,0𝑎1,4,0 𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0 +𝑎1,2,0𝑎1,3,0𝑎1,4,1 𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 +𝑎1,3,0𝑎1,4,0𝑎1,5,0 𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 +𝑎1,3,0𝑎1,4,0𝑎1,5,1 𝑎3,3,0 = 𝑎2,2,1𝑎2,3,1𝑎2,4,1 + 𝑎2,2,1𝑎2,3,1𝑎2,4,0+ 𝑎2,2,1𝑎2,3,0𝑎2,4,1 +𝑎2,2,0𝑎2,3,0𝑎2,4,0 𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 + 𝑎2,2,0𝑎2,3,1𝑎2,4,1+ 𝑎2,2,0𝑎2,3,1𝑎2,4,0 +𝑎2,2,0𝑎2,3,0𝑎2,4,1 • Note that all Boolean algebras do not have “Not” operation • Expansion is simply multiply throughout
  • 19. Factorization of the Boolean Algebra a3,3 =a1,1,0a1,2,0a1,3,0a1,4,0a1,5,1+a1,1,0a1,2,0a1,3,0a1,4,1a1,5,0+ a1,1,0a1,2,0a1,3,0a1,4,1a1,5,1+ a1,1,0a1,2,1a1,3,1a1,4,0a1,5,1+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,0+ a1,1,0a1,2,1a1,3,1a1,4,1a1,5,1+ a1,1,1a1,2,0a1,3,0a1,4,0a1,5,0+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,0+ a1,1,1a1,2,0a1,3,1a1,4,0a1,5,1+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,0+ a1,1,1a1,2,0a1,3,1a1,4,1a1,5,1+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,0+ a1,1,1a1,2,1a1,3,0a1,4,0a1,5,1+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,0+ a1,1,1a1,2,1a1,3,0a1,4,1a1,5,1+ a1,1,1a1,2,1a1,3,1a1,4,0a1,5,0 Polynomial Time Complexity Boolean algebra Non-Deterministic Polynomial Time Complexity Boolean algebra The Boolean algebra can be factorized into multi- layer Boolean algebra that is more efficient if a more efficient Boolean algebra exists Naïve problem definition that solves a problem using brute force 𝑎2,2,0 = 𝑎1,1,1𝑎1,2,1𝑎1,3,1 + 𝑎1,1,1𝑎1,2,1𝑎1,3,0+ 𝑎1,1,1𝑎1,2,0𝑎1,3,1 +𝑎1,1,0𝑎1,2,0𝑎1,3,0 𝑎2,2,1 = 𝑎1,1,1𝑎1,2,0𝑎1,3,0 + 𝑎1,1,0𝑎1,2,1𝑎1,3,1+ 𝑎1,1,0𝑎1,2,1𝑎1,3,0 +𝑎1,1,0𝑎1,2,0𝑎1,3,1 𝑎2,3,0 = 𝑎1,2,1𝑎1,3,1𝑎1,4,1 + 𝑎1,2,1𝑎1,3,1𝑎1,4,0+ 𝑎1,2,1𝑎1,3,0𝑎1,4,1 +𝑎1,2,0𝑎1,3,0𝑎1,4,0 𝑎2,3,1 = 𝑎1,2,1𝑎1,3,0𝑎1,4,0 + 𝑎1,2,0𝑎1,3,1𝑎1,4,1+ 𝑎1,2,0𝑎1,3,1𝑎1,4,0 +𝑎1,2,0𝑎1,3,0𝑎1,4,1 𝑎2,4,0 = 𝑎1,3,1𝑎1,4,1𝑎1,5,1 + 𝑎1,3,1𝑎1,4,1𝑎1,5,0+ 𝑎1,3,1𝑎1,4,0𝑎1,5,1 +𝑎1,3,0𝑎1,4,0𝑎1,5,0 𝑎2,4,1 = 𝑎1,3,1𝑎1,4,0𝑎1,5,0 + 𝑎1,3,0𝑎1,4,1𝑎1,5,1+ 𝑎1,3,0𝑎1,4,1𝑎1,5,0 +𝑎1,3,0𝑎1,4,0𝑎1,5,1 𝑎3,3,0 = 𝑎2,2,1𝑎2,3,1𝑎2,4,1 + 𝑎2,2,1𝑎2,3,1𝑎2,4,0+ 𝑎2,2,1𝑎2,3,0𝑎2,4,1 +𝑎2,2,0𝑎2,3,0𝑎2,4,0 𝑎3,3,1 = 𝑎2,2,1𝑎2,3,0𝑎2,4,0 + 𝑎2,2,0𝑎2,3,1𝑎2,4,1+ 𝑎2,2,0𝑎2,3,1𝑎2,4,0 +𝑎2,2,0𝑎2,3,0𝑎2,4,1 • Simplification is simply factoring as there is no “Not” operation • We can find optimal time efficient Boolean algebra by factoring
  • 20. 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 Addition is “Or” operation Multiplication is “And” Operation
  • 21. Boolean Algebra of NP Problem • Boolean algebra • 𝑓 𝑎1, 𝑎2, 𝑎3, 𝑎4 = 𝑎1,𝑎2,𝑎3,𝑎4 ℎ(𝑎1, 𝑎2)ℎ(𝑎1, 𝑎3)ℎ(𝑎1, 𝑎4)ℎ(𝑎2, 𝑎3)ℎ(𝑎2, 𝑎4)ℎ(𝑎3, 𝑎4) • Each h term, h(ai,aj), is a Boolean input variable taking an input 0 or 1 • Addition is “Or” operation • Multiplication is “And” operation • We can try to simplify this Boolean algebra by factorization h(a1=0,a2=0) h(a1=1,a2=0) h(a1=0,a2=1) h(a1=0,a2=2) … h(a1=0,a3=0) h(a1=1,a3=0) h(a1=0,a3=1) h(a1=0,a3=2) … h(a3=0,a4=0) h(a3=1,a4=0) h(a3=0,a4=1) h(a3=0,a4=2) … Boolean Algebra or Circuit ⋮ ⋮
  • 22. “Not” Operations on h() Terms can be Replaced • Do not have to consider ℎ(𝑎𝑖 = 𝑣𝑖, 𝑎𝑗 = 𝑣𝑗) because “Not” operation on input can be replaced by • 𝑣𝑘,𝑣𝑙 (𝑣𝑖,𝑣𝑗) ℎ(𝑎𝑖 = 𝑣𝑘, 𝑎𝑗 = 𝑣𝑙) • which means sum of all h(ai,aj) terms not including h(ai=vi,aj=vj) • After replacing the ℎ(𝑎𝑖 = 𝑣𝑖, 𝑎𝑗 = 𝑣𝑗) term, the Boolean algebra remains Polynomial Time complexity if it is originally Polynomial time • Because it is replaced by at most 4*4-1=15 terms, where n=4 is the number of variables • Assume that the number of values a variable can take is 4 • E.g. ℎ(𝑎𝑖 = 0, 𝑎𝑗 = 0) can be replaced by h(ai=0,aj=1)+h(ai=0,aj=2) +h(ai=0,aj=3)+h(ai=1,aj=0)+h(ai=1,aj=1)+h(ai=1,aj=2) +h(ai=1,aj=3)+h(ai=2,aj=0)+h(ai=2,aj=1)+h(ai=2,aj=2)+h(ai=2,aj=3)+h(ai=3,aj=0) +h(ai=3,aj=1)+h(ai=3,aj=2)+h(ai=3,aj=3)
  • 23. 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 (end of slides)
  • 24. About Me • My job uses Machine Learning to solve problems • Like my posts or slides in LinkedIn, Twitter or Slideshare • Follow me on LinkedIn • https://www.linkedin.com/in/sing-kuang-tan-b189279/ • Follow me on Twitter • https://twitter.com/Tan_Sing_Kuang • Look at my Slideshare slides • https://www.slideshare.net/SingKuangTan • 8 trends in Hang Seng Index • 4 types of Mathematical Proofs • How I prove NP vs P • Follow me on Slideshare
  • 25. 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 NP vs P paper • https://www.slideshare.net/SingKuangTan/brief-np-vspexplain-249524831 • Prove Np not equal P using Markov Random Field and Boolean Algebra Simplification • https://vixra.org/abs/2105.0181 • Other link • https://www.slideshare.net/SingKuangTan