The Satisfiability Problem, and SAT is in NP

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 29

  • @EasyTheory
    @EasyTheory  3 роки тому +10

    Thanks to my supporters Yuri (UA-cam) and Bruno, Timmy, Micah (Patreon) for making this video possible! If you want to contribute, links are in the video description.

  • @arc8dia
    @arc8dia Рік тому +116

    Satisfiability is a hard problem. I worked on this problem with my wife for years.

  • @s4meersutar
    @s4meersutar 7 місяців тому +3

    Watching this just before my theory of computation exam. Thanks for the video brother :)

  • @joesilvester7235
    @joesilvester7235 3 роки тому +9

    your videos are very easy to understandable sir..Thank you.. ..keep continue sir

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

    Thank you for explaining! needed just a quick explaining about 3 sat and more

  • @amikoace
    @amikoace Місяць тому

    Very good explanation. Thank you!

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

    Easily Understood , thanks

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

    Thanks for the explanation. What might be the time complexity to verify the solution >?

    • @dgtutv
      @dgtutv 9 місяців тому

      NP, unless we crack quantum computing, then it will be P

    • @turgayasrincankaya
      @turgayasrincankaya 5 місяців тому

      The guy above me is doubly wrong.
      1- Verifying a solution is in P.
      2- No, we don't know if SAT (or any other NP-Complete problem) will be efficiently solvable with Quantum Computers. It is thought that they won't be.

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

    You are the best teacher in the world. I want to meet you please replay

  • @AmirBehtar
    @AmirBehtar 9 місяців тому

    when should we backtrack?

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

    Outline, in pseudocode, an exact algorithm for the problem. This should guarantee a solution if one exists. how to find this sir

    • @EasyTheory
      @EasyTheory  3 роки тому

      Eventually I will do this video.

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

    Is it true that the hardness of the hashing algorithms: SHA-2, SHA-3 relies on the SAT problem?

    • @IdeaSlug
      @IdeaSlug 9 місяців тому

      Not SAT directly but, as explained in the video, it relies on P != NP. For it P = NP, then hashing becomes "easily solvable", which would be very bad for our tech security.

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

    nice dude but i dont get why SAT is so hard?

    • @EasyTheory
      @EasyTheory  3 роки тому +6

      The thing is - it might not even be hard! It's just that every technique ever tried so far yields an exponential time solution, and there are heuristics to suggest no "fast" algorithm exists for SAT.

    • @sayantanshaw4608
      @sayantanshaw4608 Рік тому +17

      From the way you wrote the comment, I feel like you might be misinterpreting the meaning of "hard". By "hard", in this context, we don't mean "hard to understand" or "hard to find an answer to, as a human." It more or less means that " Given n inputs for a problem, the computer will take exponential time to solve it (basically O(2^n) or such time-complexity)". Think about it this way, if we are given x1, x2 and x3, as our sat problems variables(AKA inputs(n) = 3), and the problem itself is, lets say (x1 or (-x2)) and (x2 or (-x3)). Then the generic way to solve it would be to test each and every possibility of x1, x2 and x3. As each of these inputs can be either True or False, that means two possibilities for each input. and as there are three inputs, the number of possibilities become 2*2*2 = 2^3. Same way, if there were 10 inputs, we would get the 2^10 possibilities (We can optimize a bit depending on the exact problem, but the rate of growth of time, relative to the no. of inputs will stay the same). This exponential increase in possibilities( more possibilities means more time taken by the computer ) with respect to the number of inputs, makes it so, that by something like a 100 inputs, we will have around 10^30 something possibilities. This means that even high powered computers will take extremely long time to compute the answer( I am talking years here), in the worst case scenario. That is the basic meaning of "hard" in this given context, and that is the reason why SAT is considered an NP(Non-Polynomial, as in time complexity can't be represented in polynomial) problem. Now, the reason why it is speculated that it might not even be NP, is because, we don't have any clear evidence that there isn't an algorithm to solve SAT, that runs in polynomial time. Hope it cleared up your doubt, and if you find any flaw in my explanation, feel free to reply. (As I replied one year late, I guess your doubt was already solved, but if not, hope this helps).

    • @lenishpandey192
      @lenishpandey192 Рік тому +4

      @@sayantanshaw4608 dude your explanation is op.

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

      @@EasyTheoryThanks for your excellent video. How do I publicizes my findings in a Math/Computer Journals and what would be the right Math/Computer Journals. I would be really appreciate if you show me the path for publicizing my findings.

  •  3 місяці тому

    What does SAT stand for in this case?

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

    very

  • @xinyaoyin2238
    @xinyaoyin2238 7 місяців тому

    this guy looks like elon musk