1 Proof of the Day: The length of a string is the number of symbols it contains. For example, the length of 01101 is five. Let L = { w such that w is a.

Slides:



Advertisements
Similar presentations
Countability. The cardinality of the set A is equal to the cardinality of a set B if there exists a bijection from A to B cardinality? bijection? injection.
Advertisements

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.
Introduction to Computability Theory
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.
Sequence A list of objects arranged in a particular order.
Fall 2004COMP 3351 A Universal Turing Machine. Fall 2004COMP 3352 Turing Machines are “hardwired” they execute only one program A limitation of Turing.
1 Introduction to Computability Theory Lecture11: The Halting Problem Prof. Amos Israeli.
1 Lecture 6 Topics –Proof of the existence of unsolvable problems Problems/languages not in REC Proof Technique –There are more problems/languages than.
Great Theoretical Ideas in Computer Science.
Cantor’s Legacy: Infinity And Diagonalization Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 25Apr 13, 2004Carnegie.
Cardinality of Sets Section 2.5.
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
Sequences and Summations
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
1 Lecture 3 (part 3) Functions – Cardinality Reading: Epp Chp 7.6.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
1 Put your name if you want your attendance credit. Please put your as well. CSC 320 is done at 11:30 so I did NOT fill in the box for 11:30 for.
1 Exercise: Prove that the set S = { π : π is a permutation of {1, 2, 3, …, n} for some integer n ≥ 1 } is countable.
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
1 L= { w c w R : w  {a, b}* } is accepted by the PDA below. Use a construction like the one for intersection for regular languages to design a PDA that.
Functions Section 2.3. Section Summary Definition of a Function. – Domain, Cdomain – Image, Preimage Injection, Surjection, Bijection Inverse Function.
Relations, Functions, and Countability
Discrete Mathematics R. Johnsonbaugh
COMPSCI 102 Introduction to Discrete Mathematics.
Based on Rosen, Discrete Mathematics & Its Applications, 5e Prepared by (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module.
INFIINITE SETS CSC 172 SPRING 2002 LECTURE 23. Cardinality and Counting The cardinality of a set is the number of elements in the set Two sets are equipotent.
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.
Cardinality with Applications to Computability Lecture 33 Section 7.5 Wed, Apr 12, 2006.
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
Great Theoretical Ideas in Computer Science.
CompSci 102 Discrete Math for Computer Science February 7, 2012 Prof. Rodger Slides modified from Rosen.
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.
Section 3.2: Sequences and Summations. Def: A sequence is a function from a subset of the set of integers (usually the set of natural numbers) to a set.
Great Theoretical Ideas in Computer Science about AWESOME Some Generating Functions Probability.
Discrete Structures Li Tak Sing( 李德成 ) mt263f ppt 1.
1 Proof of the Day: Some students claimed to prove that 2 k = 2 k+1 – 1. Try to prove by induction that: 2 k = 2 k+1 – 1. Where does the proof go off-track?
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.
P Symbol Q E(Q) a b a b a b Convert to a DFA: Start state: Final States:
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.
Sequences Lecture 11. L62 Sequences Sequences are a way of ordering lists of objects. Java arrays are a type of sequence of finite size. Usually, mathematical.
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
CSCI 2670 Introduction to Theory of Computing
Discrete Mathematics CS 2610
A Universal Turing Machine
Recursively Enumerable and Recursive Languages
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
Cardinality of Sets Section 2.5.
Finite and Infinite Sets
Discrete Structures for Computer Science
Assume that p, q, and r are in
Countable and Countably Infinite Sets
ICS 253: Discrete Structures I
Decidable Languages Costas Busch - LSU.
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Discrete Mathematics and its Applications
Discrete Math for CS CMPSC 360 LECTURE 43 Last time: Variance
Formal Languages, Automata and Models of Computation
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Discrete Mathematics CS 2610
Cardinality Definition: The cardinality of a set A is equal to the cardinality of a set B, denoted |A| = |B|, if and only if there is a one-to-one correspondence.
State Machines and Infinity
Presentation transcript:

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 string over the alphabet {0,1} and the last symbol in w is a 0}. (a) Give an inductive definition of the strings in L. (b) Write down all of the strings of L that have length at most four. (c) How many strings in L have length k? Express your answer as a formula. (d) Prove your formula is correct by induction.

2 Office hours: TWF: 11:30-1:30. I will start by answering questions here after our class and will go to my office to wait if you need to see me at 12:30 onwards. BUT: please let me know either by the day before or talking to me before the end of class what time you would like to come by so I don’t have to hang around on days nobody wants to see me. Or you can send me or make an appointment for help. If you have classes at these times, please make an appointment (preferably for TWF).

3 Don’t forget to sign the attendance sheet every class you attend. Do NOT sign the sheet if you do not plan on staying for the class. Do NOT sign the sheet for anybody else. Do NOT ask someone else to sign the sheet for you. It will waste class time if I am forced to police the attendance sheet.

4 CSC 320: To Infinity and Beyond

5 Outline Definitions of equinumerous, cardinality, finite, infinite, countable, uncountable Tactics for proving that sets are countable Diagonalization for proving sets are uncountable CSC 320 will challenge you to broaden how you think mathematically. The idea that there is more than one “size” of infinity is a strange concept. Several new proof tactics are introduced. On ongoing theme of this class will be that each of our language representation schemes represents a countable number of languages so some must be left out since the total number of possible languages is not countable.

6 Two sets A and B are equinumerous if there is a bijection (pairing) f:A → B A set S is finite (cardinality n) if it is equinumerous with {1, 2, …, n} for some integer n. A set is infinite if it is not finite. A set is countably infinite if it is equinumerous with the set of natural numbers. A set is countable if it is finite or countably infinite. Definitions:

7 Theorem 1: The set {(p, q): p and q are natural numbers} is countable Proof tactic: Dovetailing Note: this tactic does not provide an explicit formula for a bijection to the natural numbers but it does have enough information for someone to know how to compute it. You should give this same level of information on the assignment.

8 Theorem 2: The set { r : r is a real number, 0 ≤ r < 1 } is not countable. Proof tactic: Diagonalization Note: Use diagonalization on the assignment when you want to prove a set is not countable. Do not use other results.