Skip to content

Notes on the Handbook of Practical Logic -- Lean Edition

Notifications You must be signed in to change notification settings

benjaminfjones/reckonlean

Repository files navigation

Reckonlean

This hobby project is a Lean 4 implementation (and set of notes) for John Harrison's Handbook of Practical Logic and Automated Reasoning. This project is going on in conjunction with an internal functional programming in Lean 4 seminar following Functional Programming in Lean.

The original code accompanying Harrison's book is copyright (c) 2003-2007, John Harrison.

Setup

Install elan

Build the project. Currently it depends on std4 for some tactics, like #guard.

$ lake build

A full, cold build currently (6c2bec9) takes 1 min 50 seconds on an Ubuntu 22.03 t3.xlarge instance.

Run the proof and test scripts:

$ lake build adder_test
$ ./build/bin/adder_test
...

$ lake build ramsey_test
$ ./build/bin/ramsey_test
...

See lakefile.lean for the set of proof and test scripts defined.

About

Notes on the Handbook of Practical Logic -- Lean Edition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published