Summary

  • What is Lean
  • Tour of Lean
  • Setting Up Lean
    • Quickstart

Language Manual

  • Using Lean
  • Lexical Structure
  • Expressions
  • Declarations
  • Organizational features
    • Sections
    • Namespaces
    • Implicit Arguments
    • Auto Bound Implicit Arguments
  • Dependent Types
    • Simple Type Theory
    • Types as objects
    • Function Abstraction and Evaluation
    • Introducing Definitions
    • What makes dependent type theory dependent?
  • Tactics
  • Syntax Extensions
    • The do Notation
    • User-defined notation
    • String Interpolation
    • Macro Overview
    • A Guided Example
  • Declaring New Types
    • Enumerated Types
    • Inductive Types
    • Structures
    • Type classes
    • Unification Hints
  • Builtin Types
    • Natural number
    • Integer
    • Fixed precision unsigned integer
    • Float
    • Array
    • List
    • Character
    • String
    • Option
    • Thunk
    • Task and Thread
  • Functions

Other

  • Frequently Asked Questions
  • Significant Changes from Lean 3
  • Syntax Highlighting Lean in LaTeX

Development

  • Development Guide
  • Commit Convention
  • Building Lean
    • Ubuntu Setup
    • macOS Setup
    • Windows MSYS2 Setup
    • Windows with WSL
    • Nix Setup (Experimental)
  • Foreign Function Interface
  • Unit Testing
  • Building This Manual
  • Fixing Tests
  • Debugging
  • C++ Coding Style
Powered by Gitiles| Privacy| Terms
source