The Satisfiability Problem, and SAT is in NP

  Рет қаралды 48,511

Easy Theory

Easy Theory

Күн бұрын

Here we introduce the SAT problem, which consists of a boolean formula (with variables and operations AND, OR, and NOT). We also show that SAT is in NP via certificates.
▶ABOUT ME◀
I am a professor of Computer Science, and am passionate about CS theory. I have taught many courses at several different universities, including several sections of undergraduate and graduate theory-level classes.

Пікірлер: 27
@EasyTheory
@EasyTheory 3 жыл бұрын
Thanks to my supporters Yuri (KZbin) and Bruno, Timmy, Micah (Patreon) for making this video possible! If you want to contribute, links are in the video description.
@arc8dia
@arc8dia 11 ай бұрын
Satisfiability is a hard problem. I worked on this problem with my wife for years.
@zoomstrikegaming
@zoomstrikegaming 10 ай бұрын
This is amazing
@virendrasule3258
@virendrasule3258 23 күн бұрын
What did u and ur wife were looking for in satisfiability?
@s4meersutar
@s4meersutar 5 ай бұрын
Watching this just before my theory of computation exam. Thanks for the video brother :)
@joesilvester7235
@joesilvester7235 3 жыл бұрын
your videos are very easy to understandable sir..Thank you.. ..keep continue sir
@EasyTheory
@EasyTheory 3 жыл бұрын
Thanks!
@shubhamatkal
@shubhamatkal 8 ай бұрын
Easily Understood , thanks
@Mrs4alonangel
@Mrs4alonangel 3 жыл бұрын
Thank you for explaining! needed just a quick explaining about 3 sat and more
@ayushijmusic
@ayushijmusic 2 жыл бұрын
Thanks for the explanation. What might be the time complexity to verify the solution >?
@dgtutv
@dgtutv 7 ай бұрын
NP, unless we crack quantum computing, then it will be P
@elmasyiyenzenginsisman4877
@elmasyiyenzenginsisman4877 3 ай бұрын
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.
Ай бұрын
What does SAT stand for in this case?
@manavkumbhare5197
@manavkumbhare5197 2 жыл бұрын
You are the best teacher in the world. I want to meet you please replay
@lenishpandey192
@lenishpandey192 Жыл бұрын
replay .. dude 💀
@awmirrzza
@awmirrzza 8 ай бұрын
when should we backtrack?
@joesilvester7235
@joesilvester7235 3 жыл бұрын
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 Жыл бұрын
Is it true that the hardness of the hashing algorithms: SHA-2, SHA-3 relies on the SAT problem?
@IdeaSlug
@IdeaSlug 7 ай бұрын
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 2 жыл бұрын
nice dude but i dont get why SAT is so hard?
@EasyTheory
@EasyTheory 2 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@sayantanshaw4608 dude your explanation is op.
@mohancvp9723
@mohancvp9723 2 ай бұрын
@@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.
@deveshsingh1479
@deveshsingh1479 11 ай бұрын
very
@xinyaoyin2238
@xinyaoyin2238 6 ай бұрын
this guy looks like elon musk
What is a polynomial-time reduction? (NP-Hard + NP-complete)
8:56
NP Completeness 4 -  Satisfiability and 3SAT
16:24
Professor Painter
Рет қаралды 34 М.
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 32 МЛН
World‘s Strongest Man VS Apple
01:00
Browney
Рет қаралды 67 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,2 МЛН
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
The Boundary of Computation
12:59
Mutual Information
Рет қаралды 1 МЛН
How to solve the 2-SAT problem in POLYNOMIAL TIME?
16:20
Inside code
Рет қаралды 10 М.
What P vs NP is actually about
17:58
Polylog
Рет қаралды 112 М.
The World's Best Mathematician (*) - Numberphile
10:57
Numberphile
Рет қаралды 7 МЛН
A Peek Inside SAT Solvers - Jon Smock
35:21
ClojureTV
Рет қаралды 39 М.
Cook-Levin Theorem: Full Proof (SAT is NP-complete)
31:30
Easy Theory
Рет қаралды 18 М.
P vs. NP and the Computational Complexity Zoo
10:44
hackerdashery
Рет қаралды 3,4 МЛН
P vs. NP - The Biggest Unsolved Problem in Computer Science
15:33
Up and Atom
Рет қаралды 948 М.
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 32 МЛН