SlideShare a Scribd company logo
1 of 18
Download to read offline
Computational Complexity for Poets
Aleksandar Bradic
Supplyframe
January 23, 2019
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 1 / 18
The Entscheidungsproblem
Is there an algorithm that takes as input an arbitrary statement of
a first-order logic (possibly with a finite number of axioms beyond
the usual axioms of first-order logic) and answers ”Yes” or ”No”
according to whether a given statement is universally valid, i.e.,
valid in every structure satisfying the axioms.
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 2 / 18
The Entscheidungsproblem
A general solution to the Entscheidungsproblem is impossible,
assuming that the intuitive notion of ”effectively calculable” is
captured by the functions computable by a Turing machine
(Church-Turing thesis).
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 3 / 18
G¨odel’s Lost Letter (1956)
Given a formal system F (such as Zermelo-Frenkel set theory),
consider the problem of deciding whether a mathematical
statement S has a proof in F with n symbols or fewer.
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 4 / 18
G¨odel’s Lost Letter (1956)
If there actually were a machine with running time ∼ Kn (or even
only with ∼ Kn2), for some constant K independent of n, this
would have consequences of the greatest magnitude. That is to say,
it would clearly indicate that, despite the unsolvability of the
Entscheidungsproblem, the mental effort of the mathematician in
the case of yes-or-no questions could be completely replaced by
machines. One would indeed have to simply select an n so large
that, if the machine yields no results, there would then also be no
reason to think further about the problem.
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 5 / 18
P vs. NP Problem
P (Polynomial time) - the class of all computational problems
that are solvable by a polynomial-time algorithm
NP (Nondeterministic Polynomial-Time) - the class of
computational problems for which a solution can be recognized in
polynomial time, even though a solution might be very hard to
find.
P ⊆ NP. Whether P = NP is an open question.
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 6 / 18
P vs. NP Problem
P: Bellman-Ford algorithm, Edge Cover, Longest Common
Subsequence, Floyd-Warshall algorithm, Matching, Minimum
Spanning Tree, Shortest Path Problem, Yen’s Algorithm...
NP: Traveling Salesman Problem, Hamiltonian Path, Vertex
Cover, Set Cover, Boolean Satisfiability, Independent Set, Clique,
Longest Path, Subgraph Isomorphism, Minesweeper, Tetris,
Sudoku, Exact cover, Knapsack problem, Steiner Tree Problem...
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 7 / 18
A Tour of NP
Graph k-Coloring: Is there a proper k-coloring of a given graph?
Boolean Satisfiability: Is a given CNF Boolean formula
φ(x1, ...., xn) satisfiable?
Subset Sum: Given a set S = x1, ..., xl of positive integers and an
integer t, does there exist a subset A ⊆ 1, ..., l such that
i∈A xi = t
Clique: Does graph G have a clique of size k or more?
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 8 / 18
Computational Capacity of the Universe
All physical systems register and process information. The laws of
physics determine the amount of information that a physical
system can register (number of bits) and the number of elementary
logic operations that a system can perform. The Universe is a
physical system. The amount of information that the Universe can
register and the number of elementary operations that it can have
performed over its history are calculated. The Universe can have
performed 10120 ops on 1090 bits (10120 bits including gravitational
degrees of freedom). - Seth Lloyd, Physical Review Letters, June
2002.
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 9 / 18
Computational Capacity of the Universe
The Universe can have performed 10120 ops (∼ 2400) on 1090 bits
(10120 bits including gravitational degrees of freedom).
The Universe computing solution to the truncated
Entscheidungsproblem with n = 400 symbols would have just
completed its task!
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 10 / 18
NP Completeness
Any problem in NP can be reduced in polynomial time by a
deterministic Turing machine to the problem of determining
whether a Boolean formula is satisfiable. - Stephen Cook, ”The
complexity of theorem proving procedures” (1971)
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 11 / 18
Boolean Satisfiability
Can the variables of a given Boolean formula be consistently
replaced by the values TRUE or FALSE in such a way that the
formula evaluates to TRUE? If this is the case, the formula is
called satisfiable. On the other hand, if no such assignment exists,
the function expressed by the formula is FALSE for all possible
variable assignments and the formula is unsatisfiable.
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 12 / 18
NP Completeness
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 13 / 18
Complexity Zoo
BPP (Bounded-error Probabilistic Polynomial Time) - Decision
problems solvable by a probabilistic Turing machine in polynomial
time with an error probability bounded away from 1/2 for all
instances.
PP - Decision problems solvable by a probabilistic Turing machine
in polynomial time, with an error probability of less than 1/2 for
all instances. BPP ⊂ PP.
BQP (Bounded-error Quantum Polynomial Time) - Decision
problems solvable by a quantum computer in polynomial time,
with an error probability of at most 1/3 for all instances.
(quantum analogue of BPP).
...
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 14 / 18
Complexity Zoo
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 15 / 18
Computational Complexity and the Turing Test
Turing Test could be trivially passed by using a lookup table that
stores every possible conversation and the corresponding action to
be taken. However, such a program would need to be
exponentially-inefficient in the length of the test - as measured in
some resource such as time, memory usage, or the number of bits
needed to write the program down. Can we prove that we can (not)
do better than this astronomical lookup table?
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 16 / 18
Can Humans Solve NP-Complete Problems Effciently?
All evidence points to the contrary in the general case
Still, humans could have the ability to solve interesting special
cases of NP-complete problems faster than any Turing machine
Ironically, the notion of being sentient seems to be closely related
to the notion of being polynomially-bounded. The distinction
between polynomial and exponential complexity could have a
metaphysical significance
However, we still can’t tell if everything that humans do can be
efficiently reduced to a specific complexity class.
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 17 / 18
References
Why Philosophers Should Care About Computational Complexity,
Scott Aaronson, Computability: G¨odel, Turing, Church, and
beyond, 2011
Computational Capacity of the Universe, Seth Lloyd, Physical
Review Letters, 2002
Probably Approximately Correct: Nature’s Algorithms for Learning
and Prospering in a Complex World, Leslie Valiant, Basic Books,
2013
The Nature of Computatation, Christopher Moore and Stephan
Mertens, Oxford University Press, 2011
Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 18 / 18

