This is an implementation of Normalization-By-Evaluation in Lean4 from the (PDF) slide notes.
Currently what is formalized is:
-
Normalization-By-Eval for Monoid-rewriting (Slides 25-35)
-
Normalization-By-Eval for Godel's system T (Slides 62-70)
Run make show.
If everything works this will build and open the textbook in your browser.
To build the Verso-textbook documenting the code:
-
Run
lake exe cache get:This makes it so mathlib is quick to build.
-
Run
lake build:This builds the code.
-
Run
lake exe textbookThis write the textbook version into the
_outdirectory.This will take the verso code from
Lean4Nbe/Textbook.lean, build the textbook from it and put the result in the_outdirectory. -
Run
python3 -m http.server 8880 --directory _out/html-single:This creates a local server where you can read the textbook that was built.
-
View the textbook in your browser with
http://localhost:8880/