SlideShare una empresa de Scribd logo
1 de 16
NP vs P Proof using
Discrete Finite Automata
Using Clique Problem as example; How is it related to Turing Machine Time Complexity
Sing Kuang Tan
singkuangtan@gmail.com
11 November 2021
4 Vertices 3-Clique Problem Boolean Algebra
The Boolean algebra for 4 vertices 3-Clique problem is
P=ACE+ADF+BCF+BDE
=A(CE+DF)+B(CF+DE)
Can be converted to a Regular Expression:
A(b|B)C(d|D)E(f|F)|A(b|B)(c|C)D(e|E)F|(a|A)BC(d|D)(e|E)F|(a|A)B(c|C)DE(f|F)
Plot the Discrete Finite Automata of the Boolean Algebra
P=ACE+ADF+BCF+BDE
=A(CE+DF)+B(CF+DE)
18 States !!!
3 branch out on first 3 alphabets
● 3 branch out result in 6 alphabet
combinations examined in state
10 to 15
● 6 is exponential with respect to
the number of vertices (4 in this
case) in this Clique problem
Simple Boolean Algebra
The Boolean algebra for a simple Boolean algebra is
Q=ACD+AEF+BCD+BEF
=(A+B)(CD+EF)
Can be converted to a Regular Expression:
A(b|B)CD(e|E)(f|F)|A(b|B)(c|C)(d|D)EF|(a|A)BCD(e|E)(f|F)|(a|A)B(c|C)(d|D)EF
Plot the Discrete Finite Automata of the Boolean Algebra
Q=ACD+AEF+BCD+BEF
=(A+B)(CD+EF)
11 States !!!
1 branch on first alphabet 1 branch on third alphabet
● 1 branch results in 2 alphabet
combinations examined in state 5 to 6
● 1 branch results in 2 alphabet
combinations examined in state 8 to 9
Conclusion
● Clique problem is more algorithmically complex than simple Boolean algebra
● Therefore Clique problem has many more states (18 vs 11)
○ Clique problem has exponential number of states and therefore NP is not equal to P
● No matter what representations we use (Boolean Algebra vs Discrete Finite Automata), we
get the same result that Clique problem has much more algorithmic complexity than a simple
Boolean algebra
Problem Type Boolean Algebra Number of States of Discrete Finite Automata
4 vertices 3-Clique problem P=ACE+ADF+BCF+BDE
=A(CE+DF)+B(CF+DE)
18
Simple Boolean Algebra Q=ACD+AEF+BCD+BEF
=(A+B)(CD+EF)
11
Same Result for Turing Machine
● If we convert the Discrete Finite Automata to Turing Machine, we will get the
same result
● That Clique problem has more algorithmic complexity than simple Boolean
algebra
Convert to
Discrete Finite Automata Turing Machine
Unify Mathematical Theories
Discrete Finite Automata Turing Machine
Convert to
Convert to
Convert to
Boolean Algebra
● We can unify Mathematical Theories
by converting it to standard form in
one of the theories
● This enables to solve all problems
using one theory
To All Theoretical Computing Guys Out There
● Not everyone in the NP vs P community are trained in digital electronics and
know Boolean Algebra
● I convert Boolean Algebra to Discrete Finite Automata so that those who are
not trained in Boolean Algebra can also understand
● I think Discrete Finite Automata and Turing Machine are very similar and use
of Turing Machine results in the same proof of NP is not equal P
● I sent my proofs to the Turing Machine guys and many are not able to
understand my Boolean Algebra proof
○ But I think my proof represented in Turing Machine is the same thing
I think the Problems with NP vs P Proofs in the internet
using Turing Machine
● Many of these proofs are hand-waving
● The proofs did not cover all the cases in the NP vs P problem
● Due to the convoluted change of values of the tape machine by Turing
Machine, an algorithm implemented in Turing Machine is difficult to
understand
○ I think it is easier to analyse the algorithm using Boolean algebra
○ The NP vs P proof is more succinct using Boolean Algebra than Turing Machine
Links to create Discrete Finite Automata (DFA)
● Link to create NFA, DFA and min DFA
○ https://cyberzhg.github.io/toolbox/nfa2dfa
Comments?
What do you think?
● If we proved NP is not equal to P using Boolean Algebra, it is the same when
we use Discrete Finite Automata and Turing Machine?
○ I think is Yes.
● Should we rewrite Mathematical Theories in Canonical form in one of the
Theories so that we can unify Mathematics?
Collaborations?
● We can work together to get the final proof for NP vs P. :D
○ Sing Kuang Tan singkuangtan@gmail.com
● Help me forward this email to anyone who is interested in this NP vs P
problem.
● Or tell me who are interested in this problem.
More about Clique Problem
● Step by step explanation of NP vs P in Clique problem
○ https://www.slideshare.net/SingKuangTan/clique-problem-stepbystep
● My Quora questions on simplification of Boolean algebras of Clique problems
○ https://www.quora.com/What-is-the-best-way-to-simplify-this-Boolean-algebra-expression-P-
ADB-DFE-FCB-AEC-This-is-the-4-Vertices-3-Clique-problem
○ https://www.quora.com/unanswered/Simplify-Boolean-algebra-P-sum_-1-le-i-j-k-l-leq-7-i-neq-j-
neq-k-neq-l-a_-i-j-a_-i-k-a_-i-l-a_-j-k-a_-j-l-a_-k-l-A-7-Vertices-4-Clique-problem-if-of-
operations-cannot-be-reduced-then-NP-is-not-equal-P-1
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
○ Send me comments through these links
● Look at my Slideshare slides
○ https://www.slideshare.net/SingKuangTan
■ Use Inductive or Deductive Logic to solve NP vs P?
■ Kung Fu Computer Science, Clique Problem: Step by Step
■ Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic Engineer
■ A weird Soviet method to partially solve the Perebor Problems
■ 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

Más contenido relacionado

La actualidad más candente

Shortest path algorithm
Shortest path algorithmShortest path algorithm
Shortest path algorithmsana younas
 
A* Path Finding
A* Path FindingA* Path Finding
A* Path Findingdnatapov
 
uninformed search part 2.pptx
uninformed search part 2.pptxuninformed search part 2.pptx
uninformed search part 2.pptxMUZAMILALI48
 
Prim's Algorithm on minimum spanning tree
Prim's Algorithm on minimum spanning treePrim's Algorithm on minimum spanning tree
Prim's Algorithm on minimum spanning treeoneous
 
Dfs presentation
Dfs presentationDfs presentation
Dfs presentationAlizay Khan
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchHema Kashyap
 
CS6702 Unit III coloring ppt
CS6702   Unit III coloring pptCS6702   Unit III coloring ppt
CS6702 Unit III coloring pptAbilaasha Ganesan
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithmami_01
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithmSrikrishnan Suresh
 

La actualidad más candente (20)

A Star Search
A Star SearchA Star Search
A Star Search
 
Graph Theory: Trees
Graph Theory: TreesGraph Theory: Trees
Graph Theory: Trees
 
Shortest path algorithm
Shortest path algorithmShortest path algorithm
Shortest path algorithm
 
Bellman ford algorithm
Bellman ford algorithmBellman ford algorithm
Bellman ford algorithm
 
Astar algorithm
Astar algorithmAstar algorithm
Astar algorithm
 
Kruskal Algorithm
Kruskal AlgorithmKruskal Algorithm
Kruskal Algorithm
 
A* Path Finding
A* Path FindingA* Path Finding
A* Path Finding
 
uninformed search part 2.pptx
uninformed search part 2.pptxuninformed search part 2.pptx
uninformed search part 2.pptx
 
Prim's Algorithm on minimum spanning tree
Prim's Algorithm on minimum spanning treePrim's Algorithm on minimum spanning tree
Prim's Algorithm on minimum spanning tree
 
Greedy algorithms
Greedy algorithmsGreedy algorithms
Greedy algorithms
 
Bfs dfs
Bfs dfsBfs dfs
Bfs dfs
 
Dfs presentation
Dfs presentationDfs presentation
Dfs presentation
 
