Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Logarithms of algebraic numbers, and the conjectures around Diaz's modulus question

Definition
DiazModulus

by carlok · Sep 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebranumber-theory

The interface for the mission.

Qbar is the field of algebraic numbers inside C\mathbb{C}C, realised as (algebraicClosure ℚ ℂ).toSubfield, together with the bridge lemma mem_Qbar_iff : a ∈ Qbar ↔ IsAlgebraic ℚ a.

LogAlg is

L={u∈C:eu∈Qˉ×},\mathcal{L}=\{u\in\mathbb{C} : e^{u}\in\bar{\mathbb{Q}}^{\times}\},L={u∈C:eu∈Qˉ​×},

the set of logarithms of algebraic numbers. No non-vanishing clause is needed because eue^{u}eu is never 000. LogAlgTilde is L~\tilde{\mathcal L}L~, the Qˉ\bar{\mathbb{Q}}Qˉ​-vector subspace of C\mathbb{C}C spanned by 111 together with L\mathcal{L}L; this is the space in which the strong four exponentials conjecture is stated.

IsCandidate u records the three conditions defining a hypothetical counterexample: u≠0u \neq 0u=0, ∣u∣|u|∣u∣ algebraic, eue^{u}eu algebraic.

Four propositions are then defined rather than assumed, so that the mission's conditional milestones can be stated without introducing any axiom:

  • DiazModulusConjecture — the mission goal: for every non-zero uuu with ∣u∣|u|∣u∣ algebraic, eue^{u}eu is transcendental.
  • HermiteLindemann — for every non-zero algebraic aaa, eae^{a}ea is transcendental. This is a theorem (Hermite 1873, Lindemann 1882), but it is not in the platform's Mathlib: only the analytic half, NumberTheory.Transcendental.Lindemann.AnalyticalPart, is present. Carrying it as a Prop rather than an axiom keeps every statement that uses it honest about its dependence.
  • SchanuelConjecture — for Q\mathbb{Q}Q-linearly independent x1,…,xnx_1,\dots,x_nx1​,…,xn​, the transcendence degree of the field Q(x1,…,xn,ex1,…,exn)\mathbb{Q}(x_1,\dots,x_n,e^{x_1},\dots,e^{x_n})Q(x1​,…,xn​,ex1​,…,exn​) over Q\mathbb{Q}Q is at least nnn. It is phrased with Algebra.trdeg on the intermediate field generated by the union of the two ranges, so the adjoined set genuinely contains both the xix_ixi​ and their exponentials, and the object is the generated field rather than the generated subalgebra.
  • StrongFourExponentials — for Qˉ\bar{\mathbb{Q}}Qˉ​-linearly independent pairs x1,x2x_1,x_2x1​,x2​ and y1,y2y_1,y_2y1​,y2​, at least one of the four products xiyjx_iy_jxi​yj​ lies outside L~\tilde{\mathcal L}L~.

Nothing here asserts that a counterexample exists, and nothing here is assumed. Every declaration is a definition; the file compiles with no sorry.

These four propositions are stated independently; this file asserts no implication between them. The implications are the mission's milestones. Note also that L\mathcal{L}L contains 000 and is closed under adding 2πi2\pi i2πi, as it must be.

Definition code
import Mathlib

open Complex ComplexConjugate

namespace DiazModulus

/-! ## Ambient objects

Four declarations: the subfield `Qbar` of algebraic numbers, its membership criterion
`mem_Qbar_iff` (the only proved statement in this file), the set `LogAlg`, and the
`Qbar`-submodule `LogAlgTilde`. `LogAlg` is defined through `IsAlgebraic ℚ` directly and does
not mention `Qbar`. `LogAlgTilde` uses `Qbar` as its scalar field, and so does
`StrongFourExponentials` further down, for its linear-independence hypotheses. -/

/-- The algebraic numbers, as a subfield of `ℂ`. -/
noncomputable def Qbar : Subfield ℂ := (algebraicClosure ℚ ℂ).toSubfield

theorem mem_Qbar_iff {a : ℂ} : a ∈ Qbar ↔ IsAlgebraic ℚ a := by
  simp only [Qbar, IntermediateField.mem_toSubfield]
  exact mem_algebraicClosure_iff

/-- `ℒ`, the logarithms of algebraic numbers: `u` with `exp u` algebraic.
`exp u` is never `0`, so no separate non-vanishing clause is needed.

