Sorry for being pedantic but isn't the story that types=theorems and programs=proofs?

"Propositions as Types" by Philip Wadler https://www.youtube.com/watch?v=IOiZatlZtGU