ELI5: Explain Like I'm 5

Curry–Howard correspondence

Okay, so you know how when you do math, you use symbols and rules to solve problems? Well, there are also these things called logic systems where you use symbols and rules to figure out if something is true or false.

The Curry-Howard Correspondence is like a special connection between these logic systems and programs that use code (like computer programs). It basically says that certain logic systems can be used to create programs that work in a certain way.

It's kind of like how you can use blocks to build different things. Imagine that the logic system is like a set of blocks that you use to build a program. But instead of just building a tower or a car, you're building a program that solves a problem.

The really cool thing is that if you use the right logic system to build your program, you can actually prove that your program will always give the correct answer. It's a bit like having a machine that always gives you the right answer, no matter what question you ask.

So, in summary, the Curry-Howard Correspondence is all about using certain logic systems to build programs that are guaranteed to work correctly. It's like building a machine that can always give you the right answer, and it's super cool!