Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 392 · variants.implication

Source:Erdős Problems · erdosproblems.com/392
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Cambie has observed that a positive answer follows from the result above with at≤na_t \leq n, simply by pairing variables together, e.g. taking ai′=a2i−1a2ia'_i = a_{2i-1}a_{2i} (and the lower bound follows from Stirling's approximation).

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:formal_proof
Cite as:NS.01971 [math.NT] · NS.01971v1 for this version
Declaration:Erdos392.erdos_392.variants.implication
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:a1223b681f51601fcc87fadd9d6c668a2c727b50dadb303fbc4ab436c9ba4aeb
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/392.lean

Formal statement

theorem erdos_392.variants.implication (h : type_of% erdos_392.variants.lower) :
    type_of% erdos_392
Show the full Challenge.lean (79 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 392

*Reference:* [erdosproblems.com/392](https://www.erdosproblems.com/392)
-/

@[expose] public section

open Filter

open scoped Nat

namespace Erdos392

set_option linter.style.formal_proof_palomar false in
/--
Let $A(n)$ denote the least value of $t$ such that
$$
  n! = a_1 \cdots a_t
$$
with $a_1 \leq \cdots \leq a_t\leq n^2$. Then
$$
  A(n) = \frac{n}{2} - \frac{n}{2\log n} + o\left(\frac{n}{\log n}\right).
$$
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/AlexKontorovich/PrimeNumberTheoremAnd/blob/d82a35ecc798ada27f82a88b559f25b753f63a73/PrimeNumberTheoremAnd/IEANTN/Erdos392.lean"]
theorem erdos_392 (A : ℕ → ℕ) (h : ∀ n > 0,
    IsLeast { t + 1 | (t) (_ : ∃ a : Fin (t + 1) → ℕ, (n)! = ∏ i, a i ∧
      Monotone a ∧ a (Fin.last t) ≤ n ^ 2) } (A n)) :
    ((fun (n : ℕ) => (A n - n / 2 + n / (2 * Real.log n) : ℝ)) =o[atTop] fun n => n / Real.log n)
  := by
  sorry

/--
If we change the condition to $a_t \leq n$ it can be shown that
$$
  A(n) = n - \frac{n}{\log n} + o\left(\frac{n}{\log n}\right)
$$
-/
@[category research solved, AMS 11]
theorem erdos_392.variants.lower (A : ℕ → ℕ)
    (hA : ∀ n > 0, IsLeast
      { t + 1 | (t) (_ : ∃ a : Fin (t + 1) → ℕ, (n)! = ∏ i, a i ∧
        Monotone a ∧ a (Fin.last t) ≤ n) } (A n)) :
    (fun (n : ℕ) => (A n - n + n / Real.log n : ℝ)) =o[atTop] fun n => n / Real.log n := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Cambie has observed that a positive answer follows from the result above with $a_t \leq n$, simply
by pairing variables together, e.g. taking $a'_i = a_{2i-1}a_{2i}$ (and the lower bound follows from
Stirling's approximation).
-/
@[category research solved, AMS 11, formal_proof using lean4 at "https://github.com/anatoliiohorodnyk/lean-fc-proofs/blob/5da9642575b26c2c816a49bcb56b33fed5456619/Proofs/T_Erdos392_erdos_392_variants_implication.lean#L177"]
theorem erdos_392.variants.implication (h : type_of% erdos_392.variants.lower) :
    type_of% erdos_392 := by
  sorry

end Erdos392

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos392.erdos_392.variants.implication with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_implication : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-392--erdos-392-variants-implication
nosorry submit erdos-392--erdos-392-variants-implication nosorry/erdos-392--erdos-392-variants-implication/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.