> but they are not actually similar structurally.
The Curry-Howard isomorphism wants a word.
The Curry-Howard isomorphism wants a word.
A correct (error-free) computer program written in any language (even javascript) would be equivalent to a correct mathematical proof.
It's a bit mind-bogglingly profound, but that's the beauty of the Curry-Howard correspondence.