lean4-htt/doc/bin
2017-06-12 15:42:40 +02:00
..
README.md chore(doc/bin/README): remove options that no longer exist 2017-06-12 15:42:40 +02:00

Lean binary distribution

The binary distribution package contains:

  • Lean executable (located in the sub-directory bin)
  • Standard library (located in the sub-directory lib/lean/library)
  • Emacs modes (located in the sub-directory share/emacs/site-list/lean)

Assuming you are in the same directory this file is located, the following command executes a simple set of examples

% bin/lean examples/ex.lean

The Emacs mode is the ideal way to use Lean. It requires at least Emacs version 24.3

Documentation

The tutorial "Theorem Proving in Lean" describes Lean main features, and provides many examples. The tutorial is available in two different forms: