Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lam–Litt conjecture: algebraic ODEs, bounded denominators, ω\omegaω-integrality

Definition
LamLitt_Defs

by LG · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

differential-equationsnumber-theorypower-series

Definitions for the Lam–Litt conjecture on algebraic solutions of algebraic differential equations.

  1. Rational functions. For a set of variables σ\sigmaσ and a commutative ring KKK, K(xσ)K(x_\sigma)K(xσ​) denotes the fraction field of the polynomial ring K[xσ]K[x_\sigma]K[xσ​].

  2. Solutions of algebraic ODEs. Let n≥0n\ge 0n≥0, let f∈Q[[z]]f\in\mathbb{Q}[[z]]f∈Q[[z]] and let g∈Q(x0,x1,…,xn)g\in\mathbb{Q}(x_0,x_1,\dots,x_n)g∈Q(x0​,x1​,…,xn​). Write f(i)f^{(i)}f(i) for the iii-th formal derivative of fff. We say that fff solves the algebraic ODE defined by ggg if there are polynomials p,q∈Q[x0,…,xn]p,q\in\mathbb{Q}[x_0,\dots,x_n]p,q∈Q[x0​,…,xn​] with g=p/qg=p/qg=p/q,

q(0,f(0),f′(0),…,f(n−1)(0))≠0,q\bigl(0,f(0),f'(0),\dots,f^{(n-1)}(0)\bigr)\neq 0,q(0,f(0),f′(0),…,f(n−1)(0))=0,

and

f(n)(z)⋅q(z,f(z),…,f(n−1)(z))=p(z,f(z),…,f(n−1)(z))in Q[[z]].f^{(n)}(z)\cdot q\bigl(z,f(z),\dots,f^{(n-1)}(z)\bigr)=p\bigl(z,f(z),\dots,f^{(n-1)}(z)\bigr)\quad\text{in }\mathbb{Q}[[z]].f(n)(z)⋅q(z,f(z),…,f(n−1)(z))=p(z,f(z),…,f(n−1)(z))in Q[[z]].

In words: f(n)=g(z,f,f′,…,f(n−1))f^{(n)}=g(z,f,f',\dots,f^{(n-1)})f(n)=g(z,f,f′,…,f(n−1)) and ggg is defined at the initial point (0,f(0),…,f(n−1)(0))(0,f(0),\dots,f^{(n-1)}(0))(0,f(0),…,f(n−1)(0)), i.e. z=0z=0z=0 is a non-singular point of the equation.

  1. Bounded denominators. For N∈NN\in\mathbb{N}N∈N, Z[1/N]\mathbb{Z}[1/N]Z[1/N] is the subring of Q\mathbb{Q}Q generated by 1/N1/N1/N. A power series f=∑kakzkf=\sum_k a_k z^kf=∑k​ak​zk has all coefficients in Z[1/N]\mathbb{Z}[1/N]Z[1/N] if ak∈Z[1/N]a_k\in\mathbb{Z}[1/N]ak​∈Z[1/N] for every kkk.

  2. ω\omegaω-integrality. For ω:{primes}→Z\omega:\{\text{primes}\}\to\mathbb{Z}ω:{primes}→Z and a sequence (aj)(a_j)(aj​) of rationals, (aj)(a_j)(aj​) is ω\omegaω-integral if for every prime ppp the numbers a0,a1,…,aω(p)a_0,a_1,\dots,a_{\omega(p)}a0​,a1​,…,aω(p)​ lie in Z(p)\mathbb{Z}_{(p)}Z(p)​, i.e. their reduced denominators are prime to ppp.

  3. Superlinear growth. ω\omegaω is superlinear if ω(p)/p→∞\omega(p)/p\to\inftyω(p)/p→∞ as p→∞p\to\inftyp→∞ through the primes.

These are the notions in which the Lam–Litt conjecture and its partial results are stated.

Formalization Note In Lean, 1/0=01/0=01/0=0, so Z[1/0]=Z\mathbb{Z}[1/0]=\mathbb{Z}Z[1/0]=Z; if ω(p)<0\omega(p)<0ω(p)<0 the ω\omegaω-integrality condition imposes nothing at ppp. The variable x0x_0x0​ is evaluated at zzz and xi+1x_{i+1}xi+1​ at f(i)f^{(i)}f(i).

Definition code
import Mathlib

open MvPolynomial PowerSeries

namespace LamLitt

/-- The field of multivariate rational functions in variables indexed by `σ` over `K`:
the fraction field of `MvPolynomial σ K`. -/
abbrev MvRatFunc (σ K : Type*) [CommRing K] := FractionRing (MvPolynomial σ K)

/-- A power series `f` solves the algebraic ODE `f^{(n)} = g(z, f, f', …, f^{(n-1)})`, with `g`
defined at `(0, f(0), …, f^{(n-1)}(0))`: `g = p / q` with `q(0, f(0), …, f^{(n-1)}(0)) ≠ 0` and
`f^{(n)} · q(z, f, …, f^{(n-1)}) = p(z, f, …, f^{(n-1)})`. Variable `0` is `z`, variable
`i.succ` is `f^{(i)}`. -/
def IsSolutionOfAlgebraicODE (n : ℕ) (f : PowerSeries ℚ) (g : MvRatFunc (Fin (n + 1)) ℚ) : Prop :=
  let pt : Fin (n + 1) → PowerSeries ℚ := Fin.cases X (fun i : Fin n ↦ (derivative ℚ)^[i.val] f)
  ∃ p q : MvPolynomial (Fin (n + 1)) ℚ,
    g = (algebraMap _ _ p) / (algebraMap _ _ q) ∧
    q.eval (PowerSeries.constantCoeff ∘ pt) ≠ 0 ∧
    (derivative ℚ)^[n] f * MvPolynomial.aeval pt q = MvPolynomial.aeval pt p

/-- The subring `ℤ[1/N]` of `ℚ` (for `N = 0` this is `ℤ`, since `1/0 = 0` in Lean). -/
def ℤAdjoinInvNat (N : ℕ) : Subalgebra ℤ ℚ := Algebra.adjoin ℤ {(1 / N : ℚ)}

/-- Every coefficient of `f` lies in `ℤ[1/N]`. -/
def IsCoeffIntegralAdjointInvNat (f : PowerSeries ℚ) (N : ℕ) : Prop :=
  ∀ n : ℕ, coeff n f ∈ ℤAdjoinInvNat N

/-- `ω`-integrality: for each prime `p`, `a_0, …, a_{ω(p)}` have denominators prime to `p`
(no constraint at `p` when `ω(p) < 0`). -/
def omegaIntegral (ω : Nat.Primes → ℤ) (a : ℕ → ℚ) : Prop :=
  ∀ p : Nat.Primes, ∀ j : ℕ, (j : ℤ) ≤ ω p → Nat.Coprime (a j).den p

/-- `ω(p) / p → ∞` as the prime `p → ∞`. -/
def omegaSuperlinear (ω : Nat.Primes → ℤ) : Prop :=
  Filter.Tendsto (fun p : Nat.Primes ↦ (ω p : ℝ) / p)
    (Filter.comap (fun p : Nat.Primes ↦ (p : ℕ)) Filter.atTop) Filter.atTop

end LamLitt
Source
Formal Conjectures, FormalConjectures/LittProblems/1.lean (Lam--Litt conjecture); Y. H. J. Lam, D. Litt, Algebraicity and integrality of solutions to differential equations, https://arxiv.org/abs/2501.13175; D. Litt, Problem 1, https://www.problemsilike.com/1
Read-back

What the Lean code literally says, in plain math · Aristotle by Harmonic (same agent that drafted the statements; non-blind)

Note: non-blind read-back, not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements of this proposal, at the explicit direction of the proposal owner. Its author knew the intended meaning of the code while writing it, so it is not a blind audit and must not be taken as independent testimony. An independent, blind read-back is still recommended before submission.

This file defines five notions inside the namespace LamLitt; nothing is assumed or proved.

1. K(xσ)K(x_\sigma)K(xσ​). For any type σ\sigmaσ and commutative ring KKK, it is the fraction ring (localization at all non-zero-divisors) of the polynomial ring K[xs:s∈σ]K[x_s : s\in\sigma]K[xs​:s∈σ]. When KKK is a field (e.g. Q\mathbb{Q}Q) this is the usual field of rational functions.

2. Solution of an algebraic ODE. Inputs: n∈Nn\in\mathbb{N}n∈N, a formal power series f∈Q[[z]]f\in\mathbb{Q}[[z]]f∈Q[[z]], and g∈Q(x0,…,xn)g\in\mathbb{Q}(x_0,\dots,x_n)g∈Q(x0​,…,xn​). Let DDD be formal differentiation on Q[[z]]\mathbb{Q}[[z]]Q[[z]] and form the (n+1)(n+1)(n+1)-tuple of power series

π=(π0,π1,…,πn)=(z, f, Df, …, Dn−1f).\pi=(\pi_0,\pi_1,\dots,\pi_n)=(z,\ f,\ Df,\ \dots,\ D^{n-1}f).π=(π0​,π1​,…,πn​)=(z, f, Df, …, Dn−1f).

The property holds exactly when there exist polynomials p,q∈Q[x0,…,xn]p,q\in\mathbb{Q}[x_0,\dots,x_n]p,q∈Q[x0​,…,xn​] such that all three hold:

  • g=p/qg=p/qg=p/q in the fraction field;
  • qqq evaluated at the constant terms of π\piπ, namely q(0,f(0),(Df)(0),…,(Dn−1f)(0))q(0,f(0),(Df)(0),\dots,(D^{n-1}f)(0))q(0,f(0),(Df)(0),…,(Dn−1f)(0)), is a nonzero rational number (in particular q≠0q\neq 0q=0);
  • Dnf⋅q(π0,…,πn)=p(π0,…,πn)D^n f\cdot q(\pi_0,\dots,\pi_n)=p(\pi_0,\dots,\pi_n)Dnf⋅q(π0​,…,πn​)=p(π0​,…,πn​) as power series.

Edge case n=0n=0n=0: the tuple is just (z)(z)(z), D0f=fD^0f=fD0f=f, and the condition says f⋅q(z)=p(z)f\cdot q(z)=p(z)f⋅q(z)=p(z) with q(0)≠0q(0)\ne0q(0)=0, i.e. fff is the expansion of a rational function regular at 000.

3. Z[1/N]\mathbb{Z}[1/N]Z[1/N]. For N∈NN\in\mathbb{N}N∈N, the smallest subring of Q\mathbb{Q}Q containing the rational number 1/N1/N1/N. Because 1/01/01/0 is 000 in Lean, N=0N=0N=0 gives Z\mathbb{Z}Z; N=1N=1N=1 also gives Z\mathbb{Z}Z.

4. Coefficients in Z[1/N]\mathbb{Z}[1/N]Z[1/N]. For f∈Q[[z]]f\in\mathbb{Q}[[z]]f∈Q[[z]] and N∈NN\in\mathbb{N}N∈N: for every k≥0k\ge0k≥0 the kkk-th coefficient of fff lies in Z[1/N]\mathbb{Z}[1/N]Z[1/N].

5. ω\omegaω-integrality. For ω\omegaω a function from the set of primes to Z\mathbb{Z}Z and a:N→Qa:\mathbb{N}\to\mathbb{Q}a:N→Q: for every prime ppp and every j∈Nj\in\mathbb{N}j∈N with j≤ω(p)j\le\omega(p)j≤ω(p) (compared in Z\mathbb{Z}Z), the reduced denominator of aja_jaj​ (a positive integer; it is 111 for aj=0a_j=0aj​=0) is coprime to ppp. If ω(p)<0\omega(p)<0ω(p)<0 there is no condition at ppp.

6. Superlinear growth. For ω\omegaω as above: the real numbers ω(p)/p\omega(p)/pω(p)/p tend to +∞+\infty+∞ as ppp runs through the primes in increasing order, i.e. for every real MMM there is a bound BBB such that ω(p)/p≥M\omega(p)/p\ge Mω(p)/p≥M for every prime p≥Bp\ge Bp≥B.

Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 1, 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