SlideShare a Scribd company logo
cs1120 Fall 2011
                   Class 34:
David Evans        Proving
11 - 11 - 11
                   Unprovability
Plan
Explanation of PS8 Options
Unprovability
       Any questions about the interpreter?


      Comments about Ivan’s lecture Wednesday




                                                2
3
Problem Set 8
    Option J:                   Option C:                Option W:
 Aazda (Charme)                Conveying                   Web
  Interpreter in               Computing                 Application
Java + static type
     checking
                               Only Option J automatically satisfies the
                               prerequisite for taking cs2110 this Spring.
                               If you indicated interest in Computer
                               Science major on your PS0 survey you are
                               expected to do Option J. If you prefer to
       cs2110:                 do a different option, must provide a
Software Development Methods   convincing reason why.

                                                                             4
Meta-Circularity?
Much of the course so far:
  Getting comfortable with recursive definitions
  Learning to write programs to do (almost) anything


Starting today and next week:
  Getting un-comfortable with recursive definitions
  Things no program can do!
Computer Science/Mathematics
          Computer Science (Imperative Knowledge)
 Monday




            Are there (well-defined) problems that
             cannot be solved by any procedure?

          Mathematics (Declarative Knowledge)
Today




            Are there true conjectures that cannot be the
             shown using any proof?
Mechanical Reasoning
Aristotle (~350BC): Organon
    Codify logical deduction with rules of inference
    (syllogisms)

                              Every A is a P
                                               Premises
                                X is an A
                                X is a P       Conclusion

     Every human is mortal.
        Gödel is human.
        Gödel is mortal.
Euclid (~300BC): Elements              Newton (1687):
 Reduce geometry to a few            Philosophiæ Naturalis
axioms and derive the rest by       Principia Mathematica
       following rules           Reduce the motion of objects
                                (including planets) to following
                                  axioms (laws) mechanically
Mechanical Reasoning
1800s – mathematicians work on codifying
“laws of reasoning”




                           Augustus De Morgan (1806-1871)
George Boole (1815-1864)         De Morgan’s laws
    Laws of Thought              proof by induction
Bertrand Russell (1872-1970)
 1910-1913: Principia Mathematica
   (with Alfred Whitehead)
 1918: Imprisoned for pacifism
 1950: Nobel Prize in Literature
 1955: Russell-Einstein Manifesto
 1967: War Crimes in Vietnam

 Note: this is the same Russell who wrote In Praise of Idleness!
When Einstein
said, “Great spirits
have always
encountered violent
opposition from
mediocre minds.”
he was talking about
Bertrand Russell.
All true statements
  about numbers
Perfect Axiomatic System

        Derives all true
  statements, and no false
 statements starting from a
   finite number of axioms
  and following mechanical
        inference rules.
Incomplete Axiomatic System
                                 incomplete
               Derives
       some, but not all true
     statements, and no false
    statements starting from a
      finite number of axioms
     and following mechanical
           inference rules.
Inconsistent Axiomatic System

             Derives all true
     statements, and some false
      statements starting from a
        finite number of axioms
       and following mechanical
             inference rules.
                                   some false
                                   statements
Principia Mathematica [1910]
                                      2000 pages

                                      Attempted to
                                      axiomatize
Alfred Whitehead   Bertrand Russell
                                      mathematical
   (1861-1947)       (1872-1970)      reasoning
     Claimed to be complete and consistent:
        All true theorems could be derived
        No falsehoods could be derived
Proving 1+1 = 2




                  17
More Understandable Proof
Define the natural numbers




                                18
More Understandable Proof
Define the natural numbers
 Peano’ s Postulates:

 N is the smallest set satisfying these postulates:
 P1. 1 is in N .
 P2. If x is in N , then its "successor" (succ x) is in N .
 P3. There is no x such that (succ x) = 1.
 P4. If x is not 1, then there is a y in N such that (succ y) = x.
 P5. If S is a subset of N , 1 is in S, and the implication
          (x in S=> (succ x) in S) holds, then S=N.


                                                                     19
Proving 1+1 = 2
                      N is the smallest set satisfying
Define +: N × N  N   these postulates:
                      1. 1 is in N .
                      2. If x is in N , then its "successor"
                         (succ x) is in N .
                      3. There is no x such that (succ x) =
                         1.
                      4. If x is not 1, then there is a y in
                         N such that (succ y) = x.
                      5. If S is a subset of N , 1 is in
                         S, and the implication (x in S=>
                         (succ x) in S) holds, then S=N.




                                                           20
Proving 1+1 = 2
                                    N is the smallest set satisfying
Define +: N × N  N                 these postulates:
                                    1. 1 is in N .
                                    2. If x is in N , then its "successor"
  Call the inputs a and b.             (succ x) is in N .
                                    3. There is no x such that (succ x) =
                                       1.
  If b is equal to 1:               4. If x is not 1, then there is a y in
     (+ a b) = (succ a)                N such that (succ y) = x.
                                    5. If S is a subset of N , 1 is in
  Otherwise:                           S, and the implication (x in S=>
     by P4, there exists               (succ x) in S) holds, then S=N.
         c such that b = (succ c)
     (+ a b) = (succ (+ a c))


                                                                         21
Now the Proof!
        Definition of (+ a b):
        If b is equal to 1:
           (+ a b) = (succ a)
        Otherwise:
           by P4, there exists
               c such that b = (succ c)
           (+ a b) = (succ (+ a c))




                                          22
Now the Proof!
“2” = (succ 1)             Definition of (+ a b):
                           If b is equal to 1:
1 + 1 = (succ 1)              (+ a b) = (succ a)
By definition of +,        Otherwise:
                              by P4, there exists
  1 + 1 = (succ 1) = “2”          c such that b = (succ c)
                              (+ a b) = (succ (+ a c))
QED!




                                                             23
Bertrand Russell, My Philosophical Development, 1959
                                                       24
Russell’s Paradox
Some sets are not members of themselves
  e.g., set of all Jeffersonians
Some sets are members of themselves
  e.g., set of all things that are non-Jeffersonian

S = the set of all sets that are not members of
      themselves
             Is S a member of itself?
Russell’s Paradox
S = set of all sets that are not members of
   themselves
Is S a member of itself?
Russell’s Paradox
S = set of all sets that are not members of
   themselves
Is S a member of itself?
  If S is an element of S, then S is a member of itself
     and should not be in S.
  If S is not an element of S, then S is not a member
     of itself, and should be in S.
Ban Self-Reference?
Principia Mathematica attempted to resolve this
  paragraph by banning self-reference
Every set has a type
  The lowest type of set can contain only
    “objects”, not “sets”
  The next type of set can contain objects and sets of
    objects, but not sets of sets
Russell’s Resolution (?)
Set ::= Setn

Set0 ::= { x | x is an Object }
Setn ::= { x | x is an Object or a Setn - 1 }

S: Setn
Is S a member of itself?
   No, it is a Setn so, it can’t be a member of a Setn
Epimenides Paradox
Epidenides (a Cretan):
   “All Cretans are liars.”

Equivalently:
   “This statement is false.”

                 Russell’s types can help with the
                 set paradox, but not with these.
Gödel’s “Solution”

All consistent axiomatic formulations of
number theory include undecidable
propositions.

        undecidable: cannot be proven either
        true or false inside the system.
The Information, Chapter 6

                     Kurt Gödel
Born 1906 in Brno (now
  Czech Republic, then
  Austria-Hungary)
1931: publishes Über formal
  unentscheidbare Sätze der
  Principia Mathematica und
  verwandter Systeme (On
  Formally Undecidable
  Propositions of Principia
  Mathematica and Related
  Systems)
1939: flees Vienna
Institute for Advanced
  Study, Princeton
Died in 1978 –
  convinced everything
  was poisoned and
  refused to eat
Charge
Today:
  Incompleteness: there are theorems that
     cannot be proven
Monday
  Uncomputability: there are problems that
     cannot be solved by any algorithm

Wednesday: PS7 Due

More Related Content

What's hot

Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)
Matthew Leingang
 
Exchanging More than Complete Data
Exchanging More than Complete DataExchanging More than Complete Data
Exchanging More than Complete Datanet2-project
 
3.4 looking for real roots of real polynomials
3.4 looking for real roots of real polynomials3.4 looking for real roots of real polynomials
3.4 looking for real roots of real polynomialsmath260
 
X2 t01 06 geometrical representation (2013)
X2 t01 06 geometrical representation (2013)X2 t01 06 geometrical representation (2013)
X2 t01 06 geometrical representation (2013)Nigel Simmons
 
11X1 T13 01 polynomial definitions
11X1 T13 01 polynomial definitions11X1 T13 01 polynomial definitions
11X1 T13 01 polynomial definitionsNigel Simmons
 
Lesson 1: Functions
Lesson 1: FunctionsLesson 1: Functions
Lesson 1: Functions
Matthew Leingang
 
X2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersX2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersNigel Simmons
 
1050 text-ef
1050 text-ef1050 text-ef
1050 text-efsupoteta
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
11X1 T13 05 polynomial results
11X1 T13 05 polynomial results11X1 T13 05 polynomial results
11X1 T13 05 polynomial resultsNigel Simmons
 
2.3 slopes and difference quotient
2.3 slopes and difference quotient2.3 slopes and difference quotient
2.3 slopes and difference quotientmath260
 
Sequence series
Sequence  seriesSequence  series
Sequence series
Thabani Masoka
 
Lesson29 Intro To Difference Equations Slides
Lesson29   Intro To Difference Equations SlidesLesson29   Intro To Difference Equations Slides
Lesson29 Intro To Difference Equations Slides
Matthew Leingang
 

What's hot (14)

Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)Lesson 11: Implicit Differentiation (slides)
Lesson 11: Implicit Differentiation (slides)
 
Exchanging More than Complete Data
Exchanging More than Complete DataExchanging More than Complete Data
Exchanging More than Complete Data
 
3.4 looking for real roots of real polynomials
3.4 looking for real roots of real polynomials3.4 looking for real roots of real polynomials
3.4 looking for real roots of real polynomials
 
X2 t01 06 geometrical representation (2013)
X2 t01 06 geometrical representation (2013)X2 t01 06 geometrical representation (2013)
X2 t01 06 geometrical representation (2013)
 
11X1 T13 01 polynomial definitions
11X1 T13 01 polynomial definitions11X1 T13 01 polynomial definitions
11X1 T13 01 polynomial definitions
 
Lesson 1: Functions
Lesson 1: FunctionsLesson 1: Functions
Lesson 1: Functions
 
X2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbersX2 T01 09 geometrical representation of complex numbers
X2 T01 09 geometrical representation of complex numbers
 
Discrete-Chapter 01 Sets
Discrete-Chapter 01 SetsDiscrete-Chapter 01 Sets
Discrete-Chapter 01 Sets
 
1050 text-ef
1050 text-ef1050 text-ef
1050 text-ef
 
Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
11X1 T13 05 polynomial results
11X1 T13 05 polynomial results11X1 T13 05 polynomial results
11X1 T13 05 polynomial results
 
2.3 slopes and difference quotient
2.3 slopes and difference quotient2.3 slopes and difference quotient
2.3 slopes and difference quotient
 
Sequence series
Sequence  seriesSequence  series
Sequence series
 
Lesson29 Intro To Difference Equations Slides
Lesson29   Intro To Difference Equations SlidesLesson29   Intro To Difference Equations Slides
Lesson29 Intro To Difference Equations Slides
 

Similar to Class 34: Proving Unprovability

Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
ShahidAkbar22
 
lect14-semantics.ppt
lect14-semantics.pptlect14-semantics.ppt
lect14-semantics.ppt
RichardBobisSanAnton
 
Imc2016 day1-solutions
Imc2016 day1-solutionsImc2016 day1-solutions
Imc2016 day1-solutions
Christos Loizos
 
Chapter 3 projection
Chapter 3 projectionChapter 3 projection
Chapter 3 projectionNBER
 
Nbhm m. a. and m.sc. scholarship test 2006
Nbhm m. a. and m.sc. scholarship test 2006Nbhm m. a. and m.sc. scholarship test 2006
Nbhm m. a. and m.sc. scholarship test 2006
MD Kutubuddin Sardar
 
Radial Basis Function Interpolation
Radial Basis Function InterpolationRadial Basis Function Interpolation
Radial Basis Function Interpolation
Jesse Bettencourt
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
Math Homework Solver
 
Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Kwonpyo Ko
 
Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...
Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...
Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...
Marco Benini
 
Potentialist reflection
Potentialist reflectionPotentialist reflection
Potentialist reflectionjamesstudd
 
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Aladdinew
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdf
smarwaneid
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxoptcerezaso
 
Lakatos on teaching
Lakatos on teachingLakatos on teaching
Lakatos on teaching
Brendan Larvor
 
Introduction to set theory by william a r weiss professor
Introduction to set theory by william a r weiss professorIntroduction to set theory by william a r weiss professor
Introduction to set theory by william a r weiss professor
manrak
 
Cs229 notes11
Cs229 notes11Cs229 notes11
Cs229 notes11
VuTran231
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
mayannpolisticoLNU
 
Basics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programmingBasics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programming
SSA KPI
 
Machine learning (12)
Machine learning (12)Machine learning (12)
Machine learning (12)NYversity
 

Similar to Class 34: Proving Unprovability (20)

Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 
lect14-semantics.ppt
lect14-semantics.pptlect14-semantics.ppt
lect14-semantics.ppt
 
Imc2016 day1-solutions
Imc2016 day1-solutionsImc2016 day1-solutions
Imc2016 day1-solutions
 
Chapter 3 projection
Chapter 3 projectionChapter 3 projection
Chapter 3 projection
 
Nbhm m. a. and m.sc. scholarship test 2006
Nbhm m. a. and m.sc. scholarship test 2006Nbhm m. a. and m.sc. scholarship test 2006
Nbhm m. a. and m.sc. scholarship test 2006
 
Radial Basis Function Interpolation
Radial Basis Function InterpolationRadial Basis Function Interpolation
Radial Basis Function Interpolation
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Ch1 sets and_logic(1)
Ch1 sets and_logic(1)
 
Course notes2summer2012
Course notes2summer2012Course notes2summer2012
Course notes2summer2012
 
Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...
Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...
Intuitionistic First-Order Logic: Categorical semantics via the Curry-Howard ...
 
Potentialist reflection
Potentialist reflectionPotentialist reflection
Potentialist reflection
 
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdf
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxopt
 
Lakatos on teaching
Lakatos on teachingLakatos on teaching
Lakatos on teaching
 
Introduction to set theory by william a r weiss professor
Introduction to set theory by william a r weiss professorIntroduction to set theory by william a r weiss professor
Introduction to set theory by william a r weiss professor
 
Cs229 notes11
Cs229 notes11Cs229 notes11
Cs229 notes11
 
boolean algebra
boolean algebraboolean algebra
boolean algebra
 
Basics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programmingBasics of probability in statistical simulation and stochastic programming
Basics of probability in statistical simulation and stochastic programming
 
Machine learning (12)
Machine learning (12)Machine learning (12)
Machine learning (12)
 

More from David Evans

Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!
David Evans
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
David Evans
 
Hidden Services, Zero Knowledge
Hidden Services, Zero KnowledgeHidden Services, Zero Knowledge
Hidden Services, Zero Knowledge
David Evans
 
Anonymity in Bitcoin
Anonymity in BitcoinAnonymity in Bitcoin
Anonymity in Bitcoin
David Evans
 
Midterm Confirmations
Midterm ConfirmationsMidterm Confirmations
Midterm Confirmations
David Evans
 
Scripting Transactions
Scripting TransactionsScripting Transactions
Scripting Transactions
David Evans
 
How to Live in Paradise
How to Live in ParadiseHow to Live in Paradise
How to Live in Paradise
David Evans
 
Bitcoin Script
Bitcoin ScriptBitcoin Script
Bitcoin Script
David Evans
 
Mining Economics
Mining EconomicsMining Economics
Mining Economics
David Evans
 
Mining
MiningMining
Mining
David Evans
 
The Blockchain
The BlockchainThe Blockchain
The Blockchain
David Evans
 
Becoming More Paranoid
Becoming More ParanoidBecoming More Paranoid
Becoming More Paranoid
David Evans
 
Asymmetric Key Signatures
Asymmetric Key SignaturesAsymmetric Key Signatures
Asymmetric Key Signatures
David Evans
 
Introduction to Cryptography
Introduction to CryptographyIntroduction to Cryptography
Introduction to Cryptography
David Evans
 
Class 1: What is Money?
Class 1: What is Money?Class 1: What is Money?
Class 1: What is Money?
David Evans
 
Multi-Party Computation for the Masses
Multi-Party Computation for the MassesMulti-Party Computation for the Masses
Multi-Party Computation for the Masses
David Evans
 
Proof of Reserve
Proof of ReserveProof of Reserve
Proof of Reserve
David Evans
 
Silk Road
Silk RoadSilk Road
Silk Road
David Evans
 
Blooming Sidechains!
Blooming Sidechains!Blooming Sidechains!
Blooming Sidechains!
David Evans
 
Useful Proofs of Work, Permacoin
Useful Proofs of Work, PermacoinUseful Proofs of Work, Permacoin
Useful Proofs of Work, Permacoin
David Evans
 

More from David Evans (20)

Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!Cryptocurrency Jeopardy!
Cryptocurrency Jeopardy!
 
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for CypherpunksTrick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
Trick or Treat?: Bitcoin for Non-Believers, Cryptocurrencies for Cypherpunks
 
Hidden Services, Zero Knowledge
Hidden Services, Zero KnowledgeHidden Services, Zero Knowledge
Hidden Services, Zero Knowledge
 
Anonymity in Bitcoin
Anonymity in BitcoinAnonymity in Bitcoin
Anonymity in Bitcoin
 
Midterm Confirmations
Midterm ConfirmationsMidterm Confirmations
Midterm Confirmations
 
Scripting Transactions
Scripting TransactionsScripting Transactions
Scripting Transactions
 
How to Live in Paradise
How to Live in ParadiseHow to Live in Paradise
How to Live in Paradise
 
Bitcoin Script
Bitcoin ScriptBitcoin Script
Bitcoin Script
 
Mining Economics
Mining EconomicsMining Economics
Mining Economics
 
Mining
MiningMining
Mining
 
The Blockchain
The BlockchainThe Blockchain
The Blockchain
 
Becoming More Paranoid
Becoming More ParanoidBecoming More Paranoid
Becoming More Paranoid
 
Asymmetric Key Signatures
Asymmetric Key SignaturesAsymmetric Key Signatures
Asymmetric Key Signatures
 
Introduction to Cryptography
Introduction to CryptographyIntroduction to Cryptography
Introduction to Cryptography
 
Class 1: What is Money?
Class 1: What is Money?Class 1: What is Money?
Class 1: What is Money?
 
Multi-Party Computation for the Masses
Multi-Party Computation for the MassesMulti-Party Computation for the Masses
Multi-Party Computation for the Masses
 
Proof of Reserve
Proof of ReserveProof of Reserve
Proof of Reserve
 
Silk Road
Silk RoadSilk Road
Silk Road
 
Blooming Sidechains!
Blooming Sidechains!Blooming Sidechains!
Blooming Sidechains!
 
Useful Proofs of Work, Permacoin
Useful Proofs of Work, PermacoinUseful Proofs of Work, Permacoin
Useful Proofs of Work, Permacoin
 

Recently uploaded

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 

Class 34: Proving Unprovability

  • 1. cs1120 Fall 2011 Class 34: David Evans Proving 11 - 11 - 11 Unprovability
  • 2. Plan Explanation of PS8 Options Unprovability Any questions about the interpreter? Comments about Ivan’s lecture Wednesday 2
  • 3. 3
  • 4. Problem Set 8 Option J: Option C: Option W: Aazda (Charme) Conveying Web Interpreter in Computing Application Java + static type checking Only Option J automatically satisfies the prerequisite for taking cs2110 this Spring. If you indicated interest in Computer Science major on your PS0 survey you are expected to do Option J. If you prefer to cs2110: do a different option, must provide a Software Development Methods convincing reason why. 4
  • 5. Meta-Circularity? Much of the course so far: Getting comfortable with recursive definitions Learning to write programs to do (almost) anything Starting today and next week: Getting un-comfortable with recursive definitions Things no program can do!
  • 6. Computer Science/Mathematics Computer Science (Imperative Knowledge) Monday Are there (well-defined) problems that cannot be solved by any procedure? Mathematics (Declarative Knowledge) Today Are there true conjectures that cannot be the shown using any proof?
  • 7. Mechanical Reasoning Aristotle (~350BC): Organon Codify logical deduction with rules of inference (syllogisms) Every A is a P Premises X is an A X is a P Conclusion Every human is mortal. Gödel is human. Gödel is mortal.
  • 8. Euclid (~300BC): Elements Newton (1687): Reduce geometry to a few Philosophiæ Naturalis axioms and derive the rest by Principia Mathematica following rules Reduce the motion of objects (including planets) to following axioms (laws) mechanically
  • 9. Mechanical Reasoning 1800s – mathematicians work on codifying “laws of reasoning” Augustus De Morgan (1806-1871) George Boole (1815-1864) De Morgan’s laws Laws of Thought proof by induction
  • 10. Bertrand Russell (1872-1970) 1910-1913: Principia Mathematica (with Alfred Whitehead) 1918: Imprisoned for pacifism 1950: Nobel Prize in Literature 1955: Russell-Einstein Manifesto 1967: War Crimes in Vietnam Note: this is the same Russell who wrote In Praise of Idleness!
  • 11. When Einstein said, “Great spirits have always encountered violent opposition from mediocre minds.” he was talking about Bertrand Russell.
  • 12. All true statements about numbers
  • 13. Perfect Axiomatic System Derives all true statements, and no false statements starting from a finite number of axioms and following mechanical inference rules.
  • 14. Incomplete Axiomatic System incomplete Derives some, but not all true statements, and no false statements starting from a finite number of axioms and following mechanical inference rules.
  • 15. Inconsistent Axiomatic System Derives all true statements, and some false statements starting from a finite number of axioms and following mechanical inference rules. some false statements
  • 16. Principia Mathematica [1910] 2000 pages Attempted to axiomatize Alfred Whitehead Bertrand Russell mathematical (1861-1947) (1872-1970) reasoning Claimed to be complete and consistent: All true theorems could be derived No falsehoods could be derived
  • 18. More Understandable Proof Define the natural numbers 18
  • 19. More Understandable Proof Define the natural numbers Peano’ s Postulates: N is the smallest set satisfying these postulates: P1. 1 is in N . P2. If x is in N , then its "successor" (succ x) is in N . P3. There is no x such that (succ x) = 1. P4. If x is not 1, then there is a y in N such that (succ y) = x. P5. If S is a subset of N , 1 is in S, and the implication (x in S=> (succ x) in S) holds, then S=N. 19
  • 20. Proving 1+1 = 2 N is the smallest set satisfying Define +: N × N  N these postulates: 1. 1 is in N . 2. If x is in N , then its "successor" (succ x) is in N . 3. There is no x such that (succ x) = 1. 4. If x is not 1, then there is a y in N such that (succ y) = x. 5. If S is a subset of N , 1 is in S, and the implication (x in S=> (succ x) in S) holds, then S=N. 20
  • 21. Proving 1+1 = 2 N is the smallest set satisfying Define +: N × N  N these postulates: 1. 1 is in N . 2. If x is in N , then its "successor" Call the inputs a and b. (succ x) is in N . 3. There is no x such that (succ x) = 1. If b is equal to 1: 4. If x is not 1, then there is a y in (+ a b) = (succ a) N such that (succ y) = x. 5. If S is a subset of N , 1 is in Otherwise: S, and the implication (x in S=> by P4, there exists (succ x) in S) holds, then S=N. c such that b = (succ c) (+ a b) = (succ (+ a c)) 21
  • 22. Now the Proof! Definition of (+ a b): If b is equal to 1: (+ a b) = (succ a) Otherwise: by P4, there exists c such that b = (succ c) (+ a b) = (succ (+ a c)) 22
  • 23. Now the Proof! “2” = (succ 1) Definition of (+ a b): If b is equal to 1: 1 + 1 = (succ 1) (+ a b) = (succ a) By definition of +, Otherwise: by P4, there exists 1 + 1 = (succ 1) = “2” c such that b = (succ c) (+ a b) = (succ (+ a c)) QED! 23
  • 24. Bertrand Russell, My Philosophical Development, 1959 24
  • 25. Russell’s Paradox Some sets are not members of themselves e.g., set of all Jeffersonians Some sets are members of themselves e.g., set of all things that are non-Jeffersonian S = the set of all sets that are not members of themselves Is S a member of itself?
  • 26. Russell’s Paradox S = set of all sets that are not members of themselves Is S a member of itself?
  • 27. Russell’s Paradox S = set of all sets that are not members of themselves Is S a member of itself? If S is an element of S, then S is a member of itself and should not be in S. If S is not an element of S, then S is not a member of itself, and should be in S.
  • 28. Ban Self-Reference? Principia Mathematica attempted to resolve this paragraph by banning self-reference Every set has a type The lowest type of set can contain only “objects”, not “sets” The next type of set can contain objects and sets of objects, but not sets of sets
  • 29. Russell’s Resolution (?) Set ::= Setn Set0 ::= { x | x is an Object } Setn ::= { x | x is an Object or a Setn - 1 } S: Setn Is S a member of itself? No, it is a Setn so, it can’t be a member of a Setn
  • 30. Epimenides Paradox Epidenides (a Cretan): “All Cretans are liars.” Equivalently: “This statement is false.” Russell’s types can help with the set paradox, but not with these.
  • 31. Gödel’s “Solution” All consistent axiomatic formulations of number theory include undecidable propositions. undecidable: cannot be proven either true or false inside the system.
  • 32. The Information, Chapter 6 Kurt Gödel Born 1906 in Brno (now Czech Republic, then Austria-Hungary) 1931: publishes Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme (On Formally Undecidable Propositions of Principia Mathematica and Related Systems)
  • 33. 1939: flees Vienna Institute for Advanced Study, Princeton Died in 1978 – convinced everything was poisoned and refused to eat
  • 34. Charge Today: Incompleteness: there are theorems that cannot be proven Monday Uncomputability: there are problems that cannot be solved by any algorithm Wednesday: PS7 Due