The Polish version of the kernel's code

Course page · chapter in the book · slides

Each file opens in a reader with colored syntax, line numbers you can link to, an outline and names that lead to their definitions; the reader also links to the raw file.

The English code of Lecture 3 — the kernel, the tactics, the axioms of Boolean algebra and the Boole Lab — is here; the English book, slides and lab use it. The Polish book and slides show a Polish version of the lecture code: the same program, with Polish identifiers and comments, generated from the English files with a dictionary of names and comments.

The Boole Lab code (library.py, solver.py, lab.py, robbins_lab.py — both complete proofs of the Robbins theorem step by step) exists only in English; the Polish lab page uses the Polish theorem names stored in the library. The library in Lean 4: lean/BooleLabEn.lean (Polish names: lean/BooleLab.lean).

Example (Polish version):

from boole import teoria_z_twierdzeniami
from skladnia import lean
B, dowody = teoria_z_twierdzeniami()
print(lean(dowody["idem_plus"]))

Wersja polska tej strony