logoalt Hacker News

mdnahas • today at 1:15 PM • 0 replies • view on HN

I worked on formal proof in 2013 and 2014.

There are proof systems like you describe. Mizar was created in the 1970s and was still being used in the 2010s. Its proofs resemble those from Euclid’s Elements from 300 BC that you were taught.

The answer to “why use type theory in Lean” is that math developed. When Russell and Whitehead tried to prove everything from axioms in the 1910s, they ran into a paradox. To avoid Russell’s Paradox, they created the first Type Theory.

Since then, the field of Proof Theory developed. It found the Curry-Howard Correspondence, which connected logic, programming and Type Theory. In parallel, computers became popular. Some programming languages’ type systems were based on Type Theory.

So, when it came to writing new provers, computer scientists were familiar with Type Theory and Proof Theory had show that it was a simpler and more powerful foundation.

Great lecture series on proof theory: https://www.youtube.com/watch?v=YRu7Xi-mNK8