The formal proofs provided in this work were developed and verified using Lean 4.28.0. Compatibility with earlier or later versions is not guaranteed due to the evolving nature of the Lean 4 compiler and its core libraries.
This repository collects several formalization runs, each in its own subdirectory
(thm1, thm2_split1, thm2_split2, thm2_split3, thm2_split4):
- Inputs for each run live under
input/<run>/. - Lean outputs for each run live under
Bijection/<run>/.
For each run, input/<run>/ contains:
task.md: natural-language description of the problem.Thm*WithProof.tex: the LaTeX statement and proof that the formalization follows.requirement.md: additional requirements/constraints for the run (present for thethm2_split*runs;thm1does not have one).
The following inputs are shared across all runs:
.environment: specifies the Lean version (lean-4.28.0).AndrewsDhar_arXivPaper.tex: the source paper, available from https://arxiv.org/abs/2512.12346.
For each run, Bijection/<run>/ contains:
problem.lean: translation of the problem statement into Lean.solution.lean: formal solution in Lean.
This repository uses the MIT License. See LICENSE for details.