~/talk

Propositions as Types for Beginners in Haskell

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
links:none on file
slides:none on file

Claims a practical recipe: translate a proposition into a type and then construct an inhabitant to prove it. Uses standard Haskell 2010 restricted to the sound subset of Haskell (exclude bottom, nontermination, general recursion), examples include tuples, Maybe/Either, unit/Void, function composition and absurd via empty case, and shows why excluded middle and double-negation elimination are unprovable without GHC extensions. Demonstrates probing polymorphic inhabitants (how many times a function applies its arg) and when adding extensions recovers classical axioms.

AI-written summary · about

  1. 0:00Start
  2. 2:16The Curry-Howard Isomorphism
  3. 2:53Intuition for Haskellers
  4. 5:24Unsound things
  5. 11:21Inhabitation
  6. 14:11Proofs as Programs
  7. 15:37Modus Ponens
  8. 16:24Hypothetical Syllogism
  9. 19:23Contrapositive
  10. 21:20Intro Double Negation
  11. 21:57Elim Double Negation
  12. 22:45Excluded Middle
  13. 33:09Recovering Classic Logic
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.