More Related Content

Similar to Computational Complexity for Poets

Why machines can't think (logically)
Why machines can't think (logically)Why machines can't think (logically)
Why machines can't think (logically)Andre Vellino
 
Lecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfLecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfRanvinuHewage
 
20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrisonComputer Science Club
 
On the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality FeatureOn the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality Featureijcsit
 
ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE
ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE
ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE AIRCC Publishing Corporation
 
On the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality FeatureOn the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality FeatureAIRCC Publishing Corporation
 
Limits of Computation
Limits of ComputationLimits of Computation
Limits of ComputationJoshua Reuben
 
The Limits of Computation
The Limits of ComputationThe Limits of Computation
The Limits of ComputationJoshua Reuben
 
Hardness of approximation
Hardness of approximationHardness of approximation
Hardness of approximationcarlol
 
Quantum Computing Lecture 2: Advanced Concepts
Quantum Computing Lecture 2: Advanced ConceptsQuantum Computing Lecture 2: Advanced Concepts
Quantum Computing Lecture 2: Advanced ConceptsMelanie Swan
 
Machine Learning
Machine LearningMachine Learning
Machine Learningbutest
 
Jarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicJarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicPalGov
 

Similar to Computational Complexity for Poets (20)

Academic paper - Final
Academic paper - FinalAcademic paper - Final
Academic paper - Final
 
Why machines can't think (logically)
Why machines can't think (logically)Why machines can't think (logically)
Why machines can't think (logically)
 
Lecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfLecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdf
 
Thesis presentation
Thesis presentationThesis presentation
Thesis presentation
 
20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison20130928 automated theorem_proving_harrison
20130928 automated theorem_proving_harrison
 
Side 2019 #12
Side 2019 #12Side 2019 #12
Side 2019 #12
 
chap3.pdf
chap3.pdfchap3.pdf
chap3.pdf
 
Pnp
PnpPnp
Pnp
 
On the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality FeatureOn the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality Feature
 
ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE
ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE
ON THE CLASSIFICATION OF NP COMPLETE PROBLEMS AND THEIR DUALITY FEATURE
 
On the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality FeatureOn the Classification of NP Complete Problems and Their Duality Feature
On the Classification of NP Complete Problems and Their Duality Feature
 
Limits of Computation
Limits of ComputationLimits of Computation
Limits of Computation
 
The Limits of Computation
The Limits of ComputationThe Limits of Computation
The Limits of Computation
 
2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...
2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...
2019 Fall Series: Postdoc Seminars - Special Guest Lecture, Attacking the Cur...
 
Statistical Physics Studies of Machine Learning Problems by Lenka Zdeborova, ...
Statistical Physics Studies of Machine Learning Problems by Lenka Zdeborova, ...Statistical Physics Studies of Machine Learning Problems by Lenka Zdeborova, ...
Statistical Physics Studies of Machine Learning Problems by Lenka Zdeborova, ...
 
Hardness of approximation
Hardness of approximationHardness of approximation
Hardness of approximation
 
Quantum Computing Lecture 2: Advanced Concepts
Quantum Computing Lecture 2: Advanced ConceptsQuantum Computing Lecture 2: Advanced Concepts
Quantum Computing Lecture 2: Advanced Concepts
 
Machine Learning
Machine LearningMachine Learning
Machine Learning
 
Jarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logicJarrar.lecture notes.aai.2011s.ch7.p logic
Jarrar.lecture notes.aai.2011s.ch7.p logic
 
NP-Completeness - II
NP-Completeness - IINP-Completeness - II
NP-Completeness - II
 

More from Aleksandar Bradic

Creativity, Language, Computation - Sketching in Hardware 2022
Creativity, Language, Computation - Sketching in Hardware 2022Creativity, Language, Computation - Sketching in Hardware 2022
Creativity, Language, Computation - Sketching in Hardware 2022Aleksandar Bradic
 
Technology and Power: Agency, Discourse and Community Formation
Technology and Power: Agency, Discourse and Community FormationTechnology and Power: Agency, Discourse and Community Formation
Technology and Power: Agency, Discourse and Community FormationAleksandar Bradic
 
Theses on AI User Experience Design - Sketching in Hardware 2020
Theses on AI User Experience Design - Sketching in Hardware 2020Theses on AI User Experience Design - Sketching in Hardware 2020
Theses on AI User Experience Design - Sketching in Hardware 2020Aleksandar Bradic
 
Go-to-Market & Scaling: An Engineering Perspective
Go-to-Market & Scaling: An Engineering PerspectiveGo-to-Market & Scaling: An Engineering Perspective
Go-to-Market & Scaling: An Engineering PerspectiveAleksandar Bradic
 
Human-Data Interfaces: A case for hardware-driven innovation
Human-Data Interfaces: A case for hardware-driven innovationHuman-Data Interfaces: A case for hardware-driven innovation
Human-Data Interfaces: A case for hardware-driven innovationAleksandar Bradic
 
Kolmogorov Complexity, Art, and all that
Kolmogorov Complexity, Art, and all thatKolmogorov Complexity, Art, and all that
Kolmogorov Complexity, Art, and all thatAleksandar Bradic
 
De Bruijn Sequences for Fun and Profit
De Bruijn Sequences for Fun and ProfitDe Bruijn Sequences for Fun and Profit
De Bruijn Sequences for Fun and ProfitAleksandar Bradic
 
Can Data Help Us Build Better Hardware Products ?
Can Data Help Us Build Better Hardware Products ? Can Data Help Us Build Better Hardware Products ?
Can Data Help Us Build Better Hardware Products ? Aleksandar Bradic
 
S4: Distributed Stream Computing Platform
S4: Distributed Stream Computing PlatformS4: Distributed Stream Computing Platform
S4: Distributed Stream Computing PlatformAleksandar Bradic
 

More from Aleksandar Bradic (11)

Creativity, Language, Computation - Sketching in Hardware 2022
Creativity, Language, Computation - Sketching in Hardware 2022Creativity, Language, Computation - Sketching in Hardware 2022
Creativity, Language, Computation - Sketching in Hardware 2022
 
Technology and Power: Agency, Discourse and Community Formation
Technology and Power: Agency, Discourse and Community FormationTechnology and Power: Agency, Discourse and Community Formation
Technology and Power: Agency, Discourse and Community Formation
 
Theses on AI User Experience Design - Sketching in Hardware 2020
Theses on AI User Experience Design - Sketching in Hardware 2020Theses on AI User Experience Design - Sketching in Hardware 2020
Theses on AI User Experience Design - Sketching in Hardware 2020
 
Go-to-Market & Scaling: An Engineering Perspective
Go-to-Market & Scaling: An Engineering PerspectiveGo-to-Market & Scaling: An Engineering Perspective
Go-to-Market & Scaling: An Engineering Perspective
 
Human-Data Interfaces: A case for hardware-driven innovation
Human-Data Interfaces: A case for hardware-driven innovationHuman-Data Interfaces: A case for hardware-driven innovation
Human-Data Interfaces: A case for hardware-driven innovation
 
Kolmogorov Complexity, Art, and all that
Kolmogorov Complexity, Art, and all thatKolmogorov Complexity, Art, and all that
Kolmogorov Complexity, Art, and all that
 
De Bruijn Sequences for Fun and Profit
De Bruijn Sequences for Fun and ProfitDe Bruijn Sequences for Fun and Profit
De Bruijn Sequences for Fun and Profit
 
Can Data Help Us Build Better Hardware Products ?
Can Data Help Us Build Better Hardware Products ? Can Data Help Us Build Better Hardware Products ?
Can Data Help Us Build Better Hardware Products ?
 
Supplyframe Engineering
Supplyframe EngineeringSupplyframe Engineering
Supplyframe Engineering
 
S4: Distributed Stream Computing Platform
S4: Distributed Stream Computing PlatformS4: Distributed Stream Computing Platform
S4: Distributed Stream Computing Platform
 
The CAP Theorem
The CAP Theorem The CAP Theorem
The CAP Theorem
 

Recently uploaded

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
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
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
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
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
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
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
"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
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
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
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
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
 
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
 
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
 

Recently uploaded (20)

Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
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
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
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
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
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
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
"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"
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
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
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
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
 
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
 
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
 