Minimum spanning tree
Minimum spanning treeMinimum spanning tree
Minimum spanning tree
 
Dfs
DfsDfs
Dfs
 
Discrete-Chapter 10 Trees
Discrete-Chapter 10 TreesDiscrete-Chapter 10 Trees
Discrete-Chapter 10 Trees
 
Lecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star searchLecture 21 problem reduction search ao star search
Lecture 21 problem reduction search ao star search
 
CS6702 Unit III coloring ppt
CS6702   Unit III coloring pptCS6702   Unit III coloring ppt
CS6702 Unit III coloring ppt
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithm
 
Bellman ford algorithm
Bellman ford algorithmBellman ford algorithm
Bellman ford algorithm
 
All pairs shortest path algorithm
All pairs shortest path algorithmAll pairs shortest path algorithm
All pairs shortest path algorithm
 

Similar a 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?Sing Kuang Tan
 
Ads unit 3 ppt
Ads unit 3 pptAds unit 3 ppt
Ads unit 3 pptpraveena p
 
Logic
LogicLogic
LogicHamxi
 
Koreanizer : Statistical Machine Translation based Ro-Ko Transliterator
Koreanizer : Statistical Machine Translation based Ro-Ko TransliteratorKoreanizer : Statistical Machine Translation based Ro-Ko Transliterator
Koreanizer : Statistical Machine Translation based Ro-Ko TransliteratorHONGJOO LEE
 
Dynamic programming class 16
Dynamic programming class 16Dynamic programming class 16
Dynamic programming class 16Kumar
 
Skiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np completeSkiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np completezukun
 
Stanford splash spring 2016 basic programming
Stanford splash spring 2016 basic programmingStanford splash spring 2016 basic programming
Stanford splash spring 2016 basic programmingYu-Sheng (Yosen) Chen
 
Module 1 solving inequalities notes
Module 1 solving inequalities notesModule 1 solving inequalities notes
Module 1 solving inequalities notesMichelle Barnhill
 
The mathematics of AI (machine learning mathematically)
The mathematics of AI (machine learning mathematically)The mathematics of AI (machine learning mathematically)
The mathematics of AI (machine learning mathematically)Daniel Tubbenhauer
 
DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th...
 DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th... DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th...
DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th...Patrick Viafore
 
Undecidable Problems and Approximation Algorithms
Undecidable Problems and Approximation AlgorithmsUndecidable Problems and Approximation Algorithms
Undecidable Problems and Approximation AlgorithmsMuthu Vinayagam
 

Similar a NP vs P Proof using Deterministic Finite Automata (20)

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?
 
A primer on computer algebra
A primer on computer algebraA primer on computer algebra
A primer on computer algebra
 
Ads unit 3 ppt
Ads unit 3 pptAds unit 3 ppt
Ads unit 3 ppt
 
AA ppt9107
AA ppt9107AA ppt9107
AA ppt9107
 
class23.ppt
class23.pptclass23.ppt
class23.ppt
 
Logic
LogicLogic
Logic
 
Cs gate-2011
Cs gate-2011Cs gate-2011
Cs gate-2011
 
Cs gate-2011
Cs gate-2011Cs gate-2011
Cs gate-2011
 
Koreanizer : Statistical Machine Translation based Ro-Ko Transliterator
Koreanizer : Statistical Machine Translation based Ro-Ko TransliteratorKoreanizer : Statistical Machine Translation based Ro-Ko Transliterator
Koreanizer : Statistical Machine Translation based Ro-Ko Transliterator
 
Fine Grained Complexity
Fine Grained ComplexityFine Grained Complexity
Fine Grained Complexity
 
Dynamic programming class 16
Dynamic programming class 16Dynamic programming class 16
Dynamic programming class 16
 
Skiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np completeSkiena algorithm 2007 lecture19 introduction to np complete
Skiena algorithm 2007 lecture19 introduction to np complete
 
Stanford splash spring 2016 basic programming
Stanford splash spring 2016 basic programmingStanford splash spring 2016 basic programming
Stanford splash spring 2016 basic programming
 
Slides
SlidesSlides
Slides
 
Module 1 solving inequalities notes
Module 1 solving inequalities notesModule 1 solving inequalities notes
Module 1 solving inequalities notes
 
The mathematics of AI (machine learning mathematically)
The mathematics of AI (machine learning mathematically)The mathematics of AI (machine learning mathematically)
The mathematics of AI (machine learning mathematically)
 
DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th...
 DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th... DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th...
DevSpace 2018 - Practical Computer Science: What You Need To Know Without Th...
 
1.algorithms
1.algorithms1.algorithms
1.algorithms
 
UNIT-V.ppt
UNIT-V.pptUNIT-V.ppt
UNIT-V.ppt
 
Undecidable Problems and Approximation Algorithms
Undecidable Problems and Approximation AlgorithmsUndecidable Problems and Approximation Algorithms
Undecidable Problems and Approximation Algorithms
 

Más de 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
 
Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...
Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...
Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...Sing Kuang Tan
 
A Weird Soviet Method to Partially Solve the Perebor Problem
A Weird Soviet Method to Partially Solve the Perebor ProblemA Weird Soviet Method to Partially Solve the Perebor Problem
A Weird Soviet Method to Partially Solve the Perebor ProblemSing Kuang Tan
 
NP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 P
NP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 PNP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 P
NP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 PSing 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
 
Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...
Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...
Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...Sing Kuang Tan
 

Más de Sing Kuang Tan (12)

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
 
Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...
Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...
Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic ...
 
A Weird Soviet Method to Partially Solve the Perebor Problem
A Weird Soviet Method to Partially Solve the Perebor ProblemA Weird Soviet Method to Partially Solve the Perebor Problem
A Weird Soviet Method to Partially Solve the Perebor Problem
 
NP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 P
NP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 PNP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 P
NP vs P 的简要说明。 使用马尔可夫随机场和布尔代数简化证明 Np 不等于 P
 
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
 
Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...
Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...
Brief explanation of NP vs P. Prove Np not equal P using Markov Random Field ...
 

Último

A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...Health
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 

Último (20)

A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 

