1. Introduction, Finite Automata, Regular Expressions

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

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

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

    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.

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

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

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

      who asked?

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

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

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

      @@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 4 месяца назад

      Holy shit i just noticed that

    • @EzraSchroeder
      @EzraSchroeder Месяц назад

      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...

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

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

  • @mariuszpopieluch7373
    @mariuszpopieluch7373 2 месяца назад +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.

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

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

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

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

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

    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.

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

    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.

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

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

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

    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!

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

    Thanks to all for making this possible.

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

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

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

    work begins at 9:12

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

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

  • @persi_dev
    @persi_dev 4 месяца назад +2

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

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

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

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

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

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

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

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

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

  • @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 5 месяцев назад +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! ^^

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

    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.

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

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

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

    The slides are so easy on the eyes.

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

    i love you MIT opencourseware

  • @uzairakram899
    @uzairakram899 Месяц назад

    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

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

    micheal is a great explainer,

  • @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.

  • @SandipMukherjee-b6i
    @SandipMukherjee-b6i 27 дней назад

    Thank you very much for the course

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

    One of the silver linings for covid. Thanks.

  • @climbeverest
    @climbeverest 11 месяцев назад +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

  • @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

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

    very helpful, thanks!

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

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

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

    Why, thank you, Sir!

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

    Great thanks Mit OCW, the textbook is also great

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

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

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

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

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

    Bookmark: 28:00

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

    Thanks

  • @muhammadfaruq1782
    @muhammadfaruq1782 11 месяцев назад +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)

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

    thanks for sharing

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

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

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

    Thank you professor

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

    Thank you.

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

    Thank you

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

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

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

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

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

      🤣🤣🤣

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

    Thank you very much

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

    Now I have something to watch on the bus

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

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

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

    04:30 prerequisites

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

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

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

    Great!

  • @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?

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

    Thanks sir!

  • @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!

  • @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 6 месяцев назад

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

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

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

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

    isn't there a free legal version for the book

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

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

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

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

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

    Thank you heard my request

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

    huge thanks from hungary!!

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

    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!!!!!!!

  • @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!

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

    where are the ppts?

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

    i have exam this day, im reviewing today HAHAHA.

  • @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"?

  • @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.

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

    Great course! Thanks a lot!

  • @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.

  • @jayvirsingh2357
    @jayvirsingh2357 Месяц назад

    better than proff sagarmoy

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

    我是中国人 很感谢🙏

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

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

  • @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!

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

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

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

    No one talks about computability of computer with proper example.

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

    Done ✅

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

    Here, before GATE 2022

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

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

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

    Master in engineering here🇺🇸🇺🇸🇺🇸

  • @홍길동-l3t
    @홍길동-l3t 5 месяцев назад

    42:32

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

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

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

    32:00

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

    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

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

    1 done

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

    0:09

  • @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

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

    4:06

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

    not MOCW ending on a cliff hanger...

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

    💡

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

    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.

  • @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.

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

    Take a drink everytime he AUMM

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

    ❤️ ❤️ ❤️

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

    Goood

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

    I did not understand 70% of the class

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

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

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

    10:08

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

    저자직강

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

    37:03 No BADBADNOTGOOD ?? lol