Story Details

  • Propositions as Types (2014) [pdf]

    Posted: 2025-05-06 11:36:09

    Philip Wadler's "Propositions as Types" provides a concise overview of the Curry-Howard correspondence, which reveals a deep connection between logic and programming. It explains how logical propositions can be viewed as types in a programming language, and how proofs of those propositions correspond to programs of those types. Specifically, implication corresponds to function types, conjunction to product types, disjunction to sum types, universal quantification to dependent product types, and existential quantification to dependent sum types. This correspondence allows programmers to reason about programs using logical tools, and conversely, allows logicians to use computational tools to reason about proofs. The paper illustrates these connections with clear examples, demonstrating how a proof of a logical formula can be directly translated into a program, and vice-versa, solidifying the idea that proofs are programs and propositions are the types they inhabit.

    Summary of Comments ( 16 )
    https://news.ycombinator.com/item?id=43903945

    Hacker News users discuss Wadler's "Propositions as Types," mostly praising its clarity and accessibility in explaining the Curry-Howard correspondence. Several commenters share personal anecdotes about how the paper illuminated the connection between logic and programming for them, highlighting its effectiveness as an introductory text. Some discuss the broader implications of the correspondence and its relevance to type theory, automated theorem proving, and functional programming. A few mention related resources, like Software Foundations, and alternative presentations of the concept. One commenter notes the paper's omission of linear logic, while another suggests its focus is intentionally narrow for pedagogical purposes.