NP vs P Proof using Deterministic Finite Automata

  • 1. NP vs P Proof using Discrete Finite Automata Using Clique Problem as example; How is it related to Turing Machine Time Complexity Sing Kuang Tan singkuangtan@gmail.com 11 November 2021
  • 2. 4 Vertices 3-Clique Problem Boolean Algebra The Boolean algebra for 4 vertices 3-Clique problem is P=ACE+ADF+BCF+BDE =A(CE+DF)+B(CF+DE) Can be converted to a Regular Expression: A(b|B)C(d|D)E(f|F)|A(b|B)(c|C)D(e|E)F|(a|A)BC(d|D)(e|E)F|(a|A)B(c|C)DE(f|F)
  • 3. Plot the Discrete Finite Automata of the Boolean Algebra P=ACE+ADF+BCF+BDE =A(CE+DF)+B(CF+DE) 18 States !!! 3 branch out on first 3 alphabets ● 3 branch out result in 6 alphabet combinations examined in state 10 to 15 ● 6 is exponential with respect to the number of vertices (4 in this case) in this Clique problem
  • 4. Simple Boolean Algebra The Boolean algebra for a simple Boolean algebra is Q=ACD+AEF+BCD+BEF =(A+B)(CD+EF) Can be converted to a Regular Expression: A(b|B)CD(e|E)(f|F)|A(b|B)(c|C)(d|D)EF|(a|A)BCD(e|E)(f|F)|(a|A)B(c|C)(d|D)EF
  • 5. Plot the Discrete Finite Automata of the Boolean Algebra Q=ACD+AEF+BCD+BEF =(A+B)(CD+EF) 11 States !!! 1 branch on first alphabet 1 branch on third alphabet ● 1 branch results in 2 alphabet combinations examined in state 5 to 6 ● 1 branch results in 2 alphabet combinations examined in state 8 to 9
  • 6. Conclusion ● Clique problem is more algorithmically complex than simple Boolean algebra ● Therefore Clique problem has many more states (18 vs 11) ○ Clique problem has exponential number of states and therefore NP is not equal to P ● No matter what representations we use (Boolean Algebra vs Discrete Finite Automata), we get the same result that Clique problem has much more algorithmic complexity than a simple Boolean algebra Problem Type Boolean Algebra Number of States of Discrete Finite Automata 4 vertices 3-Clique problem P=ACE+ADF+BCF+BDE =A(CE+DF)+B(CF+DE) 18 Simple Boolean Algebra Q=ACD+AEF+BCD+BEF =(A+B)(CD+EF) 11
  • 7. Same Result for Turing Machine ● If we convert the Discrete Finite Automata to Turing Machine, we will get the same result ● That Clique problem has more algorithmic complexity than simple Boolean algebra Convert to Discrete Finite Automata Turing Machine
  • 8. Unify Mathematical Theories Discrete Finite Automata Turing Machine Convert to Convert to Convert to Boolean Algebra ● We can unify Mathematical Theories by converting it to standard form in one of the theories ● This enables to solve all problems using one theory
  • 9. To All Theoretical Computing Guys Out There ● Not everyone in the NP vs P community are trained in digital electronics and know Boolean Algebra ● I convert Boolean Algebra to Discrete Finite Automata so that those who are not trained in Boolean Algebra can also understand ● I think Discrete Finite Automata and Turing Machine are very similar and use of Turing Machine results in the same proof of NP is not equal P ● I sent my proofs to the Turing Machine guys and many are not able to understand my Boolean Algebra proof ○ But I think my proof represented in Turing Machine is the same thing
  • 10. I think the Problems with NP vs P Proofs in the internet using Turing Machine ● Many of these proofs are hand-waving ● The proofs did not cover all the cases in the NP vs P problem ● Due to the convoluted change of values of the tape machine by Turing Machine, an algorithm implemented in Turing Machine is difficult to understand ○ I think it is easier to analyse the algorithm using Boolean algebra ○ The NP vs P proof is more succinct using Boolean Algebra than Turing Machine
  • 11. Links to create Discrete Finite Automata (DFA) ● Link to create NFA, DFA and min DFA ○ https://cyberzhg.github.io/toolbox/nfa2dfa
  • 12. Comments? What do you think? ● If we proved NP is not equal to P using Boolean Algebra, it is the same when we use Discrete Finite Automata and Turing Machine? ○ I think is Yes. ● Should we rewrite Mathematical Theories in Canonical form in one of the Theories so that we can unify Mathematics?
  • 13. Collaborations? ● We can work together to get the final proof for NP vs P. :D ○ Sing Kuang Tan singkuangtan@gmail.com ● Help me forward this email to anyone who is interested in this NP vs P problem. ● Or tell me who are interested in this problem.
  • 14. More about Clique Problem ● Step by step explanation of NP vs P in Clique problem ○ https://www.slideshare.net/SingKuangTan/clique-problem-stepbystep ● My Quora questions on simplification of Boolean algebras of Clique problems ○ https://www.quora.com/What-is-the-best-way-to-simplify-this-Boolean-algebra-expression-P- ADB-DFE-FCB-AEC-This-is-the-4-Vertices-3-Clique-problem ○ https://www.quora.com/unanswered/Simplify-Boolean-algebra-P-sum_-1-le-i-j-k-l-leq-7-i-neq-j- neq-k-neq-l-a_-i-j-a_-i-k-a_-i-l-a_-j-k-a_-j-l-a_-k-l-A-7-Vertices-4-Clique-problem-if-of- operations-cannot-be-reduced-then-NP-is-not-equal-P-1
  • 15. 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 ○ Send me comments through these links ● Look at my Slideshare slides ○ https://www.slideshare.net/SingKuangTan ■ Use Inductive or Deductive Logic to solve NP vs P? ■ Kung Fu Computer Science, Clique Problem: Step by Step ■ Beyond Shannon, Sipser and Razborov; Solve Clique Problem like an Electronic Engineer ■ A weird Soviet method to partially solve the Perebor Problems ■ 8 trends in Hang Seng Index ■ 4 types of Mathematical Proofs ■ How I prove NP vs P ○ Follow me on Slideshare
  • 16. 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