Propositions as Types by Philip Wadler

Published: Nov. 19, 2023, 3:56 a.m.

b'

The subject of this episode\'s paper \\u2014 Propositions as Types by Philip Wadler \\u2014 is one of those grand ideas that makes you want to go stargazing. To stare out into space and just disassociate from your body and become one with the heavens. Everything \\u2014\\xa0life, space, time, existence \\u2014 all of it is a joke! A cosmic ribbing delivered by the laws of the universe or some higher power or, perhaps, higher order. Humanity waited two thousand years, from the time of the ancient Greeks through until the 1930s, for a means to answer questions of calculability, when three suddenly arrived all at once:

\\n
    \\n
  • General recursive functions by G\\xf6del in 1934, with functions of sets of natural numbers.
  • \\n
  • Lambda calculus by Alonzo Church in 1936, with anonymous single-variable functions.
  • \\n
  • Turing machines by Alan Turing in 1937, with a process for evaluating symbols on a tape.
  • \\n
\\n

Then it was discovered that these three models of computation were, in fact, perfectly equivalent. That any statement made in one could be made in the others. A striking coincidence, sure, but not without precedent. But then it was quietly determined (in 1934, again in 1969, and finally published in 1980) that computation itself is in a direct correspondence with logic. That every proposition in a given logic corresponds with a type in a given programming language, every proof corresponds with a program, and the simplification of the proof corresponds with the evaluation of the program.

\\n

The implications boggle the mind. How could this be so? Well, how could it be any other way? Why did it take so long to discover? What other discoveries like this are perched on the precipice of revelation?

\\n

Philip Wadler is here to walk us through this bit of history, suggest answers to some of these questions, and point us in a direction to search for more.

\\n

And we are here, dear listener, to level with you that a lot of this stuff is miserably hard to approach, presented with the symbols and language of formal logic that is so often inscrutable to outsiders. By walking you through Wadler\'s paper (and the much more approachable Strange Loop talk), and tying it in with the cultural context of modern functional programming, we hope you\'ll gain an appreciation for this remarkable, divine pun that sits beneath all of computation.

\\n

Links

\\n

=> patreon.com/futureofcoding \\u2014 but only if you back the Visual Programming tier!! I\'m warning you!

\\n\\n

Nobody noticed that these links were silly last time, so this time I\'m drawing more attention to it:

\\n\\n

This link is legit:

\\n\\n

https://futureofcoding.org/episodes/068

See omnystudio.com/listener for privacy information.

'