Two remarks, neither of them proved here: the set contains `0`, since `exp 0 = 1` is algebraic,
and it is invariant under adding `2πi`. Both are worth knowing before quantifying over it. -/
def LogAlg : Set ℂ := {u : ℂ | IsAlgebraic ℚ (Complex.exp u)}

/-- `ℒ̃`, the `Q̄`-vector subspace of `ℂ` spanned by `1` together with `ℒ`.
This is the space appearing in the strong four exponentials conjecture. -/
noncomputable def LogAlgTilde : Submodule Qbar ℂ :=
  Submodule.span Qbar (insert 1 LogAlg)

/-! ## The goal, the three propositions the conditional milestones quantify over, and one predicate

Five declarations follow: four `Prop`s — `DiazModulusConjecture`, `HermiteLindemann`,
`SchanuelConjecture`, `StrongFourExponentials` — and the predicate `IsCandidate : ℂ → Prop`.

**This file proves no implication between any of them.** Relationships noted in the comments
below — that `HermiteLindemann` is a special case of `DiazModulusConjecture`, that
`IsCandidate u` negates the goal's implication at `u` — are remarks for the reader, not
formalised results. The implications the mission cares about are its milestones. -/

/-- **Diaz's modulus conjecture**, in the direction the statement below actually runs: for every
non-zero `u` whose modulus is algebraic, `exp u` is transcendental. Note the quantifier is over
*all* non-zero complex `u`, not only over logarithms of algebraic numbers.

Diaz states it the other way round: no non-zero element of `ℒ` has algebraic modulus. Because
`Transcendental ℚ z` unfolds to `¬ IsAlgebraic ℚ z`, and `u ∈ ℒ` unfolds to
`IsAlgebraic ℚ (exp u)`, that form is the *exact* contrapositive of the one below — the passage
between them is classical logic and carries no mathematical content. No lemma here records it
either way; the direction below is simply the one stated. -/
def DiazModulusConjecture : Prop :=
  ∀ u : ℂ, u ≠ 0 → IsAlgebraic ℚ ((‖u‖ : ℝ) : ℂ) → Transcendental ℚ (Complex.exp u)

/-- **Hermite–Lindemann**: for every non-zero algebraic `a`, `exp a` is transcendental.

This is a theorem (Hermite 1873, Lindemann 1882), but it is not in the platform's Mathlib —
only the analytic half, `NumberTheory.Transcendental.Lindemann.AnalyticalPart`, is present.

It is stated here as a `Prop` rather than an `axiom`, so that the milestones needing it take it
as an explicit hypothesis and it is never assumed silently. The mission discharges it in its own
node, `DiazModulus.hermite_lindemann_holds`.

It is also a **special case of `DiazModulusConjecture`**, not merely a tool for it: if `a ≠ 0` is
algebraic then so is `conj a`, hence `|a|² = a * conj a` is algebraic and so is `|a|`, and the
goal applied to `u := a` yields exactly this statement. So the mission cannot be completed
without it.

Note this is the single-exponent form; the multi-exponent generalisation is
Lindemann–Weierstrass and is not what is stated. -/
def HermiteLindemann : Prop :=
  ∀ a : ℂ, a ≠ 0 → IsAlgebraic ℚ a → Transcendental ℚ (Complex.exp a)

/-- **Schanuel's conjecture.**  For `ℚ`-linearly independent `x₀, …, xₙ₋₁`, the field
`ℚ(x₀, …, xₙ₋₁, exp x₀, …, exp xₙ₋₁)` has transcendence degree at least `n` over `ℚ`.
The adjoined set is literally the union of the two ranges, so it contains both the `xᵢ` and
their exponentials. -/
def SchanuelConjecture : Prop :=
  ∀ (n : ℕ) (x : Fin n → ℂ), LinearIndependent ℚ x →
    (n : Cardinal) ≤ Algebra.trdeg ℚ
      (IntermediateField.adjoin ℚ (Set.range x ∪ Set.range (fun i => Complex.exp (x i))))

/-- **The strong four exponentials conjecture** (Waldschmidt).  For
`Q̄`-linearly independent pairs `x₁,x₂` and `y₁,y₂`, at least one of the four
products `xᵢyⱼ` falls outside `ℒ̃`. -/
def StrongFourExponentials : Prop :=
  ∀ x₁ x₂ y₁ y₂ : ℂ,
    LinearIndependent (↥Qbar) ![x₁, x₂] → LinearIndependent (↥Qbar) ![y₁, y₂] →
    ¬ (x₁ * y₁ ∈ LogAlgTilde ∧ x₁ * y₂ ∈ LogAlgTilde ∧
       x₂ * y₁ ∈ LogAlgTilde ∧ x₂ * y₂ ∈ LogAlgTilde)

/-- A **candidate**: a hypothetical counterexample to `DiazModulusConjecture`. The three clauses
are `u ≠ 0`, `|u|` algebraic, and `exp u` algebraic, so `IsCandidate u` is exactly the negation
of that conjecture's implication at `u` — the conjecture holds iff no candidate exists. Nothing
here asserts that one does. -/
def IsCandidate (u : ℂ) : Prop :=
  u ≠ 0 ∧ IsAlgebraic ℚ ((‖u‖ : ℝ) : ℂ) ∧ IsAlgebraic ℚ (Complex.exp u)

end DiazModulus
Source
G. Diaz, Utilisation de la conjugaison complexe dans l'etude de la transcendance de valeurs de la fonction exponentielle usuelle, J. Theor. Nombres Bordeaux 16 (2004), no. 3, 535-553, doi:10.5802/jtnb.459; M. Waldschmidt, Diophantine Approximation on Linear Algebraic Groups, Grundlehren der mathematischen Wissenschaften 326, Springer 2000, pp. 15, 399, 614
Read-back

What the Lean code literally says, in plain math · claude-opus-5

All nine declarations live in a namespace DiazModulus, on top of the full Mathlib import. Throughout, "algebraic" means algebraic over Q\mathbb{Q}Q: zzz is a root of some nonzero polynomial with rational coefficients. "Transcendental over Q\mathbb{Q}Q" is by definition the negation of that.

1. Qbar — a subfield of C\mathbb{C}C. Qˉ\bar{\mathbb{Q}}Qˉ​ is the relative algebraic closure of Q\mathbb{Q}Q inside C\mathbb{C}C — Mathlib's algebraicClosure⁡(Q,C)\operatorname{algebraicClosure}(\mathbb{Q}, \mathbb{C})algebraicClosure(Q,C), the integral closure of Q\mathbb{Q}Q in C\mathbb{C}C promoted to an intermediate field — then downgraded to a subfield of C\mathbb{C}C. So it is a bundled sub-object of C\mathbb{C}C, not a bare set and not an abstract algebraically closed field.

2. mem_Qbar_iff — the one lemma with a proof. For every complex aaa (implicit, so universally quantified):

a∈Qˉ  ⟺  a is algebraic over Q.a \in \bar{\mathbb{Q}} \iff a \text{ is algebraic over } \mathbb{Q}.a∈Qˉ​⟺a is algebraic over Q.

A genuine biconditional in both directions, discharged by an actual proof term, not deferred. It is the only declaration in the file asserting a proved fact; every other declaration is a definition and therefore asserts nothing.

3. LogAlg — a set of complex numbers.

L  :=  { u∈C  :  exp⁡(u) is algebraic over Q }.\mathcal{L} \;:=\; \{\, u \in \mathbb{C} \;:\; \exp(u) \text{ is algebraic over } \mathbb{Q} \,\}.L:={u∈C:exp(u) is algebraic over Q}.

Exactly one clause. No requirement that exp⁡u≠0\exp u \neq 0expu=0, none that u≠0u \neq 0u=0, and no reference to Qˉ\bar{\mathbb{Q}}Qˉ​ — algebraicity is expressed directly. Degenerate content the definition silently admits: 0∈L0 \in \mathcal{L}0∈L (as exp⁡0=1\exp 0 = 1exp0=1), so L\mathcal{L}L is nonempty; since exp⁡\expexp never vanishes, every u∈Lu \in \mathcal{L}u∈L has exp⁡u\exp uexpu a nonzero algebraic number; and u+2πik∈Lu + 2\pi i k \in \mathcal{L}u+2πik∈L whenever u∈Lu \in \mathcal{L}u∈L, k∈Zk \in \mathbb{Z}k∈Z. None of this is asserted or proved in the file; it is what the defining condition entails.

4. LogAlgTilde — a submodule.

