NP Completeness 4 - Satisfiability and 3SAT

Поділитися
Вставка
  • Опубліковано 25 сер 2024
  • In this video we introduce the most classic NP Complete problem -- satisfiability. We prove that 3SAT is NP Complete by reducing SAT to it.

КОМЕНТАРІ • 17

  • @saakshi.padamwar
    @saakshi.padamwar Рік тому +6

    Best explanation ever. I'm studying for my exams right now and this is the best help I could get on UA-cam.

  • @underlecht
    @underlecht 10 місяців тому +1

    You are cool. Thank you. Stuck on your video and very glad i found your explanation.

  • @dezmembrezlogan2347
    @dezmembrezlogan2347 3 роки тому +1

    Love you and greetings from Romania

  • @kiran10110
    @kiran10110 Рік тому +1

    So much clearer now, thank you so much!!

  • @adityapalve3752
    @adityapalve3752 2 роки тому +1

    U saved me before my exam. Thks a lot.

  • @haythamadnan3465
    @haythamadnan3465 3 роки тому +8

    The link you provided is the proof of the Cook's theorem, but could you please share the link of the generic proof of reducing SAT to 3-SAT in polynomial time? Thanks!

  • @solinmaaroof
    @solinmaaroof 8 місяців тому +1

    thank you for the explanation! is it possible to get these lecture notes?

  • @hjain1011
    @hjain1011 2 роки тому +2

    Thanks for these wonderful lectures. Also can you share your notes.

  • @2004seraph
    @2004seraph 4 місяці тому

    At 14:42, couldnt you just substitute the terms Xa represents into the formula to get 3-CNF?

  • @miarodgers8922
    @miarodgers8922 2 роки тому +2

    when i plug this into a truth table, the answers are not the same. is there a reason why it would be wrong?

    • @derda3209
      @derda3209 2 роки тому +3

      you made a mistake

  • @shrutijadhav8766
    @shrutijadhav8766 4 місяці тому

    is it not a rule that in a clause we cant have 2 literals the same as here XA is same for last two clauses

  • @ea5673
    @ea5673 2 роки тому +2

    So to prove 3SAT is in NP we reduce SAT to 3SAT. What if we want to prove that SAT is in NP? as far as I know every problem in NP can be reduced to the other problems. What about the first problem prove? Its like the chicken first or the egg + which one is the chicken and which one is the egg?
    Thanks for the great video!

    • @ProfessorPainter
      @ProfessorPainter  2 роки тому

      To show that SAT is in NP is easy since we can just plug our variable assignment into the truth statement!

  • @tanvirtanvir6435
    @tanvirtanvir6435 Рік тому

    1:27-2:00 Conjuctive Normal form

  • @craine5132
    @craine5132 3 роки тому +1

    Can you link the proof you mentioned in the video?

    • @ProfessorPainter
      @ProfessorPainter  3 роки тому +3

      Of course! Here is a link to a more easily digestible proof of Cook's Theorem: www.cs.otago.ac.nz/cosc341/proof_Cooks.pdf
      The actual theorem and proof involves a bit more complexity theory and automata theory than we cover in this course, but the rough idea is to convert every possible problem into a Boolean statement, which should be possible since each problem is a mathematical statement!