GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - logsem/iris-tutorial-lean: Iris tutorial in Lean

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
BookGen/Meta
BookGen/Meta
 
 
IrisTutorial
IrisTutorial
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
BookGenMain.lean
BookGenMain.lean
 
 
CLAUDE.md
CLAUDE.md
 
 
IrisTutorial.lean
IrisTutorial.lean
 
 
IrisTutorialBook.lean
IrisTutorialBook.lean
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
lake-manifest.json
lake-manifest.json
 
 
lakefile.toml
lakefile.toml
 
 
lean-toolchain
lean-toolchain
 
 

Repository files navigation

The Iris Tutorial in Lean

A Lean 4 port of the Iris tutorial, originally developed as a Rocq tutorial, based on iris-lean.

The book is written in Verso: prose and Lean proofs live together in the same .lean files, and every proof is elaborated (type-checked) by the same toolchain that renders the book.

The build produces two outputs from one source:

  • the rendered HTML book, and
  • a downloadable code.zip of the extracted, compilable example modules.

Porting status

This is a work in progress. The following chapters are fully ported and type-checked:

  • Basics
  • Pure
  • Lang
  • Specifications
  • Persistently
  • Linked Lists
  • Later

The remaining chapters are stubs ("This chapter has not yet been ported") pending translation from their Rocq sources.

Building

The Lean toolchain is pinned to leanprover/lean4:v4.32.2 in lean-toolchain, matching iris-lean. lakefile.toml pins iris-lean to upstream HEAD as of 2026-09-05 (728a17140939e49af9236f7cb0d037da9ec52435) and Verso to v4.32.0. Keep dependency revisions compatible with the toolchain.

Command What it does
lake exe textbook Build the book: elaborate every chapter (type-checking all proofs) and write HTML to _out/html-multi/ plus extracted example code to _out/example-code/.
make / make out Build, then assemble out/html-multi/ and out/code.zip for publishing.
make serve Build and serve the HTML locally (PORT=8000 by default; override with make serve PORT=9000).
make clean Remove out/ and _out/.

Repository layout

  • IrisTutorialBook.lean — the #doc book root: front matter, authors, and the {include} directives that order the chapters.
  • IrisTutorial/*.lean — one file per chapter, aggregated by IrisTutorial.lean.
  • BookGen/, BookGenMain.lean — book-generation infrastructure inherited from the Verso textbook template (the textbook executable and the custom savedLean / savedImport / savedComment code-block elaborators that make a block both type-checked inline and extracted to a file).

License and attribution

The Lean port is released under the MIT License, matching the upstream tutorial. It derives from the Iris Tutorial originally written by Lars Birkedal, Simon Gregersen, Mathias Adam Møller, Mathias Pedersen, and Amin Timany (Aarhus University). Lean port by Zongyuan Liu.

The files under BookGen/ and BookGenMain.lean are inherited from the Verso textbook template and remain under their original copyright (Lean FRO LLC, Apache 2.0).

About

Iris tutorial in Lean

Resources

Readme
License
Activity
Custom properties

Stars

3 stars

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.