Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Program = ProofSamuel Mimram

    Program = Proof

    Samuel Mimram · 2020

    This course provides a first introduction to the Curry-Howard correspondence between programs and proofs, from a theoretical programmer's perspective: we want to understand the theory behind logic and programming languages, but also to write concrete programs (in OCaml) and proofs (in Agda). After an introduction to functional programming languages, we present propositional logic, λ-calculus, the Curry-Howard correspondence, first-order logic, Agda, dependent types and homotopy type theory.

    Mathematics
    Open Library
    Stats for nerds
    5recommend
    10mentions
    6people
    2022–2026years
    80% recommend20% neutral

    Mentions per year

    20222023202420252026

    What Hacker News says

    1. leonidasrupAug 2026
      I would highly recommend "PROGRAM = PROOF" by Samuel Mimram.

      It covers everything from pure lambda calculus through dependent type theory up to homotopy type theory. In comparison to the HoTT book, the book "PROGRAM = PROOF" is oriented less towards mathematicians more towards programmers. It contains also a short introduction to OCaml and Agda.

      The book can downloaded from the authors web page:

      https://www.lix.polytechnique.fr/Labo/Samuel.Mimram/teaching...

      https://www.lix.polytechnique.fr/Labo/Samuel.Mimram/publicat...

      thread
    2. boxfireMay 2025
      There's a book that's explicitly about this, "Program = Proof", and though it's not beginner and needs maybe a light version for earlier learners, is an excellent example.
      thread
    3. nextosOct 2023
      Formal Methods An Appetizer is excellent and has a companion site with toy formal methods implemented in F#: http://www.formalmethods.dk. However, it does not cover proof assistants.

      Alternatively you may enjoy these two. The latter is especially thorough, and begins with classical logic:

      * Concrete Semantics (Isabelle): http://concrete-semantics.org

      * Program = Proof (Agda): https://www.lix.polytechnique.fr/Labo/Samuel.Mimram/teaching...

      thread
    4. comonoidAug 2023
      1. Program = Proof by Samuel Mimram

      Math foundation of programming. Church–Rosser theorem, Curry–Howard correspondence, intuitionistic logic, theorem proving with dependent types, etc.

      2. Rust Atomics and Locks: Low-Level Concurrency in Practice by Mara Bos

      Great introduction even for non-Rust programmers.

      3. Statistical Consequences of Fat Tails by N. Taleb et al.

      I've just started to read it, but looks promising (lot of mathematical statistics).

      thread
    5. nextosJul 2023
      Program = Proof, Samuel Mimram: https://www.lix.polytechnique.fr/Labo/Samuel.Mimram/teaching.... Also available as hardcopy in Amazon.
      thread
    6. nextosJan 2023
      These are good recommendations, but I think beginners tend to burn out due to the lack of a structured program and/or exercise solutions if they are trying to study on their own. The simplest structured program I can think of that satisfies both is:

      * Basic Mathematics by Lang. Covers basic algebra and geometry at high school level.

      Then one of these two, depending on your interests, or both:

      * Vector Calculus, Linear Algebra and Differential Forms by Hubbard and Hubbard. Takes you through linear algebra, single-variable calculus and multiple variable calculus. Analysis is discussed in an appendix. All proofs have a constructive bias, so it's very algorithmic and natural for a CS-minded student. Solutions are in a separate volume.

      * Program = Proof by Mimram. Discusses logic and computation, and takes you from the basics to depedent type theory and beyond. Uses OCaml and Agda. Freely available at: https://www.lix.polytechnique.fr/Labo/Samuel.Mimram/teaching...

      thread

    Related

    Cover of Proofs and types
    2010–2026

    Proofs and types

    Jean-Yves Girard
    6 recommend · 14
    Little ProverDaniel P. Friedman
    2015–2026

    Little Prover

    Daniel P. Friedman
    9 recommend · 20
    Cover of How to prove it
    2007–2026

    How to prove it

    Daniel J. Velleman
    78 recommend · 129
    Cover of Structure and Interpretation of Computer Programs
    2007–2026

    Structure and Interpretation of Computer Programs

    Harold Abelson
    347 recommend · 761
    Cover of Program Proofs
    2023–2026

    Program Proofs

    K. Rustan M. Leino
    2 recommend · 4
    Book of ProofRichard Hammack
    2012–2026

    Book of Proof

    Richard Hammack
    54 recommend · 86
    Cover of Code
    2008–2026

    Code

    Charles Petzold
    243 recommend · 385
    ProofsJay Cummings
    2022–2024

    Proofs

    Jay Cummings
    8 recommend · 12