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 363

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

Is it true that, for each fixed nn and fixed sizes k1,…,kn≥4k_1,\ldots,k_n \geq 4, there are only finitely many collections of disjoint intervals I1,…,InI_1,\ldots,I_n of size ∣Ii∣=ki\lvert I_i\rvert = k_i for 1≤i≤n1\leq i\leq n such that∏1≤i≤n∏m∈Iim\prod_{1\leq i\leq n}\prod_{m\in I_i}mis a square?

The number of intervals and their sizes are fixed: the list ks of sizes determines both. Without this restriction finiteness fails, by a result of Skałba (see [Ul05]).

This is false: Ulas [Ul05] constructed infinitely many such collections with n=4n = 4 and k1=⋯=k4=4k_1 = \cdots = k_4 = 4.

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

Formal statement

theorem erdos_363 : ¬ ∀ ks : List ℕ,
    {S : List (Finset ℕ) | IsValidCollection S ∧ S.map Finset.card = ks}.Finite
Show the full Challenge.lean (73 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 363

*References:*
- [erdosproblems.com/363](https://www.erdosproblems.com/363)
- [BaBe07] Bauer, Mark and Bennett, Michael A., *On a question of Erd\H{o}s
  and Graham*. Enseign. Math. (2) (2007), 259--264.
- [BeVL12] Bennett, Michael A. and Van Luijk, Ronald, *Squares from blocks of
  consecutive integers: a problem of Erd\H{o}s and Graham*. Indag. Math. (N.S.)
  (2012), 123--127.
- [Ul05] Ulas, Maciej, *On products of disjoint blocks of consecutive integers*.
  Enseign. Math. (2) (2005), 331--334.
-/

@[expose] public section

namespace Erdos363

open Finset

/-- A finite set of naturals is an interval of naturals. -/
def IsInterval (I : Finset ℕ) : Prop :=
  ∃ a b : ℕ, I = Icc a b

/-- A collection of intervals as in Erdős Problem 363: disjoint intervals of positive integers,
each of size at least `4`, whose product is a square. Intervals containing `0` are excluded, since
their product is `0`, which is a square. -/
def IsValidCollection (S : List (Finset ℕ)) : Prop :=
  (∀ I ∈ S, IsInterval I) ∧
  (∀ I ∈ S, 4 ≤ I.card) ∧
  (∀ I ∈ S, 0 ∉ I) ∧
  S.Pairwise Disjoint ∧
  IsSquare ((S.map (fun I => ∏ m ∈ I, m)).prod)

set_option linter.style.formal_proof_palomar false in
/--
Is it true that, for each fixed $n$ and fixed sizes $k_1,\ldots,k_n \geq 4$, there are only finitely
many collections of disjoint intervals $I_1,\ldots,I_n$ of size $\lvert I_i\rvert = k_i$ for
$1\leq i\leq n$ such that$$\prod_{1\leq i\leq n}\prod_{m\in I_i}m$$is a square?

The number of intervals and their sizes are fixed: the list `ks` of sizes determines both. Without
this restriction finiteness fails, by a result of Skałba (see [Ul05]).

This is false: Ulas [Ul05] constructed infinitely many such collections with $n = 4$ and
$k_1 = \cdots = k_4 = 4$.
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos363.lean"]
theorem erdos_363 : ¬ ∀ ks : List ℕ,
    {S : List (Finset ℕ) | IsValidCollection S ∧ S.map Finset.card = ks}.Finite := by
  sorry

end Erdos363

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

nosorry fetch erdos-363
nosorry submit erdos-363 nosorry/erdos-363/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.