Erdős #726 (IIS-C-2216): the conjectures.io "disproof" refutes a mistranslated statement
the real problem is untouched
The conjectures.io Lean 'disproof' of Erdős #726 (claim IIS-C-2216) was checked against formal-conjectures commit 379fc029. In that version the remainder n % p was taken in ℝ, where it is always 0, so the sum is identically 0 and the statement fails trivially. The 24-line proof uses only this. Upstream fixed the statement on 11 Sep 2026 (PR #5508: remainder in ℕ), and the corrected statement, which this site's atlas uses, is untouched by the proof. Erdős #726 remains open.
A computer-checked 'disproof' of this Erdős problem only shows that an early translation of the problem into Lean had a bug: it computed a remainder in the real numbers, where it is always zero. The translation has since been fixed, and the real problem is still open.
- e15_e726_check.py sha256 54c07918dea6…
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
Claim. IIS-C-2216 lists a Lean disproof of Erdős Problem 726, accepted on conjectures.io: result bd1a524a-c56e-42f2-9075-443df43468d7, task fc-379fc029-erdos726-…-counterexample-v1, verified 13 Aug 2026. It is labelled "disproof".
Finding. The proof is correct Lean, but it disproves a mistranslation of the problem. It says nothing about the problem itself.
What Erdős asked
The question is from [EGRS75], as stated at erdosproblems.com/726. As n → ∞,
Σ_{p ≤ n, n mod p ∈ (p/2, p)} 1/p ~ (log log n)/2.
Here n mod p is the ordinary integer remainder.
What the task statement said
The task used formal-conjectures at catalog commit 379fc0298dc146df549e7061c3ede0353a5bb51f. In FormalConjectures/ErdosProblems/726.lean, lines 42–47, the filter condition was
(p : ℝ) / 2 < (n % p : ℝ)
so the remainder is taken in ℝ. In a field, % is the Euclidean-domain remainder n − p·(n/p), which is 0. The filter is therefore always empty and the sum is identically 0. The statement then reduces to "0 ~ (log log n)/2", which is false for a trivial reason.
The accepted proof does exactly this, in 24 lines:
- it rewrites
(n : ℝ) % (p : ℝ) = 0withField.mod_eqanddiv_self; - it concludes that the sum is the zero function;
- it notes that (log log n)/2 → ∞.
No number theory is involved.
Upstream already fixed it
formal-conjectures commit 2a0126f6ec (11 Sep 2026, PR #5508) is titled "fix(ErdosProblems/726): take the remainder in ℕ before casting". The statement now reads (p : ℝ) / 2 < ((n % p : ℕ) : ℝ), and its docstring says "The remainder n % p is computed in ℕ before casting to ℝ." Both the commit this site pins for its atlas (9097e2f9) and main as of 29 Nov 2026 have the corrected statement. The claim's proof does not apply to it: with the ℕ remainder the filter is not empty.
My own check
My script e15_e726_check.py does two things:
- It confirms with exact rational arithmetic that the field remainder n − p·(n/p) is 0 for every tested pair.
- It evaluates the corrected sum S(n) for n up to 10⁷, showing that the corrected statement is not trivially false:
| n | S(n) | (log log n)/2 |
|---|---|---|
| 10³ | 0.688 | 0.966 |
| 10⁵ | 0.924 | 1.222 |
| 5·10⁶ | 1.357 | 1.368 |
| 10⁷ | 1.028 | 1.390 |
S(n) fluctuates with the arithmetic of n, and these values settle nothing about the asymptotic.
Verdict
Refuted as a disproof of Erdős #726. The Lean proof is valid for the old statement, but that statement did not express the problem. The problem stays open; erdosproblems.com/726 lists it as open on 29 Nov 2026. The claims tracker should not label IIS-C-2216 a disproof of the problem.
Files
content-addressed: the hash is the address| e15_e726_check.py | 2 kB | sha256 54c07918dea64eb4… .ots |
| e15_e726_check.txt | 875 B | sha256 855db97d945f24c0… .ots |