Zero Knowledge Proof (with Avi Wigderson) - Numberphile

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 พ.ค. 2024
  • Featuring Avi Wigderson from the Institute for Advanced Study, Princeton.
    More info and links below ↓↓↓
    Avi's homepage: www.math.ias.edu/avi/home
    And his free online book: www.math.ias.edu/avi/book
    Fermat's Last Theorem: • Fermat's Last Theorem ...
    Four Colour Map Theorem: • The Four Color Map The...
    Gödel's Incompleteness Theorem: • Gödel's Incompleteness...
    P v NP: • P vs NP on TV - Comput...
    NUMBERPHILE
    Website: www.numberphile.com/
    Numberphile on Facebook: / numberphile
    Numberphile tweets: / numberphile
    Numberphile is supported by the Mathematical Sciences Research Institute (MSRI): bit.ly/MSRINumberphile
    Video by Brady Haran
    and Pete McPartlan
    Support us on Patreon: / numberphile
    Brady's videos subreddit: / bradyharan
    A run-down of Brady's channels: www.bradyharan.com
    Sign up for (occasional) emails: eepurl.com/YdjL9

ความคิดเห็น • 964

  • @numberphile2
    @numberphile2  3 ปีที่แล้ว +67

    Fermat's Last Theorem: th-cam.com/video/qiNcEguuFSA/w-d-xo.html
    Four Colour Map Theorem: th-cam.com/video/NgbK43jB4rQ/w-d-xo.html
    Gödel's Incompleteness Theorem: th-cam.com/video/O4ndIDcDSGc/w-d-xo.html
    P v NP: th-cam.com/video/dJUEkjxylBw/w-d-xo.html

    • @facugaich
      @facugaich 3 ปีที่แล้ว +7

      At 16:50 I'm pretty sure you were supposed to close all the envelopes belonging to the same column, not all reds

    • @rosekunkel4317
      @rosekunkel4317 3 ปีที่แล้ว +1

      His claim that every mathematical statement can be converted to a graph that is 3-colorable iff the statement is true is wrong. For example, given some formula in first-order logic (i.e. something like "for all x there exists y such that x does not equal y"), the statement "the formula is always true" cannot possibly always be converted to a graph. This is because the question of whether an arbitrary formula is always true is known to be undecideable - there is no algorithm which can determine the answer. If his claim were correct, we would have an algorithm: simply convert it to a graph and then check whether the graph is 3-colorable.

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว +3

      Ah, I see what you are doing. Just throw enough amazing content at us and we'll get distracted and go away. Well we aren't fooled so easily! We want to see the conversion of a mathematical statement (or two) into a 3-color map! :D

    • @bastiaanabcde
      @bastiaanabcde 3 ปีที่แล้ว +1

      @@rosekunkel4317 So you're claiming that checking whether an arbitrary graph is 3-colorable _is_ decidable? Why is this so? I don't think the resulting graphs need to be finite.

    • @Nemelis0
      @Nemelis0 3 ปีที่แล้ว +1

      Why do I get the feeling that he disproved his own statement with the example of the three countries in a triangle rounded by a 4th one? That is not possible to be three-coloring, but still a valid configuration. Or what am I not getting?
      /*edit*/ I made some drawings for myself and I can indeed color anything with in most cases 3 colors, but there are exceptions where I have to use 4. So if that is what is meant I find the name 'three-coloring' very confusing to use since it can be more. Maybe I'm just to logical as a computer-engineer.

  • @EnigmacTheFirst
    @EnigmacTheFirst 3 ปีที่แล้ว +1705

    Finished watching and I still have zero knowledge

    • @guylevy3129
      @guylevy3129 3 ปีที่แล้ว +51

      Success

    • @mattmurphy1065
      @mattmurphy1065 3 ปีที่แล้ว +30

      I was pretty sure the very first part of the conversation was him displaying the very example of the whole video lol

    • @muskyoxes
      @muskyoxes 3 ปีที่แล้ว +12

      But you have to prove that

    • @shaunmkelsey
      @shaunmkelsey 3 ปีที่แล้ว +14

      I scrolled down just to look for this comment, was not disappointed.

    • @guitarslim56
      @guitarslim56 3 ปีที่แล้ว +9

      But can you prove it? :)

  • @deidara_8598
    @deidara_8598 3 ปีที่แล้ว +333

    This video feels like a zero-knowledge proof of zero-knowledge proofs.

  • @ResandOuies
    @ResandOuies 3 ปีที่แล้ว +597

    would be nice to see an example of translating of statement and proof to a map with coloring

    • @kibrika
      @kibrika 3 ปีที่แล้ว +80

      I think the keywords to look for are SAT to 3-colorability. The steps in-between are turning a graph into a map, and turning a proof into a logic expression in the appropriate form.

    • @parryvictor
      @parryvictor 3 ปีที่แล้ว +9

      Thanks kibrika

    • @cainmartin4131
      @cainmartin4131 3 ปีที่แล้ว +18

      I typed “SAT A to colouring” into google images and was presented with humpty dumpty outlines 😂

    • @alonyouval3452
      @alonyouval3452 3 ปีที่แล้ว +2

      @@kibrika thanks

    • @Tom-ef1mz
      @Tom-ef1mz 3 ปีที่แล้ว +13

      That sounds like a video for numberphile2... Oh wait

  • @Tom-ef1mz
    @Tom-ef1mz 3 ปีที่แล้ว +322

    Even for Numberphile, this video is just absolutely insane.

    • @rogerr4220
      @rogerr4220 3 ปีที่แล้ว +36

      It's Numberphile2: double the difficulty.

    • @Tom-ef1mz
      @Tom-ef1mz 3 ปีที่แล้ว +23

      @@rogerr4220 this video belongs on Numberphile²

    • @ArawnOfAnnwn
      @ArawnOfAnnwn 3 ปีที่แล้ว +15

      @@rogerr4220 The basic concept isn't difficult to get. In less precise language, you're basically proving to someone that the proof (of some problem or the other) you claim to have is legit, without actually revealing the proof itself. To use a poker analogy (this is really imprecise mind), it'd sorta be like convincing everyone at the table that your hand is the winner, without actually showing your cards. How you'd do that in poker is beyond me, but the effect is the same - they believe you, despite not actually knowing what you've got.

    • @toferj7441
      @toferj7441 3 ปีที่แล้ว +37

      This has to be the worst most unfulfilling Numberphile video I've ever seen. It's 33 minutes of my life I'll never get back again.

    • @uraldamasis6887
      @uraldamasis6887 3 ปีที่แล้ว +8

      @@ArawnOfAnnwn That isn't a valid analogy because poker is a game where the objective is to persuade, not prove.

  • @ReaperUnreal
    @ReaperUnreal 3 ปีที่แล้ว +20

    Somehow this 30 minute video gave me better understanding about zero-knowledge proofs than 2 hour-long lectures on the subject I had a few years ago.

  • @AlexTaradov
    @AlexTaradov 3 ปีที่แล้ว +247

    I agree with others, we need a followup video with a practical example. This is interesting, but too abstract.

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว +3

      Bump.

    • @antigonid
      @antigonid 3 ปีที่แล้ว +3

      monero the crypro is an interesting application

    • @test-sc2iy
      @test-sc2iy 2 ปีที่แล้ว +21

      You have two pens of different colours. You want to prove to your friend who is colour blind the pens are different colours without revealing the colours. You say hold one in each hand, put them behind your back, either switch or don’t. If I guess if you switched or not right once the chance I was telling the truth about the difference in the pens is 50%. If we do this twice, 75% and so on until you’re sure enough the pens are different.
      The key here is I’ve proven commenting about those pens to you without revealing anything about them. This is very valuable in cryptography

    • @davidoviedo5291
      @davidoviedo5291 2 ปีที่แล้ว +4

      @@test-sc2iy thats a really helpful explanation! Thanks

    • @XB10001
      @XB10001 2 ปีที่แล้ว +1

      What you need is two semesters of Computational Complexity.

  • @toniokettner4821
    @toniokettner4821 3 ปีที่แล้ว +210

    the guy proving the existence of zero knowledge proofs was like: lemme prove that i have a proof that you can prove that you have a proof you don't want to tell

    • @zilvarro5766
      @zilvarro5766 3 ปีที่แล้ว +16

      Great, so what's the proof?
      -Won't tell you, but please take a look at this map of the statement...

    • @JustAPerson-oe7qs
      @JustAPerson-oe7qs 3 ปีที่แล้ว +6

      I am at the stage of dealing with proofs in my maths study. Some are like trying to wrap your head around a pole while singing opera and messing with a rubiks cube.

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว

      Tonio Kettner I don't believe you. Prove it. But then you wouldn't believe that I don't believe you, wouldn't you?

    • @toniokettner4821
      @toniokettner4821 3 ปีที่แล้ว +2

      @@ZandarKoad thanks for explainig me my own joke

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว

      ​@@toniokettner4821 Hey, a joke is always funnier the 2nd time you hear it!

  • @jonaszurba4906
    @jonaszurba4906 3 ปีที่แล้ว +102

    please do a follow up on how to convert logical statements into a 3 colourable map

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว +5

      Please

    • @GerSHAK
      @GerSHAK 3 ปีที่แล้ว +2

      +

    • @ObjectsInMotion
      @ObjectsInMotion 3 ปีที่แล้ว +7

      You'd first need several college-level courses on set theory and formal logic to understand it first.

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว +14

      @@ObjectsInMotion Ah, too advanced then for Numberphile's TH-cam audience? I tend to think not. Just list the educational dependencies up front. No need to cover them in their entirety in the video.

    • @littlebigphil
      @littlebigphil 3 ปีที่แล้ว +16

      From messing around on paper and reading a bit:
      You start with a palette of F, T, and B.
      This palette is just a triangle of nodes.
      Whatever F is colored as means false.
      Whatever T is colored as means true.
      B is an auxiliary node.
      You enforce the law of noncontradiction by connecting to B.
      You encode a premise by connecting it to both B and F. This forces it to be true.
      You encode a negation ~X by connecting it to both B and X.
      You encode "X or Y" with another triangle.
      One of the nodes of the triangle is T. Another node is connected to X. Another node is connected to Y.
      The nodes that aren't T must be either BF or FB.
      X - B - F - Y or X - F - B - Y
      If X is F it forces the connected node to be B.
      F - B - F - Y
      And this forces Y to be T.
      F - B - F - T
      This works symmetrically.
      You can construct any statement in propositional calculus from or and negation.
      This means you can encode any Boolean satisfiability problem.
      I'm not sure where to go from there.

  • @martimlobao
    @martimlobao 3 ปีที่แล้ว +187

    It would be extremely helpful to see how to convert even a trivial statement into a map, as well as how to convert a 3-coloring of that map into a proof of that statement. Or at least a link to some paper where that process is explained, searching online returns no clear explanation.

    • @dabluse3497
      @dabluse3497 3 ปีที่แล้ว +24

      Like he said, it’s using only formal proofs with symbols only, and a map would be huge for even a simple statement, so you would not really be able to translate it by hand or be able to comprehended if made by a computer. However, computers can communicate with each other in this language.

    • @TheKikou18
      @TheKikou18 3 ปีที่แล้ว +25

      If I'm not mistaken, it takes a lot of definitions and tools, for example it probably goes through SAT and then through 3SAT to go to graph (map) colouring

    • @varunachar87
      @varunachar87 3 ปีที่แล้ว +28

      @@TheKikou18 yes. Basically, no matter what branch of mathematics your statement is in, if first needs to be converted to pure logic. Even concepts as elementary as counting numbers and arithmetic are notoriously laborious to translate in this way (as evidenced e.g. by the lengths Whitehead and Russell had to go to just to show 1+1=2). I can scarcely imagine how hard it would be to encode concepts like arbitrary triangles in Euclidean geometry in this language.

    • @elireville7206
      @elireville7206 3 ปีที่แล้ว +30

      @@varunachar87 I mean he said in the video that it can be explained even to a high school class, so I think that it would be an appropriate topic for Numberphile - there must be some explanation in between "its true" and "here's how to do it all out by hand."

    • @scottdebrestian9875
      @scottdebrestian9875 3 ปีที่แล้ว +17

      @@elireville7206 I think this _is_ the high school-level explanation.

  • @nbjornestol
    @nbjornestol 3 ปีที่แล้ว +44

    Congratulations to Avi for winning the Abel Prize!

    • @kamilziemian995
      @kamilziemian995 3 ปีที่แล้ว +3

      I came to this video after I watch 2021 Abel Prize ceremony.

  • @a88senna
    @a88senna 3 ปีที่แล้ว +53

    I don't think I've ever understood any concept less in my life, but I still really enjoyed listening to Avi, and it's always interesting to see these complex mathematical ideas, even if they make my head hurt.

    • @noahprussia7622
      @noahprussia7622 3 ปีที่แล้ว +3

      "I can prove X" -> "I know what keys open that door"
      Whether X is true or false-> Whether the door opens or not
      The mapping of the proof -> The key
      Any statement can be a key, Only true statements/proofs open the door, however Party B does not know the internal mechanisms nor the keyshape. Party A has knowledge of the proof, can prove they have this knowledge by correctly identifying keys that open the door. They know whether the proof/statement they made is true and can be said to know the internal mechanisms.
      Three parts make it zero knowledge. Completeness (Party B will be convinced that Party A has proof, the probability of Party A picking correctly approaches 100% ), Soundness (Party A cannot cheat if they do not have the proof/The probably of Party A picking correctly gets closer to 0% if the statement is false), and Zero-knowledge.
      What makes it zero-knowledge is that Party B cannot look at the key. Party A looks at the key, Party B checks whether Party A picked correctly.
      This process is repeated, since it is 50/50 for the first time and it gets progressively more unlikely that Party A is guessing as Party A correctly identifies valid keys.
      The mapping is more like: The lock is the proof, the keys are the various different mappings, only true proofs have keys that open it. Both Party A and Party B can know how keys are made, but not necessarily how the lock functions. Since the method of key-making is known, you can't make false keys and there is no guessing.

    • @ArawnOfAnnwn
      @ArawnOfAnnwn 3 ปีที่แล้ว +1

      In less precise language, you're basically proving to someone that the proof (of some problem or the other) you claim to have is legit, without actually revealing the proof itself. To use a poker analogy (this is really imprecise mind), it'd sorta be like convincing everyone at the table that your hand is the winner, without actually showing your cards. How you'd go about doing that in poker is beyond me, but the effect is the same - they have to believe you, despite not actually knowing what you've got.

    • @sofia.eris.bauhaus
      @sofia.eris.bauhaus 3 ปีที่แล้ว +1

      @@ArawnOfAnnwn "How you'd go about doing that in poker is beyond me," why would you pick an example of which you don't know how to prove it? the whole point is knowing a way if how to do that...

    • @ArawnOfAnnwn
      @ArawnOfAnnwn 3 ปีที่แล้ว

      @@sofia.eris.bauhaus "I don't think I've ever understood any concept less" - I explained the concept. You can feel free to explain the mechanism if you feel up to it.

    • @realengineeringstudent5521
      @realengineeringstudent5521 3 ปีที่แล้ว +2

      It's like proving that you know the password to a computer by hiding the keyboard from view and typing in the password. Anyone can see that you unlocked the computer, so you must know the password, but that doesn't help anyone else figure out what the password is. The only new information they have is that they know you've proven you know the password.

  • @GregHillPoet
    @GregHillPoet 3 ปีที่แล้ว +121

    Proof of the four-color map theorem can be zero-knowledge verified using a three-color map.

    • @Bruno_Noobador
      @Bruno_Noobador 3 ปีที่แล้ว

      I need a proof of that!

    • @seydakose7279
      @seydakose7279 3 ปีที่แล้ว

      Interesting! Do you have a source for the proof?

    • @sk8rdman
      @sk8rdman 3 ปีที่แล้ว

      So I could use zero-knowledge verification to prove that the three-color mapping of the four-color map theorem is a valid, but my trust in the zero-knowledge verification process is contingent upon my trust that the four-color map theorem is valid. Therefore the zero-knowledge verification is either redundant, because I already trust in the theorem it verifies, or ineffective, because I do not trust in one of the theorems it is based upon.

    • @Faladrin
      @Faladrin 3 ปีที่แล้ว +1

      @@sk8rdman You are either joking or have missed the entire point of zero knowledge proofs.

    • @sk8rdman
      @sk8rdman 3 ปีที่แล้ว

      ​@@Faladrin I don't know what you mean. Yes, this was sort of tongue in cheek, but I don't see what it is about zero knowledge proofs that you think I've missed.

  • @vincentpelletier57
    @vincentpelletier57 3 ปีที่แล้ว +71

    I have been staring at this video for 30 minutes, and I have an urge to not erase anything for some reason.

  • @fep_ptcp883
    @fep_ptcp883 3 ปีที่แล้ว +68

    -You know nothing.
    -Correct.

    • @Antonio-wh8lh
      @Antonio-wh8lh 3 ปีที่แล้ว

      However, now you know that you know nothing, therefore the statement is false and the fabric of reality is torn apart due to the paradox.

  • @4747da
    @4747da หลายเดือนก่อน +2

    This guy just won the Turing award!!! 🎉🎉🎉

  • @_abdul
    @_abdul 3 ปีที่แล้ว +53

    I Once accidentally Proved The Collatz Conjecture in my dream. Now I know why I don't know anything about it.

  • @e2DAiPIE
    @e2DAiPIE 3 ปีที่แล้ว +8

    Knowing a property about a collection without knowing anything about the individual elements reminds me of quantum entanglement. I imagine there are interesting overlaps between NP completeness and quantum information theory.

  • @kristiandamholt5082
    @kristiandamholt5082 3 ปีที่แล้ว +49

    18:20 "Any formal mathematical statement can be converted into a map. And, I should stress, this conversion is efficient. There is a SIMPLE ALGORITHM KNOWN TO ALL..."
    18:55 "Very simple, efficient, known to everybody"
    Just had to laugh at these.

    • @generationgap416
      @generationgap416 2 ปีที่แล้ว +3

      Known to all genius-level math wizkid

    • @ZandarKoad
      @ZandarKoad 2 ปีที่แล้ว +11

      Known to everyone, minus everyone in the comments.

    • @AtanasNenov
      @AtanasNenov ปีที่แล้ว +2

      Yup, doesn't seem to be so easy as it sounds. If it were, we could check if Riemann's hypothesis is true (even if we can't build the formal proof).

    • @thecactus7950
      @thecactus7950 ปีที่แล้ว +1

      @@AtanasNenov No? You'd still need to find a coloring of the map after converting the riemann hypothesis to a 3-coloring problem. But 3-coloring is hard, so you can't do it effectively.

    • @Voshchronos
      @Voshchronos 2 หลายเดือนก่อน

      @@AtanasNenov No. What we could do is generate the map only for the Riemann's hypothesis, which would be VERY HUGE. With that uncolored map, we learned nothing. Then, to prove the hypothesis is true, we'd have to color it with three colours. And doing *that*, specifically, is computationally unfeasible. Even though we have a simple algorithm that would eventually do it, if possible, the process would take more time than the age of the universe.

  • @antonmiserez934
    @antonmiserez934 3 ปีที่แล้ว +3

    ''Fermat's Last Theorem follows as a corollary" is the perfect answer to "[...]a truly marvelous proof of this, which this margin is too narrow to contain." Fermat would be proud

  • @ericb7291
    @ericb7291 3 ปีที่แล้ว +25

    To summarize:
    1) you can show a map can be 3 colouring without revealing information about the colouring
    2) you can transform any statement into a map
    3) if that statement is true, you can do a 3-colouring on that resulting map
    C) you can do zero knowledge proofs for any statement

    • @anthonyberent4611
      @anthonyberent4611 3 ปีที่แล้ว +9

      I am hoping that (3) is "If the statement is provable then you can do a 3-colouring on that resulting map", since otherwise this seems to conflict with Gõdel incompleteness.

    • @JohnSmith-cb9iu
      @JohnSmith-cb9iu 3 ปีที่แล้ว +2

      @@anthonyberent4611 I'm not sure how Godel's factors into this at all? Eric's comment is perfectly correct.
      To be even clearer: 2) you can transform any statement into a map and any proof of the statement into a coloring of the same map.

    • @jesse3134
      @jesse3134 3 ปีที่แล้ว +3

      @@anthonyberent4611 Only NP statement's can be turned into maps, the unprovable statements guaranteed by the incompleteness theorem all lie outside that set.

    • @RobinDSaunders
      @RobinDSaunders 3 ปีที่แล้ว +1

      There are short statements whose shortest proofs are arbitrarily long (in any axiomatic system able to interpret basic arithmetic). To get a map of fixed finite size, you need a fixed finite bound on the length of proof that you'll accept.
      As for NP: "Statement X has a proof of length

    • @anthonyberent4611
      @anthonyberent4611 3 ปีที่แล้ว

      @@RobinDSaunders So, are you saying that to create the map for a statement you need not just the statement, but also how large a proof you will accept for the statement? In that case, presumably, if the map you create is not three colourable, it doesn't tell you that there is no proof, simply that there is no proof shorter than your chosen N.

  • @jonathanlevy9635
    @jonathanlevy9635 3 ปีที่แล้ว +46

    Plot twist, I didn't know what an envelope is so you teach me something

  • @spuds5379
    @spuds5379 8 หลายเดือนก่อน +3

    this is probably the best vid on zkps out there

  • @tobuslieven
    @tobuslieven 3 ปีที่แล้ว +35

    18:20 I'd love to see an example of the smallest map that proves or disproves something, and a description of the theorem it proves. Great video.

    • @Galakyllz
      @Galakyllz 3 ปีที่แล้ว +5

      Yes, this. A trivial or basic example would be great.
      I'd love to know what "1 + 1 = 2" and "1 + 1 = 3" looks like.

    • @SilverlightLantern
      @SilverlightLantern 2 ปีที่แล้ว +4

      @@Galakyllz Even those would probably be pretty big projects, just in formal logic alone, not to mention translating it into a map? idk

    • @waldtrautwald8499
      @waldtrautwald8499 2 ปีที่แล้ว +4

      Unfortunately in general, these maps will be absolutely huge, even for the most simple proofs because the conversion consists of several steps (proof → formal proof → proof-checking turing machine → boolean expression in CNF → graph → planar graph). Every one of them will most likely turn its input into an even bigger output.

    • @iveharzing
      @iveharzing ปีที่แล้ว

      @@waldtrautwald8499 Are there pure logic statements that would produce graphs/maps that are small enough to understand?
      Something like 1≠0? Or 0∈ {0,1,2}?

    • @waldtrautwald8499
      @waldtrautwald8499 ปีที่แล้ว +1

      @@iveharzing You want a (somewhat short) boolean formula that is satisfiable iff your statement is true. This seems doable for your examples, depending on how you actually encode them.
      The size of the corresponding graph is then linear in the length of the boolean formula (in CNF). So the graphs shouldn't be too large. The key step is the reduction from SAT to 3-COLOR. There are some great visualizations online.

  • @reimannx33
    @reimannx33 2 ปีที่แล้ว +4

    This might be the greatest sleight of hand in mathematics. Brilliant.

  • @BrunsterCoelho
    @BrunsterCoelho 3 ปีที่แล้ว +4

    I'm halfway through the video and already completely amazed! This is amazing!

  • @2Cerealbox
    @2Cerealbox 3 ปีที่แล้ว +11

    I love this, but I understand why its not on the main channel. Its not a bite-sized digestible chunk, but I think this sort of thing is fascinating and maybe its worth learning about seriously if I think so.

  • @cogmonocle2140
    @cogmonocle2140 3 ปีที่แล้ว +4

    Honestly I wish this video h ad been on the main channel. This is one of the most profound numberphile videos I've seen; so much so that I've just spent half an hour trying to remember where I saw it to rewatch it.

  • @fulla1
    @fulla1 3 ปีที่แล้ว +75

    This is way too awsome to be put on the second channel. Now I want to know, how a statement (even a very simple one) can be translated into a 3-coloring-map problem. Or is that also a zero knowledge thing?

    • @ixcaliber
      @ixcaliber 3 ปีที่แล้ว +13

      Yeah I really wish he gave an example, no matter how simple.

    • @yufanzheng5562
      @yufanzheng5562 3 ปีที่แล้ว +2

      A simplest mathematical statement will still correspond to a map of size 1,000 or more 🤣

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว +3

      I'm waiting for the followup. Even a simple description, name, or a link would suffice.

  • @segalanicolas5608
    @segalanicolas5608 3 ปีที่แล้ว +11

    This was absolutely fascinating, thank you so much

  • @PopeLando
    @PopeLando 3 ปีที่แล้ว +3

    Avi won the Abel Prize this week, and May sees the 50th anniversary of Stephen Cook's landmark 1971 paper which demonstrated NP-completeness.

  • @MrAidanFrancis
    @MrAidanFrancis 3 ปีที่แล้ว +16

    Should this video have been uploaded to the main channel?

    • @codycast
      @codycast 3 ปีที่แล้ว

      What’s the difference? Why is there a “main” channel and a “sub” channel?

    • @biometrix_
      @biometrix_ 3 ปีที่แล้ว

      @@codycast Numberphile2, since the secondary channel.

    • @kibrika
      @kibrika 3 ปีที่แล้ว +1

      @@codycast This channel is for the longer and more in depth bits that the main channel cuts for the sake of being more accessible.

    • @codycast
      @codycast 3 ปีที่แล้ว

      @@biometrix_ yeah but what’s the point? Why not Numberphile 3, and 4, and 5, and...

  • @Rubrickety
    @Rubrickety 3 ปีที่แล้ว +7

    Something he rather glosses over is just how quickly these maps grow with the complexity of the problem. Even an apparently “simple” proof, say that there are infinitely many primes, balloons to a very large number of strictly formal statements, and hence a very large map.

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว

      Who cares. Show us anyway.

    • @StefanReich
      @StefanReich 2 ปีที่แล้ว +2

      Yes. You have to start with the absolute basics. You even have to construct natural numbers from scratch (see Peano arithmetic). I think he kind of misrepresented the complexity by saying converting statements to maps is a "simple" translation

    • @stevemiller1574
      @stevemiller1574 2 ปีที่แล้ว +2

      This video makes sense for how zkps work in practice. Assuming large maps and then sampling that maps borders to get 99.99999999% confidence.

  • @wizard7314
    @wizard7314 3 ปีที่แล้ว +59

    Long story short: it's not a proof. It's evidence that a person *probably* knows a proof. NP-complete problems have a forward direction which is easy, and a reverse direction which is very difficult. The zero-knowledge "proof" is showing that you can do the reverse operation as many times as you like. Statistically you could be guessing the answer by chance but you repeatedly do this to increase confidence that you know how to do the reverse procedure, and therefore have a proof.

    • @psicommander
      @psicommander 3 ปีที่แล้ว +8

      You can reduce the margin of uncertainty as much as you like. If you did an infinite number of checks, the probability of pure chance not being detected drops infinitely low, thus zero.

    • @wizard7314
      @wizard7314 3 ปีที่แล้ว +4

      @@psicommander Not a finite proof, if you want to get technical.

    • @cheaterman49
      @cheaterman49 3 ปีที่แล้ว +1

      @@wizard7314 I'm not sure. Isn't it a bit like Nyquist-Shannon, in which a finite number of discrete samples can amount to a continuous truth "within a frequency range" - ie. there has to be a number (and/or sequence) of tests that can in fact guarantee a proof, based on how many "countries" there are to color (the desired maximum frequency) ?
      EDIT: I'm talking about a concrete threshold between "exceedingly unlikely to be wrong" and "proven" basically?

    • @hillosand
      @hillosand 2 ปีที่แล้ว

      I still don't get how it was proven that all NP-complete problems have zero knowledge proofs.

    • @MK-13337
      @MK-13337 2 ปีที่แล้ว +2

      Yes this is statistical in nature. You can never be 100% sure he isn't cheating. even if he threw random colors on the map there is a 2/3 chance every time that the 2 countries you pick are different colors. So after K iterations the chance he was cheating using a totally random coloring each time your "risk" would be of the order (2/3)^K which is always greater than 0.

  • @robnicolaides3070
    @robnicolaides3070 3 ปีที่แล้ว

    Amazing video, thanks Brady and Avi. I think I'll be falling down this rabbit hole!

  • @yuvalne
    @yuvalne 3 ปีที่แล้ว +68

    The real question is what is the Zero Knowledge Proof of the Zero Knowledge Proof proof.

    • @juanb890
      @juanb890 3 ปีที่แล้ว +4

      🤔😳🤯

    • @MooshBoosh
      @MooshBoosh 3 ปีที่แล้ว +3

      First thing I thought when he said they proved it

    • @guilhermetorresj
      @guilhermetorresj 3 ปีที่แล้ว +1

      This sentence is false.

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว +1

      As he first said, it's interactive. Can't be reduced to pure logic.

    • @avnertishby
      @avnertishby 3 ปีที่แล้ว +4

      If you take the statement discussed in this video regarding the ability to convince a verifier (with as close to 100% certainty as you desire) that a map is 3-colorable, by only revealing random pairs of neighboring colors chosen from a random permutation of such a coloring, then that statement can be converted into a map.
      And that map would be, according to the video, 3-colorable. And you could convincingly demonstrate that the map is 3-colorable without revealing any information, using the same method.
      I believe this is what you're looking for.

  • @andrewstanek3160
    @andrewstanek3160 3 ปีที่แล้ว +16

    This was a hard video to concretize but Avi just won the Abel prize partially for such work so I guess it makes sense that it's hard to bring down from the abstract :)

    • @gs3833
      @gs3833 ปีที่แล้ว +2

      Someone who truly understands the material can break it down and reverse the process by which they came to understand it

  • @IrrevocablyZoey
    @IrrevocablyZoey 3 ปีที่แล้ว +33

    Great video. Should this have been on the main channel?

    • @angelodc1652
      @angelodc1652 6 หลายเดือนก่อน

      I didn't even realize this wasn't on the main channel

  • @ebin-d
    @ebin-d 6 หลายเดือนก่อน

    Wonderful video about ZKPs, thank you so much Avi and Numberphile!

  • @hugogogo68
    @hugogogo68 3 ปีที่แล้ว +2

    Awesome video. Makes me want to learn about formal logic. Thank you!

  • @davidjohnston4240
    @davidjohnston4240 3 ปีที่แล้ว +3

    OMG! Avi! My favourite entropy extractor algorithm inventor.

  • @SuperYtc1
    @SuperYtc1 3 ปีที่แล้ว +131

    I have the most wonderful proof of the zero knowledge proof, but it’s a bit too large to fit within this TH-cam comment.

    • @avi123
      @avi123 3 ปีที่แล้ว +10

      I'll come back in 300 years

    • @trueriver1950
      @trueriver1950 3 ปีที่แล้ว +17

      The humour in this comment is marginal

    • @davidgustavsson4000
      @davidgustavsson4000 3 ปีที่แล้ว +12

      @@trueriver1950 yeah, it's a stale fermat.

    • @GerSHAK
      @GerSHAK 3 ปีที่แล้ว +1

      HAHAHAHAHA Too accurate :,)

    • @jdm3656
      @jdm3656 3 ปีที่แล้ว

      👌🏾👌🏾👌🏾 to all commenters.

  • @Main267
    @Main267 3 ปีที่แล้ว

    Neat. This reminds me of the matchstick box idea wherein you can be confident the other matches are good after striking the previous ones randomly.

  • @zanshibumi
    @zanshibumi 3 ปีที่แล้ว +2

    Wonderful. I love this concept.

  • @HebaruSan
    @HebaruSan 3 ปีที่แล้ว +7

    It would be interesting to see a discussion of what proportion of published proofs are incorrect.

  • @Cassius40k
    @Cassius40k 3 ปีที่แล้ว +14

    How do you verify that the map was actually generated from the proof algorithm and isn't some completely unrelated three-color map?

    • @andreasfritiofson2114
      @andreasfritiofson2114 3 ปีที่แล้ว +14

      You as a verifier could generate the map yourself from the statement that is supposedly proven, then tell the prover to color it in. Or convert the map back to the statement and check they are identical. The map and the statement are the same thing in different forms and can be translated perfectly back and forth.
      Then you can verify that the coloring is actually valid (only three colors used and no neighbors the same color), either by just looking at it and checking it, or alternatively if the prover is paranoid and don't want to let you steal the proof, by the zero knowledge (envelope) method. Then you know that the statement is true.

    • @arminiouz
      @arminiouz 3 ปีที่แล้ว +2

      Same way you verify if a real infinite Penrose Tiling is not identical to another real infinite Penrose Tiling. xD

  • @nathanderhake839
    @nathanderhake839 11 หลายเดือนก่อน

    I think this was one of numberphile’s best videos. I thought he explained it very well.

  • @MrBleulauneable
    @MrBleulauneable 3 ปีที่แล้ว +2

    There are things I didn't understand at first but I think figured out :
    Say you have a map a and verifier that always pics the same country and ask to compare it to all the other ones, once the verifier has compared all the countries to the initial one, he will know for sure one of the colors. The verifier can then repeat the process with an other country with a different color from the first country, and he will the know for sure the exact three-coloring of the entire map.
    -> I guess this issue doesn't exist if you're only allowed to probe neighbouring countries.
    And one other thing:
    What could prevent the prover from giving you two different colors at random for each query ?
    -> This issue doesn't exist if the envelopes are real, meaning that the prover laid them before your query and you make your choice after that so that the prover can't generate the answer on the fly.
    It means that the prover has to have a working 3-colored map to not be caught cheating eventually.

    • @bobbymiller6217
      @bobbymiller6217 ปีที่แล้ว

      Yeah I think what would clear things up for me is an example of how verifier can catch a fake proof

  • @galo5818
    @galo5818 3 ปีที่แล้ว +35

    Do you think im going to spend 33 minutes in a math video?
    Of course i am

    • @michaelbauers8800
      @michaelbauers8800 3 ปีที่แล้ว +2

      Given that some people would spend that time...arguing with people on the internet who won't change their minds, watching so called reality TV, doing drugs, getting drunk, or reading 50 shade of grey, I think you can easily justify the 33 minutes vs those actions :)

    • @shreeyamittal1771
      @shreeyamittal1771 3 ปีที่แล้ว +1

      You have 33 likes..I can't spoil that.

  • @AtuOma
    @AtuOma 3 ปีที่แล้ว +40

    Still can't wrap my head around that you can convert those proofs into those three color maps... gives me a headache

    • @Android480
      @Android480 3 ปีที่แล้ว +12

      RIght? I'm so interested in the specifics. Like whats the simplest statement you can convert, and can you please draw it and explain how it captures the statement?

    • @lockeisback
      @lockeisback 3 ปีที่แล้ว

      @@Android480 tattoo, the map for the statement that all statements can be expressed as maps.

    • @AtuOma
      @AtuOma 3 ปีที่แล้ว +6

      @@Android480 i failed to find some sort of converting tool for that. i would really love to see some simple demonstration

  • @felixmuhlenberend7919
    @felixmuhlenberend7919 3 ปีที่แล้ว +1

    Loved this video. Please make more about Formal Systems

  • @gaussianvector2093
    @gaussianvector2093 2 ปีที่แล้ว +1

    I conjecture the heart notation on the white board was key to his insight.

  • @cainmartin4131
    @cainmartin4131 3 ปีที่แล้ว +3

    This was great! Should have been numberphile 1 content.

  • @Stebanoid
    @Stebanoid 3 ปีที่แล้ว +33

    You: I have a zero knowledge proof of this problem.
    Hacker: Tricks you into opening NOT neighboring envelops in order to discover the whole map through finding envelops with the same color.

    • @rogerr4220
      @rogerr4220 3 ปีที่แล้ว +3

      Oh dang! Permitting that kind of query would undermine the whole process.

    • @Keldor314
      @Keldor314 3 ปีที่แล้ว +3

      Identity thief: changes the contents of the envelopes after you pick which pair to open.

    • @ckshreve
      @ckshreve 3 ปีที่แล้ว +1

      Except...the color scheme can be shifted (1 of 6 variations I think was mentioned) randomly. You could repeatedly query until every 'country' on the map was revealed...and still not know what the final answer/3-coloring of the entire map is. Hence the term 'zero knowledge'.

    • @Keldor314
      @Keldor314 3 ปีที่แล้ว +2

      @@ckshreve We're not interested in the colors themselves, any more than we care about whether we call a variable x or y. A given color is just an abstract label. What we are interested in is the structure of the coloration, which directly corresponds with the structure of the proof we want to find out.

  • @williamrhopkins
    @williamrhopkins หลายเดือนก่อน

    Excellent video from the master himself.

  • @andrewmelnikov292
    @andrewmelnikov292 3 ปีที่แล้ว +2

    It's moments like these when you feel the beauty of mathematics and formal logic. When it truly shines.
    You can have a cake and eat it. Er... I mean, you can have a proof and not tell it in details. And it still works. *convincingly shows why*
    "But I want to know the proof."
    "You don't need to know the proof. Here's the proof you don't."
    "I don't need to know the proof."
    It has the beauty and style of a Jedi trick, only with a solid mathematical ground under it.

  • @nilp0inter2
    @nilp0inter2 3 ปีที่แล้ว +9

    One of the best numerphile videos I've ever seen.

  • @EnigmacTheFirst
    @EnigmacTheFirst 3 ปีที่แล้ว +31

    Me when I have zero knowledge

    • @EnigmacTheFirst
      @EnigmacTheFirst 3 ปีที่แล้ว +8

      Finished watching and I still have zero knowledge

  • @Rotem_S
    @Rotem_S 3 ปีที่แล้ว

    This is awesome!! The whole field sounds cool

  • @venil82
    @venil82 3 ปีที่แล้ว +1

    I didn't understand anything, but he proved to me it's an important video. No knowledge transfer happened!

  • @manolo13121
    @manolo13121 3 ปีที่แล้ว +13

    Does anybody know what happens to undecidable statements when you construct their equivalent 3-color map? Whether a map is 3-colorable or not seems to me to be always either true or false, but Godels incompleteness theorem (also referenced) would seem to imply some maps are neither. This NP stuff on proving is super interesting but indeed the video left me with many more questions!

    • @MarkChimes
      @MarkChimes 2 ปีที่แล้ว +4

      I THINK it works like this:
      The colorings encode proofs of statements.
      For a statement X and a map MX, the existence of a 3-coloring for MX is equivalent to a proof of X.
      The negation ~X has a map M~X and a 3-coloring for M~X corresponds to a proof X is false.
      If X is undecidable from your axioms that means there is no proof of X nor a proof of ~X. Equivalently there is no 3-coloring of MX nor a 3-coloring of M~X

    • @nikolajignatieffschwartzba8644
      @nikolajignatieffschwartzba8644 2 ปีที่แล้ว +3

      Undecidable statements are not in NP so they cannot be converted into a map

  • @Erotemic
    @Erotemic 3 ปีที่แล้ว +5

    This has been the best numberphile in a long time.

  • @Chr0nalis
    @Chr0nalis 3 ปีที่แล้ว

    I was thinking about whether I should give up half an hour to watch a mathematical video (I'm not a mathematician) and I should say that I do not regret my decision. The result is quite amazing.

  • @ripe_aces
    @ripe_aces 3 ปีที่แล้ว

    Really interesting but so many questions.
    An example would be awesome.
    From what I understood:
    1. Start with a hypothesis.
    2. Prove the it.
    3. Convert the proof into a 3 colored map.
    4. The coloring can now be verified without revealing the solution.
    Questions:
    1. Is the "shape" of the uncolored map determined by the original hypothesis or by the proof?
    If the proof determines the shape of the map, then:
    A. Doesn't knowing the shape of the map give some information? (Therefore not Zero Knowledge Proof)
    B. Would an alternate coloring (assuming one exists) be an alternate proof?
    C. If I can color the map can would it mean that I also have a proof?
    D. Assuming that I have verified the coloring in your supposed proof, how do I know that it links back to the original hypothesis as opposed to a random 3 colored map?
    If the shape is determined by the hypothesis then i guess it answers most of the questions above.
    2. Every finite map either can either be 3-colored or not. If yes then you have proved the hypothesis, if not then the hypothesis is false.
    A. What about an unprovable hypothesis "Gödel's incompleteness"? Will it also have a map? If so will it be 3-colorable or not?

  • @titouant1936
    @titouant1936 3 ปีที่แล้ว +3

    import random
    print(random.sample('rgb', 2))

  • @gerainteickermann
    @gerainteickermann 3 ปีที่แล้ว +7

    What about Gödel’s Incompleteness Theorem? If that says that there are statements that cannot be proven to be either true or false, and NP completeness says that every statement can be converted into a map, there must then be maps where it is impossible to find a colouring, but also impossible to prove that there isn’t one. Would these maps be infinite, or how does this work?

    • @sabinrawr
      @sabinrawr 2 ปีที่แล้ว

      I like this insight. I'm not sure if that is the correct analogy, but I'm also not sure that it isn't the correct analogy! Either way, I like it!

    • @MarkChimes
      @MarkChimes 2 ปีที่แล้ว +1

      The way I believe it works is as follows.
      Let's say you have a statement X.
      There is a map called MX.
      If there exists a proof of X then MX can be colored with 3 colors. A specific proof is a specific coloring.
      If X is false then that means ~X ("not X") is true.
      There is a map M~X. If there is a proof that X is false, i.e., a proof of ~X then there is a coloring of M~X.
      If X is undecidable then there will not be a proof of X nor a proof of ~X and so neither MX nor M~X will have a 3-coloring.
      These maps cannot actually tell you anything about the inherent "truth" of various mathematical statements. They can only encode the existence of proofs following from a specific set of axioms.
      Gödels theorem then basically says that for any system (e.g. Peano arithmetic, or ZFC) there will be some statement X that can be encoded in that system, and thus for which we can construct a map MX, but for which both MX and M~X won't have a 3-coloring.

    • @MarkChimes
      @MarkChimes 2 ปีที่แล้ว

      Sorry to clarify, there will be an X we BELIEVE to be TRUE that can be encoded in the system but for which there doesn't exist a proof (coloring) of X nor of ~X.

  • @Murtag32
    @Murtag32 3 ปีที่แล้ว +1

    Regarding an example, I did zero knowledge proofs at University, and we did one example, which was graph isomorphism, which was really hard to wrap my head around. The lecturer then said every other example is vastly too complicated to be covered in the course. And because the only example within the scope of the course is graph isomorphism, it won't be on the exam haha.

  • @InigoSJ
    @InigoSJ 3 ปีที่แล้ว +1

    Congrats on the Abel, Avi!

  • @PopeGoliath
    @PopeGoliath 3 ปีที่แล้ว +4

    If "we tried to prove you wrong a buncha times, and couldn't" worked as a proof-of-proof, we can "prove" that someone has a proof to the Collatz Conjecture.

    • @phillipb8765
      @phillipb8765 3 ปีที่แล้ว +3

      Imagine someone hands me a proof of the Collatz conjecture. There's 2 ways I could try to prove them wrong:
      A) Shred the proof they handed me. I don't need that. Then guess a random number and run it through the Collatz function a bunch of times until I reach 1. Repeat many times.
      B) Flip the proof open to a random page and check if the author made an error in reasoning on that page. Repeat many times.
      I'll never be too certain that the Collatz conjecture is true by doing A. But if I do B, pretty quickly I'll have checked every page in the proof, and will be fairly certain that the proof is correct. (Or will have found an error if it is false.) Zero knowledge proofs look like B, not like A. (Just with weird-looking "encryption" of the proof.)

    • @PopeGoliath
      @PopeGoliath 3 ปีที่แล้ว

      @@phillipb8765 ah, that makes more sense. Thank you.

  • @morkmon
    @morkmon 3 ปีที่แล้ว +10

    This is so interesting, I feel like I get the main point but now I'm really interested in the algorithm that transforms proofs into maps and vice versa and *how/why* it works. these connections are so interesting and beautiful, it makes me want to become a mathematician

    • @TheKikou18
      @TheKikou18 3 ปีที่แล้ว +1

      You should ! The topic is super interesting, I'm not sure how much they would teach it in math tho, as it is more central to more computer science things

    • @ZandarKoad
      @ZandarKoad 3 ปีที่แล้ว

      mark van dijken You and everyone else too! I hope they eventually reference some course or lesson on the topic. I don't need a concise 30-min video. I'd gladly speed weeks getting into it.

  • @brendawilliams8062
    @brendawilliams8062 3 ปีที่แล้ว

    Absolutely brilliant

  • @cunt667
    @cunt667 2 ปีที่แล้ว +1

    I like how they keep the child's drawing on the board, even in the animations

  • @arturgrygierczyk5636
    @arturgrygierczyk5636 3 ปีที่แล้ว +3

    Drinking game: take a shot every time he says proof

  • @aaronr.9644
    @aaronr.9644 3 ปีที่แล้ว +3

    It would be nice if he could come back and explain how they translate statements to maps

  • @macnolds4145
    @macnolds4145 3 ปีที่แล้ว +1

    This is so brilliant! I'm kind of jealous I never thought of it.

  • @sitearm
    @sitearm 2 ปีที่แล้ว

    /me hums... "I'm so dizzy, my head is spinning
    Like a whirlpool, it never ends
    And it's you, Avi, making it spin
    You're making me dizzy"
    ty for posting! :)

  • @epliroforiki
    @epliroforiki 3 ปีที่แล้ว +4

    The warning "Do not erase on the board", proves that someone erased it.

    • @GerSHAK
      @GerSHAK 3 ปีที่แล้ว

      +

  • @gijsb4708
    @gijsb4708 3 ปีที่แล้ว +35

    "I have a zero knowledge proof of the goldbach conjecture! Just give me any even number you can write down and ill give you the two primes that sum to it."

    • @AgentM124
      @AgentM124 3 ปีที่แล้ว

      okay give me the two primes that sum to 16. I am waiting.

    • @davidwilsch4668
      @davidwilsch4668 3 ปีที่แล้ว +22

      @@AgentM124 13+3

    • @AgentM124
      @AgentM124 3 ปีที่แล้ว

      @@davidwilsch4668 nice, my stupid brain was thinking about multiplication of 2 primes... Let me think of a new number. 2147483648

    • @keonlo123
      @keonlo123 3 ปีที่แล้ว +4

      57653696942527439475647457428585475265326537654765964865453652643874659767486545364357654342531213214321432143765987685694

    • @AgentM124
      @AgentM124 3 ปีที่แล้ว +4

      @anonymous dude 1+1 or 2+0 won't work and I don't think negative numbers can be prime either :) well done hehe.

  • @dlbattle100
    @dlbattle100 3 ปีที่แล้ว

    Great video.

  • @NeatNit
    @NeatNit 3 ปีที่แล้ว

    This is great, I just don't understand why it's not on the main channel!

  • @narutosaga12
    @narutosaga12 3 ปีที่แล้ว +12

    Ahh the legend wigderson!! Jealous of all my Princeton friends who have the pleasure to learn from him

    • @uraldamasis6887
      @uraldamasis6887 3 ปีที่แล้ว +1

      This video is the first time I've seen him, and I'm not impressed.

  • @non-inertialobserver946
    @non-inertialobserver946 3 ปีที่แล้ว +6

    Doesn't this mean that every mathematical statement is, in principle, provable or disprovable? Doesn't this contradict Gödel's incompleteness theorem?

    • @solten5184
      @solten5184 3 ปีที่แล้ว +3

      in the subject's spirit: no

    • @tth-2507
      @tth-2507 3 ปีที่แล้ว +2

      If I understood the video correctly, it is not. If you have an improvable statement and translate it to a map, the map wont have a three coloring. But if you have a non-3-colorable map and translate it to a statment, it will only tell you, that there is no prove to the statment, not that it is false.

    • @AbelShields
      @AbelShields 3 ปีที่แล้ว

      @@tth-2507 so you could use it to prove there is no proof? (correct or not)

    • @tth-2507
      @tth-2507 3 ปีที่แล้ว +1

      @@AbelShields I would say yes. But persumably thats hard ... mind that to show that it is unprovable you additionaly would have to show that you also cant disprove your statement.

    • @anthonyberent4611
      @anthonyberent4611 3 ปีที่แล้ว +1

      ​@@tth-2507 Proving there is no three colouring is in principle easy (but slow); you just have to search all colourings. You can similarly show that the negation of the statement has no three colouring, and hence no proof.

  • @garr_inc
    @garr_inc 3 ปีที่แล้ว +2

    This video stays true to its content. I have watched the whole video and still learned nothing about the process of zero knowledge proof.

  • @LaCosaPeluda76
    @LaCosaPeluda76 2 ปีที่แล้ว

    Love this video.

  • @PowerfullPillow
    @PowerfullPillow 3 ปีที่แล้ว +33

    I think u did it, you zero knowledged proved the zero knowledge proof cause I walked away from this video with no new knowledge on the topic

    • @screwhalunderhill885
      @screwhalunderhill885 3 ปีที่แล้ว +8

      What part didn‘t you understand? In short: every statement can be converted into a map. Every proof (true statement) is a 3-coloring of that map. If I show you a three coloring of the map I have given you a proof (indirectly), as everything can be converted back to mathematical statements. But wait because I showed you a specific coloring I also transmitted information. In order to make it zero knowledge you get to ask me 2 neighbouring countirss of the map, which I colored in before you asked. If they are opposite you‘re a little bit convinced. Now I color it again in a different way and let you ask me again. If they‘re opposite again you‘re be a little more convinced. Ok we repeat this until you‘re 99.999...% sure I really do always color the map with a 3 colors.

    • @buddykroma4165
      @buddykroma4165 3 ปีที่แล้ว

      @@screwhalunderhill885 thank you for the "too smart/wordy didn't understand"
      Feels like that's not even a proof because... You're getting information in the form of a limiting process...
      Like when do you declare it's true - 75%? 99.99999%? Feels arbitrary
      _i guess you gave me a no knowledge proof_

  • @josda1000
    @josda1000 3 ปีที่แล้ว +18

    If the algorithm is simple enough for high school, why didnt we go over it?

    • @Caribbeanmax
      @Caribbeanmax 3 ปีที่แล้ว +1

      yeah that would have been nice, all the sources i could google were way beyond highschool

    • @fredblogs12345
      @fredblogs12345 3 ปีที่แล้ว +1

      Because if everything that a high school student COULD learn, HAD to be learnt... you would NEVER leave high school lol
      A dream for some, a nightmare for others.

    • @Caribbeanmax
      @Caribbeanmax 3 ปีที่แล้ว +4

      @@fredblogs12345 i think he was referring to going over the algorithm in the video, not why he didnt have it in school

    • @uomodibassamorale
      @uomodibassamorale 3 ปีที่แล้ว +3

      I remember having studied that during my university years. It was not too hard to follow, but I think you'd still need a couple hours in order to introduce the notations, definitions and whatnots needed to provide the proof itself. The Cook-Levin theorem proves the fact that the SAT problem is NP-complete, which is the tricky part, but the reduction of 3-colourability to SAT (and viceversa) is quite straightforward if i remember correctly.

    • @kpw84u2
      @kpw84u2 3 ปีที่แล้ว +1

      Because High School isnt about learning anything but comply and obey. Follow the money. 💁🏽‍♂️

  • @MateusSFigueiredo
    @MateusSFigueiredo 3 ปีที่แล้ว +1

    I love that Brady asks questions a person with no knowledge would ask

  • @smileifyoudontexist6320
    @smileifyoudontexist6320 3 ปีที่แล้ว

    great video...!

  • @Kram1032
    @Kram1032 3 ปีที่แล้ว +4

    What does the three coloring of the four color theorem look like

  • @bungeruwu
    @bungeruwu 3 ปีที่แล้ว +3

    How can be sure that the prover isn’t making up random colors?

    • @KusacUK
      @KusacUK 3 ปีที่แล้ว +5

      Well, they can. But that’s why there’s the envelope-type system. The prover assigns the colours first. Then you open a pair of envelopes. Then the prover assigns another random permutation of the colours, and you open a pair of envelopes. The point is that the prover doesn’t know which envelopes you’re going to open, so they can’t just use random colours, because this envelope-switching-opening process can be iterated as many times as required for you to be convinced that it’s a proper three colour map. And if they just assigned random colours eventually you’d open a pair of envelopes with the same colour.
      Not sure I explained it that well... did it help?

    • @cyanmagentablue313
      @cyanmagentablue313 3 ปีที่แล้ว

      @@KusacUK Certainly. I would just like to add that the envelopes can be implemented as encrypted data, which the verifier requests keys for. This allows the prover to reject requests, and issue a new dataset to prevent consecutive queries.

    • @bungeruwu
      @bungeruwu 3 ปีที่แล้ว

      @@KusacUK So this relies on the fact that the verifier can see that the colors in the envelopes don't change? i.e. he knows that there are fixed colors in the envelope and the colors in the envelopes just get permuted. Because if i would just ask someone without knowing there are fixed colors in the envelopes he could just tell me random colors and i could not spot a mistake.

    • @KusacUK
      @KusacUK 3 ปีที่แล้ว

      @@bungeruwu Correct. Or think of it like evidence in a criminal case - physical evidence collected by forensics is bagged up, and there’s a whole chain of custody for that, and as long as the procedure has been followed properly everybody in court has a high level of confidence that any particular piece of physical evidence was found where they said it was. Of course, then you end up in discussions on what the evidence means, but that’s a different problem!

  • @ludovicdesrochesricard9361
    @ludovicdesrochesricard9361 3 ปีที่แล้ว +1

    I have to echo what everyone is requesting:
    It would be AWESOME to do a follow-up video of an example translating a theorem into a Map (ideally a super simple theorem, even "trivial" like 0+1=1 or two parallel lines don't cross )
    The power of such a mathematical tool is immense!
    (I wonder if there are ways to translate theorems into different Math problems, say changing the "theorem" 2+2=4 into a polynomial function and if there is exactly one x-intercept then it is true. Maybe Colour-map translation is only one way to do this, and there is an infinite number of ways to do this, some more efficient than others. Thinking further, maybe there is a tradeoff between ease-of-translation and ease-of-resolution, defined by an equation relating the two.)

  • @cmilkau
    @cmilkau 3 ปีที่แล้ว +1

    There are few papers that change an entire discipline, this one sure did!

  • @Unaimend
    @Unaimend 3 ปีที่แล้ว +4

    How does this relate to goedels incompleteness theorem? How would the map of an undecidable statement look like.

    • @MrRyanroberson1
      @MrRyanroberson1 3 ปีที่แล้ว +2

      No map exists for undecidables, the algorithm specifically only works on provable theorems

    • @Danicker
      @Danicker 3 ปีที่แล้ว

      @@MrRyanroberson1 it can't only work for provable statements, because it also works for false statements.

    • @MrRyanroberson1
      @MrRyanroberson1 3 ปีที่แล้ว

      @@Danicker by provable i mean possible to prove an answer to, yes or no. also you could just negate it and prove the negative (instead of proving A is false, prove not A is true)

    • @Danicker
      @Danicker 3 ปีที่แล้ว +2

      @@MrRyanroberson1 Okay fair enough, but I think 'decidable' is a better term.

    • @Unaimend
      @Unaimend 3 ปีที่แล้ว

      @@MrRyanroberson1 But what would happen if try to use this technique to prove a mathematical statements, because I cannot know a priori if the statement is decidable. Since any mathematical statement can be encoded with 3-Sat(Not sure if its 3-sat, or sth different), It should also be possible to encode undecidable statements and then use a prover to get a proof for it. Ofc such provers don't exists atm as far as I know

  • @G33v3s
    @G33v3s 3 ปีที่แล้ว +14

    So he says "simple" a lot. I'm not sure his idea of simple aligns with mine :)

  • @Veptis
    @Veptis 3 ปีที่แล้ว +1

    Had to write some *proofs* for my home works. The task stated "show that..." But now I want to revise my solution and make my proof zero knowledge

  • @NaumRusomarov
    @NaumRusomarov 3 ปีที่แล้ว

    this is fascinating. please make a second video with a more practical example for some trivial proof. please please please.

  • @nathanielpayne2681
    @nathanielpayne2681 3 ปีที่แล้ว +5

    I want to color a map in 3 colors and then find out what I just proved!

  • @peterpike
    @peterpike 3 ปีที่แล้ว +7

    My professors always loved it when I turned in zero knowledge work.

    • @speedsterh
      @speedsterh ปีที่แล้ว

      I guess this type of work didn't get you any Turing prize, did it ?

  • @PopeGoliath
    @PopeGoliath 3 ปีที่แล้ว +2

    23:35 I'd play a Three Color Puzzle. It looks like there would be chains of logical deduction similar to Slither Link.

  • @drummerschild6487
    @drummerschild6487 2 ปีที่แล้ว +1

    The only thing that really bothers me is that the zero knowledge proofs rely on inductive reasoning rather than on deduction (they are not “proofs” in the usual sense but rather provide “proof” in the sense of evidence). I guess the goal is just to attain “conviction” in the verifier but was anyone else bugged by this? Thanks I’d love to learn more