L~  :=  span⁡Qˉ({1}∪L),\tilde{\mathcal{L}} \;:=\; \operatorname{span}_{\bar{\mathbb{Q}}}\bigl(\{1\} \cup \mathcal{L}\bigr),L~:=spanQˉ​​({1}∪L),

a Submodule of C\mathbb{C}C over the scalar ring Qˉ\bar{\mathbb{Q}}Qˉ​. Concretely, all finite combinations α0⋅1+∑kαkuk\alpha_0 \cdot 1 + \sum_k \alpha_k u_kα0​⋅1+∑k​αk​uk​ with α0,αk∈Qˉ\alpha_0, \alpha_k \in \bar{\mathbb{Q}}α0​,αk​∈Qˉ​ and uk∈Lu_k \in \mathcal{L}uk​∈L. The scalars are the algebraic numbers, not the rationals. It carries no multiplicative closure claim, so it is not asserted to be a subring, subalgebra or subfield.

5. DiazModulusConjecture — a Prop. ∀ u∈C,u≠0  ⟶  (∣u∣, cast from R into C, is algebraic over Q)  ⟶  exp⁡(u) is transcendental over Q.\forall\, u \in \mathbb{C},\quad u \neq 0 \;\longrightarrow\; \bigl(\text{$\lvert u \rvert$, cast from $\mathbb{R}$ into $\mathbb{C}$, is algebraic over $\mathbb{Q}$}\bigr) \;\longrightarrow\; \exp(u) \text{ is transcendental over } \mathbb{Q}.∀u∈C,u=0⟶(∣u∣, cast from R into C, is algebraic over Q)⟶exp(u) is transcendental over Q. ∣u∣\lvert u \rvert∣u∣ is the complex modulus, a real number, coerced into C\mathbb{C}C before algebraicity is tested; since R↪C\mathbb{R} \hookrightarrow \mathbb{C}R↪C is an injective Q\mathbb{Q}Q-algebra map, the coercion does not change which reals count as algebraic. The quantifier ranges over all nonzero complex uuu, with no restriction to L\mathcal{L}L and no mention of Qˉ\bar{\mathbb{Q}}Qˉ​, L\mathcal{L}L or L~\tilde{\mathcal{L}}L~. The conclusion is ¬ IsAlgebraicQ(exp⁡u)\neg\,\mathrm{IsAlgebraic}_{\mathbb{Q}}(\exp u)¬IsAlgebraicQ​(expu), which by 3 is the same as u∉Lu \notin \mathcal{L}u∈/L. Equivalently, by pure logic: no nonzero element of L\mathcal{L}L has algebraic modulus. This is a definition of a proposition; the file does not claim, prove or refute it.

6. HermiteLindemann — a Prop.

∀ a∈C,a≠0  ⟶  a algebraic over Q  ⟶  exp⁡(a) transcendental over Q.\forall\, a \in \mathbb{C},\quad a \neq 0 \;\longrightarrow\; a \text{ algebraic over } \mathbb{Q} \;\longrightarrow\; \exp(a) \text{ transcendental over } \mathbb{Q}.∀a∈C,a=0⟶a algebraic over Q⟶exp(a) transcendental over Q.

The single-exponent form: one aaa, one exponential. No family of exponents, no linear-independence hypothesis, so the Lindemann–Weierstrass generalisation is not what is written. Note that any aaa satisfying these hypotheses also satisfies those of declaration 5 at u:=au := au:=a, because ∣a∣2=a a‾\lvert a\rvert^2 = a\,\overline{a}∣a∣2=aa is then algebraic and hence so is ∣a∣\lvert a \rvert∣a∣; the file states no such implication as a lemma.

7. SchanuelConjecture — a Prop.

∀ n∈N, ∀ x:{0,…,n−1}→C,(x0,…,xn−1) linearly independent over Q  ⟶  n≤trdeg⁡QQ({xi}∪{exp⁡xi}).\forall\, n \in \mathbb{N},\ \forall\, x : \{0,\dots,n-1\} \to \mathbb{C},\quad (x_0,\dots,x_{n-1}) \text{ linearly independent over } \mathbb{Q} \;\longrightarrow\; n \le \operatorname{trdeg}_{\mathbb{Q}} \mathbb{Q}\bigl(\{x_i\} \cup \{\exp x_i\}\bigr).∀n∈N, ∀x:{0,…,n−1}→C,(x0​,…,xn−1​) linearly independent over Q⟶n≤trdegQ​Q({xi​}∪{expxi​}).

Linear independence is over Q\mathbb{Q}Q, not Qˉ\bar{\mathbb{Q}}Qˉ​. The adjoined set is the union of the range of xxx and the range of i↦exp⁡(xi)i \mapsto \exp(x_i)i↦exp(xi​), so it contains the nnn exponents and their nnn exponentials and nothing else. The object adjoined to is built with IntermediateField.adjoin: the smallest intermediate field of C/Q\mathbb{C}/\mathbb{Q}C/Q containing that set — a field, not merely the generated Q\mathbb{Q}Q-subalgebra. Transcendence degree is Algebra.trdeg, valued in Cardinal; the inequality runs n≤trdeg⁡n \le \operatorname{trdeg}n≤trdeg, a non-strict lower bound. At n=0n = 0n=0 the family is empty, independence holds vacuously, and the conclusion reads 0≤trdeg⁡QQ0 \le \operatorname{trdeg}_{\mathbb{Q}}\mathbb{Q}0≤trdegQ​Q — trivially true, no content. At n=1n = 1n=1 the hypothesis reduces to x0≠0x_0 \neq 0x0​=0.

8. StrongFourExponentials — a Prop.

∀ x1,x2,y1,y2∈C,{x1,x2} lin. indep. over Qˉ  ⟶  {y1,y2} lin. indep. over Qˉ  ⟶  ¬(x1y1∈L~∧x1y2∈L~∧x2y1∈L~∧x2y2∈L~).\forall\, x_1, x_2, y_1, y_2 \in \mathbb{C},\quad \{x_1,x_2\} \text{ lin. indep. over } \bar{\mathbb{Q}} \;\longrightarrow\; \{y_1,y_2\} \text{ lin. indep. over } \bar{\mathbb{Q}} \;\longrightarrow\; \neg\bigl(x_1y_1 \in \tilde{\mathcal{L}} \wedge x_1y_2 \in \tilde{\mathcal{L}} \wedge x_2y_1 \in \tilde{\mathcal{L}} \wedge x_2y_2 \in \tilde{\mathcal{L}}\bigr).∀x1​,x2​,y1​,y2​∈C,{x1​,x2​} lin. indep. over Qˉ​⟶{y1​,y2​} lin. indep. over Qˉ​⟶¬(x1​y1​∈L~∧x1​y2​∈L~∧x2​y1​∈L~∧x2​y2​∈L~).

Both independence hypotheses are over the subfield Qˉ\bar{\mathbb{Q}}Qˉ​, not over Q\mathbb{Q}Q; for two complex numbers this means both are nonzero and their ratio is not algebraic. The conclusion is the negation of a fourfold conjunction — at least one of the four products lies outside L~\tilde{\mathcal{L}}L~ — and does not say which. Membership is tested in L~\tilde{\mathcal{L}}L~, not in L\mathcal{L}L, and the conclusion is about the products xiyjx_iy_jxi​yj​, not about exp⁡(xiyj)\exp(x_iy_j)exp(xi​yj​). The hypotheses are satisfiable, so the proposition is not vacuous.

9. IsCandidate — a predicate C→Prop\mathbb{C} \to \mathrm{Prop}C→Prop.

IsCandidate(u)  :=  u≠0  ∧  (∣u∣, cast into C, algebraic over Q)  ∧  (exp⁡(u) algebraic over Q).\mathrm{IsCandidate}(u) \;:=\; u \neq 0 \;\wedge\; \bigl(\lvert u \rvert \text{, cast into } \mathbb{C}\text{, algebraic over } \mathbb{Q}\bigr) \;\wedge\; \bigl(\exp(u) \text{ algebraic over } \mathbb{Q}\bigr).IsCandidate(u):=u=0∧(∣u∣, cast into C, algebraic over Q)∧(exp(u) algebraic over Q).

The third clause is algebraicity — not transcendence — of exp⁡u\exp uexpu, i.e. u∈Lu \in \mathcal{L}u∈L. The first two are literally the hypotheses of declaration 5, same cast included. So IsCandidate(u)\mathrm{IsCandidate}(u)IsCandidate(u) is the classical negation of the implication declaration 5 asserts at uuu. A definition only: nothing in the file asserts that any uuu satisfies it, that none does, or that the two declarations are related.

Discrepancies: none

Human review
  • Endorsed by Shuze Chen · Sep 7, 2026

  • Endorsed by carlok · Sep 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me