Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M4265

Curry-Howard Correspondence

Curry-Howard Correspondence
Learn & MetacognitionHigh supportCognitive Science
Included
account_tree

Updated 2026-07-28

Loading revision record…

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.

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/3

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

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.

  • link
    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%94ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS