Kai Erik Niermann [index]

Course Notes [0002]

This is a collection of notes for various courses I have taken.

VU-VFS-2025. All VFS Quiz Solutions [0003]

This is an explanation and solution to all quizzes in the VFS lectures. By default, I have the solutions minimized, but you can expand them by clicking on the upper part of the solution box (i.e. just click the solution section).

VU-AL-2026. Advanced Logic [005l]

VU-TRS-2026. Term Rewriting Systems [005m]

Blog posts [001a]

Blog. Understanding recursors with Lean4 [001b]

This for the most part covers the basic idea of recursors for the sake of brevity I won't go into more instances of recursors for other inductive types though conceptually they work the same way. You specify how to handle each constructor of the inductive type and the recursor gives you a function that maps from the inductive type to whatever type you specified.

Blog. Type universes in Lean4 [002r]

Blog. A simple Bool category in Lean4 [002u]