Curry-Howard Correspondence
Updated 2026-07-28
Summary
The Curry-Howard correspondence is a close relationship between computer programs and mathematical proofs; it is also called the Curry-Howard isomorphism, formulas-as-types correspondence, or propositions-as-types correspondence. It is a generalization of the syntactic similarity between formal logic systems and mathematical operations. It is considered to have been independently discovered by American mathematician Haskell Curry and logician William Alvin Howard.
Definition
The Curry-Howard correspondence is a close relationship between computer programs and mathematical proofs; it is also called the Curry-Howard isomorphism, formulas-as-types correspondence, or propositions-as-types correspondence. It is a generalization of the syntactic similarity between formal logic systems and mathematical operations. It is considered to have been independently discovered by American mathematician Haskell Curry and logician William Alvin Howard.
Introduction
How to use
The Curry-Howard correspondence is a close relationship between computer programs and mathematical proofs; it is also called the Curry-Howard isomorphism, formulas-as-types correspondence, or propositions-as-types correspondence. It is a generalization of the syntactic similarity between formal logic systems and mathematical operations. It is considered to have been independently discovered by American mathematician Haskell Curry and logician William Alvin Howard.
Mechanism
Program types correspond to logical propositions, and programs themselves correspond to proofs of those propositions; the two are structurally isomorphic. Writing code is writing proofs, and computation and reasoning are essentially unified.
Practice
In progress 0/3Practice this model in one real situation:
Cases
- Use Rust's ownership types to prove memory safety at compile time; use dependently typed languages (such as Idris) to write specifications directly as types.
Common pitfalls
- Thinking types are just annotations; ignoring that type systems can rule out a whole class of errors; overestimating the reliability of manual reasoning in complex proofs.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E6%9F%AF%E9%87%8C-%E9%9C%8D%E5%8D%8E%E5%BE%B7%E5%AF%B9%E5%BA%94verified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS