Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Problem 694
claims/: The 1 claim page of Problem 694, one per claimant's result; the problem's standing derives from them.
Statement. Let be the largest such that , and be the smallest such , where is Euler's totient function. Investigate
(where the maximum is restricted to those of the form for some .)
Status. Solved; the site's label is SOLVED (LEAN). The status-defining source is a five-page note whose title page credits "GPT-5.5 PRO", giving the asymptotic ; its claim page is accepted on the site's documented acceptance: the curator restated the proof in the site's thread on 2026-05-02 and the site records the result as the problem's resolution. Of the two external Lean developments, one proves that asymptotic, for its own definition of the ratio, from Mertens' product theorem and Linnik's theorem declared as axioms, and the other claims an unconditional proof through a module the corpus has not examined; this corpus has built neither, so they give no formalized evidence, and no refereed publication exists. See "Current assessment".
Source. erdosproblems.com/694, accessed 2026-09-04. Cite as: T. F. Bloom, Erdős Problem #694, https://www.erdosproblems.com/694.
References.
- [GPT26] Totient fibre extremes, five-page note, author line "GPT-5.5
PRO" and no person named, hosted in the repository
Shashi456/erdos-formalizationsasErdos/P694/proof.pdf; PDF metadata created 2 May 2026; Theorem 2.1 on p. 2, proof pp. 2--4, Proposition 3.1 pp. 4--5. Library home: gpt_5_5_pro_2026_totient_fibre_extremes.
Formalization. The site's Lean qualification is a catalog label; see
"Formalization and the Lean label" below for the Lean developments. The file
ErdosProblems/694.lean
of formal-conjectures, at the pinned commit, states
erdos_694 : ∀ᵉ (fmax : ℕ → ℕ) (fmin : ℕ → ℕ), (∀ n, (∃ m, Nat.totient m = n) → IsGreatest (Nat.totient ⁻¹' {n}) (fmax n)) → (∀ n, (∃ m, Nat.totient m = n) → IsLeast (Nat.totient ⁻¹' {n}) (fmin n)) → ∃ o : ℕ → ℝ, Tendsto o atTop (𝓝 0) ∧ ∀ᶠ x : ℕ in atTop, sSup { (fmax n : ℝ) / fmin n | (n : ℕ) (_ : n ≤ x) (_ : ∃ m, Nat.totient m = n) } = (exp eulerMascheroniConstant + o x) * log (log (x : ℝ))
under category research solved with a sorry body and no formal_proof
attribute; its docstring attributes the proof of
to GPT-5.5
Pro, prompted by Price, points to the site's thread for a summary, says
that a Lean formalization of the reduction exists conditional on Mertens'
product theorem and Linnik's theorem, linking the Shashi456 file, and
notes that the extrema are required only on nonempty fibres and the identity
only for large . Two variants:
erdos_694.variants.carmichael (research open) and
erdos_694.variants.inf_unique (research solved, sorry). The statement
file is not a formalization link; this corpus has not built or audited the
developments, so they give no formalized evidence.
Current assessment
The question (the site's formulation). The statement
above, an "Investigate" question about
over totient values ; SOLVED
(LEAN). The note's abstract answers the question with an asymptotic formula;
the lean-proofs development lists the thread's post 6202, the announcement
of the first formalization, and the Overleaf note posted on 2026-05-01 among
its URLs.
Status-defining source. Theorem 2.1 of [GPT26] (result page): with , as , . The upper bound (pp. 2--3) is Lemma 1.1, (primorials, Mertens' product theorem and ), with for ; the lower bound (pp. 3--4) takes , , a prime with from Linnik's theorem, , the squarefree product of the primes above dividing , and , with and , then gives . Proposition 3.1 (pp. 4--5) is a permanence observation: one collision , , gives infinitely many totient values with . The result page records the statements of Theorem 2.1, Lemma 1.1 and Proposition 3.1 and follows their proofs (pp. 2--5); no step is independently reviewed by this project. Acceptance evidence: the site's label, the curator's thread post of 2026-05-02 restating the proof, a forum reviewer's standard check of the same day and the collection's docstring, recorded on the claim page; no refereed publication or arXiv version exists. Provenance, recorded not judged: the note's title page credits "GPT-5.5 PRO" and names no person; the hosting repository's README says "Proof by Liam Price + GPT-5.5 Pro, May 2026"; the collection's docstring credits GPT-5.5 Pro and names Price as the prompter.
Formalization and the Lean label. The site's Lean qualification is a
catalog label. The collection's statement is a sorry body. Two external
developments exist, and a third repository carries versions of them; this
corpus has built, kernel-checked or audited none of them, so they give no
formalized evidence.
Shashi456/erdos-formalizations,Erdos/P694/Proof.lean(143,271 bytes, 2,817 lines; the repository's revision of 2026-05-14, linked on the claim page): header "STANDALONE VERSION ... Trust boundary: Mathlib core (propext, Classical.choice, Quot.sound) + mertens_product + linnik_dvd", both declared withaxiom(lines 417 and 430: Mertens' product asymptotic inTendstoform, and Linnik's theorem as∃ C : ℝ, ∃ L : ℕ, 1 ≤ C ∧ 1 ≤ L ∧ ∀ M : ℕ, 1 ≤ M → ∃ ℓ : ℕ, Nat.Prime ℓ ∧ M ∣ ℓ - 1 ∧ (ℓ : ℝ) ≤ C * (M : ℝ) ^ L); definesR (x : ℕ) : ℝas the supremum over totient valuesn ∈ Set.Icc 1 xofsSup {m | Nat.totient m = n} / sInf {m | Nat.totient m = n}(line 1116); provestheorem totient_fibre_extremes : Tendsto (fun x : ℕ => R x / (Real.exp Real.eulerMascheroniConstant * Real.log (Real.log x))) atTop (𝓝 1)(line 2648),permanence_step,infinitely_many_collisionsand the aliaserdos_694_asymptotic; ends with eleven#print axiomslines whose outputs are not in the file. The repository's README tabulates the trust boundary, records a run of an external checker ("SafeVerify") whosereport.jsonlistsmertens_productandlinnik_dvdbeyond the three core axioms fortotient_fibre_extremesanderdos_694_asymptoticand core only for the permanence theorems, lists deliberate deviations from the note (the Landau lemma and the height bound avoid the prime number theorem; Linnik invoked modulo ), and says the formalization was "assembled incrementally with Claude Code subagents"; the README's file table names the notecompact_cayley_proof.pdfwhile the repository tree holdsproof.pdf. The checker report is the repository's own record.- Boris Alexeev's
lean-proofsrepository (GitHubplby),src/latest/ErdosProblems/Erdos694.lean(15,922 bytes, 353 lines; the revision of 2026-08-25, "Make Erdos694 unconditional without Linnik", linked on the claim page): header "Formalization status: Unconditional: standard Lean axioms only", "Informal authors: GPT-5.5 Pro, Liam Price; Formal authors: Claude Code 4.7, GPT-5.5 Pro, Pawan Sasanka Ammanamanchi", URLs listing the thread's post 6202, the Overleaf note's read link and theShashi456file; importsErdos694/UnconditionalandErdos694/LinnikConstruction, through a chain of six repository modules (Core,PrimeProducts,SmallModuli,Height,Unconditional,LinnikConstruction); its comment says the lower bound "uses products of distinct primes in dyadic intervals, supplied by the proved uniform prime-counting theoremErdos387.shiftedSiegelWalfiszLower" from another module of that repository (imported bySmallModuli; the corpus has not examined that module), with "No invocation of the shared Linnik axiom" remaining; defines the sameR(inCore, line 1093); provestotient_collision_construction(line 40),R_lower_bound(181),totient_fibre_extremes(198, the sameTendstostatement) anderdos_694(326); nosorry, noaxiomin the root or the six modules; eleven#print axiomslines without recorded output. The repository's summary page says the archived copies for earlier toolchains (144,465 bytes, header "Conditional on: mertens_product; Conditional on: linnik_dvd", importingErdosProblems.Axioms) "retain the Linnik axiom". Jayyhk/erdos-lean,problems/694/Erdos694.lean(linked on the claim page at its revision of 2026-06-04, which the thread's post of 2026-06-05 announced): the first development with Mertens' product theorem proved instead of assumed (a proof the file credits to Aristotle, from Harmonic), leavinglinnik_dvdas its only axiom; from 2026-08-26 the repository holds instead a single-file vendoring of the second development together with the Bombieri–Vinogradov library it rests on.
Statement fidelity. The collection's erdos_694 is not textually the
Tendsto theorem: it quantifies functions fmax, fmin whose hypotheses,
at the pinned commit, require a greatest and a least preimage only for n
that are totient values, asserts an exact equation
sSup {...} = (exp eulerMascheroniConstant + o x) * log (log (x : ℝ)) for
all large x with o → 0, and its sSup runs over totient values n ≤ x
with no lower limit. The
file before the revision of 2026-09-11
(at its revision of 2026-07-16) required the extrema for every n,
including n with no preimage (n = 3), where IsGreatest ∅ _ is false, so
that no pair (fmax, fmin) satisfied its hypotheses and the statement held
vacuously; the revision of 2026-09-11 repairs this and says so in its
docstring, and the Shashi456 README describes a still earlier shape of the
statement. The developments' R matches the note's (maximum
over totient values , Icc 1 x); no bridging statement to the
collection's form exists in either development.
Search scope (September 2026). The note, its TeX source, the repository README and checker report, the two Lean developments with the six modules and the collection's statement file; the site's problem page and thread (2026-09-05); arXiv, Crossref, MathSciNet, zbMATH, Google Scholar and X not searched.
Remaining gaps. (1) The status rests on a five-page note with no refereed publication, credited to an AI system by its title page; the only reviews are the site curator's restatement and a forum standard check, recorded on the claim page; a refereed version or an independent whole-argument review would remove the qualification. (2) This corpus has built neither Lean development; the first declares two classical theorems as axioms, and the second's unconditional claim rests on a module the corpus has not examined. (3) The collection's statement is not the developments' theorem and no bridge between the two forms exists. (4) The note's Theorem 2.1 uses the prime number theorem, Mertens' product theorem and Linnik's theorem at statement level (p. 1); none is checked by this project. (5) The note's identity rests on a repository file with no version marker; the card records the hosting repository's revision and the file's size.
The note's Proposition 3.1 is the existence half of the multiplication device behind Ford's Theorem 8, giving the preimages and from a collision for every prime .
Linked library material
These entries are derived from explicit links on library pages. They are navigation only and do not by themselves record mathematical progress.