Computational Complexity for Poets

  • 1. Computational Complexity for Poets Aleksandar Bradic Supplyframe January 23, 2019 Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 1 / 18
  • 2. The Entscheidungsproblem Is there an algorithm that takes as input an arbitrary statement of a first-order logic (possibly with a finite number of axioms beyond the usual axioms of first-order logic) and answers ”Yes” or ”No” according to whether a given statement is universally valid, i.e., valid in every structure satisfying the axioms. Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 2 / 18
  • 3. The Entscheidungsproblem A general solution to the Entscheidungsproblem is impossible, assuming that the intuitive notion of ”effectively calculable” is captured by the functions computable by a Turing machine (Church-Turing thesis). Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 3 / 18
  • 4. G¨odel’s Lost Letter (1956) Given a formal system F (such as Zermelo-Frenkel set theory), consider the problem of deciding whether a mathematical statement S has a proof in F with n symbols or fewer. Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 4 / 18
  • 5. G¨odel’s Lost Letter (1956) If there actually were a machine with running time ∼ Kn (or even only with ∼ Kn2), for some constant K independent of n, this would have consequences of the greatest magnitude. That is to say, it would clearly indicate that, despite the unsolvability of the Entscheidungsproblem, the mental effort of the mathematician in the case of yes-or-no questions could be completely replaced by machines. One would indeed have to simply select an n so large that, if the machine yields no results, there would then also be no reason to think further about the problem. Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 5 / 18
  • 6. P vs. NP Problem P (Polynomial time) - the class of all computational problems that are solvable by a polynomial-time algorithm NP (Nondeterministic Polynomial-Time) - the class of computational problems for which a solution can be recognized in polynomial time, even though a solution might be very hard to find. P ⊆ NP. Whether P = NP is an open question. Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 6 / 18
  • 7. P vs. NP Problem P: Bellman-Ford algorithm, Edge Cover, Longest Common Subsequence, Floyd-Warshall algorithm, Matching, Minimum Spanning Tree, Shortest Path Problem, Yen’s Algorithm... NP: Traveling Salesman Problem, Hamiltonian Path, Vertex Cover, Set Cover, Boolean Satisfiability, Independent Set, Clique, Longest Path, Subgraph Isomorphism, Minesweeper, Tetris, Sudoku, Exact cover, Knapsack problem, Steiner Tree Problem... Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 7 / 18
  • 8. A Tour of NP Graph k-Coloring: Is there a proper k-coloring of a given graph? Boolean Satisfiability: Is a given CNF Boolean formula φ(x1, ...., xn) satisfiable? Subset Sum: Given a set S = x1, ..., xl of positive integers and an integer t, does there exist a subset A ⊆ 1, ..., l such that i∈A xi = t Clique: Does graph G have a clique of size k or more? Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 8 / 18
  • 9. Computational Capacity of the Universe All physical systems register and process information. The laws of physics determine the amount of information that a physical system can register (number of bits) and the number of elementary logic operations that a system can perform. The Universe is a physical system. The amount of information that the Universe can register and the number of elementary operations that it can have performed over its history are calculated. The Universe can have performed 10120 ops on 1090 bits (10120 bits including gravitational degrees of freedom). - Seth Lloyd, Physical Review Letters, June 2002. Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 9 / 18
  • 10. Computational Capacity of the Universe The Universe can have performed 10120 ops (∼ 2400) on 1090 bits (10120 bits including gravitational degrees of freedom). The Universe computing solution to the truncated Entscheidungsproblem with n = 400 symbols would have just completed its task! Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 10 / 18
  • 11. NP Completeness Any problem in NP can be reduced in polynomial time by a deterministic Turing machine to the problem of determining whether a Boolean formula is satisfiable. - Stephen Cook, ”The complexity of theorem proving procedures” (1971) Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 11 / 18
  • 12. Boolean Satisfiability Can the variables of a given Boolean formula be consistently replaced by the values TRUE or FALSE in such a way that the formula evaluates to TRUE? If this is the case, the formula is called satisfiable. On the other hand, if no such assignment exists, the function expressed by the formula is FALSE for all possible variable assignments and the formula is unsatisfiable. Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 12 / 18
  • 13. NP Completeness Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 13 / 18
  • 14. Complexity Zoo BPP (Bounded-error Probabilistic Polynomial Time) - Decision problems solvable by a probabilistic Turing machine in polynomial time with an error probability bounded away from 1/2 for all instances. PP - Decision problems solvable by a probabilistic Turing machine in polynomial time, with an error probability of less than 1/2 for all instances. BPP ⊂ PP. BQP (Bounded-error Quantum Polynomial Time) - Decision problems solvable by a quantum computer in polynomial time, with an error probability of at most 1/3 for all instances. (quantum analogue of BPP). ... Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 14 / 18
  • 15. Complexity Zoo Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 15 / 18
  • 16. Computational Complexity and the Turing Test Turing Test could be trivially passed by using a lookup table that stores every possible conversation and the corresponding action to be taken. However, such a program would need to be exponentially-inefficient in the length of the test - as measured in some resource such as time, memory usage, or the number of bits needed to write the program down. Can we prove that we can (not) do better than this astronomical lookup table? Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 16 / 18
  • 17. Can Humans Solve NP-Complete Problems Effciently? All evidence points to the contrary in the general case Still, humans could have the ability to solve interesting special cases of NP-complete problems faster than any Turing machine Ironically, the notion of being sentient seems to be closely related to the notion of being polynomially-bounded. The distinction between polynomial and exponential complexity could have a metaphysical significance However, we still can’t tell if everything that humans do can be efficiently reduced to a specific complexity class. Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 17 / 18
  • 18. References Why Philosophers Should Care About Computational Complexity, Scott Aaronson, Computability: G¨odel, Turing, Church, and beyond, 2011 Computational Capacity of the Universe, Seth Lloyd, Physical Review Letters, 2002 Probably Approximately Correct: Nature’s Algorithms for Learning and Prospering in a Complex World, Leslie Valiant, Basic Books, 2013 The Nature of Computatation, Christopher Moore and Stephan Mertens, Oxford University Press, 2011 Aleksandar Bradic (Supplyframe) Computational Complexity for Poets January 23, 2019 18 / 18