Proofs as programs, propositions as types
The principle that proofs and programs correspond structurally. The core slogan is "proofs as programs, propositions as types" — that is, a proposition is a type, and a proof is a program of that type.
For example, in logic corresponds to the function type
A -> B in programming, to product/tuple types, and to sum/union types.
Seonglae Cho