This repository contains source code for the article "A Formalization of Divided Powers in Lean", submitted to ITP 2025. The code runs over Lean 4 (v4.18.0-rc1) and Mathlib's version 951bd16 (March 18, 2025).
Given an ideal
In this article we describe a formalization in Lean 4 of the basic theory of divided power structures, including divided power morphisms and sub-divided power ideals, and we provide several fundamental constructions, in particular quotients and sums. This constitutes the first formalization of this theory in any theorem prover.
As a prerequisite of general interest, we expand the formalized theory of multivariate power series rings, endowing them with a topology and defining evaluation and substitution of power series.
Every file in this repository is new, original work of the anonymous paper authors.
The formalization has been developed over Lean 4 and its mathematical library Mathlib. For detailed instructions to install Lean, Mathlib, and supporting tools, visit the Lean Community website.
After installation, run the commands git clone https://github.com/ntlean/divided_powers.git
to obtain a local copy of the repository and lake exe cache get!
to download a compiled Mathlib. To open the project in VS Code, either run path/to/divided_powers
on the command line,
or use the "Open Folder" menu option to open the project's root directory. To compile the whole project locally, use the command lake build
.