Skip to content

About

Classical transcendence theory in Lean 4 and Mathlib: Hermite–Lindemann, Lindemann–Weierstrass, Gelfond–Schneider, the six exponentials theorem, four exponentials in transcendence degree one, Schneider's eighth problem, Baker's theorem. Built while studying Diaz's conjecture on the modulus of logarithms of algebraic numbers.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Transcendence theory in Lean 4

This library proves classical theorems of transcendental number theory in Lean 4 with Mathlib, and applies them to one open problem: Diaz's conjecture that a non-zero logarithm of an algebraic number never has algebraic modulus.

It began as a study of that conjecture. Most of it is now the theory itself: the auxiliary-function method of Gel'fond and Schneider, Siegel's lemma and Liouville's inequality, a Schwarz lemma for Cartesian products, zero counts for exponential polynomials, and the theorems they prove. All 729 results build in CI and depend only on Lean's three standard axioms (propext, Classical.choice, Quot.sound).

The proofs are engineered as well as checked: cut into small results that later proofs import, with shared tools stated for general use, and with the size of every proof kept down. See Proof engineering.

No new transcendence theorem is claimed. The library does have results of its own: chapter 14 of the blueprint lists those not found in the sources read; all of them are routine. Not found is not a claim that they are new. The classical results are attributed below, and so are the Lean proofs written by others. The results about Diaz's conjecture are mostly negative: they show which methods cannot settle it.

Contents

The documentation is in docs/; it was split from this README on 18 November 2026, unchanged.

Build

lake exe cache get && lake build Diaz

Lean 4.36.0, Mathlib v4.36.0.

Where everything is

  • docs/ — the documentation, linked from "Contents" above.
  • Diaz/ — the Lean library. Everything here builds in CI.
  • archive/prove2me/ — every accepted Prove2Me proof for this mission, verbatim, not built.
  • archive/local/ — proofs written for the mission and never published on the platform, not built.
  • MIRROR_CHECKLIST.md — which Prove2Me results are already in Diaz/. The goal is all of them, and it is met: the count is at the top of this README. It includes the four Schanuel.* results proved for the mission (six exponentials, Hermite–Lindemann, Lindemann–Weierstrass, Gelfond–Schneider) and e_pi_transcendence, another contributor's node closed with Gelfond–Schneider.
  • scripts/refresh_prove2me_archive.py — refreshes the archive and regenerates the checklist.
  • tex/ — the companion notes. The note selects from the library; the library does not select.

Palomar

The Palomar registry requires every .lean file of a submitted repository to use the Lean module system. This repository does not (its archive keeps the platform submissions verbatim), so Palomar entries are made from small extracts that point back here:

  • The six exponentials theorem (Lang 1966, Ramachandra 1968): carlok/six-exponentials-lean, the import closure of Diaz.six_exponentials (eleven modules), ported to the module system with no proof changes. Registered on 22 November 2026 as PALOMAR-2026-11-22-000020 (version 1, at commit b42d65b).

The files below are an earlier submission surface, kept for reference; they predate the module-system rule and are not submittable as they stand.

File Purpose
Challenge.lean The advertised statement surface, one deliberate sorry per theorem
Solution.lean The proved counterparts, delegating to Diaz
comparator.json The declarations Comparator compares
formalization.yaml Project metadata to the mathlib-initiative standard
tex/diaz-modulus.tex The earlier note, on the model and the negative result: the informal account of exactly these statements
LICENSE Apache-2.0

The compared surface is the axiom-free core: conj_eq_rho_div, eqOn_hull, conj_comm, exists_algHom_of_transcendental, no_vanishing_coeff_matrix, coeff_indistinguishable, with the definitions hull and Hmat. #print axioms on each lists only propext, Classical.choice and Quot.sound.

Two differences from the development described above, both deliberate:

  • The existence theorem is proved on K⟮u⟯, not on all of ℂ. Mathlib's RatFunc.algEquivOfTranscendental gives it without the Steinitz axiom, and nothing in the compared surface evaluates the map outside the hull.
  • hermite_lindemann and exists_ringHom_of_transcendental, once imported as axioms, are now proved in Diaz/Axioms.lean and used elsewhere in the development. No compared declaration depends on either.

Submissions to Palomar go to https://submit.palomar-registry.org/ and are made by a responsible author or maintainer. Local verification:

lake build                                          # Diaz, Challenge, Solution
ruby scripts/validate-formalization.rb formalization.yaml
./scripts/verify-comparator.sh                      # Linux only: the toolchain's lake comparator sandboxes with bubblewrap

About

Classical transcendence theory in Lean 4 and Mathlib: Hermite–Lindemann, Lindemann–Weierstrass, Gelfond–Schneider, the six exponentials theorem, four exponentials in transcendence degree one, Schneider's eighth problem, Baker's theorem. Built while studying Diaz's conjecture on the modulus of logarithms of algebraic numbers.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages