Skip to content

About

Some LeanEval problems proved in Lean 4

Resources

Stars

13 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  Axiom, the starting point for reasoning

LeanEval solutions

Eleven problems of LeanEval (leanprover/lean-eval), proved in Lean 4. Each proof states the LeanEval problem verbatim, with the problem's own definitions, and depends on no assumption beyond Lean's standard axioms (propext, Classical.choice, Quot.sound).

The proofs are in two Lake projects, by the library they build on:

  • stacks/: six problems from algebraic geometry and number theory, on Mathlib and the Stacks Project in Lean. The pins are those of LeanEval's stacks configuration.
  • cfsg/: five problems from group theory, on the CFSG corpus, Axiom's formalization of the classification of finite simple groups. Every result is in two forms: Solution.lean proves the LeanEval statement, using the classification proved in the corpus (CFSGComparator.classification), and SolutionConditional.lean proves it with the classification taken as a hypothesis, hCFSG : TauCeti.ClassificationStatement, so it builds without the proof of the classification.

Versions. Lean v4.35.0 (lean-toolchain) for both projects. stacks/: Mathlib 56a0058, Stacks c496df0. cfsg/: Mathlib 0740637, Tau Ceti 1f9b441 and the CFSG corpus at AxiomMath/CFSG 965a077, the corpus's own Mathlib and Tau Ceti pins. All are pinned in stacks/lakefile.toml and cfsg/lakefile.toml.

Results

New lines counts the non-blank, non-comment Lean lines of the solution's folder, LeanEval/<Problem>/, including the code it vendors (see the ATTRIBUTION.md files) and excluding ChallengeDeps.lean, the problem's own definitions as LeanEval gives them. Reused lines counts the lines of the library declarations the solution depends on, all the way down: the Stacks Project in Lean for stacks/, the CFSG corpus (with the third-party code it vendors) for cfsg/, counted for the conditional proof, so without the proof of the classification itself. Mathlib is counted in neither.

Name Result Source New lines Reused lines
Weil conjectures Let X be a smooth, proper, geometrically irreducible variety of dimension d over a finite field F with q elements. There are finite multisets A₀, …, A_{2d} of complex numbers with A₀ = {1}, each stable under every automorphism of ℂ and consisting of algebraic integers of absolute value q^{i/2}, with A_{2d−i} = q^d / A_i, such that #X(E) = Σᵢ (−1)ⁱ Σ_{α ∈ Aᵢ} α^{[E:F]} for every finite extension E of F. P. Deligne, La conjecture de Weil. I, Publ. Math. IHÉS 43 (1974), 273–307. The proof follows E. Freitag and R. Kiehl, Étale Cohomology and the Weil Conjecture (1988). link 11,352 1.5M
Ramanujan's conjecture for τ For every prime p, |τ(p)| ≤ 2p^{11/2}, where τ(n) is the n-th coefficient of the discriminant modular form Δ = q ∏ (1 − qⁿ)²⁴. S. Ramanujan, On certain arithmetical functions, Trans. Cambridge Philos. Soc. 22 (1916), 159–184; proved by P. Deligne, La conjecture de Weil. I (1974). The proof here goes through the Eichler–Selberg trace formula and Deligne's Weil II bound, after Ihara and Deligne. link 111K 1.5M
Weyl bound for Dirichlet L-functions For every ε > 0 there is C such that for every cube-free q, every primitive Dirichlet character χ modulo q and every real t, |L(1/2 + it, χ)| ≤ C q^{1/6+ε} (1 + |t|)^{1/6+ε}. I. Petrow and M. P. Young, The Weyl bound for Dirichlet L-functions of cube-free conductor, Ann. of Math. 192 (2020), Corollary 1.3. link 338K 1.5M
Topological reconstruction of varieties Let X and Y be irreducible normal projective varieties over fields of characteristic zero, with dim X ≥ 4, or dim X ≥ 3 and both fields finitely generated over ℚ, or dim X ≥ 2 and both fields uncountable. Then every homeomorphism between X and Y in the Zariski topology is induced by an isomorphism of schemes. J. Kollár, M. Lieblich, M. Olsson and W. Sawin, Topological reconstruction theorems for varieties, Theorem 1.4.3. link 304K 2.0M
Chowla and twin primes over 𝔽_q[T] Let p be an odd prime and q a power of p. If q > 685090 p², then for every nonzero h ∈ 𝔽_q[T] the number of f of norm X with f and f + h both prime is 𝔖_q(h) X / (log_q X)² up to an error O(X^{1−ε}) for some ε > 0, as X runs through the powers of q. If q > p²k²e², then for distinct h₁, …, h_k ∈ 𝔽_q[T] the sum of μ(f + h₁) ⋯ μ(f + h_k) over monic f of norm at most X is o(X). W. Sawin and M. Shusterman, On the Chowla and twin primes conjectures over 𝔽_q[T], Ann. of Math. 196 (2022), Theorems 1.1 and 1.3. link 74,198 1.6M
Faltings's theorem (Mordell conjecture) A curve of genus at least 2 over a number field has only finitely many rational points: if F/K is a function field of one variable of genus at least 2 over a number field K, only finitely many places of F/K have residue field K. Also, every element of a function field has only finitely many poles. G. Faltings, Endlichkeitssätze für abelsche Varietäten über Zahlkörpern, Invent. Math. 73 (1983), 349–366. The proof follows E. Bombieri, The Mordell conjecture revisited, Ann. Sc. Norm. Super. Pisa 17 (1990), 615–640, and P. Vojta (1991). link 89,296 988K
Absolute profinite rigidity The Bianchi group PSL(2, ℤ[ω]), with ω a primitive cube root of unity, is profinitely rigid: it is finitely generated and residually finite, and every finitely generated residually finite group with an isomorphic profinite completion is isomorphic to it. M. R. Bridson, D. B. McReynolds, A. W. Reid and R. Spitler, Absolute profinite rigidity and hyperbolic geometry, Ann. of Math. 192 (2020), Theorem 7.1. link 531K 3.6M
5-transitive groups A finite group acting faithfully and 5-transitively on a set of n ≥ 5 points has order n!, or n!/2 with n ≥ 7, or 95,040 with n = 12 (M₁₂), or 244,823,040 with n = 24 (M₂₄). A consequence of the classification of finite simple groups; see P. J. Cameron, Permutation Groups (1999). 32,890 3.6M
Strong completeness of profinite groups In a topologically finitely generated profinite group, every subgroup of finite index is open. N. Nikolov and D. Segal, On finitely generated profinite groups, I: strong completeness and uniform bounds, Ann. of Math. 165 (2007), 171–238, Theorem 1.1. link 145K 3.6M
Ore conjecture Every element of a finite nonabelian simple group is a commutator. M. W. Liebeck, E. A. O'Brien, A. Shalev and P. H. Tiep, The Ore conjecture, J. Eur. Math. Soc. 12 (2010), 939–1008, Theorem 1. link 1.5M 3.6M
Schreier conjecture For every finite simple group S, the outer automorphism group Out(S) = Aut(S)/Inn(S) is solvable. Conjectured by O. Schreier, Über die Erweiterung von Gruppen II, Abh. Math. Sem. Univ. Hamburg 4 (1926); a consequence of the classification of finite simple groups. 45 807K

License

Apache 2.0. Vendored code keeps its license and attribution; see the ATTRIBUTION.md and LICENSE files inside stacks/LeanEval/.

About

Some LeanEval problems proved in Lean 4

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages