State Machines and Infinity

Slides:



Advertisements
Similar presentations
Georg Cantor
Advertisements

Uncountable Sets 2/22/121. Countably Infinite 2/13/122 There are as many natural numbers as integers … 0, -1, 1, -2, 2, -3, 3, -4, 4.
04/23/13 Countability Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1.
1 Diagonalization Fact: Many books exist. Fact: Some books contain the titles of other books within them. Fact: Some books contain their own titles within.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 10 Cardinality Uncountability of the real numbers.
Computability and Complexity 4-1 Existence of Undecidable Problems Computability and Complexity Andrei Bulatov.
CSCI 2670 Introduction to Theory of Computing October 19, 2005.
Courtesy Costas Busch - RPI1 A Universal Turing Machine.
Great Theoretical Ideas in Computer Science.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata are like Turing Machines with a restriction: The working space of the tape is the space of the.
Module 5 Topics Proof of the existence of unsolvable problems
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
2, , and Beyond Debra S. Carney Mathematics Department University of Denver April 11, 2008 Sonya Kovalevsky Day - CCA.
Sequence A list of objects arranged in a particular order.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Fall 2004COMP 3351 A Universal Turing Machine. Fall 2004COMP 3352 Turing Machines are “hardwired” they execute only one program A limitation of Turing.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 18 Instructor: Paul Beame.
1 Lecture 6 Topics –Proof of the existence of unsolvable problems Problems/languages not in REC Proof Technique –There are more problems/languages than.
2012: J Paul GibsonTSP: Mathematical FoundationsMAT7003/L5- CountingAndEnumeration.1 MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul.
04/25/13 Halting Problem Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1
Chapter 7 Functions Dr. Curry Guinn. Outline of Today Section 7.1: Functions Defined on General Sets Section 7.2: One-to-One and Onto Section 7.3: The.
1 Lecture 3 (part 3) Functions – Cardinality Reading: Epp Chp 7.6.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
Ch. 11: Cantor’s Infinity!. N = {1, 2, 3, 4, 5, 6, …} “the natural numbers” Z = {…, –3, –2, –1, 0, 1, 2, 3, …} “the integers” Q = {all quotients “a/b”
Mathematical Induction
A Universal Turing Machine
Relations, Functions, and Countability
COMPSCI 102 Introduction to Discrete Mathematics.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
Stupid questions? Are there more integers than even integers?
Computability Universal Turing Machine. Countability. Halting Problem. Homework: Show that the integers have the same cardinality (size) as the natural.
Great Theoretical Ideas in Computer Science.
Lecture 4 Infinite Cardinals. Some Philosophy: What is “2”? Definition 1: 2 = 1+1. This actually needs the definition of “1” and the definition of the.
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 7 Functions Instructor: Hayk Melikyan Today we will review sections 7.3, 7.4 and 7.5.
CS 285- Discrete Mathematics
Can a and b both be whole numbers? similar triangles so.
To Infinity And Beyond! CS Lecture 11 The Ideal Computer: no bound on amount of memory Whenever you run out of memory, the computer contacts the.
Section 2.5. Cardinality Definition: A set that is either finite or has the same cardinality as the set of positive integers (Z + ) is called countable.
04/11/13 Collections of Sets Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1.
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
Week 8 - Monday.  What did we talk about last time?  Properties of functions  One-to-one  Onto  Inverses  Cardinality.
1 A Universal Turing Machine. 2 Turing Machines are “hardwired” they execute only one program A limitation of Turing Machines: Real Computers are re-programmable.
1 Proof of the Day: The length of a string is the number of symbols it contains. For example, the length of is five. Let L = { w such that w is a.
1-1 Copyright © 2013, 2005, 2001 Pearson Education, Inc. Section 2.4, Slide 1 Chapter 2 Sets and Functions.
Great Theoretical Ideas In Computer Science
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
Raymond Flood Gresham Professor of Geometry
CSCI 2670 Introduction to Theory of Computing
The Acceptance Problem for TMs
Discrete Mathematics CS 2610
A Universal Turing Machine
CS 461 – Nov. 2 Sets Prepare for ATM finite vs. infinite Infinite sets
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
2.4 Sequences and Summations
Counting Sets.
Cardinality of Sets Section 2.5.
Countable or Uncountable…That is the question!
Discrete Structures for Computer Science
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Discrete Math for CS CMPSC 360 LECTURE 43 Last time: Variance
Formal Languages, Automata and Models of Computation
Intro to Theory of Computation
Module #4.5, Topic #∞: Cardinality & Infinite Sets
CS21 Decidability and Tractability
CSCI 2670 Introduction to Theory of Computing
Computability and Undecidability
Sets, Unions, Intersections, and Complements
Intro to Theory of Computation
Presentation transcript:

State Machines and Infinity

Final exam times/rooms Friday, December 19, 8-11am Tell me about any conflicts asap. Note there is no specific conflict exam --- most conflicts should be resolved by other classes unless due to 3 tests in one day. http://admin.illinois.edu/policy/code/article3_part2_3-201.html There will be an email later this week with a form for you to signup for what examlet you want to retake if you want to retake an examlet with the final.

State diagrams state transition action Transition function: dining rm, south →hall

Countability Discrete Structures (CS 173) Chuck Norris counted to infinity…twice Discrete Structures (CS 173) Adapted from Derek Hoiem, University of Illinois

Today’s class: countability Are some infinite sets bigger than other infinite sets? How big are these common infinite sets? Naturals, integers, reals, rationals, powerset of naturals What does it mean for a set to be “countable”? How do we prove that a set is or is not countable? My set of cards is bigger than yours…infinity+1, infinity*infinity

Are there more integers than natural numbers? Intuitively yes, after all the natural numbers are a subset of the integers. But both sets have infinite numbers. So how can we go about answering this? Is it even a meaningful question?

Are there more integers than natural numbers? 𝐴 =|𝐵| iff there is a bijection from 𝐴 to 𝐵. One solution is to go back the idea of bijection, which we learned earlier in the semester….

Are there more rational numbers than integers? Cantor Schroeder Bernstein Theorem: 𝐴 =|𝐵| iff there exist one-to-one functions 𝑓:𝐴→𝐵 and 𝑔:𝐵→𝐴 Here’s a more flexible method. Each of these functions puts a bound on the size of A and B (|A|<=|B|, |B|<=|A|, so |A|=|B|) Note: f and g do not have to be the same functions Z x Z -> Z : f(x,y) =2^x3^y prime factorization unique

Countability A set is countably infinite if it has the same size as the set of natural numbers. A set is countable if it is finite or countably infinite. Countable sets: Any subset of a countable set is countable The Cartesian product of finitely many countable sets is countable A union of countably many countable sets is countable

What sets are not countable? Quite a few sets are countable. So how do we get a set that’s bigger than infinity?

Power set of natural numbers is not countable Proof by contradiction and “diagonalization” (Cantor) Write a subset of natural numbers as an infinite-length binary vector Suppose there is a complete list of such vectors (could be infinitely many of them) Can construct a new vector that is different from all infinity of them!

Reals are not countable Similar proof to for powerset of naturals Restrict ourselves to a subset of reals: those between 0 and 1 Each real number is a decimal followed by a potentially infinite number of 0 to 9 numbers Can construct a new number by diagonalization

Summary: compare set sizes Integer vs. Natural = Natural vs. Real < Powers of 4 vs. Integers = Real vs. Rational > Irrational vs. Rational > Powerset(Natural) vs. Real = Powerset(Real) vs. Real > =,<,=,>,>,=,>

Things to remember Some infinite sets are bigger than others We can compare sizes of infinite sets using bijections or one-to-one functions in each direction A “countable” set is the same size (or smaller) than the natural numbers