Chomsky Hierarchy - Computerphile
Skills:
ML Maths Basics80%
Key Takeaways
The video explains Chomsky's hierarchy, covering uncomputable to finite state, by Professor Brailsford, with related topics including Turing and the Halting Problem, Ackermann Function, Busy Beaver Turing Machines, and Finite State Automata.
Full Transcript
recently we've had a request saying can computer file do something on finite State autometer and in considering what to do about that um it did seem to me that it would be a good idea to look at where finite State autometer sit in the scheme of things we've done a lot about touring machines for example we've covered the fact that really every single computer of any sort nowadays is a touring machine so what I'd like to do is to uh refer to a diagram which shows if you like the various types of touring machine a hierarchy where as you go inside you make less and less demands on what you need and if you look at this set of circles here I can even relate it back to some of the videos we've done previously you will remember that when we were doing the aan function we eventually decided that it's of the recursive sort which means it will terminate but it could take an awful long time if you remember in leading up to that I said there's a certain sort of touring machine outside that which is a real so and so which says sometimes the algorithm you give me will give an answer and you're happy but sometimes I will go into a loop and when you say how can I detect in general that you're in a loop the answer is you can't and we've done other videos of my colleague Mark jgo all about the halting problem as it's called and then we went one even worse we've been out in the Outer Perimeter of hyperspace here to say are there some problems that are so awful that no algorithm can exist and we did the Busy Beaver if you remember which is for a a sort of encoding of a particular touring machine it says look there's not a general algorithm here I'm not trying to do n factorial what I'm asking is for Machines of this sort can can you predict how many zeros they'll print out and the answer is there isn't an algorithm that can say how do those Busy Beaver PRS behave in general if only there was what you have to do is to run them all and just exhaustively say I don't know there isn't an algorithm just try them what happened after girdle and touring and others in the 1930s did all this is people started to say well these touring machines you know it's wonderful they're a pencil and paper thing but you could imagine building Hardware to do them and of course those are general purpose computers as we now know them but people said is there a sort of subset of touring machines where you can either say it doesn't need more than a definite amount of ram guaranteed that would be nice to know and those come out to be in this Inner Circle of type one here then people start to say hey there's this thing called a pushdown store which the Americans call a stack that's a one-ended memory device you you can't dip into it arbitrarily you can either take something off the top or push something new on the top so any addition or or any reading of your memory can only be done at the top of the stack is that a sort of special case yes it is and we've looked at that with your towers of Hanoi haven't we yes towers of Hanoi is a classic example of something where you just want to get hold of the whole bunch of discs and sort them in your hand like Ram you know just park that one the store that one there think about it put them back together and plun them back on the rod but you can't do that you can only do it one-ended and for something that you know you could I could do that in two or three moves if only I could take all the discs off you end up having to do 64 moves and then there's one right in the middle in this Inner Circle here that needs no memory at all in principle and that's what these finite State autometer are all about you might ask who discovered all this who filled in all these gaps because there we are with churing who perversely discovers the most General thing going in the 1930s but people don't know the simpler story underneath well the person who discovered it is still with us I think he must be in his late 80s now his name is Noam Chomsky and I think my friends say that you ought to pronounce it hsky like the in Lo but I'm happy to be put right on that he's genius NE genius guy I think he's been at U Harvard MIT places like that ever since who was young he really was talented he's a linguisti if you study the structure of natural languages any languages computer languages even I think I'm righted saying you're a linguisti well in the late 1950s he started saying look to understand natural languages better I'm going to look at the most restrictive form of language I can think of you know really simple things how about a language whose words are just strings of the letter I so I I I is a word five eyes I I I I I is a word any number of eyes is a different word how simple can that be yes very simple and then he went on to say things like yeah um what's a bit more complicated than that because those very simple languages as we'll find next time don't need any memory at all they really don't and what's the one that sits outside he didn't more investigations and said ah there is one where a one-ended memory will work yeah these are the Chomsky type two so remember Chomsky it goes as it were the opposite way around type zero is the most General right the recursively innumerables subset of type zero is the recursively enumerables that really do terminate aiman type one is the one where it needs Ram but you can predict how much RAM so he discovered that sort that's the type one touring machines with a predictable and finite amount of ram requirements and he just filled in the whole picture and in the period really from about 1959 to the middle 1970s huge amount of work filling in the middle of this diagram and that includes things like computer languages alol how to pause them how to compile them it was all filled in in the middle of this diagram but all basically referring back to that work that Chomsky did in 1959 saying these are the language varieties or 110 and when you get to 25 I put it inside a double circle which is the convention because that's the finished State you've put in 25p and the thing sort of thinks for a while and eventually goes and prints you out a ticket
Original Description
Uncomputable through to finite state - Professor Brailsford explains Chomsky's hierarchy.
Turing and the Halting Problem: https://youtu.be/macM_MtS_w4
"Most Difficult Program" - Ackermann Function: http://youtu.be/i7sm9dzFtEI
Busy Beaver Turing Machines: https://youtu.be/CE8UhcyJS0I
Finite State Automata: https://youtu.be/vhiiia1_hC4
Reverse Polish & The Stack: https://youtu.be/7ha78yWRDlE
Programming in Postscript: https://youtu.be/S_NXz7I5dQc
Professor Brailsford's Notes: http://bit.ly/computerphile_Chomsky
Professor Brailsford's t-shirt kindly supplied by Peleg Bar Sapir
http://www.facebook.com/computerphile
https://twitter.com/computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: http://bit.ly/nottscomputer
Computerphile is a sister project to Brady Haran's Numberphile. More at http://www.bradyharan.com
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Computerphile · Computerphile · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Follow the Cookie Trail - Computerphile
Computerphile
EXTRA BITS - Follow the Cookie Trail - Computerphile
Computerphile
Musical Floppy Drives - Computerphile
Computerphile
The Hair Algorithm - Computerphile
Computerphile
Getting Sorted & Big O Notation - Computerphile
Computerphile
Quick Sort - Computerphile
Computerphile
Hyper History and Cyber War - Computerphile
Computerphile
Entropy in Compression - Computerphile
Computerphile
Original Elite on the BBC B - Computerphile
Computerphile
IP Addresses and the Internet - Computerphile
Computerphile
A Career in Video Games - Computerphile
Computerphile
Error Detection and Flipping the Bits - Computerphile
Computerphile
Programming BASIC and Sorting - Computerphile
Computerphile
Birthplace of the World Wide Web - Computerphile
Computerphile
Punch Card Programming - Computerphile
Computerphile
Programming Paradigms - Computerphile
Computerphile
CERN Computing Centre (and mouse farm) - Computerphile
Computerphile
Error Correction - Computerphile
Computerphile
Home-Made Code - Computerphile
Computerphile
Security of Data on Disk - Computerphile
Computerphile
Gesture Controls - Computerphile
Computerphile
How Intelligent is Artificial Intelligence? - Computerphile
Computerphile
Encryption and Security Agencies - Computerphile
Computerphile
Virtual Machines Power the Cloud - Computerphile
Computerphile
Hacking Websites with SQL Injection - Computerphile
Computerphile
How Huffman Trees Work - Computerphile
Computerphile
Cracking Websites with Cross Site Scripting - Computerphile
Computerphile
Cloud Computing (Cloudy with a Chance of Pizza) - Computerphile
Computerphile
Texting Cabbage with a Recorder - Computerphile
Computerphile
Hashing Algorithms and Security - Computerphile
Computerphile
How YouTube Works - Computerphile
Computerphile
How NOT to Store Passwords! - Computerphile
Computerphile
A New Golden Age of Video Games - Computerphile
Computerphile
A Universe of Triangles - Computerphile
Computerphile
Cross Site Request Forgery - Computerphile
Computerphile
The True Power of the Matrix (Transformations in Graphics) - Computerphile
Computerphile
The Great 202 Jailbreak - Computerphile
Computerphile
EXTRA BITS - Printing and Typesetting History - Computerphile
Computerphile
Triangles to Pixels - Computerphile
Computerphile
The Problem with Time & Timezones - Computerphile
Computerphile
The Visibility Problem - Computerphile
Computerphile
Lights and Shadows in Graphics - Computerphile
Computerphile
The Penguin Barcode - Computerphile
Computerphile
Typesetters in the '80s - Computerphile
Computerphile
The Font Magicians - Computerphile
Computerphile
The Little Mac with the Big Bite - Computerphile
Computerphile
EXTRA BITS - More on the Original Mac at 30 - Computerphile
Computerphile
XP to Ubuntu with an 8yr old Hacktop - Computerphile
Computerphile
EXTRA BITS - Hacktop Real-Time Boot Comparison - Computerphile
Computerphile
EXTRA BITS - Making a Bootable USB in Linux - Computerphile
Computerphile
EXTRA BITS - Installing Ubuntu Permanently - Computerphile
Computerphile
The Dawn of Desktop Publishing - Computerphile
Computerphile
What is Bootstrapping? - Computerphile
Computerphile
Reverse Polish Notation and The Stack - Computerphile
Computerphile
Home-Made Z80 Retro Computer - Computerphile
Computerphile
Should Everybody Learn to Code? - Computerphile
Computerphile
Programming in PostScript - Computerphile
Computerphile
Heartbleed, Running the Code - Computerphile
Computerphile
YouTube's Secret Algorithm - Computerphile
Computerphile
YouTube Search & Discovery - Computerphile
Computerphile
More on: ML Maths Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Bloom Filters, Explained Properly
Dev.to · Daksh Gargas
Prefix Sums: The Preprocessing Trick That Makes Range Queries Instant
Medium · Programming
I Thought I Was Ready for the Interview — Then One Simple Math Question Destroyed Me
Medium · Programming
Week 2(Day 10): LeetCode Two Pointers(slow & fast): Remove Duplicates from Sorted Array (Brute…
Medium · Python
🎓
Tutor Explanation
DeepCamp AI