Title:Erdős Problem 725
2 results recorded on aiXiv
- Lean formalization The sublinear-range asymptotic for the number of Latin rectangles is formally verified in Lean. — aiXiv:2609.00679, 2026-08-03 · claimed by its authors; no independent check recorded on aiXiv
- partial For every , uniformly for , the number of Latin rectangles satisfies , with relative error . With the refined normalization , . This extends Godsil–McKay from . — aiXiv:2609.00679, 2026-08-03 · claimed by its authors; no independent check recorded on aiXiv
From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.
Statement:Give an asymptotic formula for the number of Latin rectangles.
The formula must satisfy as for every choice of , so it also covers Latin squares ().
| Subjects: | Combinatorics (math.CO) |
| MSC classes: | 05 |
| Tags: | question |
| Cite as: | NS.03014 [math.CO] · NS.03014v1 for this version |
| Declaration: | Erdos725.erdos_725 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 1675cb0c04a2ed4567ae9f132dcf58989e2b449f04eb073504a9ef18dcffbb08 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/725.lean |
Formal statement
theorem erdos_725 (k : ℕ → ℕ) (hk : ∀ n, k n ≤ n) :
(fun n ↦ (L (k n) n : ℝ)) ~[atTop] fun n ↦ erdos_725.answer (k n) nShow the full Challenge.lean (107 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 725
*References:*
- [erdosproblems.com/725](https://www.erdosproblems.com/725)
- [Er81] Erdős, P., *On the combinatorial problems which I would most like to see solved*.
Combinatorica 1 (1981), 25-42. [PDF](https://www.renyi.hu/~p_erdos/1981-16.pdf)
- [ErKa46] Erdős, P. and Kaplansky, I., *The asymptotic number of Latin rectangles*.
Amer. J. Math. 68 (1946), 230-236. [PDF](https://www.renyi.hu/~p_erdos/1946-12.pdf)
- [Ya51] Yamamoto, K., *On the asymptotic number of Latin rectangles*.
Jpn. J. Math. 21 (1951), 113-119.
-/
@[expose] public section
open Filter Asymptotics
namespace Erdos725
/-- `M` is a $k\times n$ Latin rectangle: `M i j` is the entry in row `i` and column `j`, the
entries are in `Fin n` (standing for $\{1,\dots,n\}$), every row is a permutation of the
entries, and no entry is repeated in a column. -/
abbrev IsLatinRectangle {k n : ℕ} (M : Fin k → Fin n → Fin n) : Prop :=
(∀ i, Function.Injective (M i)) ∧ ∀ j, Function.Injective fun i ↦ M i j
/-- $L(k,n)$ is the number of $k\times n$ Latin rectangles. Rows, columns and entries are
labelled and the rows are ordered. It is $0$ for $k>n\geq 1$ and $1$ for $k=0$. -/
noncomputable def L (k n : ℕ) : ℕ :=
Nat.card {M : Fin k → Fin n → Fin n // IsLatinRectangle M}
/-- There are $n!$ Latin rectangles with one row. -/
@[category test, AMS 5]
theorem L_one (n : ℕ) : L 1 n = n.factorial := by
have e : {M : Fin 1 → Fin n → Fin n // IsLatinRectangle M} ≃ Equiv.Perm (Fin n) :=
{ toFun := fun M ↦ Equiv.ofBijective (M.1 0) (Finite.injective_iff_bijective.1 (M.2.1 0))
invFun := fun σ ↦ ⟨fun _ ↦ σ, fun _ ↦ σ.injective, fun _ a b _ ↦ Subsingleton.elim a b⟩
left_inv := fun M ↦ by
refine Subtype.ext (funext fun i ↦ ?_)
have hi : i = 0 := Subsingleton.elim i 0
subst hi
rfl
right_inv := fun σ ↦ Equiv.ext fun _ ↦ rfl }
unfold L
rw [Nat.card_congr e, Nat.card_perm, Nat.card_eq_fintype_card, Fintype.card_fin]
def erdos_725.answer : ℕ → ℕ → ℝ := sorry
/--
Give an asymptotic formula for the number of $k\times n$ Latin rectangles.
The formula $F(k,n)$ must satisfy $L(k,n)\sim F(k,n)$ as $n\to\infty$ for every choice of
$k=k(n)\leq n$, so it also covers Latin squares ($k=n$).
-/
@[category research open, question value, AMS 5]
theorem erdos_725 (k : ℕ → ℕ) (hk : ∀ n, k n ≤ n) :
(fun n ↦ (L (k n) n : ℝ)) ~[atTop] fun n ↦ erdos_725.answer (k n) n := by
sorry
/--
Erdős and Kaplansky [ErKa46] proved the count is
$$\sim e^{-\binom{k}{2}}(n!)^k$$
when $k=o((\log n)^{3/2-\epsilon})$.
Here $\epsilon>0$ is fixed.
-/
@[category research solved, AMS 5]
theorem erdos_725.variants.erdos_kaplansky (ε : ℝ) (hε : 0 < ε) (k : ℕ → ℕ)
(hk : (fun n ↦ (k n : ℝ)) =o[atTop] fun n ↦ Real.log n ^ (3 / 2 - ε)) :
(fun n ↦ (L (k n) n : ℝ)) ~[atTop]
fun n ↦ Real.exp (-((k n).choose 2 : ℝ)) * (n.factorial : ℝ) ^ k n := by
sorry
/--
Yamamoto [Ya51] extended this to $k\leq n^{1/3-o(1)}$.
As in [Ya51, p. 113], we assume $k<n^{1/3-\delta}$ with $n^{-\delta}\to 0$, where $\delta$
may be a positive constant or a function of $n$.
-/
@[category research solved, AMS 5]
theorem erdos_725.variants.yamamoto (δ : ℕ → ℝ)
(hδ : Tendsto (fun n : ℕ ↦ (n : ℝ) ^ (-δ n)) atTop (nhds 0)) (k : ℕ → ℕ)
(hk : ∀ᶠ n in atTop, (k n : ℝ) < (n : ℝ) ^ (1 / 3 - δ n)) :
(fun n ↦ (L (k n) n : ℝ)) ~[atTop]
fun n ↦ Real.exp (-((k n).choose 2 : ℝ)) * (n.factorial : ℝ) ^ k n := by
sorry
end Erdos725
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos725.erdos_725 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_725 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-725 nosorry submit erdos-725 nosorry/erdos-725/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-725-variants-erdos-kaplansky — known result
- erdos-725-variants-yamamoto — known result
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.