Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Functional Pearl: Theorem Proving for All (Equational Reasoning in Liquid Haskell) (1806.03541v1)

Published 9 Jun 2018 in cs.PL

Abstract: Equational reasoning is one of the key features of pure functional languages such as Haskell. To date, however, such reasoning always took place externally to Haskell, either manually on paper, or mechanised in a theorem prover. This article shows how equational reasoning can be performed directly and seamlessly within Haskell itself, and be checked using Liquid Haskell. In particular, language learners --- to whom external theorem provers are out of reach --- can benefit from having their proofs mechanically checked. Concretely, we show how the equational proofs and derivations from Graham's textbook can be recast as proofs in Haskell (spoiler: they look essentially the same).

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Niki Vazou (20 papers)
  2. Joachim Breitner (16 papers)
  3. Will Kunkel (1 paper)
  4. David Van Horn (44 papers)
  5. Graham Hutton (1 paper)
Citations (1)

Summary

We haven't generated a summary for this paper yet.