1. Introduction, Finite Automata, Regular Expressions

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 153

  • @leahthegeek9677
    @leahthegeek9677 2 года назад +167

    thank you so much for sharing this course, I'm living in a country where buying things from other countries like online courses isn't possible due to sanctions. these free courses are the only things that let me learn, thank you again for your awesome website and courses.

  • @vaalarivan_p
    @vaalarivan_p 2 года назад +28

    personal index:
    def of finite automaton : 20:00
    regular lang def : 29:00

  • @viridianite
    @viridianite Год назад +105

    This is THE Michael Sipser of Sipser's Introduction to the Theory of Computation.

    • @w0nnafight
      @w0nnafight Год назад

      who asked?

    • @viridianite
      @viridianite Год назад +37

      @@w0nnafight This is THE W0nnaFight of RUclips's comment section asking "who asked".

    • @martian0x80
      @martian0x80 8 месяцев назад

      @@viridianiteThis is THE LuuuZeta of RUclips's comment section saying "This is THE W0nnaFight of RUclips's comment section asking "who asked".".

    • @dyinginmyroom-gs2gc
      @dyinginmyroom-gs2gc 5 месяцев назад +1

      Holy shit i just noticed that

    • @EzraSchroeder
      @EzraSchroeder 2 месяца назад

      his book is the book for the course this is part of... a course at MIT you can study online for free on MIT OCW... a course at MIT which can count toward degrees (including a PhD in at least one subject) in EECS & Mathematics, also oftentimes taken by physics majors...

  • @AyushBhattfe
    @AyushBhattfe 3 года назад +75

    so this is that Michael Sipser whose book we all read and love

  • @fnaticbwipo1222
    @fnaticbwipo1222 Год назад +15

    for those who want to know Mike Sipser is author of the book that in detail explains those fundamentals of computer science, make sure you watch these playlist they have a huge value for those who want to learn theory of computation.

  • @EngineersToGoMT
    @EngineersToGoMT 9 месяцев назад +9

    Just got automata and regular languages at school for computer science. Surprise surpise, i didn't understand a thing. Thank god for this youtube video.

  • @swagatochatterjee7104
    @swagatochatterjee7104 3 года назад +50

    Holy shit! The legendary Michael Sipser is teaching it in video!!!!

  • @mariuszpopieluch7373
    @mariuszpopieluch7373 3 месяца назад +4

    I’ve had professor Sipser’s textbook for over a decade, and now I have also purchased a Polish edition and teach this material in my discrete mathematics course.

  • @VictorLG-c2d
    @VictorLG-c2d 16 дней назад

    43:10 If the set has the empty string, it is no longer an empty set; it is a set containing the element empty string: A = {epsilon}

  • @MinhazulIslamRoyel
    @MinhazulIslamRoyel Месяц назад +1

    This course helped me during my automata course in my undergrad

  • @chetashreejagtap7585
    @chetashreejagtap7585 Год назад +18

    thank you MIT OCW for sharing such wonderful knowledge with detail explanation, for those who are not able to get source to learn things, it is really very great and awesome platform. thank you!

  • @persi_dev
    @persi_dev 5 месяцев назад +3

    This is the curicullum shared by pretty much every computer science department in my country of Greece... using the same book.

  • @MathNerdGamer
    @MathNerdGamer 3 года назад +38

    I've been waiting for this ever since I looked at Sipser's page and saw that it was being reviewed for OCW!

  • @FR33Willi
    @FR33Willi 3 года назад +10

    work begins at 9:12

  • @whitedevil4123
    @whitedevil4123 3 года назад +6

    Thanks to all for making this possible.

  • @beelediye6973
    @beelediye6973 3 года назад +16

    It's always a pleasure listening to lecture of a Legend.

  • @vishnusingh4121
    @vishnusingh4121 2 года назад +3

    31:59 Basically, the reason why you can solve this problem, you can make a finite automaton which recognizes the language B, is because that finite automaton is going to keep track of the parity of the number of 1's
    it's seen before. This has two states, one of them remembering that it's seen an odd number of 1's so far,
    the other one remembering it's seen an even number of 1's before. And that's going to be typical for these automata,
    finite automata. There's going to be several different possibilities that you may have to keep track of as you're reading the input, and there's going to be a state associated with each one of those possibilities. So if you're designing an automaton, you have to think about-- as you're processing the input-- what things you have to keep track of. And you're going to make a state for each one of those possibilities
    41:52 Show finite automata equivalent to Regular Expression.

  • @net.navigator
    @net.navigator 8 месяцев назад +1

    as someone who has used his text on toc, this is fun to watch. i wonder how i missed this playlist earlier.

  • @sebon11
    @sebon11 3 года назад +25

    Amazing lecture, everything clear even though it's mathematical, thanks for sharing

  • @MrDiglenson
    @MrDiglenson 3 года назад +25

    Woah, it's so cool to see him teaching here 😮

  • @jolness1
    @jolness1 2 года назад +5

    Love OCW. Figured they would have something for this to self study

  • @shanhuang5886
    @shanhuang5886 2 года назад +1

    that is greatness - shows a different level of clarity....

  • @Joshwism
    @Joshwism 2 года назад +5

    The slides are so easy on the eyes.

  • @doyourealise
    @doyourealise 2 года назад +6

    dang just got his book introduction to computation and now i m watching his videos :) amazing video :)

    • @thunderingeagle
      @thunderingeagle 2 года назад +1

      Hows the book and the course ? I am planning to start this one....so any thoughts please :)

    • @x87-64
      @x87-64 2 года назад +4

      ​@@thunderingeagle The course and the book both are amazing. The course is pretty much just Sipser repeating whatever is in the book so you can just watch the lectures and do problems from the book.

  • @GuitarheroWWEduh
    @GuitarheroWWEduh 6 месяцев назад +1

    I really wish my Formal Languages/Theory of Computation (whichever your university calls the course), professor made it easier to understand like how Dr. Sipser does! Ty so much! Because I have my final this week and Dr. Sipser, as the author of my Theory of Computation course-textbook, and now I actually understand as I review for my final! ^^

  • @devmahad
    @devmahad Год назад

    TOC: Basic TOC concepts:
    FA, Definition, Regular languages & their properties

  • @uzairakram899
    @uzairakram899 2 месяца назад

    I have always had trouble making the connection between these regular expressions/ languages and computation which is about solving problems algorithmically and creating a mechanistic process of solving a problem. I really wish that connection was made more clear

  • @climbeverest
    @climbeverest Год назад +1

    Not sure if the professor will alter his opening statement on math and AI, it looks like Q*2 has broken ground on that. Shows how 1 year ago is an eon in CS

  • @lucasmartinsbarretoalves9937
    @lucasmartinsbarretoalves9937 2 года назад +4

    i love you MIT opencourseware

  • @maetamonxg7718
    @maetamonxg7718 2 года назад +3

    41:00 I was thinking this is like RegEx and then I was like hey this IS RegEx .. Fun to learn TOC at a random point in my education

  • @A.K.00
    @A.K.00 3 года назад +14

    Is this Mr. Sipser himself? It's been some years that I read his book. Had a love-hate relationship with that subject lol.

  • @Kenny-nj5te
    @Kenny-nj5te 3 месяца назад

    micheal is a great explainer,

  • @autogrant7020
    @autogrant7020 3 года назад +6

    A Sipser MIT course. :-) :-) :-)

  • @donaldtimpson4320
    @donaldtimpson4320 2 года назад +2

    One of the silver linings for covid. Thanks.

  • @temtamyassine2292
    @temtamyassine2292 Год назад +1

    Great thanks Mit OCW, the textbook is also great

  • @federicogasparv
    @federicogasparv 3 года назад +2

    Boring friday night? mit course sounds like a good plan. XD

  • @AntorFerdous
    @AntorFerdous 2 года назад +1

    I would have failed this class if it wasn't for these lectures

  • @phuditthawatsasom6869
    @phuditthawatsasom6869 2 года назад +2

    16:35 To be honest, you did wake me up

  • @-Mohamed_bayan
    @-Mohamed_bayan 3 года назад +4

    i am waiting this course for long time☺️☺️☺️ i am very happy

  • @potatoboss5239
    @potatoboss5239 3 года назад +2

    Now I have something to watch on the bus

  • @SandipMukherjee-b6i
    @SandipMukherjee-b6i 2 месяца назад

    Thank you very much for the course

  • @bowlingfanatikzzz
    @bowlingfanatikzzz 3 года назад +6

    Very helpful to future students! Great work! Thank you!

  • @aamodvardhanpandey
    @aamodvardhanpandey Год назад +1

    Why, thank you, Sir!

  • @draneolfesoj13
    @draneolfesoj13 Год назад +1

    i have exam this day, im reviewing today HAHAHA.

  • @NikosXouselas10
    @NikosXouselas10 2 года назад +4

    Department of Computer Engineering & Informatics
    University of Patras, Hellas.
    Thank you, it was really helpful!

    • @ikebipe
      @ikebipe 2 года назад

      🤣🤣🤣

  • @TT-bv2nc
    @TT-bv2nc 9 месяцев назад +1

    very helpful, thanks!

  • @muhammadfaruq1782
    @muhammadfaruq1782 Год назад +1

    the S = (a, b)
    Is the (a* + b*) equals with (a + b)*
    or (ab)* with (a*b*) ??
    Pls help me (sorry for my bad english)

  • @epictetus__
    @epictetus__ 9 месяцев назад

    Bookmark: 28:00

  • @uditjec8587
    @uditjec8587 Год назад

    No one talks about computability of computer with proper example.

  • @yuntaozhao5693
    @yuntaozhao5693 Год назад +1

    Thank you professor

  • @jayvirsingh2357
    @jayvirsingh2357 2 месяца назад

    better than proff sagarmoy

  • @lesegomatsimela2112
    @lesegomatsimela2112 Год назад

    is F (which is the set of accept states) the same as saying the set of all final states? @21:54

  • @dakshsharma2209
    @dakshsharma2209 2 года назад

    can someone please let me know of the prerequisites before starting if you have already seen the course.

    • @mitocw
      @mitocw  2 года назад +2

      PREREQUISITES: 6.042J Mathematics for Computer Science, 18.200 Principles of Discrete Applied Mathematics. For more info, visit the course on MIT OpenCourseWare at: ocw.mit.edu/18-404JF20. Best wishes on your studies!

  • @danny.math-tutor
    @danny.math-tutor Год назад +1

    thanks for sharing

  • @Jonathondelemos
    @Jonathondelemos 11 месяцев назад +1

    Thanks

  • @josemilian4167
    @josemilian4167 Год назад

    watched vid to try and see what course was about since course description was bit unclear to me. reminds me of linear algebra a bit but still unclear as to the materials utility. Anyone have more complete understanding of subject that could tell me about where the information is useful?

  • @AtulKumar-od6tn
    @AtulKumar-od6tn 3 года назад +2

    Thank you

  • @ShubhamSinghYoutube
    @ShubhamSinghYoutube 3 года назад +2

    Thank you.

  • @dattasai8060
    @dattasai8060 3 года назад

    Input letters are a and b, then what is the regular expressions no two a's come together (string may be any length) can anyone plz help plz!!!!!!!

  • @MaxMov-sp8hr
    @MaxMov-sp8hr 20 дней назад

    Hey everyone! Why 'Note that a function may not necessarily use all
    the elements of the specified range. The function abs never takes on the value
    −1 even though −1 ∈ Z'? 🤔 This cite taken from 'Introduction to the Theory of Computation Third Edition' by Michael Sipser, FUNCTIONS AND RELATIONS chapter.

  • @yrthinks6178
    @yrthinks6178 2 года назад

    At 23:39 why q2 goes to q1 if the input is zero, why not it has circle above it like q1.

    • @viridianite
      @viridianite Год назад +1

      That's because there's a transition from q1 to q2 when the symbol is zero.

    • @viridianite
      @viridianite Год назад +1

      When the machine is in q2 and the input is zero, it goes back to q1 because there's an arrow labeled with zero that takes the machine from q2 to q1 when zero is the input. q2 doesn't have a circle labeled with zero because it's not making a transition to itself but a transition to q1.
      You can also look at the transition function (the table) which describes where the machine makes a transition based on the state it is in and the input symbol.

  • @thegodfatheram
    @thegodfatheram 3 года назад +1

    Thank you very much

  • @tamasurban8870
    @tamasurban8870 10 месяцев назад +1

    huge thanks from hungary!!

  • @sohailakandil2046
    @sohailakandil2046 8 месяцев назад

    isn't there a free legal version for the book

  • @SilverlightLantern
    @SilverlightLantern 3 года назад +1

    1:00:24 Loudly crying face (copyrighted) Source Unknown

  • @chaitanyasharma6270
    @chaitanyasharma6270 2 года назад +4

    where can i access the slides?

    • @mitocw
      @mitocw  2 года назад +9

      You can find the course materials at: ocw.mit.edu/courses/18-404j-theory-of-computation-fall-2020/. Best wishes on your studies!

  • @vishalcseiitghy
    @vishalcseiitghy 3 года назад +2

    Here, before GATE 2022

  • @grzegorzmajcher9237
    @grzegorzmajcher9237 6 месяцев назад +1

    Great!

  • @___Truth___
    @___Truth___ 2 года назад

    What is good homework to test if we clearly understand this lecture? Is there such corresponding homework?

    • @nicolasguardado7466
      @nicolasguardado7466 Год назад +1

      He wrote the book "Introduction to Theory of Computation" where he provides many exercises that you can use to test yourself.

  • @sirluoyi2853
    @sirluoyi2853 2 года назад +1

    Thanks sir!

  • @himeyprogramming7221
    @himeyprogramming7221 3 года назад +3

    Thank you heard my request

  • @okaudi
    @okaudi 2 года назад +2

    Professor, Can we consider that Σ*1 is equal to Σ^1

  • @jasonpark6381
    @jasonpark6381 2 года назад

    can I think of the definition at 25:54 as exact match regarding regular expression?

    • @viridianite
      @viridianite Год назад

      What do you mean by "exact match"?

  • @whywakejha
    @whywakejha 3 месяца назад

    not MOCW ending on a cliff hanger...

  • @ahsanahmad3193
    @ahsanahmad3193 2 года назад

    At 31:20 , I don't think that automaton can be created with two states. If it is possible, please share answer.

    • @leonardmohr9450
      @leonardmohr9450 2 года назад +3

      The two states are even and odd. The start state is even. The accept state is even. An input of zero wont change the state, and an input of one will.

    • @ahsanahmad3193
      @ahsanahmad3193 2 года назад +1

      @@leonardmohr9450 I appreciate your answer but I had forgotten my question. LOL. But don't worry, I have to watch this video again as I don't remember a word about automata but have to study compiler design course which I failed two semesters ago.

  • @stardustsong1680
    @stardustsong1680 2 года назад +1

    Great course! Thanks a lot!

  • @zemm9003
    @zemm9003 6 месяцев назад

    These definitions are so retrograde it's amazing. It's a big problem with the Theory of Computation. You will often find yourself doing proofs in Python and other tools that actually work nicely and intuitively and then translate the result into Mathematical jargon so that you can get published.

  • @Vickielynnrenegar
    @Vickielynnrenegar 6 месяцев назад

    I really hate I never got to hear anything by Alan Turing

  • @Clory
    @Clory 25 дней назад +2

    What the Σigma

  • @allenyu4054
    @allenyu4054 3 года назад

    Can be explained by lambda calculus, much more concise and graceful

    • @jedikirby
      @jedikirby 2 года назад

      is there a good course on RUclips that can help with the basics? I'd love to watch it

  • @vaishnavijahagirdar3835
    @vaishnavijahagirdar3835 2 года назад

    where are the ppts?

  • @muhammadzuhairaskari7924
    @muhammadzuhairaskari7924 2 года назад +2

    04:30 prerequisites

  • @jluconde3702
    @jluconde3702 3 года назад

    6:15 COMO FUNCIONA EL CEREBRO HUMANO ....

  • @merry6423
    @merry6423 3 года назад +3

    我是中国人 很感谢🙏

  • @MasterCivilEngineering
    @MasterCivilEngineering 3 года назад +1

    Master in engineering here🇺🇸🇺🇸🇺🇸

  • @austinoquinn815
    @austinoquinn815 2 года назад +1

    Is (1U0)* actually supposed to be {{1}U{0}}* ? I might be wrong but we defined the union operation on languages which are sets. 1 and 0 do not appear to be set. This is min 40. Thanks in advance.

    • @x87-64
      @x87-64 2 года назад +4

      Yes, but he said that mostly to be concise, we neglect the braces in singletons.

    • @ABHAYKUMAR-kh4ce
      @ABHAYKUMAR-kh4ce 7 месяцев назад

      You are right. By (1U0), he meant {{1}U{0}}. He treated {1} as 1, which is not correct.

  • @user-ew5vj1sl1u
    @user-ew5vj1sl1u Год назад +1

    Done ✅

  • @mistersir3185
    @mistersir3185 Год назад +1

    It is so hard to keep track of what he is explaining in the last 3 sections. Lost interest...

  • @shawonmajid
    @shawonmajid 2 года назад

    Where can I get the slides used in the video?

    • @mitocw
      @mitocw  2 года назад +1

      You can get the slides on MIT OpenCOurseWare at: ocw.mit.edu/18-404JF20. Best wishes on your studies!

  • @wargreymon2024
    @wargreymon2024 2 года назад

    Take a drink everytime he AUMM

  • @Iqbal00123
    @Iqbal00123 10 месяцев назад +1

    I did not understand 70% of the class

    • @t0wbo2t
      @t0wbo2t 7 месяцев назад

      Give a try to "Mathematical Logic" by Joseph R. Shoenfield.

  • @zainulabideenkhan7218
    @zainulabideenkhan7218 2 года назад

    Construct NDPDA for the language of all non-palindrome.
    Construct DPDA for the language of all those strings in which the no. of a’s twice the no. of b’s.
    anybody help me please

  • @NEILJOHNRA
    @NEILJOHNRA 2 года назад

    1 done

  • @Eta_Carinae__
    @Eta_Carinae__ 3 года назад

    I'm a math major, and my uni only offers theoretical CS as a unit to CS majors (or you'd have to do enough to earn a CS minor at least), which sucks because this really interests me, but I don't care much for the engineering/code-monkey stuff. Thanks for uploading this, I'm gonna follow these closely for sure!

    • @moatef1886
      @moatef1886 Год назад

      I’ve found the “engineering/code monkey stuff” isn’t what a formal education in CS is about. It’s pretty much mathematics, these theoretical CS courses. Algorithms analysis and design, theory of computation/complexity theory, formal language and automata theory, mathematical cryptography, type theory, etc.
      A lot of a CS degree is pretty far away from the “engineering/code monkey” stuff, and theoretical computer scientists are mathematicians.

  • @deeal5336
    @deeal5336 3 года назад +3

    37:03 No BADBADNOTGOOD ?? lol

  • @imglenngarcia
    @imglenngarcia 3 года назад +1

    💡

  • @hussienalsafi1149
    @hussienalsafi1149 3 года назад +1

    ❤️ ❤️ ❤️

  • @naveenkumard9217
    @naveenkumard9217 6 месяцев назад

    4:06

  • @monsieurbreakyourpc
    @monsieurbreakyourpc 2 года назад

    32:00

  • @josephgh2886
    @josephgh2886 2 года назад

    Goood