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 1162 · f_pos

Source:Erdős Problems
api Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

f n is positive. In particular Real.log (f n) is not the junk value Real.log 0.

Subjects:Combinatorics (math.CO); Group Theory (math.GR)
MSC classes:05, 20
Cite as:NS.00827 [math.CO] · NS.00827v1 for this version
Declaration:Erdos1162.f_pos
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:c819830c92047eacc787e278eab36107a438772e7b8f3495282cb49d1bbf9c57
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1162.lean

Formal statement

theorem f_pos (n : ℕ) : 0 < f n
Show the full Challenge.lean (98 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1162

*References:*
- [erdosproblems.com/1162](https://www.erdosproblems.com/1162)
- [Va99] Various, *Some of Paul's favorite problems*. Booklet produced for the conference
  "Paul Erdős and his mathematics", Budapest, July 1999 (1999).
- [Py93] Pyber, L., *Asymptotic results for permutation groups*. Groups and computation
  (New Brunswick, NJ, 1991), DIMACS Ser. Discrete Math. Theoret. Comput. Sci. 11 (1993),
  197-219.
- [RoTr25] Roney-Dougal, C. M. and Tracey, G., *Subgroups of symmetric groups: enumeration and
  asymptotic properties*. [arXiv:2503.05416](https://arxiv.org/abs/2503.05416) (2025).
-/

@[expose] public section

open Filter Asymptotics

namespace Erdos1162

/-- `f n` is the number of subgroups of the symmetric group $S_n$, realised as
`Equiv.Perm (Fin n)`. All subgroups are counted, not only conjugacy classes. -/
noncomputable def f (n : ℕ) : ℕ := Nat.card (Subgroup (Equiv.Perm (Fin n)))

/-- `f n` is positive. In particular `Real.log (f n)` is not the junk value `Real.log 0`. -/
@[category API, AMS 5 20]
theorem f_pos (n : ℕ) : 0 < f n := by
  unfold f
  exact Nat.card_pos

def erdos_1162.answer : ℕ → ℝ := sorry

/--
Give an asymptotic formula for the number of subgroups of $S_n$. Is there a statistical theorem
on their order?

A problem of Erdős and Turán [Va99, 5.73]. We state the first question: `erdos_1162.answer` is a
function asymptotically equivalent to the number $f(n)$ of subgroups of $S_n$ (an explicit
formula is intended, not $f$ itself). The second question is too vague to state.
-/
@[category research open, question value, AMS 5 20]
theorem erdos_1162 :
    (fun n : ℕ ↦ (f n : ℝ)) ~[atTop] erdos_1162.answer := by
  sorry

/--
Pyber [Py93] proved that
$$\log f(n)\asymp n^2.$$
-/
@[category research solved, AMS 5 20]
theorem erdos_1162.variants.pyber :
    (fun n : ℕ ↦ Real.log (f n : ℝ)) =Θ[atTop] fun n : ℕ ↦ (n : ℝ) ^ 2 := by
  sorry

/--
Roney-Dougal and Tracey [RoTr25] have proved that
$$\log f(n)=\left(\frac{1}{16}+o(1)\right)n^2.$$
Here $\log$ is the logarithm to base $2$, as in [RoTr25].
-/
@[category research solved, AMS 5 20]
theorem erdos_1162.variants.roney_dougal_tracey :
    (fun n : ℕ ↦ Real.logb 2 (f n : ℝ)) ~[atTop] fun n : ℕ ↦ (n : ℝ) ^ 2 / 16 := by
  sorry

/--
Roney-Dougal and Tracey [RoTr25, Theorem 1] proved that there are absolute constants
$\alpha>0$ and $\beta$ such that for all integers $n>1$
$$2^{n^2/16+\alpha n\log n}\leq f(n)\leq 2^{n^2/16+\beta n^{3/2}},$$
where $\log$ is the logarithm to base $2$. This implies the previous variant.
-/
@[category research solved, AMS 5 20]
theorem erdos_1162.variants.roney_dougal_tracey_bounds :
    ∃ α > (0 : ℝ), ∃ β : ℝ, ∀ n : ℕ, 1 < n →
      (2 : ℝ) ^ ((n : ℝ) ^ 2 / 16 + α * n * Real.logb 2 n) ≤ f n ∧
        (f n : ℝ) ≤ (2 : ℝ) ^ ((n : ℝ) ^ 2 / 16 + β * (n : ℝ) ^ ((3 : ℝ) / 2)) := by
  sorry

end Erdos1162

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

nosorry desk erdos-1162--f-pos      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-1162--f-pos
nosorry submit erdos-1162--f-pos nosorry/erdos-1162--f-pos/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.