Logarithms of algebraic numbers, and the conjectures around Diaz's modulus question
DefinitionDiazModulusThe interface for the mission.
Qbar is the field of algebraic numbers inside , realised as (algebraicClosure ℚ ℂ).toSubfield, together with the bridge lemma mem_Qbar_iff : a ∈ Qbar ↔ IsAlgebraic ℚ a.
LogAlg is
the set of logarithms of algebraic numbers. No non-vanishing clause is needed because is never . LogAlgTilde is , the -vector subspace of spanned by together with ; this is the space in which the strong four exponentials conjecture is stated.
IsCandidate u records the three conditions defining a hypothetical counterexample: , algebraic, 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 with algebraic, is transcendental.HermiteLindemann— for every non-zero algebraic , 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 aProprather than anaxiomkeeps every statement that uses it honest about its dependence.SchanuelConjecture— for -linearly independent , the transcendence degree of the field over is at least . It is phrased withAlgebra.trdegon the intermediate field generated by the union of the two ranges, so the adjoined set genuinely contains both the and their exponentials, and the object is the generated field rather than the generated subalgebra.StrongFourExponentials— for -linearly independent pairs and , at least one of the four products lies outside .
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 contains and is closed under adding , as it must be.
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
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 : is a root of some nonzero polynomial with rational coefficients. "Transcendental over " is by definition the negation of that.
1. Qbar — a subfield of . is the relative algebraic closure of inside — Mathlib's , the integral closure of in promoted to an intermediate field — then downgraded to a subfield of . So it is a bundled sub-object of , not a bare set and not an abstract algebraically closed field.
2. mem_Qbar_iff — the one lemma with a proof. For every complex (implicit, so universally quantified):
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.
Exactly one clause. No requirement that , none that , and no reference to — algebraicity is expressed directly. Degenerate content the definition silently admits: (as ), so is nonempty; since never vanishes, every has a nonzero algebraic number; and whenever , . None of this is asserted or proved in the file; it is what the defining condition entails.
4. LogAlgTilde — a submodule.
a Submodule of over the scalar ring . Concretely, all finite combinations with and . 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.
is the complex modulus, a real number, coerced into before algebraicity is tested; since is an injective -algebra map, the coercion does not change which reals count as algebraic. The quantifier ranges over all nonzero complex , with no restriction to and no mention of , or . The conclusion is , which by 3 is the same as . Equivalently, by pure logic: no nonzero element of has algebraic modulus. This is a definition of a proposition; the file does not claim, prove or refute it.
6. HermiteLindemann — a Prop.
The single-exponent form: one , one exponential. No family of exponents, no linear-independence hypothesis, so the Lindemann–Weierstrass generalisation is not what is written. Note that any satisfying these hypotheses also satisfies those of declaration 5 at , because is then algebraic and hence so is ; the file states no such implication as a lemma.
7. SchanuelConjecture — a Prop.
Linear independence is over , not . The adjoined set is the union of the range of and the range of , so it contains the exponents and their exponentials and nothing else. The object adjoined to is built with IntermediateField.adjoin: the smallest intermediate field of containing that set — a field, not merely the generated -subalgebra. Transcendence degree is Algebra.trdeg, valued in Cardinal; the inequality runs , a non-strict lower bound. At the family is empty, independence holds vacuously, and the conclusion reads — trivially true, no content. At the hypothesis reduces to .
8. StrongFourExponentials — a Prop.
Both independence hypotheses are over the subfield , not over ; 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 — and does not say which. Membership is tested in , not in , and the conclusion is about the products , not about . The hypotheses are satisfiable, so the proposition is not vacuous.
9. IsCandidate — a predicate .
The third clause is algebraicity — not transcendence — of , i.e. . The first two are literally the hypotheses of declaration 5, same cast included. So is the classical negation of the implication declaration 5 asserts at . A definition only: nothing in the file asserts that any satisfies it, that none does, or that the two declarations are related.
Discrepancies: none
Confirmed by the mission captain (proposal self-audit).